MICROSOFT.MACHINELEARNINGSERVICES

BatchDeployments_CreateOrUpdate

enum_BatchDeploymentConfigurationType := [ "Model", "PipelineComponent" ]
enum_BatchLoggingLevel := [ "Info", "Warning", "Debug" ]
enum_BatchOutputAction := [ "SummaryOnly", "AppendRow" ]
enum_ManagedServiceIdentityType := [ "None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned" ]
enum_ReferenceType := [ "Id", "DataPath", "OutputPath" ]
enum_SkuTier := [ "Free", "Basic", "Standard", "Premium" ]

valid {
    input.Body.identity.type == enum_ManagedServiceIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING == {}
    input.Body.kind == STRING
    input.Body.properties.compute == STRING
    input.Body.properties.deploymentConfiguration.deploymentConfigurationType == enum_BatchDeploymentConfigurationType[_]
    input.Body.properties.errorThreshold == INTEGER
    input.Body.properties.loggingLevel == enum_BatchLoggingLevel[_]
    input.Body.properties.maxConcurrencyPerInstance == INTEGER
    input.Body.properties.miniBatchSize == INTEGER
    input.Body.properties.model.referenceType == enum_ReferenceType[_]
    input.Body.properties.outputAction == enum_BatchOutputAction[_]
    input.Body.properties.outputFileName == STRING
    input.Body.properties.resources.STRING == STRING
    input.Body.properties.resources.instanceCount == INTEGER
    input.Body.properties.resources.instanceType == STRING
    input.Body.properties.resources.locations[_] == STRING
    input.Body.properties.resources.maxInstanceCount == INTEGER
    input.Body.properties.resources.properties.STRING.STRING == STRING
    input.Body.properties.retrySettings.maxRetries == INTEGER
    input.Body.properties.retrySettings.timeout == STRING
    input.Body.properties.codeConfiguration.codeId == STRING
    input.Body.properties.codeConfiguration.scoringScript == STRING
    input.Body.properties.description == STRING
    input.Body.properties.environmentId == STRING
    input.Body.properties.environmentVariables.STRING == STRING
    input.Body.properties.properties.STRING == STRING
    input.Body.sku.name == STRING
    input.Body.sku.tier == enum_SkuTier[_]
    input.Body.sku.size == STRING
    input.Body.sku.family == STRING
    input.Body.sku.capacity == INTEGER
    input.Body.tags.STRING == STRING
    input.Body.location == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.endpointName == STRING
    input.ReqMap.deploymentName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

BatchDeployments_Delete

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

BatchDeployments_Get

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

BatchDeployments_List

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.Qs.$orderBy == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skip == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

BatchDeployments_Update

valid {
    input.Body.properties.description == STRING
    input.Body.tags.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.endpointName == STRING
    input.ReqMap.deploymentName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

BatchEndpoints_CreateOrUpdate

enum_EndpointAuthMode := [ "AMLToken", "Key", "AADToken" ]
enum_ManagedServiceIdentityType := [ "None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned" ]
enum_SkuTier := [ "Free", "Basic", "Standard", "Premium" ]

valid {
    input.Body.identity.type == enum_ManagedServiceIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING == {}
    input.Body.kind == STRING
    input.Body.properties.defaults.deploymentName == STRING
    input.Body.properties.authMode == enum_EndpointAuthMode[_]
    input.Body.properties.description == STRING
    input.Body.properties.keys.primaryKey == STRING
    input.Body.properties.keys.secondaryKey == STRING
    input.Body.properties.properties.STRING == STRING
    input.Body.sku.name == STRING
    input.Body.sku.tier == enum_SkuTier[_]
    input.Body.sku.size == STRING
    input.Body.sku.family == STRING
    input.Body.sku.capacity == INTEGER
    input.Body.tags.STRING == STRING
    input.Body.location == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

BatchEndpoints_Delete

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

BatchEndpoints_Get

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

BatchEndpoints_List

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.Qs.api-version == STRING
    input.Qs.count == INTEGER
    input.Qs.$skip == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

BatchEndpoints_ListKeys

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

BatchEndpoints_Update

enum_ManagedServiceIdentityType := [ "None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned" ]

valid {
    input.Body.identity.type == enum_ManagedServiceIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING.STRING == STRING
    input.Body.tags.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CapacityReservationGroups_CreateOrUpdate

enum_ManagedServiceIdentityType := [ "None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned" ]
enum_SkuTier := [ "Free", "Basic", "Standard", "Premium" ]

valid {
    input.Body.identity.type == enum_ManagedServiceIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING == {}
    input.Body.kind == STRING
    input.Body.properties.offer.offerName == STRING
    input.Body.properties.offer.publisher == STRING
    input.Body.properties.reservedCapacity == INTEGER
    input.Body.sku.name == STRING
    input.Body.sku.tier == enum_SkuTier[_]
    input.Body.sku.size == STRING
    input.Body.sku.family == STRING
    input.Body.sku.capacity == INTEGER
    input.Body.tags.STRING == STRING
    input.Body.location == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.groupId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CapacityReservationGroups_Delete

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

CapacityReservationGroups_Get

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

CapacityReservationGroups_List

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

CapacityReservationGroups_ListBySubscription

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

CapacityReservationGroups_Update

enum_ManagedServiceIdentityType := [ "None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned" ]
enum_SkuTier := [ "Free", "Basic", "Standard", "Premium" ]

valid {
    input.Body.identity.type == enum_ManagedServiceIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING.STRING == STRING
    input.Body.sku.capacity == INTEGER
    input.Body.sku.family == STRING
    input.Body.sku.name == STRING
    input.Body.sku.size == STRING
    input.Body.sku.tier == enum_SkuTier[_]
    input.Body.tags.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.groupId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CodeContainers_CreateOrUpdate

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

CodeContainers_Delete

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

CodeContainers_Get

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

CodeContainers_List

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

CodeVersions_CreateOrGetStartPendingUpload

enum_PendingUploadType := [ "None", "TemporaryBlobReference" ]

valid {
    input.Body.pendingUploadId == STRING
    input.Body.pendingUploadType == enum_PendingUploadType[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CodeVersions_CreateOrUpdate

valid {
    input.Body.properties.codeUri == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CodeVersions_Delete

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

CodeVersions_Get

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

CodeVersions_List

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.Qs.api-version == STRING
    input.Qs.$orderBy == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skip == STRING
    input.Qs.hash == STRING
    input.Qs.hashVersion == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CodeVersions_Publish

valid {
    input.Body.destinationName == STRING
    input.Body.destinationVersion == STRING
    input.Body.registryName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ComponentContainers_CreateOrUpdate

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

ComponentContainers_Delete

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

ComponentContainers_Get

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

ComponentContainers_List

enum_ListViewTypeParameter := [ "ActiveOnly", "ArchivedOnly", "All" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.Qs.api-version == STRING
    input.Qs.$skip == STRING
    input.Qs.listViewType == enum_ListViewTypeParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ComponentVersions_CreateOrUpdate

valid {
    input.Body.properties.componentSpec.STRING == STRING
    input.Body.properties.stage == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ComponentVersions_Delete

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

ComponentVersions_Get

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

ComponentVersions_List

enum_ListViewTypeParameter := [ "ActiveOnly", "ArchivedOnly", "All" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.Qs.api-version == STRING
    input.Qs.$orderBy == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skip == STRING
    input.Qs.listViewType == enum_ListViewTypeParameter[_]
    input.Qs.stage == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ComponentVersions_Publish

valid {
    input.Body.destinationName == STRING
    input.Body.destinationVersion == STRING
    input.Body.registryName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Compute_CreateOrUpdate

enum_ComputeType := [ "AKS", "Kubernetes", "AmlCompute", "ComputeInstance", "DataFactory", "VirtualMachine", "HDInsight", "Databricks", "DataLakeAnalytics", "SynapseSpark" ]
enum_ManagedServiceIdentityType := [ "None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned" ]
enum_SkuTier := [ "Free", "Basic", "Standard", "Premium" ]

valid {
    input.Body.identity.type == enum_ManagedServiceIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING == {}
    input.Body.location == STRING
    input.Body.tags.STRING == STRING
    input.Body.sku.name == STRING
    input.Body.sku.tier == enum_SkuTier[_]
    input.Body.sku.size == STRING
    input.Body.sku.family == STRING
    input.Body.sku.capacity == INTEGER
    input.Body.properties.computeType == enum_ComputeType[_]
    input.Body.properties.computeLocation == STRING
    input.Body.properties.description == STRING
    input.Body.properties.resourceId == STRING
    input.Body.properties.disableLocalAuth == BOOLEAN
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.computeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Compute_Delete

enum_UnderlyingResourceActionParameter := [ "Delete", "Detach" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.computeName == STRING
    input.Qs.api-version == STRING
    input.Qs.underlyingResourceAction == enum_UnderlyingResourceActionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Compute_Get

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

Compute_List

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

Compute_ListKeys

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

Compute_ListNodes

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

Compute_Resize

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

Compute_Restart

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

Compute_Start

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

Compute_Stop

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

Compute_Update

valid {
    input.Body.properties.properties.scaleSettings.maxNodeCount == INTEGER
    input.Body.properties.properties.scaleSettings.minNodeCount == INTEGER
    input.Body.properties.properties.scaleSettings.nodeIdleTimeBeforeScaleDown == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.computeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Compute_UpdateCustomServices

enum_EndpointProtocol := [ "tcp", "udp", "http" ]
enum_EnvironmentVariableType := [ "local" ]
enum_ImageType := [ "docker", "azureml" ]
enum_VolumeDefinitionType := [ "bind", "volume", "tmpfs", "npipe" ]

valid {
    input.Body[_].name == STRING
    input.Body[_].image.type == enum_ImageType[_]
    input.Body[_].image.reference == STRING
    input.Body[_].image.version == STRING
    input.Body[_].environmentVariables.STRING.type == enum_EnvironmentVariableType[_]
    input.Body[_].environmentVariables.STRING.value == STRING
    input.Body[_].docker.privileged == BOOLEAN
    input.Body[_].endpoints[_].protocol == enum_EndpointProtocol[_]
    input.Body[_].endpoints[_].name == STRING
    input.Body[_].endpoints[_].target == INTEGER
    input.Body[_].endpoints[_].published == INTEGER
    input.Body[_].endpoints[_].hostIp == STRING
    input.Body[_].volumes[_].type == enum_VolumeDefinitionType[_]
    input.Body[_].volumes[_].readOnly == BOOLEAN
    input.Body[_].volumes[_].source == STRING
    input.Body[_].volumes[_].target == STRING
    input.Body[_].volumes[_].consistency == STRING
    input.Body[_].volumes[_].bind.propagation == STRING
    input.Body[_].volumes[_].bind.createHostPath == BOOLEAN
    input.Body[_].volumes[_].bind.selinux == STRING
    input.Body[_].volumes[_].volume.nocopy == BOOLEAN
    input.Body[_].volumes[_].tmpfs.size == INTEGER
    input.Body[_].kernel.argv[_] == STRING
    input.Body[_].kernel.displayName == STRING
    input.Body[_].kernel.language == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.computeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Compute_UpdateDataMounts

enum_ComputeInstanceDataMountMountAction := [ "Mount", "Unmount" ]
enum_ComputeInstanceDataMountMountMode := [ "ReadOnly", "ReadWrite" ]
enum_ComputeInstanceDataMountMountState := [ "MountRequested", "Mounted", "MountFailed", "UnmountRequested", "UnmountFailed", "Unmounted" ]
enum_ComputeInstanceDataMountSourceType := [ "Dataset", "Datastore", "URI" ]

valid {
    input.Body[_].source == STRING
    input.Body[_].sourceType == enum_ComputeInstanceDataMountSourceType[_]
    input.Body[_].mountName == STRING
    input.Body[_].mountAction == enum_ComputeInstanceDataMountMountAction[_]
    input.Body[_].mountMode == enum_ComputeInstanceDataMountMountMode[_]
    input.Body[_].createdBy == STRING
    input.Body[_].mountPath == STRING
    input.Body[_].mountState == enum_ComputeInstanceDataMountMountState[_]
    input.Body[_].mountedOn == STRING
    input.Body[_].error == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.computeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Compute_UpdateIdleShutdownSetting

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

Compute_UpdateSchedules

enum_ComputePowerAction := [ "Start", "Stop" ]
enum_RecurrenceFrequency := [ "NotSpecified", "Second", "Minute", "Hour", "Day", "Week", "Month", "Year" ]
enum_RecurrenceScheduleWeekDays := [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ]
enum_ScheduleStatus := [ "Enabled", "Disabled" ]
enum_TriggerType := [ "Recurrence", "Cron" ]

valid {
    input.Body.computeStartStop[_].status == enum_ScheduleStatus[_]
    input.Body.computeStartStop[_].triggerType == enum_TriggerType[_]
    input.Body.computeStartStop[_].action == enum_ComputePowerAction[_]
    input.Body.computeStartStop[_].recurrence.frequency == enum_RecurrenceFrequency[_]
    input.Body.computeStartStop[_].recurrence.interval == INTEGER
    input.Body.computeStartStop[_].recurrence.startTime == STRING
    input.Body.computeStartStop[_].recurrence.timeZone == STRING
    input.Body.computeStartStop[_].recurrence.schedule.minutes[_] == INTEGER
    input.Body.computeStartStop[_].recurrence.schedule.hours[_] == INTEGER
    input.Body.computeStartStop[_].recurrence.schedule.weekDays[_] == enum_RecurrenceScheduleWeekDays[_]
    input.Body.computeStartStop[_].cron.startTime == STRING
    input.Body.computeStartStop[_].cron.timeZone == STRING
    input.Body.computeStartStop[_].cron.expression == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.computeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Compute_getAllowedResizeSizes

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

ConnectionRaiBlocklistItem_Create

valid {
    input.Body.properties.isRegex == BOOLEAN
    input.Body.properties.pattern == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.connectionName == STRING
    input.ReqMap.raiBlocklistName == STRING
    input.ReqMap.raiBlocklistItemName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ConnectionRaiBlocklistItem_Delete

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

ConnectionRaiBlocklistItem_Get

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

ConnectionRaiBlocklistItems_List

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

ConnectionRaiBlocklist_Create

valid {
    input.Body.properties.description == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.connectionName == STRING
    input.ReqMap.raiBlocklistName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ConnectionRaiBlocklist_Delete

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

ConnectionRaiBlocklist_Get

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

ConnectionRaiBlocklists_List

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

ConnectionRaiPolicies_List

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

ConnectionRaiPolicy_Create

enum_AllowedContentLevel := [ "Low", "Medium", "High" ]
enum_RaiPolicyContentSource := [ "Prompt", "Completion" ]
enum_RaiPolicyMode := [ "Default", "Deferred", "Blocking" ]
enum_RaiPolicyType := [ "UserManaged", "SystemManaged" ]

valid {
    input.Body.properties.basePolicyName == STRING
    input.Body.properties.completionBlocklists[_].blocking == BOOLEAN
    input.Body.properties.completionBlocklists[_].blocklistName == STRING
    input.Body.properties.contentFilters[_].allowedContentLevel == enum_AllowedContentLevel[_]
    input.Body.properties.contentFilters[_].blocking == BOOLEAN
    input.Body.properties.contentFilters[_].enabled == BOOLEAN
    input.Body.properties.contentFilters[_].name == STRING
    input.Body.properties.contentFilters[_].source == enum_RaiPolicyContentSource[_]
    input.Body.properties.mode == enum_RaiPolicyMode[_]
    input.Body.properties.type == enum_RaiPolicyType[_]
    input.Body.properties.promptBlocklists[_].blocking == BOOLEAN
    input.Body.properties.promptBlocklists[_].blocklistName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.connectionName == STRING
    input.ReqMap.raiPolicyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ConnectionRaiPolicy_Delete

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

ConnectionRaiPolicy_Get

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

Connection_CreateOrUpdateDeployment

valid {
    input.Body.properties.failureReason == STRING
    input.Body.properties.type == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.connectionName == STRING
    input.ReqMap.deploymentName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Connection_DeleteDeployment

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

Connection_GetDeployment

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

Connection_GetModels

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

Connection_ListDeployments

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

DataContainers_CreateOrUpdate

enum_DataType := [ "uri_file", "uri_folder", "mltable" ]

valid {
    input.Body.properties.dataType == enum_DataType[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

DataContainers_Delete

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

DataContainers_Get

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

DataContainers_List

enum_ListViewTypeParameter := [ "ActiveOnly", "ArchivedOnly", "All" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.Qs.api-version == STRING
    input.Qs.$skip == STRING
    input.Qs.listViewType == enum_ListViewTypeParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

DataVersions_CreateOrUpdate

enum_DataType := [ "uri_file", "uri_folder", "mltable" ]
enum_ProtectionLevel := [ "All", "None" ]

valid {
    input.Body.properties.dataType == enum_DataType[_]
    input.Body.properties.dataUri == STRING
    input.Body.properties.intellectualProperty.protectionLevel == enum_ProtectionLevel[_]
    input.Body.properties.intellectualProperty.publisher == STRING
    input.Body.properties.stage == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

DataVersions_Delete

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

DataVersions_Get

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

DataVersions_List

enum_ListViewTypeParameter := [ "ActiveOnly", "ArchivedOnly", "All" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.Qs.api-version == STRING
    input.Qs.$orderBy == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skip == STRING
    input.Qs.$tags == STRING
    input.Qs.listViewType == enum_ListViewTypeParameter[_]
    input.Qs.stage == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

DataVersions_Publish

valid {
    input.Body.destinationName == STRING
    input.Body.destinationVersion == STRING
    input.Body.registryName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Datastores_CreateOrUpdate

enum_CredentialsType := [ "AccountKey", "Certificate", "None", "Sas", "ServicePrincipal", "KerberosKeytab", "KerberosPassword" ]
enum_DatastoreType := [ "AzureBlob", "AzureDataLakeGen1", "AzureDataLakeGen2", "AzureFile", "Hdfs", "OneLake" ]
enum_ProtectionLevel := [ "All", "None" ]

valid {
    input.Body.properties.credentials.credentialsType == enum_CredentialsType[_]
    input.Body.properties.datastoreType == enum_DatastoreType[_]
    input.Body.properties.intellectualProperty.protectionLevel == enum_ProtectionLevel[_]
    input.Body.properties.intellectualProperty.publisher == STRING
    input.Body.properties.description == STRING
    input.Body.properties.properties.STRING == STRING
    input.Body.properties.tags.STRING == STRING
    input.Body.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.Qs.api-version == STRING
    input.Qs.skipValidation == BOOLEAN
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Datastores_Delete

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

Datastores_Get

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

Datastores_List

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.Qs.api-version == STRING
    input.Qs.$skip == STRING
    input.Qs.count == INTEGER
    input.Qs.isDefault == BOOLEAN
    input.Qs.names == ARRAY
    input.Qs.searchText == STRING
    input.Qs.orderBy == STRING
    input.Qs.orderByAsc == BOOLEAN
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Datastores_ListSecrets

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

EndpointDeployment_CreateOrUpdate

valid {
    input.Body.properties.failureReason == STRING
    input.Body.properties.type == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.endpointName == STRING
    input.ReqMap.deploymentName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

EndpointDeployment_Delete

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

EndpointDeployment_Get

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

EndpointDeployment_GetInWorkspace

enum_EndpointTypeParameter := [ "Azure.OpenAI", "Azure.Speech", "Azure.ContentSafety", "Azure.Llama", "managedOnlineEndpoint" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.Qs.api-version == STRING
    input.Qs.endpointType == enum_EndpointTypeParameter[_]
    input.Qs.$skip == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

EndpointDeployment_List

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

Endpoint_CreateOrUpdate

enum_EndpointResourcePropertiesEndpointType := [ "Azure.OpenAI", "Azure.Speech", "Azure.ContentSafety", "Azure.Llama", "managedOnlineEndpoint" ]

valid {
    input.Body.properties.associatedResourceId == STRING
    input.Body.properties.endpointType == enum_EndpointResourcePropertiesEndpointType[_]
    input.Body.properties.endpointUri == STRING
    input.Body.properties.failureReason == STRING
    input.Body.properties.name == STRING
    input.Body.properties.shouldCreateAiServicesEndpoint == BOOLEAN
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Endpoint_Get

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

Endpoint_GetModels

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

Endpoint_List

enum_EndpointTypeParameter := [ "Azure.OpenAI", "Azure.Speech", "Azure.ContentSafety", "Azure.Llama", "managedOnlineEndpoint" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.Qs.api-version == STRING
    input.Qs.endpointType == enum_EndpointTypeParameter[_]
    input.Qs.includeInferenceEndpoints == BOOLEAN
    input.Qs.$skip == STRING
    input.Qs.$expand == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Endpoint_ListKeys

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

Endpoint_RegenerateKeys

enum_ServiceAccountKeyName := [ "Key1", "Key2" ]

valid {
    input.Body.keyName == enum_ServiceAccountKeyName[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

EnvironmentContainers_CreateOrUpdate

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

EnvironmentContainers_Delete

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

EnvironmentContainers_Get

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

EnvironmentContainers_List

enum_ListViewTypeParameter := [ "ActiveOnly", "ArchivedOnly", "All" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.Qs.api-version == STRING
    input.Qs.$skip == STRING
    input.Qs.listViewType == enum_ListViewTypeParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

EnvironmentVersions_CreateOrUpdate

enum_AutoRebuildSetting := [ "Disabled", "OnBaseImageUpdate" ]
enum_OperatingSystemType := [ "Linux", "Windows" ]
enum_ProtectionLevel := [ "All", "None" ]

valid {
    input.Body.properties.autoRebuild == enum_AutoRebuildSetting[_]
    input.Body.properties.build.contextUri == STRING
    input.Body.properties.build.dockerfilePath == STRING
    input.Body.properties.condaFile == STRING
    input.Body.properties.image == STRING
    input.Body.properties.inferenceConfig.livenessRoute.path == STRING
    input.Body.properties.inferenceConfig.livenessRoute.port == INTEGER
    input.Body.properties.inferenceConfig.readinessRoute.path == STRING
    input.Body.properties.inferenceConfig.readinessRoute.port == INTEGER
    input.Body.properties.inferenceConfig.scoringRoute.path == STRING
    input.Body.properties.inferenceConfig.scoringRoute.port == INTEGER
    input.Body.properties.intellectualProperty.protectionLevel == enum_ProtectionLevel[_]
    input.Body.properties.intellectualProperty.publisher == STRING
    input.Body.properties.osType == enum_OperatingSystemType[_]
    input.Body.properties.stage == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

EnvironmentVersions_Delete

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

EnvironmentVersions_Get

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

EnvironmentVersions_List

enum_ListViewTypeParameter := [ "ActiveOnly", "ArchivedOnly", "All" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.Qs.api-version == STRING
    input.Qs.$orderBy == STRING
    input.Qs.$top == INTEGER
    input.Qs.$skip == STRING
    input.Qs.listViewType == enum_ListViewTypeParameter[_]
    input.Qs.stage == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

EnvironmentVersions_Publish

valid {
    input.Body.destinationName == STRING
    input.Body.destinationVersion == STRING
    input.Body.registryName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Features_Get

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

Features_List

enum_ListViewTypeParameter := [ "ActiveOnly", "ArchivedOnly", "All" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.featuresetName == STRING
    input.ReqMap.featuresetVersion == STRING
    input.Qs.api-version == STRING
    input.Qs.$skip == STRING
    input.Qs.tags == STRING
    input.Qs.featureName == STRING
    input.Qs.description == STRING
    input.Qs.listViewType == enum_ListViewTypeParameter[_]
    input.Qs.pageSize == INTEGER
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

FeaturesetContainers_CreateOrUpdate

valid {
    input.Body.properties.isArchived == BOOLEAN
    input.Body.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

FeaturesetContainers_Delete

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

FeaturesetContainers_GetEntity

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

FeaturesetContainers_List

enum_ListViewTypeParameter := [ "ActiveOnly", "ArchivedOnly", "All" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.Qs.api-version == STRING
    input.Qs.$skip == STRING
    input.Qs.tags == STRING
    input.Qs.listViewType == enum_ListViewTypeParameter[_]
    input.Qs.pageSize == INTEGER
    input.Qs.name == STRING
    input.Qs.description == STRING
    input.Qs.createdBy == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

FeaturesetVersions_Backfill

enum_DataAvailabilityStatus := [ "None", "Pending", "Incomplete", "Complete" ]

valid {
    input.Body.dataAvailabilityStatus[_] == enum_DataAvailabilityStatus[_]
    input.Body.description == STRING
    input.Body.displayName == STRING
    input.Body.featureWindow.featureWindowEnd == STRING
    input.Body.featureWindow.featureWindowStart == STRING
    input.Body.jobId == STRING
    input.Body.properties.STRING == STRING
    input.Body.resource.instanceType == STRING
    input.Body.sparkConfiguration.STRING == STRING
    input.Body.tags.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

FeaturesetVersions_CreateOrUpdate

enum_AutoDeleteCondition := [ "CreatedGreaterThan", "LastAccessedGreaterThan" ]
enum_EmailNotificationEnableType := [ "JobCompleted", "JobFailed", "JobCancelled" ]
enum_MaterializationStoreType := [ "None", "Online", "Offline", "OnlineAndOffline" ]
enum_RecurrenceFrequency := [ "Minute", "Hour", "Day", "Week", "Month" ]
enum_TriggerType := [ "Recurrence", "Cron" ]
enum_WebhookType := [ "AzureDevOps" ]
enum_WeekDay := [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ]

valid {
    input.Body.properties.entities[_] == STRING
    input.Body.properties.materializationSettings.notification.emailOn[_] == enum_EmailNotificationEnableType[_]
    input.Body.properties.materializationSettings.notification.emails[_] == STRING
    input.Body.properties.materializationSettings.notification.webhooks.STRING.eventType == STRING
    input.Body.properties.materializationSettings.notification.webhooks.STRING.webhookType == enum_WebhookType[_]
    input.Body.properties.materializationSettings.resource.instanceType == STRING
    input.Body.properties.materializationSettings.schedule.frequency == enum_RecurrenceFrequency[_]
    input.Body.properties.materializationSettings.schedule.interval == INTEGER
    input.Body.properties.materializationSettings.schedule.schedule.hours[_] == INTEGER
    input.Body.properties.materializationSettings.schedule.schedule.minutes[_] == INTEGER
    input.Body.properties.materializationSettings.schedule.schedule.monthDays[_] == INTEGER
    input.Body.properties.materializationSettings.schedule.schedule.weekDays[_] == enum_WeekDay[_]
    input.Body.properties.materializationSettings.schedule.endTime == STRING
    input.Body.properties.materializationSettings.schedule.startTime == STRING
    input.Body.properties.materializationSettings.schedule.timeZone == STRING
    input.Body.properties.materializationSettings.schedule.triggerType == enum_TriggerType[_]
    input.Body.properties.materializationSettings.sparkConfiguration.STRING == STRING
    input.Body.properties.materializationSettings.storeType == enum_MaterializationStoreType[_]
    input.Body.properties.specification.path == STRING
    input.Body.properties.stage == STRING
    input.Body.properties.autoDeleteSetting.condition == enum_AutoDeleteCondition[_]
    input.Body.properties.autoDeleteSetting.value == STRING
    input.Body.properties.isAnonymous == BOOLEAN
    input.Body.properties.isArchived == BOOLEAN
    input.Body.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.workspaceName == STRING
    input.ReqMap.name == STRING
    input.ReqMap.version == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}