MICROSOFT.VIRTUALMACHINEIMAGES

Operations_List

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

Triggers_CreateOrUpdate

valid {
    input.Body.properties.kind == STRING
    input.Body.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.imageTemplateName == STRING
    input.ReqMap.triggerName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Triggers_Delete

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

Triggers_Get

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

Triggers_ListByImageTemplate

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

VirtualMachineImageTemplates_Cancel

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

VirtualMachineImageTemplates_CreateOrUpdate

enum_ImageTemplateIdentityType := [ "UserAssigned", "None" ]
enum_ImageTemplatePropertiesOptimizeVmBootState := [ "Enabled", "Disabled" ]
enum_onBuildError := [ "cleanup", "abort" ]

valid {
    input.Body.properties.source.type == STRING
    input.Body.properties.customize[_].type == STRING
    input.Body.properties.customize[_].name == STRING
    input.Body.properties.optimize.vmBoot.state == enum_ImageTemplatePropertiesOptimizeVmBootState[_]
    input.Body.properties.validate.continueDistributeOnFailure == BOOLEAN
    input.Body.properties.validate.sourceValidationOnly == BOOLEAN
    input.Body.properties.validate.inVMValidations[_].type == STRING
    input.Body.properties.validate.inVMValidations[_].name == STRING
    input.Body.properties.distribute[_].type == STRING
    input.Body.properties.distribute[_].runOutputName == STRING
    input.Body.properties.distribute[_].artifactTags.STRING == STRING
    input.Body.properties.errorHandling.onCustomizerError == enum_onBuildError[_]
    input.Body.properties.errorHandling.onValidationError == enum_onBuildError[_]
    input.Body.properties.buildTimeoutInMinutes == INTEGER
    input.Body.properties.vmProfile.vmSize == STRING
    input.Body.properties.vmProfile.osDiskSizeGB == INTEGER
    input.Body.properties.vmProfile.userAssignedIdentities[_] == STRING
    input.Body.properties.vmProfile.vnetConfig.subnetId == STRING
    input.Body.properties.vmProfile.vnetConfig.proxyVmSize == STRING
    input.Body.properties.stagingResourceGroup == STRING
    input.Body.identity.type == enum_ImageTemplateIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING == {}
    input.Body.tags.STRING == STRING
    input.Body.location == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.imageTemplateName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

VirtualMachineImageTemplates_Delete

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

VirtualMachineImageTemplates_Get

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

VirtualMachineImageTemplates_GetRunOutput

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

VirtualMachineImageTemplates_List

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

VirtualMachineImageTemplates_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
}

VirtualMachineImageTemplates_ListRunOutputs

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

VirtualMachineImageTemplates_Run

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

VirtualMachineImageTemplates_Update

enum_ImageTemplateIdentityType := [ "UserAssigned", "None" ]

valid {
    input.Body.identity.type == enum_ImageTemplateIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING == {}
    input.Body.tags.STRING == STRING
    input.Body.properties.distribute[_].type == STRING
    input.Body.properties.distribute[_].runOutputName == STRING
    input.Body.properties.distribute[_].artifactTags.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.imageTemplateName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}