@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,478 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
-
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers.js";
|
|
12
|
-
import * as Parameters from "../models/parameters.js";
|
|
13
|
-
/// <reference lib="esnext.asynciterable" />
|
|
14
|
-
/** Class containing VariableValues operations. */
|
|
15
|
-
export class VariableValuesImpl {
|
|
16
|
-
/**
|
|
17
|
-
* Initialize a new instance of the class VariableValues class.
|
|
18
|
-
* @param client Reference to the service client
|
|
19
|
-
*/
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* This operation retrieves the list of all variable values associated with the given variable that is
|
|
25
|
-
* at a subscription level.
|
|
26
|
-
* @param variableName The name of the variable to operate on.
|
|
27
|
-
* @param options The options parameters.
|
|
28
|
-
*/
|
|
29
|
-
list(variableName, options) {
|
|
30
|
-
const iter = this.listPagingAll(variableName, options);
|
|
31
|
-
return {
|
|
32
|
-
next() {
|
|
33
|
-
return iter.next();
|
|
34
|
-
},
|
|
35
|
-
[Symbol.asyncIterator]() {
|
|
36
|
-
return this;
|
|
37
|
-
},
|
|
38
|
-
byPage: (settings) => {
|
|
39
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
40
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
-
}
|
|
42
|
-
return this.listPagingPage(variableName, options, settings);
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
listPagingPage(variableName, options, settings) {
|
|
47
|
-
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
48
|
-
let result;
|
|
49
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
50
|
-
if (!continuationToken) {
|
|
51
|
-
result = yield __await(this._list(variableName, options));
|
|
52
|
-
let page = result.value || [];
|
|
53
|
-
continuationToken = result.nextLink;
|
|
54
|
-
setContinuationToken(page, continuationToken);
|
|
55
|
-
yield yield __await(page);
|
|
56
|
-
}
|
|
57
|
-
while (continuationToken) {
|
|
58
|
-
result = yield __await(this._listNext(variableName, continuationToken, options));
|
|
59
|
-
continuationToken = result.nextLink;
|
|
60
|
-
let page = result.value || [];
|
|
61
|
-
setContinuationToken(page, continuationToken);
|
|
62
|
-
yield yield __await(page);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
listPagingAll(variableName, options) {
|
|
67
|
-
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
68
|
-
var _a, e_1, _b, _c;
|
|
69
|
-
try {
|
|
70
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(variableName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
-
_c = _f.value;
|
|
72
|
-
_d = false;
|
|
73
|
-
const page = _c;
|
|
74
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
-
finally {
|
|
79
|
-
try {
|
|
80
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
-
}
|
|
82
|
-
finally { if (e_1) throw e_1.error; }
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* This operation retrieves the list of all variable values applicable the variable indicated at the
|
|
88
|
-
* management group scope.
|
|
89
|
-
* @param managementGroupId The ID of the management group.
|
|
90
|
-
* @param variableName The name of the variable to operate on.
|
|
91
|
-
* @param options The options parameters.
|
|
92
|
-
*/
|
|
93
|
-
listForManagementGroup(managementGroupId, variableName, options) {
|
|
94
|
-
const iter = this.listForManagementGroupPagingAll(managementGroupId, variableName, options);
|
|
95
|
-
return {
|
|
96
|
-
next() {
|
|
97
|
-
return iter.next();
|
|
98
|
-
},
|
|
99
|
-
[Symbol.asyncIterator]() {
|
|
100
|
-
return this;
|
|
101
|
-
},
|
|
102
|
-
byPage: (settings) => {
|
|
103
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
104
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
105
|
-
}
|
|
106
|
-
return this.listForManagementGroupPagingPage(managementGroupId, variableName, options, settings);
|
|
107
|
-
},
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
listForManagementGroupPagingPage(managementGroupId, variableName, options, settings) {
|
|
111
|
-
return __asyncGenerator(this, arguments, function* listForManagementGroupPagingPage_1() {
|
|
112
|
-
let result;
|
|
113
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
114
|
-
if (!continuationToken) {
|
|
115
|
-
result = yield __await(this._listForManagementGroup(managementGroupId, variableName, options));
|
|
116
|
-
let page = result.value || [];
|
|
117
|
-
continuationToken = result.nextLink;
|
|
118
|
-
setContinuationToken(page, continuationToken);
|
|
119
|
-
yield yield __await(page);
|
|
120
|
-
}
|
|
121
|
-
while (continuationToken) {
|
|
122
|
-
result = yield __await(this._listForManagementGroupNext(managementGroupId, variableName, continuationToken, options));
|
|
123
|
-
continuationToken = result.nextLink;
|
|
124
|
-
let page = result.value || [];
|
|
125
|
-
setContinuationToken(page, continuationToken);
|
|
126
|
-
yield yield __await(page);
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
listForManagementGroupPagingAll(managementGroupId, variableName, options) {
|
|
131
|
-
return __asyncGenerator(this, arguments, function* listForManagementGroupPagingAll_1() {
|
|
132
|
-
var _a, e_2, _b, _c;
|
|
133
|
-
try {
|
|
134
|
-
for (var _d = true, _e = __asyncValues(this.listForManagementGroupPagingPage(managementGroupId, variableName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
135
|
-
_c = _f.value;
|
|
136
|
-
_d = false;
|
|
137
|
-
const page = _c;
|
|
138
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
142
|
-
finally {
|
|
143
|
-
try {
|
|
144
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
145
|
-
}
|
|
146
|
-
finally { if (e_2) throw e_2.error; }
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* This operation deletes a variable value, given its name, the subscription it was created in, and the
|
|
152
|
-
* variable it belongs to. The scope of a variable value is the part of its ID preceding
|
|
153
|
-
* '/providers/Microsoft.Authorization/variables/{variableName}'.
|
|
154
|
-
* @param variableName The name of the variable to operate on.
|
|
155
|
-
* @param variableValueName The name of the variable value to operate on.
|
|
156
|
-
* @param options The options parameters.
|
|
157
|
-
*/
|
|
158
|
-
delete(variableName, variableValueName, options) {
|
|
159
|
-
return this.client.sendOperationRequest({ variableName, variableValueName, options }, deleteOperationSpec);
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* This operation creates or updates a variable value with the given subscription and name for a given
|
|
163
|
-
* variable. Variable values are scoped to the variable for which they are created for.
|
|
164
|
-
* @param variableName The name of the variable to operate on.
|
|
165
|
-
* @param variableValueName The name of the variable value to operate on.
|
|
166
|
-
* @param parameters Parameters for the variable value.
|
|
167
|
-
* @param options The options parameters.
|
|
168
|
-
*/
|
|
169
|
-
createOrUpdate(variableName, variableValueName, parameters, options) {
|
|
170
|
-
return this.client.sendOperationRequest({ variableName, variableValueName, parameters, options }, createOrUpdateOperationSpec);
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* This operation retrieves a single variable value; given its name, subscription it was created at and
|
|
174
|
-
* the variable it's created for.
|
|
175
|
-
* @param variableName The name of the variable to operate on.
|
|
176
|
-
* @param variableValueName The name of the variable value to operate on.
|
|
177
|
-
* @param options The options parameters.
|
|
178
|
-
*/
|
|
179
|
-
get(variableName, variableValueName, options) {
|
|
180
|
-
return this.client.sendOperationRequest({ variableName, variableValueName, options }, getOperationSpec);
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* This operation retrieves the list of all variable values associated with the given variable that is
|
|
184
|
-
* at a subscription level.
|
|
185
|
-
* @param variableName The name of the variable to operate on.
|
|
186
|
-
* @param options The options parameters.
|
|
187
|
-
*/
|
|
188
|
-
_list(variableName, options) {
|
|
189
|
-
return this.client.sendOperationRequest({ variableName, options }, listOperationSpec);
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* This operation retrieves the list of all variable values applicable the variable indicated at the
|
|
193
|
-
* management group scope.
|
|
194
|
-
* @param managementGroupId The ID of the management group.
|
|
195
|
-
* @param variableName The name of the variable to operate on.
|
|
196
|
-
* @param options The options parameters.
|
|
197
|
-
*/
|
|
198
|
-
_listForManagementGroup(managementGroupId, variableName, options) {
|
|
199
|
-
return this.client.sendOperationRequest({ managementGroupId, variableName, options }, listForManagementGroupOperationSpec);
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* This operation deletes a variable value, given its name, the management group it was created in, and
|
|
203
|
-
* the variable it belongs to. The scope of a variable value is the part of its ID preceding
|
|
204
|
-
* '/providers/Microsoft.Authorization/variables/{variableName}'.
|
|
205
|
-
* @param managementGroupId The ID of the management group.
|
|
206
|
-
* @param variableName The name of the variable to operate on.
|
|
207
|
-
* @param variableValueName The name of the variable value to operate on.
|
|
208
|
-
* @param options The options parameters.
|
|
209
|
-
*/
|
|
210
|
-
deleteAtManagementGroup(managementGroupId, variableName, variableValueName, options) {
|
|
211
|
-
return this.client.sendOperationRequest({ managementGroupId, variableName, variableValueName, options }, deleteAtManagementGroupOperationSpec);
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* This operation creates or updates a variable value with the given management group and name for a
|
|
215
|
-
* given variable. Variable values are scoped to the variable for which they are created for.
|
|
216
|
-
* @param managementGroupId The ID of the management group.
|
|
217
|
-
* @param variableName The name of the variable to operate on.
|
|
218
|
-
* @param variableValueName The name of the variable value to operate on.
|
|
219
|
-
* @param parameters Parameters for the variable value.
|
|
220
|
-
* @param options The options parameters.
|
|
221
|
-
*/
|
|
222
|
-
createOrUpdateAtManagementGroup(managementGroupId, variableName, variableValueName, parameters, options) {
|
|
223
|
-
return this.client.sendOperationRequest({
|
|
224
|
-
managementGroupId,
|
|
225
|
-
variableName,
|
|
226
|
-
variableValueName,
|
|
227
|
-
parameters,
|
|
228
|
-
options,
|
|
229
|
-
}, createOrUpdateAtManagementGroupOperationSpec);
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* This operation retrieves a single variable value; given its name, management group it was created
|
|
233
|
-
* at and the variable it's created for.
|
|
234
|
-
* @param managementGroupId The ID of the management group.
|
|
235
|
-
* @param variableName The name of the variable to operate on.
|
|
236
|
-
* @param variableValueName The name of the variable value to operate on.
|
|
237
|
-
* @param options The options parameters.
|
|
238
|
-
*/
|
|
239
|
-
getAtManagementGroup(managementGroupId, variableName, variableValueName, options) {
|
|
240
|
-
return this.client.sendOperationRequest({ managementGroupId, variableName, variableValueName, options }, getAtManagementGroupOperationSpec);
|
|
241
|
-
}
|
|
242
|
-
/**
|
|
243
|
-
* ListNext
|
|
244
|
-
* @param variableName The name of the variable to operate on.
|
|
245
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
246
|
-
* @param options The options parameters.
|
|
247
|
-
*/
|
|
248
|
-
_listNext(variableName, nextLink, options) {
|
|
249
|
-
return this.client.sendOperationRequest({ variableName, nextLink, options }, listNextOperationSpec);
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* ListForManagementGroupNext
|
|
253
|
-
* @param managementGroupId The ID of the management group.
|
|
254
|
-
* @param variableName The name of the variable to operate on.
|
|
255
|
-
* @param nextLink The nextLink from the previous successful call to the ListForManagementGroup method.
|
|
256
|
-
* @param options The options parameters.
|
|
257
|
-
*/
|
|
258
|
-
_listForManagementGroupNext(managementGroupId, variableName, nextLink, options) {
|
|
259
|
-
return this.client.sendOperationRequest({ managementGroupId, variableName, nextLink, options }, listForManagementGroupNextOperationSpec);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
// Operation Specifications
|
|
263
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
264
|
-
const deleteOperationSpec = {
|
|
265
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}",
|
|
266
|
-
httpMethod: "DELETE",
|
|
267
|
-
responses: {
|
|
268
|
-
200: {},
|
|
269
|
-
204: {},
|
|
270
|
-
default: {
|
|
271
|
-
bodyMapper: Mappers.CloudError,
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
queryParameters: [Parameters.apiVersion3],
|
|
275
|
-
urlParameters: [
|
|
276
|
-
Parameters.$host,
|
|
277
|
-
Parameters.subscriptionId,
|
|
278
|
-
Parameters.variableName,
|
|
279
|
-
Parameters.variableValueName,
|
|
280
|
-
],
|
|
281
|
-
headerParameters: [Parameters.accept],
|
|
282
|
-
serializer,
|
|
283
|
-
};
|
|
284
|
-
const createOrUpdateOperationSpec = {
|
|
285
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}",
|
|
286
|
-
httpMethod: "PUT",
|
|
287
|
-
responses: {
|
|
288
|
-
200: {
|
|
289
|
-
bodyMapper: Mappers.VariableValue,
|
|
290
|
-
},
|
|
291
|
-
201: {
|
|
292
|
-
bodyMapper: Mappers.VariableValue,
|
|
293
|
-
},
|
|
294
|
-
default: {
|
|
295
|
-
bodyMapper: Mappers.CloudError,
|
|
296
|
-
},
|
|
297
|
-
},
|
|
298
|
-
requestBody: Parameters.parameters9,
|
|
299
|
-
queryParameters: [Parameters.apiVersion3],
|
|
300
|
-
urlParameters: [
|
|
301
|
-
Parameters.$host,
|
|
302
|
-
Parameters.subscriptionId,
|
|
303
|
-
Parameters.variableName,
|
|
304
|
-
Parameters.variableValueName,
|
|
305
|
-
],
|
|
306
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
307
|
-
mediaType: "json",
|
|
308
|
-
serializer,
|
|
309
|
-
};
|
|
310
|
-
const getOperationSpec = {
|
|
311
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}",
|
|
312
|
-
httpMethod: "GET",
|
|
313
|
-
responses: {
|
|
314
|
-
200: {
|
|
315
|
-
bodyMapper: Mappers.VariableValue,
|
|
316
|
-
},
|
|
317
|
-
default: {
|
|
318
|
-
bodyMapper: Mappers.CloudError,
|
|
319
|
-
},
|
|
320
|
-
},
|
|
321
|
-
queryParameters: [Parameters.apiVersion3],
|
|
322
|
-
urlParameters: [
|
|
323
|
-
Parameters.$host,
|
|
324
|
-
Parameters.subscriptionId,
|
|
325
|
-
Parameters.variableName,
|
|
326
|
-
Parameters.variableValueName,
|
|
327
|
-
],
|
|
328
|
-
headerParameters: [Parameters.accept],
|
|
329
|
-
serializer,
|
|
330
|
-
};
|
|
331
|
-
const listOperationSpec = {
|
|
332
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values",
|
|
333
|
-
httpMethod: "GET",
|
|
334
|
-
responses: {
|
|
335
|
-
200: {
|
|
336
|
-
bodyMapper: Mappers.VariableValueListResult,
|
|
337
|
-
},
|
|
338
|
-
default: {
|
|
339
|
-
bodyMapper: Mappers.CloudError,
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
queryParameters: [Parameters.apiVersion3],
|
|
343
|
-
urlParameters: [
|
|
344
|
-
Parameters.$host,
|
|
345
|
-
Parameters.subscriptionId,
|
|
346
|
-
Parameters.variableName,
|
|
347
|
-
],
|
|
348
|
-
headerParameters: [Parameters.accept],
|
|
349
|
-
serializer,
|
|
350
|
-
};
|
|
351
|
-
const listForManagementGroupOperationSpec = {
|
|
352
|
-
path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values",
|
|
353
|
-
httpMethod: "GET",
|
|
354
|
-
responses: {
|
|
355
|
-
200: {
|
|
356
|
-
bodyMapper: Mappers.VariableValueListResult,
|
|
357
|
-
},
|
|
358
|
-
default: {
|
|
359
|
-
bodyMapper: Mappers.CloudError,
|
|
360
|
-
},
|
|
361
|
-
},
|
|
362
|
-
queryParameters: [Parameters.apiVersion3],
|
|
363
|
-
urlParameters: [
|
|
364
|
-
Parameters.$host,
|
|
365
|
-
Parameters.managementGroupId,
|
|
366
|
-
Parameters.variableName,
|
|
367
|
-
],
|
|
368
|
-
headerParameters: [Parameters.accept],
|
|
369
|
-
serializer,
|
|
370
|
-
};
|
|
371
|
-
const deleteAtManagementGroupOperationSpec = {
|
|
372
|
-
path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}",
|
|
373
|
-
httpMethod: "DELETE",
|
|
374
|
-
responses: {
|
|
375
|
-
200: {},
|
|
376
|
-
204: {},
|
|
377
|
-
default: {
|
|
378
|
-
bodyMapper: Mappers.CloudError,
|
|
379
|
-
},
|
|
380
|
-
},
|
|
381
|
-
queryParameters: [Parameters.apiVersion3],
|
|
382
|
-
urlParameters: [
|
|
383
|
-
Parameters.$host,
|
|
384
|
-
Parameters.managementGroupId,
|
|
385
|
-
Parameters.variableName,
|
|
386
|
-
Parameters.variableValueName,
|
|
387
|
-
],
|
|
388
|
-
headerParameters: [Parameters.accept],
|
|
389
|
-
serializer,
|
|
390
|
-
};
|
|
391
|
-
const createOrUpdateAtManagementGroupOperationSpec = {
|
|
392
|
-
path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}",
|
|
393
|
-
httpMethod: "PUT",
|
|
394
|
-
responses: {
|
|
395
|
-
200: {
|
|
396
|
-
bodyMapper: Mappers.VariableValue,
|
|
397
|
-
},
|
|
398
|
-
201: {
|
|
399
|
-
bodyMapper: Mappers.VariableValue,
|
|
400
|
-
},
|
|
401
|
-
default: {
|
|
402
|
-
bodyMapper: Mappers.CloudError,
|
|
403
|
-
},
|
|
404
|
-
},
|
|
405
|
-
requestBody: Parameters.parameters9,
|
|
406
|
-
queryParameters: [Parameters.apiVersion3],
|
|
407
|
-
urlParameters: [
|
|
408
|
-
Parameters.$host,
|
|
409
|
-
Parameters.managementGroupId,
|
|
410
|
-
Parameters.variableName,
|
|
411
|
-
Parameters.variableValueName,
|
|
412
|
-
],
|
|
413
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
414
|
-
mediaType: "json",
|
|
415
|
-
serializer,
|
|
416
|
-
};
|
|
417
|
-
const getAtManagementGroupOperationSpec = {
|
|
418
|
-
path: "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}",
|
|
419
|
-
httpMethod: "GET",
|
|
420
|
-
responses: {
|
|
421
|
-
200: {
|
|
422
|
-
bodyMapper: Mappers.VariableValue,
|
|
423
|
-
},
|
|
424
|
-
default: {
|
|
425
|
-
bodyMapper: Mappers.CloudError,
|
|
426
|
-
},
|
|
427
|
-
},
|
|
428
|
-
queryParameters: [Parameters.apiVersion3],
|
|
429
|
-
urlParameters: [
|
|
430
|
-
Parameters.$host,
|
|
431
|
-
Parameters.managementGroupId,
|
|
432
|
-
Parameters.variableName,
|
|
433
|
-
Parameters.variableValueName,
|
|
434
|
-
],
|
|
435
|
-
headerParameters: [Parameters.accept],
|
|
436
|
-
serializer,
|
|
437
|
-
};
|
|
438
|
-
const listNextOperationSpec = {
|
|
439
|
-
path: "{nextLink}",
|
|
440
|
-
httpMethod: "GET",
|
|
441
|
-
responses: {
|
|
442
|
-
200: {
|
|
443
|
-
bodyMapper: Mappers.VariableValueListResult,
|
|
444
|
-
},
|
|
445
|
-
default: {
|
|
446
|
-
bodyMapper: Mappers.CloudError,
|
|
447
|
-
},
|
|
448
|
-
},
|
|
449
|
-
urlParameters: [
|
|
450
|
-
Parameters.$host,
|
|
451
|
-
Parameters.nextLink,
|
|
452
|
-
Parameters.subscriptionId,
|
|
453
|
-
Parameters.variableName,
|
|
454
|
-
],
|
|
455
|
-
headerParameters: [Parameters.accept],
|
|
456
|
-
serializer,
|
|
457
|
-
};
|
|
458
|
-
const listForManagementGroupNextOperationSpec = {
|
|
459
|
-
path: "{nextLink}",
|
|
460
|
-
httpMethod: "GET",
|
|
461
|
-
responses: {
|
|
462
|
-
200: {
|
|
463
|
-
bodyMapper: Mappers.VariableValueListResult,
|
|
464
|
-
},
|
|
465
|
-
default: {
|
|
466
|
-
bodyMapper: Mappers.CloudError,
|
|
467
|
-
},
|
|
468
|
-
},
|
|
469
|
-
urlParameters: [
|
|
470
|
-
Parameters.$host,
|
|
471
|
-
Parameters.nextLink,
|
|
472
|
-
Parameters.managementGroupId,
|
|
473
|
-
Parameters.variableName,
|
|
474
|
-
],
|
|
475
|
-
headerParameters: [Parameters.accept],
|
|
476
|
-
serializer,
|
|
477
|
-
};
|
|
478
|
-
//# sourceMappingURL=variableValues.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variableValues.js","sourceRoot":"","sources":["../../../src/operations/variableValues.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAwBtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,YAAoB,EACpB,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QACvD,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;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,OAAO,EAAE,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AE,OAAO,CAAC,uBAAuB;SAC5C;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;QAC5B,UAAU,CAAC,YAAY;KACxB;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 { VariableValues } 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 VariableValue,\n VariableValuesListNextOptionalParams,\n VariableValuesListOptionalParams,\n VariableValuesListResponse,\n VariableValuesListForManagementGroupNextOptionalParams,\n VariableValuesListForManagementGroupOptionalParams,\n VariableValuesListForManagementGroupResponse,\n VariableValuesDeleteOptionalParams,\n VariableValuesCreateOrUpdateOptionalParams,\n VariableValuesCreateOrUpdateResponse,\n VariableValuesGetOptionalParams,\n VariableValuesGetResponse,\n VariableValuesDeleteAtManagementGroupOptionalParams,\n VariableValuesCreateOrUpdateAtManagementGroupOptionalParams,\n VariableValuesCreateOrUpdateAtManagementGroupResponse,\n VariableValuesGetAtManagementGroupOptionalParams,\n VariableValuesGetAtManagementGroupResponse,\n VariableValuesListNextResponse,\n VariableValuesListForManagementGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing VariableValues operations. */\nexport class VariableValuesImpl implements VariableValues {\n private readonly client: PolicyClient;\n\n /**\n * Initialize a new instance of the class VariableValues 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 variable values associated with the given variable that is\n * at a subscription level.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n public list(\n variableName: string,\n options?: VariableValuesListOptionalParams,\n ): PagedAsyncIterableIterator<VariableValue> {\n const iter = this.listPagingAll(variableName, 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(variableName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n variableName: string,\n options?: VariableValuesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<VariableValue[]> {\n let result: VariableValuesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(variableName, 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(variableName, 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 variableName: string,\n options?: VariableValuesListOptionalParams,\n ): AsyncIterableIterator<VariableValue> {\n for await (const page of this.listPagingPage(variableName, options)) {\n yield* page;\n }\n }\n\n /**\n * This operation retrieves the list of all variable values applicable the variable indicated at the\n * management group scope.\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 public listForManagementGroup(\n managementGroupId: string,\n variableName: string,\n options?: VariableValuesListForManagementGroupOptionalParams,\n ): PagedAsyncIterableIterator<VariableValue> {\n const iter = this.listForManagementGroupPagingAll(\n managementGroupId,\n variableName,\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 variableName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listForManagementGroupPagingPage(\n managementGroupId: string,\n variableName: string,\n options?: VariableValuesListForManagementGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<VariableValue[]> {\n let result: VariableValuesListForManagementGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listForManagementGroup(\n managementGroupId,\n variableName,\n options,\n );\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 variableName,\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 variableName: string,\n options?: VariableValuesListForManagementGroupOptionalParams,\n ): AsyncIterableIterator<VariableValue> {\n for await (const page of this.listForManagementGroupPagingPage(\n managementGroupId,\n variableName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * This operation deletes a variable value, given its name, the subscription it was created in, and the\n * variable it belongs to. The scope of a variable value 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 variableValueName The name of the variable value to operate on.\n * @param options The options parameters.\n */\n delete(\n variableName: string,\n variableValueName: string,\n options?: VariableValuesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { variableName, variableValueName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * This operation creates or updates a variable value with the given subscription and name for a given\n * variable. Variable values are scoped to the variable for which they are created for.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param parameters Parameters for the variable value.\n * @param options The options parameters.\n */\n createOrUpdate(\n variableName: string,\n variableValueName: string,\n parameters: VariableValue,\n options?: VariableValuesCreateOrUpdateOptionalParams,\n ): Promise<VariableValuesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { variableName, variableValueName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * This operation retrieves a single variable value; given its name, subscription it was created at and\n * the variable it's created for.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param options The options parameters.\n */\n get(\n variableName: string,\n variableValueName: string,\n options?: VariableValuesGetOptionalParams,\n ): Promise<VariableValuesGetResponse> {\n return this.client.sendOperationRequest(\n { variableName, variableValueName, options },\n getOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all variable values associated with the given variable that is\n * at a subscription level.\n * @param variableName The name of the variable to operate on.\n * @param options The options parameters.\n */\n private _list(\n variableName: string,\n options?: VariableValuesListOptionalParams,\n ): Promise<VariableValuesListResponse> {\n return this.client.sendOperationRequest(\n { variableName, options },\n listOperationSpec,\n );\n }\n\n /**\n * This operation retrieves the list of all variable values applicable the variable indicated at the\n * management group scope.\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 private _listForManagementGroup(\n managementGroupId: string,\n variableName: string,\n options?: VariableValuesListForManagementGroupOptionalParams,\n ): Promise<VariableValuesListForManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, variableName, options },\n listForManagementGroupOperationSpec,\n );\n }\n\n /**\n * This operation deletes a variable value, given its name, the management group it was created in, and\n * the variable it belongs to. The scope of a variable value 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 variableValueName The name of the variable value to operate on.\n * @param options The options parameters.\n */\n deleteAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n variableValueName: string,\n options?: VariableValuesDeleteAtManagementGroupOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { managementGroupId, variableName, variableValueName, options },\n deleteAtManagementGroupOperationSpec,\n );\n }\n\n /**\n * This operation creates or updates a variable value with the given management group and name for a\n * given variable. Variable values are scoped to the variable for which they are created for.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param parameters Parameters for the variable value.\n * @param options The options parameters.\n */\n createOrUpdateAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n variableValueName: string,\n parameters: VariableValue,\n options?: VariableValuesCreateOrUpdateAtManagementGroupOptionalParams,\n ): Promise<VariableValuesCreateOrUpdateAtManagementGroupResponse> {\n return this.client.sendOperationRequest(\n {\n managementGroupId,\n variableName,\n variableValueName,\n parameters,\n options,\n },\n createOrUpdateAtManagementGroupOperationSpec,\n );\n }\n\n /**\n * This operation retrieves a single variable value; given its name, management group it was created\n * at and the variable it's created for.\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\n * @param variableValueName The name of the variable value to operate on.\n * @param options The options parameters.\n */\n getAtManagementGroup(\n managementGroupId: string,\n variableName: string,\n variableValueName: string,\n options?: VariableValuesGetAtManagementGroupOptionalParams,\n ): Promise<VariableValuesGetAtManagementGroupResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, variableName, variableValueName, options },\n getAtManagementGroupOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param variableName The name of the variable to operate on.\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 variableName: string,\n nextLink: string,\n options?: VariableValuesListNextOptionalParams,\n ): Promise<VariableValuesListNextResponse> {\n return this.client.sendOperationRequest(\n { variableName, nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListForManagementGroupNext\n * @param managementGroupId The ID of the management group.\n * @param variableName The name of the variable to operate on.\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 variableName: string,\n nextLink: string,\n options?: VariableValuesListForManagementGroupNextOptionalParams,\n ): Promise<VariableValuesListForManagementGroupNextResponse> {\n return this.client.sendOperationRequest(\n { managementGroupId, variableName, 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}/values/{variableValueName}\",\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 Parameters.variableValueName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableValue,\n },\n 201: {\n bodyMapper: Mappers.VariableValue,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.variableName,\n Parameters.variableValueName,\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}/values/{variableValueName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableValue,\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 Parameters.variableValueName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/variables/{variableName}/values\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableValueListResult,\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 listForManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableValueListResult,\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 deleteAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}\",\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 Parameters.variableValueName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateAtManagementGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/variables/{variableName}/values/{variableValueName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableValue,\n },\n 201: {\n bodyMapper: Mappers.VariableValue,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion3],\n urlParameters: [\n Parameters.$host,\n Parameters.managementGroupId,\n Parameters.variableName,\n Parameters.variableValueName,\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}/values/{variableValueName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableValue,\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 Parameters.variableValueName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VariableValueListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.variableName,\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.VariableValueListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.managementGroupId,\n Parameters.variableName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Variables } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { PolicyClient } from "../policyClient.js";
|
|
4
|
-
import { Variable, VariablesListOptionalParams, VariablesListForManagementGroupOptionalParams, VariablesDeleteOptionalParams, VariablesCreateOrUpdateOptionalParams, VariablesCreateOrUpdateResponse, VariablesGetOptionalParams, VariablesGetResponse, VariablesDeleteAtManagementGroupOptionalParams, VariablesCreateOrUpdateAtManagementGroupOptionalParams, VariablesCreateOrUpdateAtManagementGroupResponse, VariablesGetAtManagementGroupOptionalParams, VariablesGetAtManagementGroupResponse } from "../models/index.js";
|
|
5
|
-
/** Class containing Variables operations. */
|
|
6
|
-
export declare class VariablesImpl implements Variables {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class Variables class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: PolicyClient);
|
|
13
|
-
/**
|
|
14
|
-
* This operation retrieves the list of all variables associated with the given subscription.
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
list(options?: VariablesListOptionalParams): PagedAsyncIterableIterator<Variable>;
|
|
18
|
-
private listPagingPage;
|
|
19
|
-
private listPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* This operation retrieves the list of all variables applicable to the management group.
|
|
22
|
-
* @param managementGroupId The ID of the management group.
|
|
23
|
-
* @param options The options parameters.
|
|
24
|
-
*/
|
|
25
|
-
listForManagementGroup(managementGroupId: string, options?: VariablesListForManagementGroupOptionalParams): PagedAsyncIterableIterator<Variable>;
|
|
26
|
-
private listForManagementGroupPagingPage;
|
|
27
|
-
private listForManagementGroupPagingAll;
|
|
28
|
-
/**
|
|
29
|
-
* This operation deletes a variable, given its name and the subscription it was created in. The scope
|
|
30
|
-
* of a variable is the part of its ID preceding
|
|
31
|
-
* '/providers/Microsoft.Authorization/variables/{variableName}'.
|
|
32
|
-
* @param variableName The name of the variable to operate on.
|
|
33
|
-
* @param options The options parameters.
|
|
34
|
-
*/
|
|
35
|
-
delete(variableName: string, options?: VariablesDeleteOptionalParams): Promise<void>;
|
|
36
|
-
/**
|
|
37
|
-
* This operation creates or updates a variable with the given subscription and name. Policy variables
|
|
38
|
-
* can only be used by a policy definition at the scope they are created or below.
|
|
39
|
-
* @param variableName The name of the variable to operate on.
|
|
40
|
-
* @param parameters Parameters for the variable.
|
|
41
|
-
* @param options The options parameters.
|
|
42
|
-
*/
|
|
43
|
-
createOrUpdate(variableName: string, parameters: Variable, options?: VariablesCreateOrUpdateOptionalParams): Promise<VariablesCreateOrUpdateResponse>;
|
|
44
|
-
/**
|
|
45
|
-
* This operation retrieves a single variable, given its name and the subscription it was created at.
|
|
46
|
-
* @param variableName The name of the variable to operate on.
|
|
47
|
-
* @param options The options parameters.
|
|
48
|
-
*/
|
|
49
|
-
get(variableName: string, options?: VariablesGetOptionalParams): Promise<VariablesGetResponse>;
|
|
50
|
-
/**
|
|
51
|
-
* This operation deletes a variable, given its name and the management group it was created in. The
|
|
52
|
-
* scope of a variable is the part of its ID preceding
|
|
53
|
-
* '/providers/Microsoft.Authorization/variables/{variableName}'.
|
|
54
|
-
* @param managementGroupId The ID of the management group.
|
|
55
|
-
* @param variableName The name of the variable to operate on.
|
|
56
|
-
* @param options The options parameters.
|
|
57
|
-
*/
|
|
58
|
-
deleteAtManagementGroup(managementGroupId: string, variableName: string, options?: VariablesDeleteAtManagementGroupOptionalParams): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* This operation creates or updates a variable with the given management group and name. Policy
|
|
61
|
-
* variables can only be used by a policy definition at the scope they are created or below.
|
|
62
|
-
* @param managementGroupId The ID of the management group.
|
|
63
|
-
* @param variableName The name of the variable to operate on.
|
|
64
|
-
* @param parameters Parameters for the variable.
|
|
65
|
-
* @param options The options parameters.
|
|
66
|
-
*/
|
|
67
|
-
createOrUpdateAtManagementGroup(managementGroupId: string, variableName: string, parameters: Variable, options?: VariablesCreateOrUpdateAtManagementGroupOptionalParams): Promise<VariablesCreateOrUpdateAtManagementGroupResponse>;
|
|
68
|
-
/**
|
|
69
|
-
* This operation retrieves a single variable, given its name and the management group it was created
|
|
70
|
-
* at.
|
|
71
|
-
* @param managementGroupId The ID of the management group.
|
|
72
|
-
* @param variableName The name of the variable to operate on.
|
|
73
|
-
* @param options The options parameters.
|
|
74
|
-
*/
|
|
75
|
-
getAtManagementGroup(managementGroupId: string, variableName: string, options?: VariablesGetAtManagementGroupOptionalParams): Promise<VariablesGetAtManagementGroupResponse>;
|
|
76
|
-
/**
|
|
77
|
-
* This operation retrieves the list of all variables associated with the given subscription.
|
|
78
|
-
* @param options The options parameters.
|
|
79
|
-
*/
|
|
80
|
-
private _list;
|
|
81
|
-
/**
|
|
82
|
-
* This operation retrieves the list of all variables applicable to the management group.
|
|
83
|
-
* @param managementGroupId The ID of the management group.
|
|
84
|
-
* @param options The options parameters.
|
|
85
|
-
*/
|
|
86
|
-
private _listForManagementGroup;
|
|
87
|
-
/**
|
|
88
|
-
* ListNext
|
|
89
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
90
|
-
* @param options The options parameters.
|
|
91
|
-
*/
|
|
92
|
-
private _listNext;
|
|
93
|
-
/**
|
|
94
|
-
* ListForManagementGroupNext
|
|
95
|
-
* @param managementGroupId The ID of the management group.
|
|
96
|
-
* @param nextLink The nextLink from the previous successful call to the ListForManagementGroup method.
|
|
97
|
-
* @param options The options parameters.
|
|
98
|
-
*/
|
|
99
|
-
private _listForManagementGroupNext;
|
|
100
|
-
}
|
|
101
|
-
//# sourceMappingURL=variables.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/operations/variables.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,QAAQ,EAER,2BAA2B,EAG3B,6CAA6C,EAE7C,6BAA6B,EAC7B,qCAAqC,EACrC,+BAA+B,E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