MICROSOFT.CHANGEANALYSIS

ChangeSnapshots_GetChangeSnapshots

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

Changes_ListChangesByResourceGroup

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

Changes_ListChangesBySubscription

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

ConfigurationProfile_Create

enum_ChangeDetailsMode := [ "None", "Include", "Exclude" ]
enum_NotificationsState := [ "None", "Enabled", "Disabled" ]
enum_ResourceIdentityType := [ "None", "SystemAssigned" ]

valid {
    input.Body.identity.type == enum_ResourceIdentityType[_]
    input.Body.properties.notifications.azureMonitorWorkspaceProperties.workspaceId == STRING
    input.Body.properties.notifications.azureMonitorWorkspaceProperties.workspaceResourceId == STRING
    input.Body.properties.notifications.azureMonitorWorkspaceProperties.includeChangeDetails == enum_ChangeDetailsMode[_]
    input.Body.properties.notifications.activationState == enum_NotificationsState[_]
    input.Body.location == STRING
    input.Body.systemData == {}
    input.Body.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.profileName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

ConfigurationProfile_Delete

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

ConfigurationProfile_Get

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

ConfigurationProfile_Update

enum_ChangeDetailsMode := [ "None", "Include", "Exclude" ]
enum_NotificationsState := [ "None", "Enabled", "Disabled" ]
enum_ResourceIdentityType := [ "None", "SystemAssigned" ]

valid {
    input.Body.identity.type == enum_ResourceIdentityType[_]
    input.Body.properties.notifications.azureMonitorWorkspaceProperties.workspaceId == STRING
    input.Body.properties.notifications.azureMonitorWorkspaceProperties.workspaceResourceId == STRING
    input.Body.properties.notifications.azureMonitorWorkspaceProperties.includeChangeDetails == enum_ChangeDetailsMode[_]
    input.Body.properties.notifications.activationState == enum_NotificationsState[_]
    input.Body.location == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.profileName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

Operations_List

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

ResourceChanges_List

valid {
    input.ReqMap.resourceId == STRING
    input.Qs.api-version == STRING
    input.Qs.$startTime == STRING
    input.Qs.$endTime == STRING
    input.Qs.$skipToken == STRING
    input.ProviderMetadata.Region == STRING
}