MICROSOFT.ANALYSISSERVICES

Operations_List

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

Servers_CheckNameAvailability

valid {
    input.Body.name == STRING
    input.Body.type == STRING
    input.ReqMap.location == STRING
    input.ReqMap.SubscriptionID == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

Servers_Create

enum_AnalysisServicesServerMutablePropertiesManagedMode := [ 0, 1 ]
enum_AnalysisServicesServerMutablePropertiesQuerypoolConnectionMode := [ "All", "ReadOnly" ]
enum_AnalysisServicesServerMutablePropertiesServerMonitorMode := [ 0, 1 ]
enum_ResourceSkuTier := [ "Development", "Basic", "Standard" ]

valid {
    input.Body.properties.sku.name == STRING
    input.Body.properties.sku.tier == enum_ResourceSkuTier[_]
    input.Body.properties.sku.capacity == INTEGER
    input.Body.properties.asAdministrators.members[_] == STRING
    input.Body.properties.backupBlobContainerUri == STRING
    input.Body.properties.gatewayDetails.gatewayResourceId == STRING
    input.Body.properties.ipV4FirewallSettings.firewallRules[_].firewallRuleName == STRING
    input.Body.properties.ipV4FirewallSettings.firewallRules[_].rangeStart == STRING
    input.Body.properties.ipV4FirewallSettings.firewallRules[_].rangeEnd == STRING
    input.Body.properties.ipV4FirewallSettings.enablePowerBIService == BOOLEAN
    input.Body.properties.querypoolConnectionMode == enum_AnalysisServicesServerMutablePropertiesQuerypoolConnectionMode[_]
    input.Body.properties.managedMode == enum_AnalysisServicesServerMutablePropertiesManagedMode[_]
    input.Body.properties.serverMonitorMode == enum_AnalysisServicesServerMutablePropertiesServerMonitorMode[_]
    input.Body.location == STRING
    input.Body.sku.name == STRING
    input.Body.sku.tier == enum_ResourceSkuTier[_]
    input.Body.sku.capacity == INTEGER
    input.Body.tags.STRING == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.serverName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Servers_Delete

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

Servers_DissociateGateway

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

Servers_GetDetails

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

Servers_List

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

Servers_ListByResourceGroup

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

Servers_ListGatewayStatus

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

Servers_ListOperationResults

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

Servers_ListOperationStatuses

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

Servers_ListSkusForExisting

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

Servers_ListSkusForNew

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

Servers_Resume

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

Servers_Suspend

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

Servers_Update

enum_AnalysisServicesServerMutablePropertiesManagedMode := [ 0, 1 ]
enum_AnalysisServicesServerMutablePropertiesQuerypoolConnectionMode := [ "All", "ReadOnly" ]
enum_AnalysisServicesServerMutablePropertiesServerMonitorMode := [ 0, 1 ]
enum_ResourceSkuTier := [ "Development", "Basic", "Standard" ]

valid {
    input.Body.sku.name == STRING
    input.Body.sku.tier == enum_ResourceSkuTier[_]
    input.Body.sku.capacity == INTEGER
    input.Body.tags.STRING == STRING
    input.Body.properties.asAdministrators.members[_] == STRING
    input.Body.properties.backupBlobContainerUri == STRING
    input.Body.properties.gatewayDetails.gatewayResourceId == STRING
    input.Body.properties.ipV4FirewallSettings.firewallRules[_].firewallRuleName == STRING
    input.Body.properties.ipV4FirewallSettings.firewallRules[_].rangeStart == STRING
    input.Body.properties.ipV4FirewallSettings.firewallRules[_].rangeEnd == STRING
    input.Body.properties.ipV4FirewallSettings.enablePowerBIService == BOOLEAN
    input.Body.properties.querypoolConnectionMode == enum_AnalysisServicesServerMutablePropertiesQuerypoolConnectionMode[_]
    input.Body.properties.managedMode == enum_AnalysisServicesServerMutablePropertiesManagedMode[_]
    input.Body.properties.serverMonitorMode == enum_AnalysisServicesServerMutablePropertiesServerMonitorMode[_]
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.serverName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}