MICROSOFT.DATAFACTORY

ActivityRuns_ListByPipelineRun

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.runId == STRING
    input.Qs.api-version == STRING
    input.Qs.startTime == STRING
    input.Qs.endTime == STRING
    input.Qs.status == STRING
    input.Qs.activityName == STRING
    input.Qs.linkedServiceName == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ActivityRuns_QueryByPipelineRun

enum_RunQueryFilterOperand := [ "PipelineName", "Status", "RunStart", "RunEnd", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "ActivityType", "TriggerName", "TriggerRunTimestamp", "RunGroupId", "LatestOnly" ]
enum_RunQueryFilterOperator := [ "Equals", "NotEquals", "In", "NotIn" ]
enum_RunQueryOrderByOrder := [ "ASC", "DESC" ]
enum_RunQueryOrderByOrderBy := [ "RunStart", "RunEnd", "PipelineName", "Status", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "TriggerName", "TriggerRunTimestamp" ]

valid {
    input.Body.continuationToken == STRING
    input.Body.lastUpdatedAfter == STRING
    input.Body.lastUpdatedBefore == STRING
    input.Body.filters[_].operand == enum_RunQueryFilterOperand[_]
    input.Body.filters[_].operator == enum_RunQueryFilterOperator[_]
    input.Body.filters[_].values[_] == STRING
    input.Body.orderBy[_].orderBy == enum_RunQueryOrderByOrderBy[_]
    input.Body.orderBy[_].order == enum_RunQueryOrderByOrder[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.runId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ChangeDataCapture_CreateOrUpdate

enum_LinkedServiceReferenceType := [ "LinkedServiceReference" ]
enum_MapperAttributeMappingType := [ "Direct", "Derived", "Aggregate" ]
enum_MapperConnectionReferenceType := [ "linkedservicetype" ]
enum_MapperConnectionType := [ "linkedservicetype" ]
enum_MapperPolicyRecurrenceFrequency := [ "Hour", "Minute", "Second" ]

valid {
    input.Body.properties.folder.name == STRING
    input.Body.properties.description == STRING
    input.Body.properties.sourceConnectionsInfo[_].sourceEntities[_].name == STRING
    input.Body.properties.sourceConnectionsInfo[_].sourceEntities[_].properties.schema[_].name == STRING
    input.Body.properties.sourceConnectionsInfo[_].sourceEntities[_].properties.schema[_].dataType == STRING
    input.Body.properties.sourceConnectionsInfo[_].sourceEntities[_].properties.dslConnectorProperties[_].name == STRING
    input.Body.properties.sourceConnectionsInfo[_].sourceEntities[_].properties.dslConnectorProperties[_].value.STRING == STRING
    input.Body.properties.sourceConnectionsInfo[_].connection.linkedService.type == enum_LinkedServiceReferenceType[_]
    input.Body.properties.sourceConnectionsInfo[_].connection.linkedService.referenceName == STRING
    input.Body.properties.sourceConnectionsInfo[_].connection.linkedService.parameters.STRING.STRING == STRING
    input.Body.properties.sourceConnectionsInfo[_].connection.linkedServiceType == STRING
    input.Body.properties.sourceConnectionsInfo[_].connection.type == enum_MapperConnectionType[_]
    input.Body.properties.sourceConnectionsInfo[_].connection.isInlineDataset == BOOLEAN
    input.Body.properties.sourceConnectionsInfo[_].connection.commonDslConnectorProperties[_].name == STRING
    input.Body.properties.sourceConnectionsInfo[_].connection.commonDslConnectorProperties[_].value.STRING == STRING
    input.Body.properties.targetConnectionsInfo[_].targetEntities[_].name == STRING
    input.Body.properties.targetConnectionsInfo[_].targetEntities[_].properties.schema[_].name == STRING
    input.Body.properties.targetConnectionsInfo[_].targetEntities[_].properties.schema[_].dataType == STRING
    input.Body.properties.targetConnectionsInfo[_].targetEntities[_].properties.dslConnectorProperties[_].name == STRING
    input.Body.properties.targetConnectionsInfo[_].targetEntities[_].properties.dslConnectorProperties[_].value.STRING == STRING
    input.Body.properties.targetConnectionsInfo[_].connection.linkedService.type == enum_LinkedServiceReferenceType[_]
    input.Body.properties.targetConnectionsInfo[_].connection.linkedService.referenceName == STRING
    input.Body.properties.targetConnectionsInfo[_].connection.linkedService.parameters.STRING.STRING == STRING
    input.Body.properties.targetConnectionsInfo[_].connection.linkedServiceType == STRING
    input.Body.properties.targetConnectionsInfo[_].connection.type == enum_MapperConnectionType[_]
    input.Body.properties.targetConnectionsInfo[_].connection.isInlineDataset == BOOLEAN
    input.Body.properties.targetConnectionsInfo[_].connection.commonDslConnectorProperties[_].name == STRING
    input.Body.properties.targetConnectionsInfo[_].connection.commonDslConnectorProperties[_].value.STRING == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].targetEntityName == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].sourceEntityName == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].sourceConnectionReference.connectionName == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].sourceConnectionReference.type == enum_MapperConnectionReferenceType[_]
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].name == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].type == enum_MapperAttributeMappingType[_]
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].functionName == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].expression == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].attributeReference.name == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].attributeReference.entity == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].attributeReference.entityConnectionReference.connectionName == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].attributeReference.entityConnectionReference.type == enum_MapperConnectionReferenceType[_]
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].attributeReferences[_].name == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].attributeReferences[_].entity == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].attributeReferences[_].entityConnectionReference.connectionName == STRING
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].attributeMappingInfo.attributeMappings[_].attributeReferences[_].entityConnectionReference.type == enum_MapperConnectionReferenceType[_]
    input.Body.properties.targetConnectionsInfo[_].dataMapperMappings[_].sourceDenormalizeInfo.STRING == STRING
    input.Body.properties.targetConnectionsInfo[_].relationships[_].STRING == STRING
    input.Body.properties.policy.mode == STRING
    input.Body.properties.policy.recurrence.frequency == enum_MapperPolicyRecurrenceFrequency[_]
    input.Body.properties.policy.recurrence.interval == INTEGER
    input.Body.properties.allowVNetOverride == BOOLEAN
    input.Body.properties.status == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.changeDataCaptureName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ChangeDataCapture_Delete

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

ChangeDataCapture_Get

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

ChangeDataCapture_ListByFactory

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

ChangeDataCapture_Start

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

ChangeDataCapture_Status

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

ChangeDataCapture_Stop

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

CredentialOperations_CreateOrUpdate

valid {
    input.Body.properties.type == STRING
    input.Body.properties.description == STRING
    input.Body.properties.annotations[_].STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.credentialName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

CredentialOperations_Delete

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

CredentialOperations_Get

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

CredentialOperations_ListByFactory

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

DataFlowDebugSession_AddDataFlow

enum_IntegrationRuntimeReferenceType := [ "IntegrationRuntimeReference" ]
enum_LinkedServiceReferenceType := [ "LinkedServiceReference" ]
enum_ParameterSpecificationType := [ "Object", "String", "Int", "Float", "Bool", "Array", "SecureString" ]

valid {
    input.Body.sessionId == STRING
    input.Body.dataFlow.properties.type == STRING
    input.Body.dataFlow.properties.description == STRING
    input.Body.dataFlow.properties.annotations[_].STRING == STRING
    input.Body.dataFlow.properties.folder.name == STRING
    input.Body.dataFlow.name == STRING
    input.Body.dataFlows[_].properties.type == STRING
    input.Body.dataFlows[_].properties.description == STRING
    input.Body.dataFlows[_].properties.annotations[_].STRING == STRING
    input.Body.dataFlows[_].properties.folder.name == STRING
    input.Body.datasets[_].properties.type == STRING
    input.Body.datasets[_].properties.description == STRING
    input.Body.datasets[_].properties.structure.STRING == STRING
    input.Body.datasets[_].properties.schema.STRING == STRING
    input.Body.datasets[_].properties.linkedServiceName.type == enum_LinkedServiceReferenceType[_]
    input.Body.datasets[_].properties.linkedServiceName.referenceName == STRING
    input.Body.datasets[_].properties.linkedServiceName.parameters.STRING.STRING == STRING
    input.Body.datasets[_].properties.parameters.STRING.type == enum_ParameterSpecificationType[_]
    input.Body.datasets[_].properties.parameters.STRING.defaultValue.STRING == STRING
    input.Body.datasets[_].properties.annotations[_].STRING == STRING
    input.Body.datasets[_].properties.folder.name == STRING
    input.Body.datasets[_].name == STRING
    input.Body.linkedServices[_].properties.type == STRING
    input.Body.linkedServices[_].properties.connectVia.type == enum_IntegrationRuntimeReferenceType[_]
    input.Body.linkedServices[_].properties.connectVia.referenceName == STRING
    input.Body.linkedServices[_].properties.connectVia.parameters.STRING.STRING == STRING
    input.Body.linkedServices[_].properties.description == STRING
    input.Body.linkedServices[_].properties.parameters.STRING.type == enum_ParameterSpecificationType[_]
    input.Body.linkedServices[_].properties.parameters.STRING.defaultValue.STRING == STRING
    input.Body.linkedServices[_].properties.annotations[_].STRING == STRING
    input.Body.linkedServices[_].name == STRING
    input.Body.staging.linkedService.type == enum_LinkedServiceReferenceType[_]
    input.Body.staging.linkedService.referenceName == STRING
    input.Body.staging.linkedService.parameters.STRING.STRING == STRING
    input.Body.staging.folderPath.STRING == STRING
    input.Body.debugSettings.sourceSettings[_].sourceName == STRING
    input.Body.debugSettings.sourceSettings[_].rowLimit == INTEGER
    input.Body.debugSettings.parameters.STRING.STRING == STRING
    input.Body.debugSettings.datasetParameters.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

DataFlowDebugSession_Create

enum_IntegrationRuntimeType := [ "Managed", "SelfHosted" ]

valid {
    input.Body.computeType == STRING
    input.Body.coreCount == INTEGER
    input.Body.timeToLive == INTEGER
    input.Body.integrationRuntime.properties.type == enum_IntegrationRuntimeType[_]
    input.Body.integrationRuntime.properties.description == STRING
    input.Body.integrationRuntime.name == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

DataFlowDebugSession_Delete

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

DataFlowDebugSession_ExecuteCommand

enum_DataFlowDebugCommandRequestCommand := [ "executePreviewQuery", "executeStatisticsQuery", "executeExpressionQuery" ]

valid {
    input.Body.sessionId == STRING
    input.Body.command == enum_DataFlowDebugCommandRequestCommand[_]
    input.Body.commandPayload.streamName == STRING
    input.Body.commandPayload.rowLimits == INTEGER
    input.Body.commandPayload.columns[_] == STRING
    input.Body.commandPayload.expression == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

DataFlowDebugSession_QueryByFactory

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

DataFlows_CreateOrUpdate

valid {
    input.Body.properties.type == STRING
    input.Body.properties.description == STRING
    input.Body.properties.annotations[_].STRING == STRING
    input.Body.properties.folder.name == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.dataFlowName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

DataFlows_Delete

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

DataFlows_Get

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

DataFlows_ListByFactory

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

Datasets_CreateOrUpdate

enum_LinkedServiceReferenceType := [ "LinkedServiceReference" ]
enum_ParameterSpecificationType := [ "Object", "String", "Int", "Float", "Bool", "Array", "SecureString" ]

valid {
    input.Body.properties.type == STRING
    input.Body.properties.description == STRING
    input.Body.properties.structure.STRING == STRING
    input.Body.properties.schema.STRING == STRING
    input.Body.properties.linkedServiceName.type == enum_LinkedServiceReferenceType[_]
    input.Body.properties.linkedServiceName.referenceName == STRING
    input.Body.properties.linkedServiceName.parameters.STRING.STRING == STRING
    input.Body.properties.parameters.STRING.type == enum_ParameterSpecificationType[_]
    input.Body.properties.parameters.STRING.defaultValue.STRING == STRING
    input.Body.properties.annotations[_].STRING == STRING
    input.Body.properties.folder.name == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.datasetName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Datasets_Delete

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

Datasets_Get

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

Datasets_ListByFactory

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

ExposureControl_GetFeatureValue

valid {
    input.Body.featureName == STRING
    input.Body.featureType == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.locationId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

ExposureControl_GetFeatureValueByFactory

valid {
    input.Body.featureName == STRING
    input.Body.featureType == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ExposureControl_QueryFeatureValuesByFactory

valid {
    input.Body.exposureControlRequests[_].featureName == STRING
    input.Body.exposureControlRequests[_].featureType == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Factories_CancelPipelineRun

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

Factories_ConfigureFactoryRepo

valid {
    input.Body.factoryResourceId == STRING
    input.Body.repoConfiguration.type == STRING
    input.Body.repoConfiguration.accountName == STRING
    input.Body.repoConfiguration.repositoryName == STRING
    input.Body.repoConfiguration.collaborationBranch == STRING
    input.Body.repoConfiguration.rootFolder == STRING
    input.Body.repoConfiguration.lastCommitId == STRING
    input.Body.repoConfiguration.disablePublish == BOOLEAN
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.locationId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
}

Factories_CreateOrUpdate

enum_FactoryIdentityType := [ "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned" ]
enum_FactoryPropertiesPublicNetworkAccess := [ "Enabled", "Disabled" ]
enum_GlobalParameterSpecificationType := [ "Object", "String", "Int", "Float", "Bool", "Array" ]

valid {
    input.Body.identity.type == enum_FactoryIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING.STRING == STRING
    input.Body.properties.purviewConfiguration.purviewResourceId == STRING
    input.Body.properties.repoConfiguration.type == STRING
    input.Body.properties.repoConfiguration.accountName == STRING
    input.Body.properties.repoConfiguration.repositoryName == STRING
    input.Body.properties.repoConfiguration.collaborationBranch == STRING
    input.Body.properties.repoConfiguration.rootFolder == STRING
    input.Body.properties.repoConfiguration.lastCommitId == STRING
    input.Body.properties.repoConfiguration.disablePublish == BOOLEAN
    input.Body.properties.globalParameters.STRING.type == enum_GlobalParameterSpecificationType[_]
    input.Body.properties.globalParameters.STRING.value.STRING == STRING
    input.Body.properties.encryption.keyName == STRING
    input.Body.properties.encryption.vaultBaseUrl == STRING
    input.Body.properties.encryption.keyVersion == STRING
    input.Body.properties.encryption.identity.userAssignedIdentity == STRING
    input.Body.properties.publicNetworkAccess == enum_FactoryPropertiesPublicNetworkAccess[_]
    input.Body.location == STRING
    input.Body.tags.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Factories_Delete

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

Factories_Get

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

Factories_GetDataPlaneAccess

valid {
    input.Body.permissions == STRING
    input.Body.accessResourcePath == STRING
    input.Body.profileName == STRING
    input.Body.startTime == STRING
    input.Body.expireTime == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Factories_GetGitHubAccessToken

valid {
    input.Body.gitHubAccessCode == STRING
    input.Body.gitHubClientId == STRING
    input.Body.gitHubClientSecret.byoaSecretAkvUrl == STRING
    input.Body.gitHubClientSecret.byoaSecretName == STRING
    input.Body.gitHubAccessTokenBaseUrl == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Factories_List

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

Factories_ListByResourceGroup

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

Factories_Update

enum_FactoryIdentityType := [ "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned" ]
enum_FactoryUpdatePropertiesPublicNetworkAccess := [ "Enabled", "Disabled" ]

valid {
    input.Body.tags.STRING == STRING
    input.Body.identity.type == enum_FactoryIdentityType[_]
    input.Body.identity.userAssignedIdentities.STRING.STRING == STRING
    input.Body.properties.publicNetworkAccess == enum_FactoryUpdatePropertiesPublicNetworkAccess[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

GlobalParameters_CreateOrUpdate

enum_GlobalParameterSpecificationType := [ "Object", "String", "Int", "Float", "Bool", "Array" ]

valid {
    input.Body.properties.STRING.type == enum_GlobalParameterSpecificationType[_]
    input.Body.properties.STRING.value.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.globalParameterName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

GlobalParameters_Delete

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

GlobalParameters_Get

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

GlobalParameters_ListByFactory

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

IntegrationRuntimeNodes_Delete

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

IntegrationRuntimeNodes_Get

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

IntegrationRuntimeNodes_GetIpAddress

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

IntegrationRuntimeNodes_Update

valid {
    input.Body.concurrentJobsLimit == INTEGER
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.integrationRuntimeName == STRING
    input.ReqMap.nodeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

IntegrationRuntimeObjectMetadata_Get

valid {
    input.Body.metadataPath == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.integrationRuntimeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

IntegrationRuntimeObjectMetadata_Refresh

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

IntegrationRuntimes_CreateLinkedIntegrationRuntime

valid {
    input.Body.name == STRING
    input.Body.subscriptionId == STRING
    input.Body.dataFactoryName == STRING
    input.Body.dataFactoryLocation == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.integrationRuntimeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

IntegrationRuntimes_CreateOrUpdate

enum_IntegrationRuntimeType := [ "Managed", "SelfHosted" ]

valid {
    input.Body.properties.type == enum_IntegrationRuntimeType[_]
    input.Body.properties.description == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.integrationRuntimeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

IntegrationRuntimes_Delete

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

IntegrationRuntimes_Get

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

IntegrationRuntimes_GetConnectionInfo

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

IntegrationRuntimes_GetMonitoringData

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

IntegrationRuntimes_GetStatus

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

IntegrationRuntimes_ListAuthKeys

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

IntegrationRuntimes_ListByFactory

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

IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints

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

IntegrationRuntimes_RegenerateAuthKey

enum_IntegrationRuntimeRegenerateKeyParametersKeyName := [ "authKey1", "authKey2" ]

valid {
    input.Body.keyName == enum_IntegrationRuntimeRegenerateKeyParametersKeyName[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.integrationRuntimeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

IntegrationRuntimes_RemoveLinks

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

IntegrationRuntimes_RemoveNode

valid {
    input.Body.nodeName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.integrationRuntimeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

IntegrationRuntimes_Start

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

IntegrationRuntimes_Stop

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

IntegrationRuntimes_SyncCredentials

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

IntegrationRuntimes_Update

enum_IntegrationRuntimeAutoUpdate := [ "On", "Off" ]

valid {
    input.Body.autoUpdate == enum_IntegrationRuntimeAutoUpdate[_]
    input.Body.updateDelayOffset == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.integrationRuntimeName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

IntegrationRuntimes_Upgrade

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

LinkedServices_CreateOrUpdate

enum_IntegrationRuntimeReferenceType := [ "IntegrationRuntimeReference" ]
enum_ParameterSpecificationType := [ "Object", "String", "Int", "Float", "Bool", "Array", "SecureString" ]

valid {
    input.Body.properties.type == STRING
    input.Body.properties.connectVia.type == enum_IntegrationRuntimeReferenceType[_]
    input.Body.properties.connectVia.referenceName == STRING
    input.Body.properties.connectVia.parameters.STRING.STRING == STRING
    input.Body.properties.description == STRING
    input.Body.properties.parameters.STRING.type == enum_ParameterSpecificationType[_]
    input.Body.properties.parameters.STRING.defaultValue.STRING == STRING
    input.Body.properties.annotations[_].STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.linkedServiceName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

LinkedServices_Delete

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

LinkedServices_Get

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

LinkedServices_ListByFactory

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

ManagedPrivateEndpoints_CreateOrUpdate

valid {
    input.Body.properties.connectionState == {}
    input.Body.properties.fqdns[_] == STRING
    input.Body.properties.groupId == STRING
    input.Body.properties.privateLinkResourceId == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.managedVirtualNetworkName == STRING
    input.ReqMap.managedPrivateEndpointName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ManagedPrivateEndpoints_Delete

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

ManagedPrivateEndpoints_Get

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

ManagedPrivateEndpoints_ListByFactory

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

ManagedVirtualNetworks_CreateOrUpdate

valid {
    input.Body.properties == {}
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.managedVirtualNetworkName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

ManagedVirtualNetworks_Get

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

ManagedVirtualNetworks_ListByFactory

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

Operations_List

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

PipelineRuns_Cancel

valid {
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.runId == STRING
    input.Qs.isRecursive == BOOLEAN
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

PipelineRuns_Get

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

PipelineRuns_QueryByFactory

enum_RunQueryFilterOperand := [ "PipelineName", "Status", "RunStart", "RunEnd", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "ActivityType", "TriggerName", "TriggerRunTimestamp", "RunGroupId", "LatestOnly" ]
enum_RunQueryFilterOperator := [ "Equals", "NotEquals", "In", "NotIn" ]
enum_RunQueryOrderByOrder := [ "ASC", "DESC" ]
enum_RunQueryOrderByOrderBy := [ "RunStart", "RunEnd", "PipelineName", "Status", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "TriggerName", "TriggerRunTimestamp" ]

valid {
    input.Body.continuationToken == STRING
    input.Body.lastUpdatedAfter == STRING
    input.Body.lastUpdatedBefore == STRING
    input.Body.filters[_].operand == enum_RunQueryFilterOperand[_]
    input.Body.filters[_].operator == enum_RunQueryFilterOperator[_]
    input.Body.filters[_].values[_] == STRING
    input.Body.orderBy[_].orderBy == enum_RunQueryOrderByOrderBy[_]
    input.Body.orderBy[_].order == enum_RunQueryOrderByOrder[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Pipelines_CreateOrUpdate

enum_ActivityDependencyDependencyConditions := [ "Succeeded", "Failed", "Skipped", "Completed" ]
enum_ActivityOnInactiveMarkAs := [ "Succeeded", "Failed", "Skipped" ]
enum_ActivityState := [ "Active", "Inactive" ]
enum_ParameterSpecificationType := [ "Object", "String", "Int", "Float", "Bool", "Array", "SecureString" ]
enum_VariableSpecificationType := [ "String", "Bool", "Array" ]

valid {
    input.Body.properties.description == STRING
    input.Body.properties.activities[_].name == STRING
    input.Body.properties.activities[_].type == STRING
    input.Body.properties.activities[_].description == STRING
    input.Body.properties.activities[_].state == enum_ActivityState[_]
    input.Body.properties.activities[_].onInactiveMarkAs == enum_ActivityOnInactiveMarkAs[_]
    input.Body.properties.activities[_].dependsOn[_].activity == STRING
    input.Body.properties.activities[_].dependsOn[_].dependencyConditions[_] == enum_ActivityDependencyDependencyConditions[_]
    input.Body.properties.activities[_].userProperties[_].name == STRING
    input.Body.properties.activities[_].userProperties[_].value.STRING == STRING
    input.Body.properties.parameters.STRING.type == enum_ParameterSpecificationType[_]
    input.Body.properties.parameters.STRING.defaultValue.STRING == STRING
    input.Body.properties.variables.STRING.type == enum_VariableSpecificationType[_]
    input.Body.properties.variables.STRING.defaultValue.STRING == STRING
    input.Body.properties.concurrency == INTEGER
    input.Body.properties.annotations[_].STRING == STRING
    input.Body.properties.runDimensions.STRING.STRING == STRING
    input.Body.properties.folder.name == STRING
    input.Body.properties.policy.elapsedTimeMetric.duration.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.pipelineName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Pipelines_CreateRun

valid {
    input.Body.STRING.STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.pipelineName == STRING
    input.Qs.api-version == STRING
    input.Qs.referencePipelineRunId == STRING
    input.Qs.isRecovery == BOOLEAN
    input.Qs.startActivityName == STRING
    input.Qs.startFromFailure == BOOLEAN
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Pipelines_Delete

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

Pipelines_Get

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

Pipelines_ListByFactory

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

PrivateEndpointConnection_CreateOrUpdate

valid {
    input.Body.properties.privateLinkServiceConnectionState.status == STRING
    input.Body.properties.privateLinkServiceConnectionState.description == STRING
    input.Body.properties.privateLinkServiceConnectionState.actionsRequired == STRING
    input.Body.properties.privateEndpoint.id == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.ReqMap.privateEndpointConnectionName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

PrivateEndpointConnection_Delete

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

PrivateEndpointConnection_Get

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

TriggerRuns_Cancel

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

TriggerRuns_QueryByFactory

enum_RunQueryFilterOperand := [ "PipelineName", "Status", "RunStart", "RunEnd", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "ActivityType", "TriggerName", "TriggerRunTimestamp", "RunGroupId", "LatestOnly" ]
enum_RunQueryFilterOperator := [ "Equals", "NotEquals", "In", "NotIn" ]
enum_RunQueryOrderByOrder := [ "ASC", "DESC" ]
enum_RunQueryOrderByOrderBy := [ "RunStart", "RunEnd", "PipelineName", "Status", "ActivityName", "ActivityRunStart", "ActivityRunEnd", "TriggerName", "TriggerRunTimestamp" ]

valid {
    input.Body.continuationToken == STRING
    input.Body.lastUpdatedAfter == STRING
    input.Body.lastUpdatedBefore == STRING
    input.Body.filters[_].operand == enum_RunQueryFilterOperand[_]
    input.Body.filters[_].operator == enum_RunQueryFilterOperator[_]
    input.Body.filters[_].values[_] == STRING
    input.Body.orderBy[_].orderBy == enum_RunQueryOrderByOrderBy[_]
    input.Body.orderBy[_].order == enum_RunQueryOrderByOrder[_]
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

TriggerRuns_Rerun

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

Triggers_CreateOrUpdate

valid {
    input.Body.properties.type == STRING
    input.Body.properties.description == STRING
    input.Body.properties.annotations[_].STRING == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == 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.factoryName == 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.factoryName == STRING
    input.ReqMap.triggerName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Triggers_GetEventSubscriptionStatus

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

Triggers_ListByFactory

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

Triggers_ListRuns

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

Triggers_QueryByFactory

valid {
    input.Body.continuationToken == STRING
    input.Body.parentTriggerName == STRING
    input.ReqMap.SubscriptionID == STRING
    input.ReqMap.ResourceGroup == STRING
    input.ReqMap.factoryName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.SubscriptionID == STRING
    input.ProviderMetadata.ResourceGroup == STRING
}

Triggers_Start

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

Triggers_Stop

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

Triggers_SubscribeToEvents

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

Triggers_UnsubscribeFromEvents

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

privateEndPointConnections_ListByFactory

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

privateLinkResources_Get

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