MICROSOFT.CONSUMPTION

AggregatedCost_GetByManagementGroup

valid {
    input.ReqMap.managementGroupId == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

AggregatedCost_GetForBillingPeriodByManagementGroup

valid {
    input.ReqMap.managementGroupId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Balances_GetByBillingAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Balances_GetForBillingPeriodByBillingAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

BillingProfilePricesheet_Download

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Budgets_CreateOrUpdate

enum_BudgetComparisonExpressionOperator := [ "In" ]
enum_BudgetPropertiesCategory := [ "Cost" ]
enum_BudgetPropertiesTimeGrain := [ "Monthly", "Quarterly", "Annually", "BillingMonth", "BillingQuarter", "BillingAnnual" ]
enum_NotificationLocale := [ "en-us", "ja-jp", "zh-cn", "de-de", "es-es", "fr-fr", "it-it", "ko-kr", "pt-br", "ru-ru", "zh-tw", "cs-cz", "pl-pl", "tr-tr", "da-dk", "en-gb", "hu-hu", "nb-no", "nl-nl", "pt-pt", "sv-se" ]
enum_NotificationOperator := [ "EqualTo", "GreaterThan", "GreaterThanOrEqualTo" ]
enum_NotificationThresholdType := [ "Actual", "Forecasted" ]

valid {
    input.Body.properties.category == enum_BudgetPropertiesCategory[_]
    input.Body.properties.amount == NUMBER
    input.Body.properties.timeGrain == enum_BudgetPropertiesTimeGrain[_]
    input.Body.properties.timePeriod.startDate == STRING
    input.Body.properties.timePeriod.endDate == STRING
    input.Body.properties.filter.and[_].dimensions.name == STRING
    input.Body.properties.filter.and[_].dimensions.operator == enum_BudgetComparisonExpressionOperator[_]
    input.Body.properties.filter.and[_].dimensions.values[_] == STRING
    input.Body.properties.filter.and[_].tags.name == STRING
    input.Body.properties.filter.and[_].tags.operator == enum_BudgetComparisonExpressionOperator[_]
    input.Body.properties.filter.and[_].tags.values[_] == STRING
    input.Body.properties.filter.dimensions.name == STRING
    input.Body.properties.filter.dimensions.operator == enum_BudgetComparisonExpressionOperator[_]
    input.Body.properties.filter.dimensions.values[_] == STRING
    input.Body.properties.filter.tags.name == STRING
    input.Body.properties.filter.tags.operator == enum_BudgetComparisonExpressionOperator[_]
    input.Body.properties.filter.tags.values[_] == STRING
    input.Body.properties.notifications.STRING.enabled == BOOLEAN
    input.Body.properties.notifications.STRING.operator == enum_NotificationOperator[_]
    input.Body.properties.notifications.STRING.threshold == NUMBER
    input.Body.properties.notifications.STRING.contactEmails[_] == STRING
    input.Body.properties.notifications.STRING.contactRoles[_] == STRING
    input.Body.properties.notifications.STRING.contactGroups[_] == STRING
    input.Body.properties.notifications.STRING.thresholdType == enum_NotificationThresholdType[_]
    input.Body.properties.notifications.STRING.locale == enum_NotificationLocale[_]
    input.Body.eTag == STRING
    input.ReqMap.scope == STRING
    input.ReqMap.budgetName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Budgets_CreateOrUpdateByResourceGroupName

enum_BudgetPropertiesCategory := [ "Cost", "Usage" ]
enum_BudgetPropertiesTimeGrain := [ "Monthly", "Quarterly", "Annually" ]
enum_NotificationOperator := [ "EqualTo", "GreaterThan", "GreaterThanOrEqualTo" ]

valid {
    input.Body.properties.category == enum_BudgetPropertiesCategory[_]
    input.Body.properties.amount == NUMBER
    input.Body.properties.timeGrain == enum_BudgetPropertiesTimeGrain[_]
    input.Body.properties.timePeriod.startDate == STRING
    input.Body.properties.timePeriod.endDate == STRING
    input.Body.properties.filters.resourceGroups[_] == STRING
    input.Body.properties.filters.resources[_] == STRING
    input.Body.properties.filters.meters[_] == STRING
    input.Body.properties.filters.tags.STRING[_] == STRING
    input.Body.properties.notifications.STRING.enabled == BOOLEAN
    input.Body.properties.notifications.STRING.operator == enum_NotificationOperator[_]
    input.Body.properties.notifications.STRING.threshold == NUMBER
    input.Body.properties.notifications.STRING.contactEmails[_] == STRING
    input.Body.properties.notifications.STRING.contactRoles[_] == STRING
    input.Body.properties.notifications.STRING.contactGroups[_] == STRING
    input.Body.eTag == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.budgetName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Budgets_Delete

valid {
    input.ReqMap.scope == STRING
    input.ReqMap.budgetName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Budgets_DeleteByResourceGroupName

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.budgetName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Budgets_Get

valid {
    input.ReqMap.scope == STRING
    input.ReqMap.budgetName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Budgets_GetByResourceGroupName

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.budgetName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Budgets_List

valid {
    input.ReqMap.scope == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Budgets_ListByResourceGroupName

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ChargesByBillingAccount_List

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.api-version == STRING
    input.Qs.startDate == STRING
    input.Qs.endDate == STRING
    input.Qs.$apply == STRING
    input.ProviderMetadata.Region == STRING
}

ChargesByBillingProfile_List

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.api-version == STRING
    input.Qs.startDate == STRING
    input.Qs.endDate == STRING
    input.ProviderMetadata.Region == STRING
}

ChargesByInvoiceSection_List

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.invoiceSectionId == STRING
    input.Qs.api-version == STRING
    input.Qs.startDate == STRING
    input.Qs.endDate == STRING
    input.Qs.$apply == STRING
    input.ProviderMetadata.Region == STRING
}

Charges_List

valid {
    input.ReqMap.scope == STRING
    input.Qs.api-version == STRING
    input.Qs.startDate == STRING
    input.Qs.endDate == STRING
    input.Qs.$filter == STRING
    input.Qs.$apply == STRING
    input.ProviderMetadata.Region == STRING
}

Charges_ListByDepartment

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.departmentId == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

Charges_ListByEnrollmentAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.enrollmentAccountId == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

Charges_ListForBillingPeriodByDepartment

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.departmentId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

Charges_ListForBillingPeriodByEnrollmentAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.enrollmentAccountId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

CostTags_CreateOrUpdate

valid {
    input.Body.properties.costTags[_].key == STRING
    input.Body.eTag == STRING
    input.ReqMap.billingAccountId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

CostTags_Get

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Credits_Get

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Events_List

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.api-version == STRING
    input.Qs.startDate == STRING
    input.Qs.endDate == STRING
    input.ProviderMetadata.Region == STRING
}

Events_ListByBillingAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

Events_ListByBillingProfile

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.api-version == STRING
    input.Qs.startDate == STRING
    input.Qs.endDate == STRING
    input.ProviderMetadata.Region == STRING
}

Forecasts_List

valid {
    input.ReqMap.SubscriptionID == STRING
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

InvoicePricesheet_Download

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.invoiceName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Lots_List

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Lots_ListByBillingAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

Lots_ListByBillingProfile

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Lots_ListByCustomer

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.customerId == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_List

valid {
    input.ReqMap.scope == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_ListByBillingAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_ListByBillingPeriod

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

Marketplaces_ListByDepartment

valid {
    input.ReqMap.departmentId == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_ListByEnrollmentAccount

valid {
    input.ReqMap.enrollmentAccountId == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_ListByManagementGroup

valid {
    input.ReqMap.managementGroupId == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_ListForBillingPeriodByBillingAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_ListForBillingPeriodByDepartment

valid {
    input.ReqMap.departmentId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_ListForBillingPeriodByEnrollmentAccount

valid {
    input.ReqMap.enrollmentAccountId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Marketplaces_ListForBillingPeriodByManagementGroup

valid {
    input.ReqMap.managementGroupId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skiptoken == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Operations_List

valid {
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

PriceSheet_DownloadByBillingAccountPeriod

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

PriceSheet_Get

valid {
    input.ReqMap.SubscriptionID == STRING
    input.Qs.$expand == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

PriceSheet_GetByBillingPeriod

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$expand == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

ReservationRecommendationDetails_Get

enum_lookBackPeriodParameter := [ "Last7Days", "Last30Days", "Last60Days" ]
enum_scopeParameter := [ "Single", "Shared" ]
enum_termParameter := [ "P1Y", "P3Y" ]

valid {
    input.ReqMap.resourceScope == STRING
    input.Qs.api-version == STRING
    input.Qs.scope == enum_scopeParameter[_]
    input.Qs.region == STRING
    input.Qs.term == enum_termParameter[_]
    input.Qs.lookBackPeriod == enum_lookBackPeriodParameter[_]
    input.Qs.product == STRING
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationRecommendations_List

valid {
    input.ReqMap.resourceScope == STRING
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationRecommendations_ListByBillingAccountId

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationTransactions_List

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.Qs.useMarkupIfPartner == BOOLEAN
    input.Qs.previewMarkupPercentage == NUMBER
    input.ProviderMetadata.Region == STRING
}

ReservationTransactions_ListByBillingProfile

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationsDetails_List

valid {
    input.ReqMap.resourceScope == STRING
    input.Qs.startDate == STRING
    input.Qs.endDate == STRING
    input.Qs.$filter == STRING
    input.Qs.reservationId == STRING
    input.Qs.reservationOrderId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationsDetails_ListByBillingAccountId

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationsDetails_ListByReservationOrder

valid {
    input.ReqMap.reservationOrderId == STRING
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationsDetails_ListByReservationOrderAndReservation

valid {
    input.ReqMap.reservationOrderId == STRING
    input.ReqMap.reservationId == STRING
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationsSummaries_List

enum_grainParameter := [ "daily", "monthly" ]

valid {
    input.ReqMap.resourceScope == STRING
    input.Qs.grain == enum_grainParameter[_]
    input.Qs.startDate == STRING
    input.Qs.endDate == STRING
    input.Qs.$filter == STRING
    input.Qs.reservationId == STRING
    input.Qs.reservationOrderId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationsSummaries_ListByBillingAccountId

enum_grainParameter := [ "daily", "monthly" ]

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.grain == enum_grainParameter[_]
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationsSummaries_ListByReservationOrder

enum_grainParameter := [ "daily", "monthly" ]

valid {
    input.ReqMap.reservationOrderId == STRING
    input.Qs.grain == enum_grainParameter[_]
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ReservationsSummaries_ListByReservationOrderAndReservation

enum_grainParameter := [ "daily", "monthly" ]

valid {
    input.ReqMap.reservationOrderId == STRING
    input.ReqMap.reservationId == STRING
    input.Qs.grain == enum_grainParameter[_]
    input.Qs.$filter == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Tags_Get

valid {
    input.ReqMap.scope == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Tenants_Get

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingProfileId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_Download

enum_metricParameter := [ "actualcost", "amortizedcost", "usage" ]

valid {
    input.ReqMap.scope == STRING
    input.Qs.api-version == STRING
    input.Qs.metric == enum_metricParameter[_]
    input.Qs.$filter == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_List

enum_metricParameter := [ "actualcost", "amortizedcost", "usage" ]

valid {
    input.ReqMap.scope == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.api-version == STRING
    input.Qs.metric == enum_metricParameter[_]
    input.ProviderMetadata.Region == STRING
}

UsageDetails_ListByBillingAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.$apply == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_ListByBillingPeriod

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$apply == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

UsageDetails_ListByDepartment

valid {
    input.ReqMap.departmentId == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.$apply == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_ListByEnrollmentAccount

valid {
    input.ReqMap.enrollmentAccountId == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.$apply == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_ListByManagementGroup

valid {
    input.ReqMap.managementGroupId == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.$apply == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_ListForBillingPeriodByBillingAccount

valid {
    input.ReqMap.billingAccountId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$apply == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_ListForBillingPeriodByDepartment

valid {
    input.ReqMap.departmentId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$apply == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_ListForBillingPeriodByEnrollmentAccount

valid {
    input.ReqMap.enrollmentAccountId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$apply == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

UsageDetails_ListForBillingPeriodByManagementGroup

valid {
    input.ReqMap.managementGroupId == STRING
    input.ReqMap.billingPeriodName == STRING
    input.Qs.$expand == STRING
    input.Qs.$filter == STRING
    input.Qs.$apply == STRING
    input.Qs.$skiptoken == STRING
    input.Qs.$top == INTEGER
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}