MICROSOFT.SERVICELINKER

ConfigurationNames_List

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

Connector_CreateDryrun

enum_DryrunActionName := [ "createOrUpdate" ]

valid {
    input.Body.properties.parameters.actionName == enum_DryrunActionName[_]
    input.Body.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.location == STRING
    input.ReqMap.dryrunName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Connector_CreateOrUpdate

enum_ActionType := [ "enable", "optOut" ]
enum_AllowType := [ "true", "false" ]
enum_AuthMode := [ "optInAllAuth", "optOutAllAuth" ]
enum_AuthType := [ "systemAssignedIdentity", "userAssignedIdentity", "servicePrincipalSecret", "servicePrincipalCertificate", "secret", "accessKey", "userAccount", "easyAuthMicrosoftEntraID" ]
enum_ClientType := [ "none", "dotnet", "java", "python", "go", "php", "ruby", "django", "nodejs", "springBoot", "kafka-springBoot", "jms-springBoot", "dapr" ]
enum_DaprMetadataRequired := [ "true", "false" ]
enum_DeleteOrUpdateBehavior := [ "Default", "ForcedCleanup" ]
enum_TargetServiceType := [ "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "SelfHostedServer" ]
enum_VNetSolutionType := [ "serviceEndpoint", "privateLink" ]

valid {
    input.Body.properties.targetService.type == enum_TargetServiceType[_]
    input.Body.properties.authInfo.authType == enum_AuthType[_]
    input.Body.properties.authInfo.authMode == enum_AuthMode[_]
    input.Body.properties.clientType == enum_ClientType[_]
    input.Body.properties.vNetSolution.type == enum_VNetSolutionType[_]
    input.Body.properties.vNetSolution.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.secretStore.keyVaultId == STRING
    input.Body.properties.secretStore.keyVaultSecretName == STRING
    input.Body.properties.scope == STRING
    input.Body.properties.publicNetworkSolution.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.publicNetworkSolution.action == enum_ActionType[_]
    input.Body.properties.publicNetworkSolution.firewallRules.ipRanges[_] == STRING
    input.Body.properties.publicNetworkSolution.firewallRules.azureServices == enum_AllowType[_]
    input.Body.properties.publicNetworkSolution.firewallRules.callerClientIP == enum_AllowType[_]
    input.Body.properties.configurationInfo.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.configurationInfo.action == enum_ActionType[_]
    input.Body.properties.configurationInfo.customizedKeys.STRING == STRING
    input.Body.properties.configurationInfo.daprProperties.version == STRING
    input.Body.properties.configurationInfo.daprProperties.componentType == STRING
    input.Body.properties.configurationInfo.daprProperties.secretStoreComponent == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].name == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].value == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].secretRef == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].description == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].required == enum_DaprMetadataRequired[_]
    input.Body.properties.configurationInfo.daprProperties.scopes[_] == STRING
    input.Body.properties.configurationInfo.additionalConfigurations.STRING == STRING
    input.Body.properties.configurationInfo.additionalConnectionStringProperties.STRING == STRING
    input.Body.properties.configurationInfo.configurationStore.appConfigurationId == STRING
    input.Body.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.location == STRING
    input.ReqMap.connectorName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Connector_Delete

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

Connector_DeleteDryrun

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

Connector_GenerateConfigurations

enum_ActionType := [ "enable", "optOut" ]
enum_DaprMetadataRequired := [ "true", "false" ]
enum_DeleteOrUpdateBehavior := [ "Default", "ForcedCleanup" ]

valid {
    input.Body.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.action == enum_ActionType[_]
    input.Body.customizedKeys.STRING == STRING
    input.Body.daprProperties.version == STRING
    input.Body.daprProperties.componentType == STRING
    input.Body.daprProperties.secretStoreComponent == STRING
    input.Body.daprProperties.metadata[_].name == STRING
    input.Body.daprProperties.metadata[_].value == STRING
    input.Body.daprProperties.metadata[_].secretRef == STRING
    input.Body.daprProperties.metadata[_].description == STRING
    input.Body.daprProperties.metadata[_].required == enum_DaprMetadataRequired[_]
    input.Body.daprProperties.scopes[_] == STRING
    input.Body.additionalConfigurations.STRING == STRING
    input.Body.additionalConnectionStringProperties.STRING == STRING
    input.Body.configurationStore.appConfigurationId == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.location == STRING
    input.ReqMap.connectorName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Connector_Get

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

Connector_GetDryrun

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

Connector_List

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

Connector_ListDryrun

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

Connector_Update

enum_ActionType := [ "enable", "optOut" ]
enum_AllowType := [ "true", "false" ]
enum_AuthMode := [ "optInAllAuth", "optOutAllAuth" ]
enum_AuthType := [ "systemAssignedIdentity", "userAssignedIdentity", "servicePrincipalSecret", "servicePrincipalCertificate", "secret", "accessKey", "userAccount", "easyAuthMicrosoftEntraID" ]
enum_ClientType := [ "none", "dotnet", "java", "python", "go", "php", "ruby", "django", "nodejs", "springBoot", "kafka-springBoot", "jms-springBoot", "dapr" ]
enum_DaprMetadataRequired := [ "true", "false" ]
enum_DeleteOrUpdateBehavior := [ "Default", "ForcedCleanup" ]
enum_TargetServiceType := [ "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "SelfHostedServer" ]
enum_VNetSolutionType := [ "serviceEndpoint", "privateLink" ]

valid {
    input.Body.properties.targetService.type == enum_TargetServiceType[_]
    input.Body.properties.authInfo.authType == enum_AuthType[_]
    input.Body.properties.authInfo.authMode == enum_AuthMode[_]
    input.Body.properties.clientType == enum_ClientType[_]
    input.Body.properties.vNetSolution.type == enum_VNetSolutionType[_]
    input.Body.properties.vNetSolution.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.secretStore.keyVaultId == STRING
    input.Body.properties.secretStore.keyVaultSecretName == STRING
    input.Body.properties.scope == STRING
    input.Body.properties.publicNetworkSolution.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.publicNetworkSolution.action == enum_ActionType[_]
    input.Body.properties.publicNetworkSolution.firewallRules.ipRanges[_] == STRING
    input.Body.properties.publicNetworkSolution.firewallRules.azureServices == enum_AllowType[_]
    input.Body.properties.publicNetworkSolution.firewallRules.callerClientIP == enum_AllowType[_]
    input.Body.properties.configurationInfo.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.configurationInfo.action == enum_ActionType[_]
    input.Body.properties.configurationInfo.customizedKeys.STRING == STRING
    input.Body.properties.configurationInfo.daprProperties.version == STRING
    input.Body.properties.configurationInfo.daprProperties.componentType == STRING
    input.Body.properties.configurationInfo.daprProperties.secretStoreComponent == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].name == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].value == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].secretRef == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].description == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].required == enum_DaprMetadataRequired[_]
    input.Body.properties.configurationInfo.daprProperties.scopes[_] == STRING
    input.Body.properties.configurationInfo.additionalConfigurations.STRING == STRING
    input.Body.properties.configurationInfo.additionalConnectionStringProperties.STRING == STRING
    input.Body.properties.configurationInfo.configurationStore.appConfigurationId == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.location == STRING
    input.ReqMap.connectorName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Connector_UpdateDryrun

enum_DryrunActionName := [ "createOrUpdate" ]

valid {
    input.Body.properties.parameters.actionName == enum_DryrunActionName[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.location == STRING
    input.ReqMap.dryrunName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Connector_Validate

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

Linker_CreateOrUpdate

enum_ActionType := [ "enable", "optOut" ]
enum_AllowType := [ "true", "false" ]
enum_AuthMode := [ "optInAllAuth", "optOutAllAuth" ]
enum_AuthType := [ "systemAssignedIdentity", "userAssignedIdentity", "servicePrincipalSecret", "servicePrincipalCertificate", "secret", "accessKey", "userAccount", "easyAuthMicrosoftEntraID" ]
enum_ClientType := [ "none", "dotnet", "java", "python", "go", "php", "ruby", "django", "nodejs", "springBoot", "kafka-springBoot", "jms-springBoot", "dapr" ]
enum_DaprMetadataRequired := [ "true", "false" ]
enum_DeleteOrUpdateBehavior := [ "Default", "ForcedCleanup" ]
enum_TargetServiceType := [ "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "SelfHostedServer" ]
enum_VNetSolutionType := [ "serviceEndpoint", "privateLink" ]

valid {
    input.Body.properties.targetService.type == enum_TargetServiceType[_]
    input.Body.properties.authInfo.authType == enum_AuthType[_]
    input.Body.properties.authInfo.authMode == enum_AuthMode[_]
    input.Body.properties.clientType == enum_ClientType[_]
    input.Body.properties.vNetSolution.type == enum_VNetSolutionType[_]
    input.Body.properties.vNetSolution.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.secretStore.keyVaultId == STRING
    input.Body.properties.secretStore.keyVaultSecretName == STRING
    input.Body.properties.scope == STRING
    input.Body.properties.publicNetworkSolution.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.publicNetworkSolution.action == enum_ActionType[_]
    input.Body.properties.publicNetworkSolution.firewallRules.ipRanges[_] == STRING
    input.Body.properties.publicNetworkSolution.firewallRules.azureServices == enum_AllowType[_]
    input.Body.properties.publicNetworkSolution.firewallRules.callerClientIP == enum_AllowType[_]
    input.Body.properties.configurationInfo.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.configurationInfo.action == enum_ActionType[_]
    input.Body.properties.configurationInfo.customizedKeys.STRING == STRING
    input.Body.properties.configurationInfo.daprProperties.version == STRING
    input.Body.properties.configurationInfo.daprProperties.componentType == STRING
    input.Body.properties.configurationInfo.daprProperties.secretStoreComponent == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].name == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].value == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].secretRef == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].description == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].required == enum_DaprMetadataRequired[_]
    input.Body.properties.configurationInfo.daprProperties.scopes[_] == STRING
    input.Body.properties.configurationInfo.additionalConfigurations.STRING == STRING
    input.Body.properties.configurationInfo.additionalConnectionStringProperties.STRING == STRING
    input.Body.properties.configurationInfo.configurationStore.appConfigurationId == STRING
    input.ReqMap.resourceUri == STRING
    input.ReqMap.linkerName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Linker_Delete

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

Linker_Get

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

Linker_List

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

Linker_ListConfigurations

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

Linker_Update

enum_ActionType := [ "enable", "optOut" ]
enum_AllowType := [ "true", "false" ]
enum_AuthMode := [ "optInAllAuth", "optOutAllAuth" ]
enum_AuthType := [ "systemAssignedIdentity", "userAssignedIdentity", "servicePrincipalSecret", "servicePrincipalCertificate", "secret", "accessKey", "userAccount", "easyAuthMicrosoftEntraID" ]
enum_ClientType := [ "none", "dotnet", "java", "python", "go", "php", "ruby", "django", "nodejs", "springBoot", "kafka-springBoot", "jms-springBoot", "dapr" ]
enum_DaprMetadataRequired := [ "true", "false" ]
enum_DeleteOrUpdateBehavior := [ "Default", "ForcedCleanup" ]
enum_TargetServiceType := [ "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "SelfHostedServer" ]
enum_VNetSolutionType := [ "serviceEndpoint", "privateLink" ]

valid {
    input.Body.properties.targetService.type == enum_TargetServiceType[_]
    input.Body.properties.authInfo.authType == enum_AuthType[_]
    input.Body.properties.authInfo.authMode == enum_AuthMode[_]
    input.Body.properties.clientType == enum_ClientType[_]
    input.Body.properties.vNetSolution.type == enum_VNetSolutionType[_]
    input.Body.properties.vNetSolution.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.secretStore.keyVaultId == STRING
    input.Body.properties.secretStore.keyVaultSecretName == STRING
    input.Body.properties.scope == STRING
    input.Body.properties.publicNetworkSolution.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.publicNetworkSolution.action == enum_ActionType[_]
    input.Body.properties.publicNetworkSolution.firewallRules.ipRanges[_] == STRING
    input.Body.properties.publicNetworkSolution.firewallRules.azureServices == enum_AllowType[_]
    input.Body.properties.publicNetworkSolution.firewallRules.callerClientIP == enum_AllowType[_]
    input.Body.properties.configurationInfo.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.properties.configurationInfo.action == enum_ActionType[_]
    input.Body.properties.configurationInfo.customizedKeys.STRING == STRING
    input.Body.properties.configurationInfo.daprProperties.version == STRING
    input.Body.properties.configurationInfo.daprProperties.componentType == STRING
    input.Body.properties.configurationInfo.daprProperties.secretStoreComponent == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].name == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].value == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].secretRef == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].description == STRING
    input.Body.properties.configurationInfo.daprProperties.metadata[_].required == enum_DaprMetadataRequired[_]
    input.Body.properties.configurationInfo.daprProperties.scopes[_] == STRING
    input.Body.properties.configurationInfo.additionalConfigurations.STRING == STRING
    input.Body.properties.configurationInfo.additionalConnectionStringProperties.STRING == STRING
    input.Body.properties.configurationInfo.configurationStore.appConfigurationId == STRING
    input.ReqMap.resourceUri == STRING
    input.ReqMap.linkerName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Linker_Validate

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

Linkers_CreateDryrun

enum_DryrunActionName := [ "createOrUpdate" ]

valid {
    input.Body.properties.parameters.actionName == enum_DryrunActionName[_]
    input.ReqMap.resourceUri == STRING
    input.ReqMap.dryrunName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Linkers_DeleteDryrun

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

Linkers_GenerateConfigurations

enum_ActionType := [ "enable", "optOut" ]
enum_DaprMetadataRequired := [ "true", "false" ]
enum_DeleteOrUpdateBehavior := [ "Default", "ForcedCleanup" ]

valid {
    input.Body.deleteOrUpdateBehavior == enum_DeleteOrUpdateBehavior[_]
    input.Body.action == enum_ActionType[_]
    input.Body.customizedKeys.STRING == STRING
    input.Body.daprProperties.version == STRING
    input.Body.daprProperties.componentType == STRING
    input.Body.daprProperties.secretStoreComponent == STRING
    input.Body.daprProperties.metadata[_].name == STRING
    input.Body.daprProperties.metadata[_].value == STRING
    input.Body.daprProperties.metadata[_].secretRef == STRING
    input.Body.daprProperties.metadata[_].description == STRING
    input.Body.daprProperties.metadata[_].required == enum_DaprMetadataRequired[_]
    input.Body.daprProperties.scopes[_] == STRING
    input.Body.additionalConfigurations.STRING == STRING
    input.Body.additionalConnectionStringProperties.STRING == STRING
    input.Body.configurationStore.appConfigurationId == STRING
    input.ReqMap.resourceUri == STRING
    input.ReqMap.linkerName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Linkers_GetDryrun

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

Linkers_ListDaprConfigurations

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

Linkers_ListDryrun

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

Linkers_UpdateDryrun

enum_DryrunActionName := [ "createOrUpdate" ]

valid {
    input.Body.properties.parameters.actionName == enum_DryrunActionName[_]
    input.ReqMap.resourceUri == STRING
    input.ReqMap.dryrunName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Operations_List

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