@azure/arm-policy 5.2.0-beta.2 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -54
- package/README.md +1 -1
- package/dist/browser/models/index.d.ts +73 -564
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +14 -44
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +4 -22
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +473 -1172
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +6 -18
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +37 -136
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/index.d.ts +0 -4
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +0 -4
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/policyAssignments.d.ts +4 -4
- package/dist/browser/operations/policyAssignments.d.ts.map +1 -1
- package/dist/browser/operations/policyAssignments.js +25 -73
- package/dist/browser/operations/policyAssignments.js.map +1 -1
- package/dist/browser/operations/policyDefinitionVersions.d.ts +4 -4
- package/dist/browser/operations/policyDefinitionVersions.d.ts.map +1 -1
- package/dist/browser/operations/policyDefinitionVersions.js +19 -27
- package/dist/browser/operations/policyDefinitionVersions.js.map +1 -1
- package/dist/browser/operations/policyDefinitions.d.ts +4 -4
- package/dist/browser/operations/policyDefinitions.d.ts.map +1 -1
- package/dist/browser/operations/policyDefinitions.js +20 -52
- package/dist/browser/operations/policyDefinitions.js.map +1 -1
- package/dist/browser/operations/policySetDefinitionVersions.d.ts +4 -4
- package/dist/browser/operations/policySetDefinitionVersions.d.ts.map +1 -1
- package/dist/browser/operations/policySetDefinitionVersions.js +18 -26
- package/dist/browser/operations/policySetDefinitionVersions.js.map +1 -1
- package/dist/browser/operations/policySetDefinitions.d.ts +4 -4
- package/dist/browser/operations/policySetDefinitions.d.ts.map +1 -1
- package/dist/browser/operations/policySetDefinitions.js +17 -52
- package/dist/browser/operations/policySetDefinitions.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -4
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +0 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/policyAssignments.d.ts +2 -2
- package/dist/browser/operationsInterfaces/policyAssignments.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/policyAssignments.js.map +1 -1
- package/dist/browser/operationsInterfaces/policyDefinitionVersions.d.ts +2 -2
- package/dist/browser/operationsInterfaces/policyDefinitionVersions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/policyDefinitionVersions.js.map +1 -1
- package/dist/browser/operationsInterfaces/policyDefinitions.d.ts +2 -2
- package/dist/browser/operationsInterfaces/policyDefinitions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/policyDefinitions.js.map +1 -1
- package/dist/browser/operationsInterfaces/policySetDefinitionVersions.d.ts +2 -2
- package/dist/browser/operationsInterfaces/policySetDefinitionVersions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/policySetDefinitionVersions.js.map +1 -1
- package/dist/browser/operationsInterfaces/policySetDefinitions.d.ts +2 -2
- package/dist/browser/operationsInterfaces/policySetDefinitions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/policySetDefinitions.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/policyClient.d.ts +6 -7
- package/dist/browser/policyClient.d.ts.map +1 -1
- package/dist/browser/policyClient.js +30 -8
- package/dist/browser/policyClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +73 -564
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +15 -45
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +4 -22
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +474 -1173
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +6 -18
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +37 -136
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +0 -4
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +0 -4
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/policyAssignments.d.ts +4 -4
- package/dist/commonjs/operations/policyAssignments.d.ts.map +1 -1
- package/dist/commonjs/operations/policyAssignments.js +25 -73
- package/dist/commonjs/operations/policyAssignments.js.map +1 -1
- package/dist/commonjs/operations/policyDefinitionVersions.d.ts +4 -4
- package/dist/commonjs/operations/policyDefinitionVersions.d.ts.map +1 -1
- package/dist/commonjs/operations/policyDefinitionVersions.js +19 -27
- package/dist/commonjs/operations/policyDefinitionVersions.js.map +1 -1
- package/dist/commonjs/operations/policyDefinitions.d.ts +4 -4
- package/dist/commonjs/operations/policyDefinitions.d.ts.map +1 -1
- package/dist/commonjs/operations/policyDefinitions.js +20 -52
- package/dist/commonjs/operations/policyDefinitions.js.map +1 -1
- package/dist/commonjs/operations/policySetDefinitionVersions.d.ts +4 -4
- package/dist/commonjs/operations/policySetDefinitionVersions.d.ts.map +1 -1
- package/dist/commonjs/operations/policySetDefinitionVersions.js +18 -26
- package/dist/commonjs/operations/policySetDefinitionVersions.js.map +1 -1
- package/dist/commonjs/operations/policySetDefinitions.d.ts +4 -4
- package/dist/commonjs/operations/policySetDefinitions.d.ts.map +1 -1
- package/dist/commonjs/operations/policySetDefinitions.js +17 -52
- package/dist/commonjs/operations/policySetDefinitions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -4
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -4
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/policyAssignments.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/policyAssignments.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/policyAssignments.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/policyDefinitionVersions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/policyDefinitions.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/policyDefinitions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/policyDefinitions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/policySetDefinitionVersions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/policySetDefinitions.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/policySetDefinitions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/policySetDefinitions.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/policyClient.d.ts +6 -7
- package/dist/commonjs/policyClient.d.ts.map +1 -1
- package/dist/commonjs/policyClient.js +29 -7
- package/dist/commonjs/policyClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/models/index.d.ts +73 -564
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +14 -44
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +4 -22
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +473 -1172
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +6 -18
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +37 -136
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/index.d.ts +0 -4
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +0 -4
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/policyAssignments.d.ts +4 -4
- package/dist/esm/operations/policyAssignments.d.ts.map +1 -1
- package/dist/esm/operations/policyAssignments.js +25 -73
- package/dist/esm/operations/policyAssignments.js.map +1 -1
- package/dist/esm/operations/policyDefinitionVersions.d.ts +4 -4
- package/dist/esm/operations/policyDefinitionVersions.d.ts.map +1 -1
- package/dist/esm/operations/policyDefinitionVersions.js +19 -27
- package/dist/esm/operations/policyDefinitionVersions.js.map +1 -1
- package/dist/esm/operations/policyDefinitions.d.ts +4 -4
- package/dist/esm/operations/policyDefinitions.d.ts.map +1 -1
- package/dist/esm/operations/policyDefinitions.js +20 -52
- package/dist/esm/operations/policyDefinitions.js.map +1 -1
- package/dist/esm/operations/policySetDefinitionVersions.d.ts +4 -4
- package/dist/esm/operations/policySetDefinitionVersions.d.ts.map +1 -1
- package/dist/esm/operations/policySetDefinitionVersions.js +18 -26
- package/dist/esm/operations/policySetDefinitionVersions.js.map +1 -1
- package/dist/esm/operations/policySetDefinitions.d.ts +4 -4
- package/dist/esm/operations/policySetDefinitions.d.ts.map +1 -1
- package/dist/esm/operations/policySetDefinitions.js +17 -52
- package/dist/esm/operations/policySetDefinitions.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -4
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +0 -4
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/policyAssignments.d.ts +2 -2
- package/dist/esm/operationsInterfaces/policyAssignments.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/policyAssignments.js.map +1 -1
- package/dist/esm/operationsInterfaces/policyDefinitionVersions.d.ts +2 -2
- package/dist/esm/operationsInterfaces/policyDefinitionVersions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/policyDefinitionVersions.js.map +1 -1
- package/dist/esm/operationsInterfaces/policyDefinitions.d.ts +2 -2
- package/dist/esm/operationsInterfaces/policyDefinitions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/policyDefinitions.js.map +1 -1
- package/dist/esm/operationsInterfaces/policySetDefinitionVersions.d.ts +2 -2
- package/dist/esm/operationsInterfaces/policySetDefinitionVersions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/policySetDefinitionVersions.js.map +1 -1
- package/dist/esm/operationsInterfaces/policySetDefinitions.d.ts +2 -2
- package/dist/esm/operationsInterfaces/policySetDefinitions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/policySetDefinitions.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/policyClient.d.ts +6 -7
- package/dist/esm/policyClient.d.ts.map +1 -1
- package/dist/esm/policyClient.js +30 -8
- package/dist/esm/policyClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +73 -564
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +14 -44
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +4 -22
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +473 -1172
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +6 -18
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +37 -136
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +0 -4
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +0 -4
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/policyAssignments.d.ts +4 -4
- package/dist/react-native/operations/policyAssignments.d.ts.map +1 -1
- package/dist/react-native/operations/policyAssignments.js +25 -73
- package/dist/react-native/operations/policyAssignments.js.map +1 -1
- package/dist/react-native/operations/policyDefinitionVersions.d.ts +4 -4
- package/dist/react-native/operations/policyDefinitionVersions.d.ts.map +1 -1
- package/dist/react-native/operations/policyDefinitionVersions.js +19 -27
- package/dist/react-native/operations/policyDefinitionVersions.js.map +1 -1
- package/dist/react-native/operations/policyDefinitions.d.ts +4 -4
- package/dist/react-native/operations/policyDefinitions.d.ts.map +1 -1
- package/dist/react-native/operations/policyDefinitions.js +20 -52
- package/dist/react-native/operations/policyDefinitions.js.map +1 -1
- package/dist/react-native/operations/policySetDefinitionVersions.d.ts +4 -4
- package/dist/react-native/operations/policySetDefinitionVersions.d.ts.map +1 -1
- package/dist/react-native/operations/policySetDefinitionVersions.js +18 -26
- package/dist/react-native/operations/policySetDefinitionVersions.js.map +1 -1
- package/dist/react-native/operations/policySetDefinitions.d.ts +4 -4
- package/dist/react-native/operations/policySetDefinitions.d.ts.map +1 -1
- package/dist/react-native/operations/policySetDefinitions.js +17 -52
- package/dist/react-native/operations/policySetDefinitions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -4
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -4
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/policyAssignments.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/policyAssignments.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/policyAssignments.js.map +1 -1
- package/dist/react-native/operationsInterfaces/policyDefinitionVersions.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/policyDefinitionVersions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/policyDefinitionVersions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/policyDefinitions.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/policyDefinitions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/policyDefinitions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/policySetDefinitionVersions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/policySetDefinitions.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/policySetDefinitions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/policySetDefinitions.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/policyClient.d.ts +6 -7
- package/dist/react-native/policyClient.d.ts.map +1 -1
- package/dist/react-native/policyClient.js +30 -8
- package/dist/react-native/policyClient.js.map +1 -1
- package/package.json +40 -42
- package/review/arm-policy.api.md +11 -470
- package/dist/browser/operations/dataPolicyManifests.d.ts +0 -46
- package/dist/browser/operations/dataPolicyManifests.d.ts.map +0 -1
- package/dist/browser/operations/dataPolicyManifests.js +0 -165
- package/dist/browser/operations/dataPolicyManifests.js.map +0 -1
- package/dist/browser/operations/policyExemptions.d.ts +0 -222
- package/dist/browser/operations/policyExemptions.d.ts.map +0 -1
- package/dist/browser/operations/policyExemptions.js +0 -733
- package/dist/browser/operations/policyExemptions.js.map +0 -1
- package/dist/browser/operations/variableValues.d.ts +0 -118
- package/dist/browser/operations/variableValues.d.ts.map +0 -1
- package/dist/browser/operations/variableValues.js +0 -478
- package/dist/browser/operations/variableValues.js.map +0 -1
- package/dist/browser/operations/variables.d.ts +0 -101
- package/dist/browser/operations/variables.d.ts.map +0 -1
- package/dist/browser/operations/variables.js +0 -439
- package/dist/browser/operations/variables.js.map +0 -1
- package/dist/browser/operationsInterfaces/dataPolicyManifests.d.ts +0 -21
- package/dist/browser/operationsInterfaces/dataPolicyManifests.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/dataPolicyManifests.js +0 -9
- package/dist/browser/operationsInterfaces/dataPolicyManifests.js.map +0 -1
- package/dist/browser/operationsInterfaces/policyExemptions.d.ts +0 -115
- package/dist/browser/operationsInterfaces/policyExemptions.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/policyExemptions.js +0 -9
- package/dist/browser/operationsInterfaces/policyExemptions.js.map +0 -1
- package/dist/browser/operationsInterfaces/variableValues.d.ts +0 -76
- package/dist/browser/operationsInterfaces/variableValues.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/variableValues.js +0 -9
- package/dist/browser/operationsInterfaces/variableValues.js.map +0 -1
- package/dist/browser/operationsInterfaces/variables.d.ts +0 -65
- package/dist/browser/operationsInterfaces/variables.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/variables.js +0 -9
- package/dist/browser/operationsInterfaces/variables.js.map +0 -1
- package/dist/commonjs/operations/dataPolicyManifests.d.ts +0 -46
- package/dist/commonjs/operations/dataPolicyManifests.d.ts.map +0 -1
- package/dist/commonjs/operations/dataPolicyManifests.js +0 -169
- package/dist/commonjs/operations/dataPolicyManifests.js.map +0 -1
- package/dist/commonjs/operations/policyExemptions.d.ts +0 -222
- package/dist/commonjs/operations/policyExemptions.d.ts.map +0 -1
- package/dist/commonjs/operations/policyExemptions.js +0 -737
- package/dist/commonjs/operations/policyExemptions.js.map +0 -1
- package/dist/commonjs/operations/variableValues.d.ts +0 -118
- package/dist/commonjs/operations/variableValues.d.ts.map +0 -1
- package/dist/commonjs/operations/variableValues.js +0 -482
- package/dist/commonjs/operations/variableValues.js.map +0 -1
- package/dist/commonjs/operations/variables.d.ts +0 -101
- package/dist/commonjs/operations/variables.d.ts.map +0 -1
- package/dist/commonjs/operations/variables.js +0 -443
- package/dist/commonjs/operations/variables.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/dataPolicyManifests.d.ts +0 -21
- package/dist/commonjs/operationsInterfaces/dataPolicyManifests.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/dataPolicyManifests.js +0 -10
- package/dist/commonjs/operationsInterfaces/dataPolicyManifests.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/policyExemptions.d.ts +0 -115
- package/dist/commonjs/operationsInterfaces/policyExemptions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/policyExemptions.js +0 -10
- package/dist/commonjs/operationsInterfaces/policyExemptions.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/variableValues.d.ts +0 -76
- package/dist/commonjs/operationsInterfaces/variableValues.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/variableValues.js +0 -10
- package/dist/commonjs/operationsInterfaces/variableValues.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/variables.d.ts +0 -65
- package/dist/commonjs/operationsInterfaces/variables.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/variables.js +0 -10
- package/dist/commonjs/operationsInterfaces/variables.js.map +0 -1
- package/dist/esm/operations/dataPolicyManifests.d.ts +0 -46
- package/dist/esm/operations/dataPolicyManifests.d.ts.map +0 -1
- package/dist/esm/operations/dataPolicyManifests.js +0 -165
- package/dist/esm/operations/dataPolicyManifests.js.map +0 -1
- package/dist/esm/operations/policyExemptions.d.ts +0 -222
- package/dist/esm/operations/policyExemptions.d.ts.map +0 -1
- package/dist/esm/operations/policyExemptions.js +0 -733
- package/dist/esm/operations/policyExemptions.js.map +0 -1
- package/dist/esm/operations/variableValues.d.ts +0 -118
- package/dist/esm/operations/variableValues.d.ts.map +0 -1
- package/dist/esm/operations/variableValues.js +0 -478
- package/dist/esm/operations/variableValues.js.map +0 -1
- package/dist/esm/operations/variables.d.ts +0 -101
- package/dist/esm/operations/variables.d.ts.map +0 -1
- package/dist/esm/operations/variables.js +0 -439
- package/dist/esm/operations/variables.js.map +0 -1
- package/dist/esm/operationsInterfaces/dataPolicyManifests.d.ts +0 -21
- package/dist/esm/operationsInterfaces/dataPolicyManifests.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/dataPolicyManifests.js +0 -9
- package/dist/esm/operationsInterfaces/dataPolicyManifests.js.map +0 -1
- package/dist/esm/operationsInterfaces/policyExemptions.d.ts +0 -115
- package/dist/esm/operationsInterfaces/policyExemptions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/policyExemptions.js +0 -9
- package/dist/esm/operationsInterfaces/policyExemptions.js.map +0 -1
- package/dist/esm/operationsInterfaces/variableValues.d.ts +0 -76
- package/dist/esm/operationsInterfaces/variableValues.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/variableValues.js +0 -9
- package/dist/esm/operationsInterfaces/variableValues.js.map +0 -1
- package/dist/esm/operationsInterfaces/variables.d.ts +0 -65
- package/dist/esm/operationsInterfaces/variables.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/variables.js +0 -9
- package/dist/esm/operationsInterfaces/variables.js.map +0 -1
- package/dist/react-native/operations/dataPolicyManifests.d.ts +0 -46
- package/dist/react-native/operations/dataPolicyManifests.d.ts.map +0 -1
- package/dist/react-native/operations/dataPolicyManifests.js +0 -165
- package/dist/react-native/operations/dataPolicyManifests.js.map +0 -1
- package/dist/react-native/operations/policyExemptions.d.ts +0 -222
- package/dist/react-native/operations/policyExemptions.d.ts.map +0 -1
- package/dist/react-native/operations/policyExemptions.js +0 -733
- package/dist/react-native/operations/policyExemptions.js.map +0 -1
- package/dist/react-native/operations/variableValues.d.ts +0 -118
- package/dist/react-native/operations/variableValues.d.ts.map +0 -1
- package/dist/react-native/operations/variableValues.js +0 -478
- package/dist/react-native/operations/variableValues.js.map +0 -1
- package/dist/react-native/operations/variables.d.ts +0 -101
- package/dist/react-native/operations/variables.d.ts.map +0 -1
- package/dist/react-native/operations/variables.js +0 -439
- package/dist/react-native/operations/variables.js.map +0 -1
- package/dist/react-native/operationsInterfaces/dataPolicyManifests.d.ts +0 -21
- package/dist/react-native/operationsInterfaces/dataPolicyManifests.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/dataPolicyManifests.js +0 -9
- package/dist/react-native/operationsInterfaces/dataPolicyManifests.js.map +0 -1
- package/dist/react-native/operationsInterfaces/policyExemptions.d.ts +0 -115
- package/dist/react-native/operationsInterfaces/policyExemptions.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/policyExemptions.js +0 -9
- package/dist/react-native/operationsInterfaces/policyExemptions.js.map +0 -1
- package/dist/react-native/operationsInterfaces/variableValues.d.ts +0 -76
- package/dist/react-native/operationsInterfaces/variableValues.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/variableValues.js +0 -9
- package/dist/react-native/operationsInterfaces/variableValues.js.map +0 -1
- package/dist/react-native/operationsInterfaces/variables.d.ts +0 -65
- package/dist/react-native/operationsInterfaces/variables.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/variables.js +0 -9
- package/dist/react-native/operationsInterfaces/variables.js.map +0 -1
|
@@ -1,443 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.VariablesImpl = void 0;
|
|
11
|
-
const tslib_1 = require("tslib");
|
|
12
|
-
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
-
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
-
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
-
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
-
/// <reference lib="esnext.asynciterable" />
|
|
17
|
-
/** Class containing Variables operations. */
|
|
18
|
-
class VariablesImpl {
|
|
19
|
-
/**
|
|
20
|
-
* Initialize a new instance of the class Variables class.
|
|
21
|
-
* @param client Reference to the service client
|
|
22
|
-
*/
|
|
23
|
-
constructor(client) {
|
|
24
|
-
this.client = client;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* This operation retrieves the list of all variables associated with the given subscription.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
list(options) {
|
|
31
|
-
const iter = this.listPagingAll(options);
|
|
32
|
-
return {
|
|
33
|
-
next() {
|
|
34
|
-
return iter.next();
|
|
35
|
-
},
|
|
36
|
-
[Symbol.asyncIterator]() {
|
|
37
|
-
return this;
|
|
38
|
-
},
|
|
39
|
-
byPage: (settings) => {
|
|
40
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
-
}
|
|
43
|
-
return this.listPagingPage(options, settings);
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
listPagingPage(options, settings) {
|
|
48
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
49
|
-
let result;
|
|
50
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
|
-
if (!continuationToken) {
|
|
52
|
-
result = yield tslib_1.__await(this._list(options));
|
|
53
|
-
let page = result.value || [];
|
|
54
|
-
continuationToken = result.nextLink;
|
|
55
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
56
|
-
yield yield tslib_1.__await(page);
|
|
57
|
-
}
|
|
58
|
-
while (continuationToken) {
|
|
59
|
-
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
|
60
|
-
continuationToken = result.nextLink;
|
|
61
|
-
let page = result.value || [];
|
|
62
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
63
|
-
yield yield tslib_1.__await(page);
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
listPagingAll(options) {
|
|
68
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
69
|
-
var _a, e_1, _b, _c;
|
|
70
|
-
try {
|
|
71
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
-
_c = _f.value;
|
|
73
|
-
_d = false;
|
|
74
|
-
const page = _c;
|
|
75
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
-
finally {
|
|
80
|
-
try {
|
|
81
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
82
|
-
}
|
|
83
|
-
finally { if (e_1) throw e_1.error; }
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* This operation retrieves the list of all variables applicable to the management group.
|
|
89
|
-
* @param managementGroupId The ID of the management group.
|
|
90
|
-
* @param options The options parameters.
|
|
91
|
-
*/
|
|
92
|
-
listForManagementGroup(managementGroupId, options) {
|
|
93
|
-
const iter = this.listForManagementGroupPagingAll(managementGroupId, options);
|
|
94
|
-
return {
|
|
95
|
-
next() {
|
|
96
|
-
return iter.next();
|
|
97
|
-
},
|
|
98
|
-
[Symbol.asyncIterator]() {
|
|
99
|
-
return this;
|
|
100
|
-
},
|
|
101
|
-
byPage: (settings) => {
|
|
102
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
103
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
104
|
-
}
|
|
105
|
-
return this.listForManagementGroupPagingPage(managementGroupId, options, settings);
|
|
106
|
-
},
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
listForManagementGroupPagingPage(managementGroupId, options, settings) {
|
|
110
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listForManagementGroupPagingPage_1() {
|
|
111
|
-
let result;
|
|
112
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
113
|
-
if (!continuationToken) {
|
|
114
|
-
result = yield tslib_1.__await(this._listForManagementGroup(managementGroupId, options));
|
|
115
|
-
let page = result.value || [];
|
|
116
|
-
continuationToken = result.nextLink;
|
|
117
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
118
|
-
yield yield tslib_1.__await(page);
|
|
119
|
-
}
|
|
120
|
-
while (continuationToken) {
|
|
121
|
-
result = yield tslib_1.__await(this._listForManagementGroupNext(managementGroupId, continuationToken, options));
|
|
122
|
-
continuationToken = result.nextLink;
|
|
123
|
-
let page = result.value || [];
|
|
124
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
125
|
-
yield yield tslib_1.__await(page);
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
listForManagementGroupPagingAll(managementGroupId, options) {
|
|
130
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listForManagementGroupPagingAll_1() {
|
|
131
|
-
var _a, e_2, _b, _c;
|
|
132
|
-
try {
|
|
133
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listForManagementGroupPagingPage(managementGroupId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
134
|
-
_c = _f.value;
|
|
135
|
-
_d = false;
|
|
136
|
-
const page = _c;
|
|
137
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
141
|
-
finally {
|
|
142
|
-
try {
|
|
143
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
144
|
-
}
|
|
145
|
-
finally { if (e_2) throw e_2.error; }
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* This operation deletes a variable, given its name and the subscription it was created in. The scope
|
|
151
|
-
* of a variable is the part of its ID preceding
|
|
152
|
-
* '/providers/Microsoft.Authorization/variables/{variableName}'.
|
|
153
|
-
* @param variableName The name of the variable to operate on.
|
|
154
|
-
* @param options The options parameters.
|
|
155
|
-
*/
|
|
156
|
-
delete(variableName, options) {
|
|
157
|
-
return this.client.sendOperationRequest({ variableName, options }, deleteOperationSpec);
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* This operation creates or updates a variable with the given subscription and name. Policy variables
|
|
161
|
-
* can only be used by a policy definition at the scope they are created or below.
|
|
162
|
-
* @param variableName The name of the variable to operate on.
|
|
163
|
-
* @param parameters Parameters for the variable.
|
|
164
|
-
* @param options The options parameters.
|
|
165
|
-
*/
|
|
166
|
-
createOrUpdate(variableName, parameters, options) {
|
|
167
|
-
return this.client.sendOperationRequest({ variableName, parameters, options }, createOrUpdateOperationSpec);
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* This operation retrieves a single variable, given its name and the subscription it was created at.
|
|
171
|
-
* @param variableName The name of the variable to operate on.
|
|
172
|
-
* @param options The options parameters.
|
|
173
|
-
*/
|
|
174
|
-
get(variableName, options) {
|
|
175
|
-
return this.client.sendOperationRequest({ variableName, options }, getOperationSpec);
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* This operation deletes a variable, given its name and the management group it was created in. The
|
|
179
|
-
* scope of a variable is the part of its ID preceding
|
|
180
|
-
* '/providers/Microsoft.Authorization/variables/{variableName}'.
|
|
181
|
-
* @param managementGroupId The ID of the management group.
|
|
182
|
-
* @param variableName The name of the variable to operate on.
|
|
183
|
-
* @param options The options parameters.
|
|
184
|
-
*/
|
|
185
|
-
deleteAtManagementGroup(managementGroupId, variableName, options) {
|
|
186
|
-
return this.client.sendOperationRequest({ managementGroupId, variableName, options }, deleteAtManagementGroupOperationSpec);
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* This operation creates or updates a variable with the given management group and name. Policy
|
|
190
|
-
* variables can only be used by a policy definition at the scope they are created or below.
|
|
191
|
-
* @param managementGroupId The ID of the management group.
|
|
192
|
-
* @param variableName The name of the variable to operate on.
|
|
193
|
-
* @param parameters Parameters for the variable.
|
|
194
|
-
* @param options The options parameters.
|
|
195
|
-
*/
|
|
196
|
-
createOrUpdateAtManagementGroup(managementGroupId, variableName, parameters, options) {
|
|
197
|
-
return this.client.sendOperationRequest({ managementGroupId, variableName, parameters, options }, createOrUpdateAtManagementGroupOperationSpec);
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* This operation retrieves a single variable, given its name and the management group it was created
|
|
201
|
-
* at.
|
|
202
|
-
* @param managementGroupId The ID of the management group.
|
|
203
|
-
* @param variableName The name of the variable to operate on.
|
|
204
|
-
* @param options The options parameters.
|
|
205
|
-
*/
|
|
206
|
-
getAtManagementGroup(managementGroupId, variableName, options) {
|
|
207
|
-
return this.client.sendOperationRequest({ managementGroupId, variableName, options }, getAtManagementGroupOperationSpec);
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* This operation retrieves the list of all variables associated with the given subscription.
|
|
211
|
-
* @param options The options parameters.
|
|
212
|
-
*/
|
|
213
|
-
_list(options) {
|
|
214
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* This operation retrieves the list of all variables applicable to the management group.
|
|
218
|
-
* @param managementGroupId The ID of the management group.
|
|
219
|
-
* @param options The options parameters.
|
|
220
|
-
*/
|
|
221
|
-
_listForManagementGroup(managementGroupId, options) {
|
|
222
|
-
return this.client.sendOperationRequest({ managementGroupId, options }, listForManagementGroupOperationSpec);
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* ListNext
|
|
226
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
227
|
-
* @param options The options parameters.
|
|
228
|
-
*/
|
|
229
|
-
_listNext(nextLink, options) {
|
|
230
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
231
|
-
}
|
|
232
|
-
/**
|
|
233
|
-
* ListForManagementGroupNext
|
|
234
|
-
* @param managementGroupId The ID of the management group.
|
|
235
|
-
* @param nextLink The nextLink from the previous successful call to the ListForManagementGroup method.
|
|
236
|
-
* @param options The options parameters.
|
|
237
|
-
*/
|
|
238
|
-
_listForManagementGroupNext(managementGroupId, nextLink, options) {
|
|
239
|
-
return this.client.sendOperationRequest({ managementGroupId, nextLink, options }, listForManagementGroupNextOperationSpec);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
exports.VariablesImpl = VariablesImpl;
|
|
243
|
-
// Operation Specifications
|
|
244
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
245
|
-
const deleteOperationSpec = {
|
|
246
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}",
|
|
247
|
-
httpMethod: "DELETE",
|
|
248
|
-
responses: {
|
|
249
|
-
200: {},
|
|
250
|
-
204: {},
|
|
251
|
-
default: {
|
|
252
|
-
bodyMapper: Mappers.CloudError,
|
|
253
|
-
},
|
|
254
|
-
},
|
|
255
|
-
queryParameters: [Parameters.apiVersion3],
|
|
256
|
-
urlParameters: [
|
|
257
|
-
Parameters.$host,
|
|
258
|
-
Parameters.subscriptionId,
|
|
259
|
-
Parameters.variableName,
|
|
260
|
-
],
|
|
261
|
-
headerParameters: [Parameters.accept],
|
|
262
|
-
serializer,
|
|
263
|
-
};
|
|
264
|
-
const createOrUpdateOperationSpec = {
|
|
265
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}",
|
|
266
|
-
httpMethod: "PUT",
|
|
267
|
-
responses: {
|
|
268
|
-
200: {
|
|
269
|
-
bodyMapper: Mappers.Variable,
|
|
270
|
-
},
|
|
271
|
-
201: {
|
|
272
|
-
bodyMapper: Mappers.Variable,
|
|
273
|
-
},
|
|
274
|
-
default: {
|
|
275
|
-
bodyMapper: Mappers.CloudError,
|
|
276
|
-
},
|
|
277
|
-
},
|
|
278
|
-
requestBody: Parameters.parameters8,
|
|
279
|
-
queryParameters: [Parameters.apiVersion3],
|
|
280
|
-
urlParameters: [
|
|
281
|
-
Parameters.$host,
|
|
282
|
-
Parameters.subscriptionId,
|
|
283
|
-
Parameters.variableName,
|
|
284
|
-
],
|
|
285
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
286
|
-
mediaType: "json",
|
|
287
|
-
serializer,
|
|
288
|
-
};
|
|
289
|
-
const getOperationSpec = {
|
|
290
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}",
|
|
291
|
-
httpMethod: "GET",
|
|
292
|
-
responses: {
|
|
293
|
-
200: {
|
|
294
|
-
bodyMapper: Mappers.Variable,
|
|
295
|
-
},
|
|
296
|
-
default: {
|
|
297
|
-
bodyMapper: Mappers.CloudError,
|
|
298
|
-
},
|
|
299
|
-
},
|
|
300
|
-
queryParameters: [Parameters.apiVersion3],
|
|
301
|
-
urlParameters: [
|
|
302
|
-
Parameters.$host,
|
|
303
|
-
Parameters.subscriptionId,
|
|
304
|
-
Parameters.variableName,
|
|
305
|
-
],
|
|
306
|
-
headerParameters: [Parameters.accept],
|
|
307
|
-
serializer,
|
|
308
|
-
};
|
|
309
|
-
const deleteAtManagementGroupOperationSpec = {
|
|
310
|
-
path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}",
|
|
311
|
-
httpMethod: "DELETE",
|
|
312
|
-
responses: {
|
|
313
|
-
200: {},
|
|
314
|
-
204: {},
|
|
315
|
-
default: {
|
|
316
|
-
bodyMapper: Mappers.CloudError,
|
|
317
|
-
},
|
|
318
|
-
},
|
|
319
|
-
queryParameters: [Parameters.apiVersion3],
|
|
320
|
-
urlParameters: [
|
|
321
|
-
Parameters.$host,
|
|
322
|
-
Parameters.managementGroupId,
|
|
323
|
-
Parameters.variableName,
|
|
324
|
-
],
|
|
325
|
-
headerParameters: [Parameters.accept],
|
|
326
|
-
serializer,
|
|
327
|
-
};
|
|
328
|
-
const createOrUpdateAtManagementGroupOperationSpec = {
|
|
329
|
-
path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}",
|
|
330
|
-
httpMethod: "PUT",
|
|
331
|
-
responses: {
|
|
332
|
-
200: {
|
|
333
|
-
bodyMapper: Mappers.Variable,
|
|
334
|
-
},
|
|
335
|
-
201: {
|
|
336
|
-
bodyMapper: Mappers.Variable,
|
|
337
|
-
},
|
|
338
|
-
default: {
|
|
339
|
-
bodyMapper: Mappers.CloudError,
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
requestBody: Parameters.parameters8,
|
|
343
|
-
queryParameters: [Parameters.apiVersion3],
|
|
344
|
-
urlParameters: [
|
|
345
|
-
Parameters.$host,
|
|
346
|
-
Parameters.managementGroupId,
|
|
347
|
-
Parameters.variableName,
|
|
348
|
-
],
|
|
349
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
350
|
-
mediaType: "json",
|
|
351
|
-
serializer,
|
|
352
|
-
};
|
|
353
|
-
const getAtManagementGroupOperationSpec = {
|
|
354
|
-
path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}",
|
|
355
|
-
httpMethod: "GET",
|
|
356
|
-
responses: {
|
|
357
|
-
200: {
|
|
358
|
-
bodyMapper: Mappers.Variable,
|
|
359
|
-
},
|
|
360
|
-
default: {
|
|
361
|
-
bodyMapper: Mappers.CloudError,
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
queryParameters: [Parameters.apiVersion3],
|
|
365
|
-
urlParameters: [
|
|
366
|
-
Parameters.$host,
|
|
367
|
-
Parameters.managementGroupId,
|
|
368
|
-
Parameters.variableName,
|
|
369
|
-
],
|
|
370
|
-
headerParameters: [Parameters.accept],
|
|
371
|
-
serializer,
|
|
372
|
-
};
|
|
373
|
-
const listOperationSpec = {
|
|
374
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables",
|
|
375
|
-
httpMethod: "GET",
|
|
376
|
-
responses: {
|
|
377
|
-
200: {
|
|
378
|
-
bodyMapper: Mappers.VariableListResult,
|
|
379
|
-
},
|
|
380
|
-
default: {
|
|
381
|
-
bodyMapper: Mappers.CloudError,
|
|
382
|
-
},
|
|
383
|
-
},
|
|
384
|
-
queryParameters: [Parameters.apiVersion3],
|
|
385
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
386
|
-
headerParameters: [Parameters.accept],
|
|
387
|
-
serializer,
|
|
388
|
-
};
|
|
389
|
-
const listForManagementGroupOperationSpec = {
|
|
390
|
-
path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables",
|
|
391
|
-
httpMethod: "GET",
|
|
392
|
-
responses: {
|
|
393
|
-
200: {
|
|
394
|
-
bodyMapper: Mappers.VariableListResult,
|
|
395
|
-
},
|
|
396
|
-
default: {
|
|
397
|
-
bodyMapper: Mappers.CloudError,
|
|
398
|
-
},
|
|
399
|
-
},
|
|
400
|
-
queryParameters: [Parameters.apiVersion3],
|
|
401
|
-
urlParameters: [Parameters.$host, Parameters.managementGroupId],
|
|
402
|
-
headerParameters: [Parameters.accept],
|
|
403
|
-
serializer,
|
|
404
|
-
};
|
|
405
|
-
const listNextOperationSpec = {
|
|
406
|
-
path: "{nextLink}",
|
|
407
|
-
httpMethod: "GET",
|
|
408
|
-
responses: {
|
|
409
|
-
200: {
|
|
410
|
-
bodyMapper: Mappers.VariableListResult,
|
|
411
|
-
},
|
|
412
|
-
default: {
|
|
413
|
-
bodyMapper: Mappers.CloudError,
|
|
414
|
-
},
|
|
415
|
-
},
|
|
416
|
-
urlParameters: [
|
|
417
|
-
Parameters.$host,
|
|
418
|
-
Parameters.nextLink,
|
|
419
|
-
Parameters.subscriptionId,
|
|
420
|
-
],
|
|
421
|
-
headerParameters: [Parameters.accept],
|
|
422
|
-
serializer,
|
|
423
|
-
};
|
|
424
|
-
const listForManagementGroupNextOperationSpec = {
|
|
425
|
-
path: "{nextLink}",
|
|
426
|
-
httpMethod: "GET",
|
|
427
|
-
responses: {
|
|
428
|
-
200: {
|
|
429
|
-
bodyMapper: Mappers.VariableListResult,
|
|
430
|
-
},
|
|
431
|
-
default: {
|
|
432
|
-
bodyMapper: Mappers.CloudError,
|
|
433
|
-
},
|
|
434
|
-
},
|
|
435
|
-
urlParameters: [
|
|
436
|
-
Parameters.$host,
|
|
437
|
-
Parameters.nextLink,
|
|
438
|
-
Parameters.managementGroupId,
|
|
439
|
-
],
|
|
440
|
-
headerParameters: [Parameters.accept],
|
|
441
|
-
serializer,
|
|
442
|
-
};
|
|
443
|
-
//# sourceMappingURL=variables.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variables.js","sourceRoot":"","sources":["../../../src/operations/variables.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAwBtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1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B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC;IAC/D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Variables } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PolicyClient } from \"../policyClient.js\";\nimport {\n Variable,\n VariablesListNextOptionalParams,\n VariablesListOptionalParams,\n VariablesListResponse,\n VariablesListForManagementGroupNextOptionalParams,\n VariablesListForManagementGroupOptionalParams,\n VariablesListForManagementGroupResponse,\n VariablesDeleteOptionalParams,\n VariablesCreateOrUpdateOptionalParams,\n VariablesCreateOrUpdateResponse,\n VariablesGetOptionalParams,\n VariablesGetResponse,\n VariablesDeleteAtManagementGroupOptionalParams,\n VariablesCreateOrUpdateAtManagementGroupOptionalParams,\n VariablesCreateOrUpdateAtManagementGroupResponse,\n VariablesGetAtManagementGroupOptionalParams,\n VariablesGetAtManagementGroupResponse,\n VariablesListNextResponse,\n VariablesListForManagementGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Variables operations. */\nexport class VariablesImpl implements Variables {\n private readonly client: PolicyClient;\n\n /**\n * Initialize a new instance of the class Variables class.\n * @param client Reference to the service client\n */\n constructor(client: PolicyClient) {\n this.client = client;\n }\n\n /**\n * This operation retrieves the list of all variables associated with the given subscription.\n * @param options The options parameters.\n */\n public list(\n options?: VariablesListOptionalParams,\n ): PagedAsyncIterableIterator<Variable> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: VariablesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Variable[]> {\n let result: VariablesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: VariablesListOptionalParams,\n ): AsyncIterableIterator<Variable> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the list of all variables applicable to the management group.\n * @param managementGroupId The ID of the management group.\n * @param options The options parameters.\n */\n public listForManagementGroup(\n managementGroupId: string,\n options?: VariablesListForManagementGroupOptionalParams,\n ): PagedAsyncIterableIterator<Variable> {\n const iter = this.listForManagementGroupPagingAll(\n managementGroupId,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listForManagementGroupPagingPage(\n managementGroupId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listForManagementGroupPagingPage(\n managementGroupId: string,\n options?: VariablesListForManagementGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Variable[]> {\n let result: VariablesListForManagementGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForManagementGroup(managementGroupId, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listForManagementGroupNext(\n managementGroupId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listForManagementGroupPagingAll(\n managementGroupId: string,\n options?: VariablesListForManagementGroupOptionalParams,\n ): AsyncIterableIterator<Variable> {\n for await (const page of this.listForManagementGroupPagingPage(\n managementGroupId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * This operation deletes a variable, given its name and the subscription it was created in. The scope\n * of a variable is the part of its ID preceding\n * '/providers/Microsoft.Authorization/variables/{variableName}'.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n delete(\n variableName: string,\n options?: VariablesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { variableName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * This operation creates or updates a variable with the given subscription and name. Policy variables\n * can only be used by a policy definition at the scope they are created or below.\n * @param variableName The name of the variable to operate on.\n * @param parameters Parameters for the variable.\n * @param options The options parameters.\n */\n createOrUpdate(\n variableName: string,\n parameters: Variable,\n options?: VariablesCreateOrUpdateOptionalParams,\n ): Promise<VariablesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { variableName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * This operation retrieves a single variable, given its name and the subscription it was created at.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n get(\n variableName: string,\n options?: VariablesGetOptionalParams,\n ): Promise<VariablesGetResponse> {\n return this.client.sendOperationRequest(\n { variableName, options },\n getOperationSpec,\n );\n }\n\n /**\n * This operation deletes a variable, given its name and the management group it was created in. The\n * scope of a variable is the part of its ID preceding\n * '/providers/Microsoft.Authorization/variables/{variableName}'.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n deleteAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n options?: VariablesDeleteAtManagementGroupOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { managementGroupId, variableName, options },\n deleteAtManagementGroupOperationSpec,\n );\n }\n\n /**\n * This operation creates or updates a variable with the given management group and name. Policy\n * variables can only be used by a policy definition at the scope they are created or below.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param parameters Parameters for the variable.\n * @param options The options parameters.\n */\n createOrUpdateAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n parameters: Variable,\n options?: VariablesCreateOrUpdateAtManagementGroupOptionalParams,\n ): Promise<VariablesCreateOrUpdateAtManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, variableName, parameters, options },\n createOrUpdateAtManagementGroupOperationSpec,\n );\n }\n\n /**\n * This operation retrieves a single variable, given its name and the management group it was created\n * at.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n getAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n options?: VariablesGetAtManagementGroupOptionalParams,\n ): Promise<VariablesGetAtManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, variableName, options },\n getAtManagementGroupOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all variables associated with the given subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: VariablesListOptionalParams,\n ): Promise<VariablesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * This operation retrieves the list of all variables applicable to the management group.\n * @param managementGroupId The ID of the management group.\n * @param options The options parameters.\n */\n private _listForManagementGroup(\n managementGroupId: string,\n options?: VariablesListForManagementGroupOptionalParams,\n ): Promise<VariablesListForManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, options },\n listForManagementGroupOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: VariablesListNextOptionalParams,\n ): Promise<VariablesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListForManagementGroupNext\n * @param managementGroupId The ID of the management group.\n * @param nextLink The nextLink from the previous successful call to the ListForManagementGroup method.\n * @param options The options parameters.\n */\n private _listForManagementGroupNext(\n managementGroupId: string,\n nextLink: string,\n options?: VariablesListForManagementGroupNextOptionalParams,\n ): Promise<VariablesListForManagementGroupNextResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, nextLink, options },\n listForManagementGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.variableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Variable,\n },\n 201: {\n bodyMapper: Mappers.Variable,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.variableName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Variable,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.variableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.variableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Variable,\n },\n 201: {\n bodyMapper: Mappers.Variable,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.variableName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Variable,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.variableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [Parameters.$host, Parameters.managementGroupId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listForManagementGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.managementGroupId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { DataPolicyManifest, DataPolicyManifestsListOptionalParams, DataPolicyManifestsGetByPolicyModeOptionalParams, DataPolicyManifestsGetByPolicyModeResponse } from "../models/index.js";
|
|
3
|
-
/** Interface representing a DataPolicyManifests. */
|
|
4
|
-
export interface DataPolicyManifests {
|
|
5
|
-
/**
|
|
6
|
-
* This operation retrieves a list of all the data policy manifests that match the optional given
|
|
7
|
-
* $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the
|
|
8
|
-
* unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is
|
|
9
|
-
* provided, the returned list only includes all data policy manifests that have a namespace matching
|
|
10
|
-
* the provided value.
|
|
11
|
-
* @param options The options parameters.
|
|
12
|
-
*/
|
|
13
|
-
list(options?: DataPolicyManifestsListOptionalParams): PagedAsyncIterableIterator<DataPolicyManifest>;
|
|
14
|
-
/**
|
|
15
|
-
* This operation retrieves the data policy manifest with the given policy mode.
|
|
16
|
-
* @param policyMode The policy mode of the data policy manifest to get.
|
|
17
|
-
* @param options The options parameters.
|
|
18
|
-
*/
|
|
19
|
-
getByPolicyMode(policyMode: string, options?: DataPolicyManifestsGetByPolicyModeOptionalParams): Promise<DataPolicyManifestsGetByPolicyModeResponse>;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=dataPolicyManifests.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataPolicyManifests.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dataPolicyManifests.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,qCAAqC,EACrC,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAG5B,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC;;;;;;;OAOG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;OAIG;IACH,eAAe,CACb,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
//# sourceMappingURL=dataPolicyManifests.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dataPolicyManifests.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/dataPolicyManifests.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n DataPolicyManifest,\n DataPolicyManifestsListOptionalParams,\n DataPolicyManifestsGetByPolicyModeOptionalParams,\n DataPolicyManifestsGetByPolicyModeResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DataPolicyManifests. */\nexport interface DataPolicyManifests {\n /**\n * This operation retrieves a list of all the data policy manifests that match the optional given\n * $filter. Valid values for $filter are: \"$filter=namespace eq '{0}'\". If $filter is not provided, the\n * unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is\n * provided, the returned list only includes all data policy manifests that have a namespace matching\n * the provided value.\n * @param options The options parameters.\n */\n list(\n options?: DataPolicyManifestsListOptionalParams,\n ): PagedAsyncIterableIterator<DataPolicyManifest>;\n /**\n * This operation retrieves the data policy manifest with the given policy mode.\n * @param policyMode The policy mode of the data policy manifest to get.\n * @param options The options parameters.\n */\n getByPolicyMode(\n policyMode: string,\n options?: DataPolicyManifestsGetByPolicyModeOptionalParams,\n ): Promise<DataPolicyManifestsGetByPolicyModeResponse>;\n}\n"]}
|