MICROSOFT.HYBRIDCLOUD

CloudConnections_CreateOrUpdate

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.Body.properties.cloudConnector.id == STRING
    input.Body.properties.remoteResourceId == STRING
    input.Body.properties.virtualHub.id == STRING
    input.Body.properties.sharedKey == STRING
    input.Body.tags.STRING == STRING
    input.Body.location == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectionName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CloudConnections_Delete

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectionName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CloudConnections_Get

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectionName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CloudConnections_ListByResourceGroup

enum_apiVersionParameter := [ "2023-01-01-preview" ]

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

CloudConnections_ListBySubscription

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

CloudConnections_UpdateTags

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.Body.tags.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectionName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CloudConnectors_CreateOrUpdate

enum_CloudConnectorPropertiesCloudType := [ "AWS" ]
enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.Body.properties.accountId == STRING
    input.Body.properties.cloudType == enum_CloudConnectorPropertiesCloudType[_]
    input.Body.tags.STRING == STRING
    input.Body.location == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectorName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CloudConnectors_Delete

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectorName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CloudConnectors_DiscoverResources

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectorName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CloudConnectors_Get

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectorName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CloudConnectors_ListByResourceGroup

enum_apiVersionParameter := [ "2023-01-01-preview" ]

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

CloudConnectors_ListBySubscription

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.ReqMap.SubscriptionID == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

CloudConnectors_UpdateTags

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.Body.tags.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.cloudConnectorName == STRING
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

HybridCloud_ListOperations

enum_apiVersionParameter := [ "2023-01-01-preview" ]

valid {
    input.Qs.api-version == enum_apiVersionParameter[_]
    input.ProviderMetadata.Region == STRING
}