MICROSOFT.HYBRIDCONNECTIVITY

Endpoints_CreateOrUpdate

enum_EndpointPropertiesType := [ "default", "custom" ]

valid {
    input.Body.properties.type == enum_EndpointPropertiesType[_]
    input.Body.properties.resourceId == STRING
    input.Body.STRING == STRING
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Endpoints_Delete

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

Endpoints_Get

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

Endpoints_List

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

Endpoints_ListCredentials

enum_ListCredentialsRequestServiceName := [ "SSH", "WAC" ]

valid {
    input.Body.serviceName == enum_ListCredentialsRequestServiceName[_]
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.Qs.expiresin == INTEGER
    input.ProviderMetadata.Region == STRING
}

Endpoints_ListIngressGatewayCredentials

enum_ListIngressGatewayCredentialsRequestServiceName := [ "SSH", "WAC" ]

valid {
    input.Body.serviceName == enum_ListIngressGatewayCredentialsRequestServiceName[_]
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.Qs.expiresin == INTEGER
    input.ProviderMetadata.Region == STRING
}

Endpoints_ListManagedProxyDetails

enum_ManagedProxyRequestServiceName := [ "SSH", "WAC" ]

valid {
    input.Body.service == STRING
    input.Body.hostname == STRING
    input.Body.serviceName == enum_ManagedProxyRequestServiceName[_]
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Endpoints_Update

enum_EndpointPropertiesType := [ "default", "custom" ]

valid {
    input.Body.properties.type == enum_EndpointPropertiesType[_]
    input.Body.properties.resourceId == STRING
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Operations_List

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

ServiceConfigurations_CreateOrupdate

enum_ServiceConfigurationPropertiesServiceName := [ "SSH", "WAC" ]

valid {
    input.Body.properties.serviceName == enum_ServiceConfigurationPropertiesServiceName[_]
    input.Body.properties.resourceId == STRING
    input.Body.properties.port == INTEGER
    input.Body.STRING == STRING
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.ReqMap.serviceConfigurationName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ServiceConfigurations_Delete

valid {
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.ReqMap.serviceConfigurationName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ServiceConfigurations_Get

valid {
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.ReqMap.serviceConfigurationName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

ServiceConfigurations_ListByEndpointResource

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

ServiceConfigurations_Update

valid {
    input.Body.properties.port == INTEGER
    input.ReqMap.resourceUri == STRING
    input.ReqMap.endpointName == STRING
    input.ReqMap.serviceConfigurationName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}