@azure/arm-policyinsights 5.0.1-alpha.20220331.1 → 6.0.0-beta.1
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 +39 -10
- package/README.md +11 -0
- package/dist/index.js +682 -403
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js +45 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js +45 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js +65 -0
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js +31 -0
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js +31 -0
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js +30 -0
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js +31 -0
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js +31 -0
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js +30 -0
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js +83 -0
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsListForResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsListForResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsListForResourceSample.js +78 -0
- package/dist-esm/samples-dev/attestationsListForResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js +81 -0
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.js +31 -0
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.js +31 -0
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.js +31 -0
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.js +30 -0
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.js +47 -0
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.js +46 -0
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.js +45 -0
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.js +45 -0
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.js +34 -0
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.d.ts +2 -0
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.d.ts.map +1 -0
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.js +44 -0
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.js.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.js +34 -0
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.js +34 -0
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.js +34 -0
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.js +33 -0
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.d.ts +2 -0
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.d.ts.map +1 -0
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.js +39 -0
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.js.map +1 -0
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.js +31 -0
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.js +31 -0
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.js +30 -0
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.js +31 -0
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.js +31 -0
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.js +31 -0
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.js +30 -0
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/filterAndAggregateOnly.d.ts +2 -0
- package/dist-esm/samples-dev/filterAndAggregateOnly.d.ts.map +1 -0
- package/dist-esm/samples-dev/filterAndAggregateOnly.js +49 -0
- package/dist-esm/samples-dev/filterAndAggregateOnly.js.map +1 -0
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.d.ts +2 -0
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.js +57 -0
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.js.map +1 -0
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.d.ts +2 -0
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.js +50 -0
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.js.map +1 -0
- package/dist-esm/samples-dev/filterAndMultipleGroups.d.ts +2 -0
- package/dist-esm/samples-dev/filterAndMultipleGroups.d.ts.map +1 -0
- package/dist-esm/samples-dev/filterAndMultipleGroups.js +50 -0
- package/dist-esm/samples-dev/filterAndMultipleGroups.js.map +1 -0
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.d.ts +2 -0
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.js +30 -0
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.js.map +1 -0
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.js +31 -0
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.js +31 -0
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.js +30 -0
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.d.ts +2 -0
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.d.ts.map +1 -0
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.js +43 -0
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.js.map +1 -0
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.d.ts +2 -0
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.d.ts.map +1 -0
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.js +45 -0
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.js.map +1 -0
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.js +31 -0
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.js +31 -0
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.js +31 -0
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.js +30 -0
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.js +44 -0
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.js +47 -0
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.js +44 -0
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.js +47 -0
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.js +43 -0
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.js +46 -0
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.js +45 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.js +45 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.js +45 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.js +44 -0
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/listOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listOperations.js +29 -0
- package/dist-esm/samples-dev/listOperations.js.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.js +44 -0
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.js +47 -0
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.js +44 -0
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.js +47 -0
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.js +44 -0
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.js +47 -0
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.js +43 -0
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.js +46 -0
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +29 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js +81 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js +83 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js +83 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +85 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js +83 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js +251 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +83 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js +277 -0
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.js +30 -0
- package/dist-esm/samples-dev/policyMetadataGetResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/policyMetadataListSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyMetadataListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyMetadataListSample.js +75 -0
- package/dist-esm/samples-dev/policyMetadataListSample.js.map +1 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js +33 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtManagementGroupScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js +47 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtResourceGroupScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js +46 -0
- package/dist-esm/samples-dev/policyRestrictionsCheckAtSubscriptionScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js +81 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js +83 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js +83 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +85 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js +83 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js +287 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +83 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js +277 -0
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js +38 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js +32 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js +39 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js +33 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js +32 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js +33 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js +32 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js +56 -0
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js +31 -0
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js.map +1 -0
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js +30 -0
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js.map +1 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js +82 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js +82 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js +82 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js +80 -0
- package/dist-esm/samples-dev/policyTrackedResourcesListQueryResultsForSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.js +45 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.js +45 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.d.ts +2 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.js +47 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.js.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.js +47 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.js +45 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.js +45 -0
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScope.js +44 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.js +47 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.js +46 -0
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryAtNestedResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtNestedResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtNestedResourceScope.js +44 -0
- package/dist-esm/samples-dev/queryAtNestedResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.js +46 -0
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js +48 -0
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScope.js +45 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.js +47 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.js +47 -0
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceScope.js +44 -0
- package/dist-esm/samples-dev/queryAtResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.js +47 -0
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.js +46 -0
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.js +44 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.js +45 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js +47 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.js +45 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js +47 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.js +45 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js +47 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.js +44 -0
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScope.js +44 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.js +46 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.js.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.js +46 -0
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.d.ts +2 -0
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.js +48 -0
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.js.map +1 -0
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.d.ts +2 -0
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.js +48 -0
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.js.map +1 -0
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.d.ts +2 -0
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.js +47 -0
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.js.map +1 -0
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.d.ts +2 -0
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js +47 -0
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.js +45 -0
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.js +47 -0
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.js +47 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js +49 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.js +46 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.js +48 -0
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.js +46 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js +48 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.js +46 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js +48 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.js +46 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js +48 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.js +45 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.d.ts +2 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.js +47 -0
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.js.map +1 -0
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js +31 -0
- package/dist-esm/samples-dev/remediationsCancelAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js +31 -0
- package/dist-esm/samples-dev/remediationsCancelAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js +31 -0
- package/dist-esm/samples-dev/remediationsCancelAtResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js +30 -0
- package/dist-esm/samples-dev/remediationsCancelAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js +34 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js +34 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js +34 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js +59 -0
- package/dist-esm/samples-dev/remediationsCreateOrUpdateAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js +31 -0
- package/dist-esm/samples-dev/remediationsDeleteAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js +31 -0
- package/dist-esm/samples-dev/remediationsDeleteAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js +31 -0
- package/dist-esm/samples-dev/remediationsDeleteAtResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js +30 -0
- package/dist-esm/samples-dev/remediationsDeleteAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js +31 -0
- package/dist-esm/samples-dev/remediationsGetAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js +31 -0
- package/dist-esm/samples-dev/remediationsGetAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.js +31 -0
- package/dist-esm/samples-dev/remediationsGetAtResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js +30 -0
- package/dist-esm/samples-dev/remediationsGetAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js +45 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js +45 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js +45 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js +44 -0
- package/dist-esm/samples-dev/remediationsListDeploymentsAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js +80 -0
- package/dist-esm/samples-dev/remediationsListForManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js +80 -0
- package/dist-esm/samples-dev/remediationsListForResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsListForResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsListForResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsListForResourceSample.js +78 -0
- package/dist-esm/samples-dev/remediationsListForResourceSample.js.map +1 -0
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js +78 -0
- package/dist-esm/samples-dev/remediationsListForSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.js +35 -0
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.js +32 -0
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.js.map +1 -0
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.js +31 -0
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.js.map +1 -0
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.js +36 -0
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.js.map +1 -0
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.js +31 -0
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.js.map +1 -0
- package/dist-esm/samples-dev/summarizeAtResourceScope.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeAtResourceScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeAtResourceScope.js +32 -0
- package/dist-esm/samples-dev/summarizeAtResourceScope.js.map +1 -0
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.js +32 -0
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.js.map +1 -0
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.js +33 -0
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.js.map +1 -0
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.d.ts +2 -0
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.d.ts.map +1 -0
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.js +57 -0
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.js.map +1 -0
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.js +31 -0
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.d.ts +2 -0
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.js +30 -0
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +48 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +15 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +27 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +11 -10
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/attestations.d.ts.map +1 -1
- package/dist-esm/src/operations/attestations.js +12 -6
- package/dist-esm/src/operations/attestations.js.map +1 -1
- package/dist-esm/src/operations/policyEvents.d.ts +57 -9
- package/dist-esm/src/operations/policyEvents.d.ts.map +1 -1
- package/dist-esm/src/operations/policyEvents.js +179 -95
- package/dist-esm/src/operations/policyEvents.js.map +1 -1
- package/dist-esm/src/operations/policyRestrictions.d.ts +8 -1
- package/dist-esm/src/operations/policyRestrictions.d.ts.map +1 -1
- package/dist-esm/src/operations/policyRestrictions.js +31 -0
- package/dist-esm/src/operations/policyRestrictions.js.map +1 -1
- package/dist-esm/src/operations/policyStates.d.ts +33 -9
- package/dist-esm/src/operations/policyStates.d.ts.map +1 -1
- package/dist-esm/src/operations/policyStates.js +72 -18
- package/dist-esm/src/operations/policyStates.js.map +1 -1
- package/dist-esm/src/operations/policyTrackedResources.d.ts +29 -5
- package/dist-esm/src/operations/policyTrackedResources.d.ts.map +1 -1
- package/dist-esm/src/operations/policyTrackedResources.js +77 -48
- package/dist-esm/src/operations/policyTrackedResources.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/policyEvents.d.ts +25 -9
- package/dist-esm/src/operationsInterfaces/policyEvents.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts +8 -1
- package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/policyStates.d.ts +33 -9
- package/dist-esm/src/operationsInterfaces/policyStates.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts +13 -5
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts.map +1 -1
- package/dist-esm/src/policyInsightsClient.d.ts.map +1 -1
- package/dist-esm/src/policyInsightsClient.js +3 -2
- package/dist-esm/src/policyInsightsClient.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-policyinsights.api.md +61 -20
- package/rollup.config.js +6 -72
- package/src/models/index.ts +57 -0
- package/src/models/mappers.ts +28 -0
- package/src/models/parameters.ts +12 -9
- package/src/operations/attestations.ts +12 -6
- package/src/operations/policyEvents.ts +192 -18
- package/src/operations/policyRestrictions.ts +44 -1
- package/src/operations/policyStates.ts +73 -10
- package/src/operations/policyTrackedResources.ts +99 -14
- package/src/operationsInterfaces/policyEvents.ts +25 -0
- package/src/operationsInterfaces/policyRestrictions.ts +15 -1
- package/src/operationsInterfaces/policyStates.ts +33 -0
- package/src/operationsInterfaces/policyTrackedResources.ts +13 -0
- package/src/policyInsightsClient.ts +3 -2
- package/tsconfig.json +2 -1
- package/types/arm-policyinsights.d.ts +132 -20
package/dist/index.js
CHANGED
|
@@ -6,6 +6,26 @@ var coreClient = require('@azure/core-client');
|
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
+
|
|
9
29
|
/*
|
|
10
30
|
* Copyright (c) Microsoft Corporation.
|
|
11
31
|
* Licensed under the MIT License.
|
|
@@ -13,22 +33,45 @@ var coreLro = require('@azure/core-lro');
|
|
|
13
33
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
34
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
35
|
*/
|
|
36
|
+
/** Known values of {@link PolicyTrackedResourcesResourceType} that the service accepts. */
|
|
37
|
+
exports.KnownPolicyTrackedResourcesResourceType = void 0;
|
|
38
|
+
(function (KnownPolicyTrackedResourcesResourceType) {
|
|
39
|
+
KnownPolicyTrackedResourcesResourceType["Default"] = "default";
|
|
40
|
+
})(exports.KnownPolicyTrackedResourcesResourceType || (exports.KnownPolicyTrackedResourcesResourceType = {}));
|
|
41
|
+
/** Known values of {@link ResourceDiscoveryMode} that the service accepts. */
|
|
42
|
+
exports.KnownResourceDiscoveryMode = void 0;
|
|
16
43
|
(function (KnownResourceDiscoveryMode) {
|
|
17
44
|
/** Remediate resources that are already known to be non-compliant. */
|
|
18
45
|
KnownResourceDiscoveryMode["ExistingNonCompliant"] = "ExistingNonCompliant";
|
|
19
46
|
/** Re-evaluate the compliance state of resources and then remediate the resources found to be non-compliant. */
|
|
20
47
|
KnownResourceDiscoveryMode["ReEvaluateCompliance"] = "ReEvaluateCompliance";
|
|
21
48
|
})(exports.KnownResourceDiscoveryMode || (exports.KnownResourceDiscoveryMode = {}));
|
|
49
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
50
|
+
exports.KnownCreatedByType = void 0;
|
|
22
51
|
(function (KnownCreatedByType) {
|
|
23
52
|
KnownCreatedByType["User"] = "User";
|
|
24
53
|
KnownCreatedByType["Application"] = "Application";
|
|
25
54
|
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
26
55
|
KnownCreatedByType["Key"] = "Key";
|
|
27
56
|
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
57
|
+
/** Known values of {@link PolicyEventsResourceType} that the service accepts. */
|
|
58
|
+
exports.KnownPolicyEventsResourceType = void 0;
|
|
59
|
+
(function (KnownPolicyEventsResourceType) {
|
|
60
|
+
KnownPolicyEventsResourceType["Default"] = "default";
|
|
61
|
+
})(exports.KnownPolicyEventsResourceType || (exports.KnownPolicyEventsResourceType = {}));
|
|
62
|
+
/** Known values of {@link PolicyStatesResource} that the service accepts. */
|
|
63
|
+
exports.KnownPolicyStatesResource = void 0;
|
|
28
64
|
(function (KnownPolicyStatesResource) {
|
|
29
65
|
KnownPolicyStatesResource["Default"] = "default";
|
|
30
66
|
KnownPolicyStatesResource["Latest"] = "latest";
|
|
31
67
|
})(exports.KnownPolicyStatesResource || (exports.KnownPolicyStatesResource = {}));
|
|
68
|
+
/** Known values of {@link PolicyStatesSummaryResourceType} that the service accepts. */
|
|
69
|
+
exports.KnownPolicyStatesSummaryResourceType = void 0;
|
|
70
|
+
(function (KnownPolicyStatesSummaryResourceType) {
|
|
71
|
+
KnownPolicyStatesSummaryResourceType["Latest"] = "latest";
|
|
72
|
+
})(exports.KnownPolicyStatesSummaryResourceType || (exports.KnownPolicyStatesSummaryResourceType = {}));
|
|
73
|
+
/** Known values of {@link FieldRestrictionResult} that the service accepts. */
|
|
74
|
+
exports.KnownFieldRestrictionResult = void 0;
|
|
32
75
|
(function (KnownFieldRestrictionResult) {
|
|
33
76
|
/** The field and/or values are required by policy. */
|
|
34
77
|
KnownFieldRestrictionResult["Required"] = "Required";
|
|
@@ -37,6 +80,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
37
80
|
/** The field and/or values will be denied by policy. */
|
|
38
81
|
KnownFieldRestrictionResult["Deny"] = "Deny";
|
|
39
82
|
})(exports.KnownFieldRestrictionResult || (exports.KnownFieldRestrictionResult = {}));
|
|
83
|
+
/** Known values of {@link ComplianceState} that the service accepts. */
|
|
84
|
+
exports.KnownComplianceState = void 0;
|
|
40
85
|
(function (KnownComplianceState) {
|
|
41
86
|
/** The resource is in compliance with the policy. */
|
|
42
87
|
KnownComplianceState["Compliant"] = "Compliant";
|
|
@@ -2304,6 +2349,33 @@ const PolicyEvaluationResult = {
|
|
|
2304
2349
|
}
|
|
2305
2350
|
}
|
|
2306
2351
|
};
|
|
2352
|
+
const CheckManagementGroupRestrictionsRequest = {
|
|
2353
|
+
type: {
|
|
2354
|
+
name: "Composite",
|
|
2355
|
+
className: "CheckManagementGroupRestrictionsRequest",
|
|
2356
|
+
modelProperties: {
|
|
2357
|
+
resourceDetails: {
|
|
2358
|
+
serializedName: "resourceDetails",
|
|
2359
|
+
type: {
|
|
2360
|
+
name: "Composite",
|
|
2361
|
+
className: "CheckRestrictionsResourceDetails"
|
|
2362
|
+
}
|
|
2363
|
+
},
|
|
2364
|
+
pendingFields: {
|
|
2365
|
+
serializedName: "pendingFields",
|
|
2366
|
+
type: {
|
|
2367
|
+
name: "Sequence",
|
|
2368
|
+
element: {
|
|
2369
|
+
type: {
|
|
2370
|
+
name: "Composite",
|
|
2371
|
+
className: "PendingField"
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
};
|
|
2307
2379
|
const AttestationListResult = {
|
|
2308
2380
|
type: {
|
|
2309
2381
|
name: "Composite",
|
|
@@ -2591,6 +2663,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
2591
2663
|
PolicyReference: PolicyReference,
|
|
2592
2664
|
CheckRestrictionsResultContentEvaluationResult: CheckRestrictionsResultContentEvaluationResult,
|
|
2593
2665
|
PolicyEvaluationResult: PolicyEvaluationResult,
|
|
2666
|
+
CheckManagementGroupRestrictionsRequest: CheckManagementGroupRestrictionsRequest,
|
|
2594
2667
|
AttestationListResult: AttestationListResult,
|
|
2595
2668
|
AttestationEvidence: AttestationEvidence,
|
|
2596
2669
|
Resource: Resource,
|
|
@@ -2653,9 +2726,8 @@ const managementGroupName = {
|
|
|
2653
2726
|
const policyTrackedResourcesResource = {
|
|
2654
2727
|
parameterPath: "policyTrackedResourcesResource",
|
|
2655
2728
|
mapper: {
|
|
2656
|
-
defaultValue: "default",
|
|
2657
|
-
isConstant: true,
|
|
2658
2729
|
serializedName: "policyTrackedResourcesResource",
|
|
2730
|
+
required: true,
|
|
2659
2731
|
type: {
|
|
2660
2732
|
name: "String"
|
|
2661
2733
|
}
|
|
@@ -2784,9 +2856,8 @@ const parameters = {
|
|
|
2784
2856
|
const policyEventsResource = {
|
|
2785
2857
|
parameterPath: "policyEventsResource",
|
|
2786
2858
|
mapper: {
|
|
2787
|
-
defaultValue: "default",
|
|
2788
|
-
isConstant: true,
|
|
2789
2859
|
serializedName: "policyEventsResource",
|
|
2860
|
+
required: true,
|
|
2790
2861
|
type: {
|
|
2791
2862
|
name: "String"
|
|
2792
2863
|
}
|
|
@@ -2822,7 +2893,7 @@ const select = {
|
|
|
2822
2893
|
}
|
|
2823
2894
|
};
|
|
2824
2895
|
const fromParam = {
|
|
2825
|
-
parameterPath: ["options", "queryOptions", "
|
|
2896
|
+
parameterPath: ["options", "queryOptions", "from"],
|
|
2826
2897
|
mapper: {
|
|
2827
2898
|
serializedName: "$from",
|
|
2828
2899
|
type: {
|
|
@@ -2930,9 +3001,8 @@ const policyStatesResource = {
|
|
|
2930
3001
|
const policyStatesSummaryResource = {
|
|
2931
3002
|
parameterPath: "policyStatesSummaryResource",
|
|
2932
3003
|
mapper: {
|
|
2933
|
-
defaultValue: "latest",
|
|
2934
|
-
isConstant: true,
|
|
2935
3004
|
serializedName: "policyStatesSummaryResource",
|
|
3005
|
+
required: true,
|
|
2936
3006
|
type: {
|
|
2937
3007
|
name: "String"
|
|
2938
3008
|
}
|
|
@@ -2956,7 +3026,7 @@ const parameters1 = {
|
|
|
2956
3026
|
const apiVersion3 = {
|
|
2957
3027
|
parameterPath: "apiVersion",
|
|
2958
3028
|
mapper: {
|
|
2959
|
-
defaultValue: "
|
|
3029
|
+
defaultValue: "2022-03-01",
|
|
2960
3030
|
isConstant: true,
|
|
2961
3031
|
serializedName: "api-version",
|
|
2962
3032
|
type: {
|
|
@@ -2978,6 +3048,10 @@ const resourceGroupName1 = {
|
|
|
2978
3048
|
}
|
|
2979
3049
|
}
|
|
2980
3050
|
};
|
|
3051
|
+
const parameters2 = {
|
|
3052
|
+
parameterPath: "parameters",
|
|
3053
|
+
mapper: CheckManagementGroupRestrictionsRequest
|
|
3054
|
+
};
|
|
2981
3055
|
const apiVersion4 = {
|
|
2982
3056
|
parameterPath: "apiVersion",
|
|
2983
3057
|
mapper: {
|
|
@@ -2989,7 +3063,7 @@ const apiVersion4 = {
|
|
|
2989
3063
|
}
|
|
2990
3064
|
}
|
|
2991
3065
|
};
|
|
2992
|
-
const
|
|
3066
|
+
const parameters3 = {
|
|
2993
3067
|
parameterPath: "parameters",
|
|
2994
3068
|
mapper: Attestation
|
|
2995
3069
|
};
|
|
@@ -3024,10 +3098,12 @@ class PolicyTrackedResourcesImpl {
|
|
|
3024
3098
|
/**
|
|
3025
3099
|
* Queries policy tracked resources under the management group.
|
|
3026
3100
|
* @param managementGroupName Management group name.
|
|
3101
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3102
|
+
* resource type; only "default" is allowed.
|
|
3027
3103
|
* @param options The options parameters.
|
|
3028
3104
|
*/
|
|
3029
|
-
listQueryResultsForManagementGroup(managementGroupName, options) {
|
|
3030
|
-
const iter = this.listQueryResultsForManagementGroupPagingAll(managementGroupName, options);
|
|
3105
|
+
listQueryResultsForManagementGroup(managementGroupName, policyTrackedResourcesResource, options) {
|
|
3106
|
+
const iter = this.listQueryResultsForManagementGroupPagingAll(managementGroupName, policyTrackedResourcesResource, options);
|
|
3031
3107
|
return {
|
|
3032
3108
|
next() {
|
|
3033
3109
|
return iter.next();
|
|
@@ -3036,27 +3112,27 @@ class PolicyTrackedResourcesImpl {
|
|
|
3036
3112
|
return this;
|
|
3037
3113
|
},
|
|
3038
3114
|
byPage: () => {
|
|
3039
|
-
return this.listQueryResultsForManagementGroupPagingPage(managementGroupName, options);
|
|
3115
|
+
return this.listQueryResultsForManagementGroupPagingPage(managementGroupName, policyTrackedResourcesResource, options);
|
|
3040
3116
|
}
|
|
3041
3117
|
};
|
|
3042
3118
|
}
|
|
3043
|
-
listQueryResultsForManagementGroupPagingPage(managementGroupName, options) {
|
|
3119
|
+
listQueryResultsForManagementGroupPagingPage(managementGroupName, policyTrackedResourcesResource, options) {
|
|
3044
3120
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingPage_1() {
|
|
3045
|
-
let result = yield tslib.__await(this._listQueryResultsForManagementGroup(managementGroupName, options));
|
|
3121
|
+
let result = yield tslib.__await(this._listQueryResultsForManagementGroup(managementGroupName, policyTrackedResourcesResource, options));
|
|
3046
3122
|
yield yield tslib.__await(result.value || []);
|
|
3047
3123
|
let continuationToken = result.nextLink;
|
|
3048
3124
|
while (continuationToken) {
|
|
3049
|
-
result = yield tslib.__await(this._listQueryResultsForManagementGroupNext(managementGroupName, continuationToken, options));
|
|
3125
|
+
result = yield tslib.__await(this._listQueryResultsForManagementGroupNext(managementGroupName, policyTrackedResourcesResource, continuationToken, options));
|
|
3050
3126
|
continuationToken = result.nextLink;
|
|
3051
3127
|
yield yield tslib.__await(result.value || []);
|
|
3052
3128
|
}
|
|
3053
3129
|
});
|
|
3054
3130
|
}
|
|
3055
|
-
listQueryResultsForManagementGroupPagingAll(managementGroupName, options) {
|
|
3131
|
+
listQueryResultsForManagementGroupPagingAll(managementGroupName, policyTrackedResourcesResource, options) {
|
|
3056
3132
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingAll_1() {
|
|
3057
3133
|
var e_1, _a;
|
|
3058
3134
|
try {
|
|
3059
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForManagementGroupPagingPage(managementGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3135
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForManagementGroupPagingPage(managementGroupName, policyTrackedResourcesResource, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3060
3136
|
const page = _c.value;
|
|
3061
3137
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3062
3138
|
}
|
|
@@ -3072,10 +3148,12 @@ class PolicyTrackedResourcesImpl {
|
|
|
3072
3148
|
}
|
|
3073
3149
|
/**
|
|
3074
3150
|
* Queries policy tracked resources under the subscription.
|
|
3151
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3152
|
+
* resource type; only "default" is allowed.
|
|
3075
3153
|
* @param options The options parameters.
|
|
3076
3154
|
*/
|
|
3077
|
-
listQueryResultsForSubscription(options) {
|
|
3078
|
-
const iter = this.listQueryResultsForSubscriptionPagingAll(options);
|
|
3155
|
+
listQueryResultsForSubscription(policyTrackedResourcesResource, options) {
|
|
3156
|
+
const iter = this.listQueryResultsForSubscriptionPagingAll(policyTrackedResourcesResource, options);
|
|
3079
3157
|
return {
|
|
3080
3158
|
next() {
|
|
3081
3159
|
return iter.next();
|
|
@@ -3084,27 +3162,27 @@ class PolicyTrackedResourcesImpl {
|
|
|
3084
3162
|
return this;
|
|
3085
3163
|
},
|
|
3086
3164
|
byPage: () => {
|
|
3087
|
-
return this.listQueryResultsForSubscriptionPagingPage(options);
|
|
3165
|
+
return this.listQueryResultsForSubscriptionPagingPage(policyTrackedResourcesResource, options);
|
|
3088
3166
|
}
|
|
3089
3167
|
};
|
|
3090
3168
|
}
|
|
3091
|
-
listQueryResultsForSubscriptionPagingPage(options) {
|
|
3169
|
+
listQueryResultsForSubscriptionPagingPage(policyTrackedResourcesResource, options) {
|
|
3092
3170
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingPage_1() {
|
|
3093
|
-
let result = yield tslib.__await(this._listQueryResultsForSubscription(options));
|
|
3171
|
+
let result = yield tslib.__await(this._listQueryResultsForSubscription(policyTrackedResourcesResource, options));
|
|
3094
3172
|
yield yield tslib.__await(result.value || []);
|
|
3095
3173
|
let continuationToken = result.nextLink;
|
|
3096
3174
|
while (continuationToken) {
|
|
3097
|
-
result = yield tslib.__await(this._listQueryResultsForSubscriptionNext(continuationToken, options));
|
|
3175
|
+
result = yield tslib.__await(this._listQueryResultsForSubscriptionNext(policyTrackedResourcesResource, continuationToken, options));
|
|
3098
3176
|
continuationToken = result.nextLink;
|
|
3099
3177
|
yield yield tslib.__await(result.value || []);
|
|
3100
3178
|
}
|
|
3101
3179
|
});
|
|
3102
3180
|
}
|
|
3103
|
-
listQueryResultsForSubscriptionPagingAll(options) {
|
|
3181
|
+
listQueryResultsForSubscriptionPagingAll(policyTrackedResourcesResource, options) {
|
|
3104
3182
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingAll_1() {
|
|
3105
3183
|
var e_2, _a;
|
|
3106
3184
|
try {
|
|
3107
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForSubscriptionPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3185
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForSubscriptionPagingPage(policyTrackedResourcesResource, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3108
3186
|
const page = _c.value;
|
|
3109
3187
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3110
3188
|
}
|
|
@@ -3121,10 +3199,12 @@ class PolicyTrackedResourcesImpl {
|
|
|
3121
3199
|
/**
|
|
3122
3200
|
* Queries policy tracked resources under the resource group.
|
|
3123
3201
|
* @param resourceGroupName Resource group name.
|
|
3202
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3203
|
+
* resource type; only "default" is allowed.
|
|
3124
3204
|
* @param options The options parameters.
|
|
3125
3205
|
*/
|
|
3126
|
-
listQueryResultsForResourceGroup(resourceGroupName, options) {
|
|
3127
|
-
const iter = this.listQueryResultsForResourceGroupPagingAll(resourceGroupName, options);
|
|
3206
|
+
listQueryResultsForResourceGroup(resourceGroupName, policyTrackedResourcesResource, options) {
|
|
3207
|
+
const iter = this.listQueryResultsForResourceGroupPagingAll(resourceGroupName, policyTrackedResourcesResource, options);
|
|
3128
3208
|
return {
|
|
3129
3209
|
next() {
|
|
3130
3210
|
return iter.next();
|
|
@@ -3133,27 +3213,27 @@ class PolicyTrackedResourcesImpl {
|
|
|
3133
3213
|
return this;
|
|
3134
3214
|
},
|
|
3135
3215
|
byPage: () => {
|
|
3136
|
-
return this.listQueryResultsForResourceGroupPagingPage(resourceGroupName, options);
|
|
3216
|
+
return this.listQueryResultsForResourceGroupPagingPage(resourceGroupName, policyTrackedResourcesResource, options);
|
|
3137
3217
|
}
|
|
3138
3218
|
};
|
|
3139
3219
|
}
|
|
3140
|
-
listQueryResultsForResourceGroupPagingPage(resourceGroupName, options) {
|
|
3220
|
+
listQueryResultsForResourceGroupPagingPage(resourceGroupName, policyTrackedResourcesResource, options) {
|
|
3141
3221
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingPage_1() {
|
|
3142
|
-
let result = yield tslib.__await(this._listQueryResultsForResourceGroup(resourceGroupName, options));
|
|
3222
|
+
let result = yield tslib.__await(this._listQueryResultsForResourceGroup(resourceGroupName, policyTrackedResourcesResource, options));
|
|
3143
3223
|
yield yield tslib.__await(result.value || []);
|
|
3144
3224
|
let continuationToken = result.nextLink;
|
|
3145
3225
|
while (continuationToken) {
|
|
3146
|
-
result = yield tslib.__await(this._listQueryResultsForResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
3226
|
+
result = yield tslib.__await(this._listQueryResultsForResourceGroupNext(resourceGroupName, policyTrackedResourcesResource, continuationToken, options));
|
|
3147
3227
|
continuationToken = result.nextLink;
|
|
3148
3228
|
yield yield tslib.__await(result.value || []);
|
|
3149
3229
|
}
|
|
3150
3230
|
});
|
|
3151
3231
|
}
|
|
3152
|
-
listQueryResultsForResourceGroupPagingAll(resourceGroupName, options) {
|
|
3232
|
+
listQueryResultsForResourceGroupPagingAll(resourceGroupName, policyTrackedResourcesResource, options) {
|
|
3153
3233
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingAll_1() {
|
|
3154
3234
|
var e_3, _a;
|
|
3155
3235
|
try {
|
|
3156
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3236
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourceGroupPagingPage(resourceGroupName, policyTrackedResourcesResource, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3157
3237
|
const page = _c.value;
|
|
3158
3238
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3159
3239
|
}
|
|
@@ -3170,10 +3250,12 @@ class PolicyTrackedResourcesImpl {
|
|
|
3170
3250
|
/**
|
|
3171
3251
|
* Queries policy tracked resources under the resource.
|
|
3172
3252
|
* @param resourceId Resource ID.
|
|
3253
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3254
|
+
* resource type; only "default" is allowed.
|
|
3173
3255
|
* @param options The options parameters.
|
|
3174
3256
|
*/
|
|
3175
|
-
listQueryResultsForResource(resourceId, options) {
|
|
3176
|
-
const iter = this.listQueryResultsForResourcePagingAll(resourceId, options);
|
|
3257
|
+
listQueryResultsForResource(resourceId, policyTrackedResourcesResource, options) {
|
|
3258
|
+
const iter = this.listQueryResultsForResourcePagingAll(resourceId, policyTrackedResourcesResource, options);
|
|
3177
3259
|
return {
|
|
3178
3260
|
next() {
|
|
3179
3261
|
return iter.next();
|
|
@@ -3182,27 +3264,27 @@ class PolicyTrackedResourcesImpl {
|
|
|
3182
3264
|
return this;
|
|
3183
3265
|
},
|
|
3184
3266
|
byPage: () => {
|
|
3185
|
-
return this.listQueryResultsForResourcePagingPage(resourceId, options);
|
|
3267
|
+
return this.listQueryResultsForResourcePagingPage(resourceId, policyTrackedResourcesResource, options);
|
|
3186
3268
|
}
|
|
3187
3269
|
};
|
|
3188
3270
|
}
|
|
3189
|
-
listQueryResultsForResourcePagingPage(resourceId, options) {
|
|
3271
|
+
listQueryResultsForResourcePagingPage(resourceId, policyTrackedResourcesResource, options) {
|
|
3190
3272
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingPage_1() {
|
|
3191
|
-
let result = yield tslib.__await(this._listQueryResultsForResource(resourceId, options));
|
|
3273
|
+
let result = yield tslib.__await(this._listQueryResultsForResource(resourceId, policyTrackedResourcesResource, options));
|
|
3192
3274
|
yield yield tslib.__await(result.value || []);
|
|
3193
3275
|
let continuationToken = result.nextLink;
|
|
3194
3276
|
while (continuationToken) {
|
|
3195
|
-
result = yield tslib.__await(this._listQueryResultsForResourceNext(resourceId, continuationToken, options));
|
|
3277
|
+
result = yield tslib.__await(this._listQueryResultsForResourceNext(resourceId, policyTrackedResourcesResource, continuationToken, options));
|
|
3196
3278
|
continuationToken = result.nextLink;
|
|
3197
3279
|
yield yield tslib.__await(result.value || []);
|
|
3198
3280
|
}
|
|
3199
3281
|
});
|
|
3200
3282
|
}
|
|
3201
|
-
listQueryResultsForResourcePagingAll(resourceId, options) {
|
|
3283
|
+
listQueryResultsForResourcePagingAll(resourceId, policyTrackedResourcesResource, options) {
|
|
3202
3284
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingAll_1() {
|
|
3203
3285
|
var e_4, _a;
|
|
3204
3286
|
try {
|
|
3205
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourcePagingPage(resourceId, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3287
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourcePagingPage(resourceId, policyTrackedResourcesResource, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
3206
3288
|
const page = _c.value;
|
|
3207
3289
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3208
3290
|
}
|
|
@@ -3219,77 +3301,98 @@ class PolicyTrackedResourcesImpl {
|
|
|
3219
3301
|
/**
|
|
3220
3302
|
* Queries policy tracked resources under the management group.
|
|
3221
3303
|
* @param managementGroupName Management group name.
|
|
3304
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3305
|
+
* resource type; only "default" is allowed.
|
|
3222
3306
|
* @param options The options parameters.
|
|
3223
3307
|
*/
|
|
3224
|
-
_listQueryResultsForManagementGroup(managementGroupName, options) {
|
|
3225
|
-
return this.client.sendOperationRequest({ managementGroupName, options }, listQueryResultsForManagementGroupOperationSpec);
|
|
3308
|
+
_listQueryResultsForManagementGroup(managementGroupName, policyTrackedResourcesResource, options) {
|
|
3309
|
+
return this.client.sendOperationRequest({ managementGroupName, policyTrackedResourcesResource, options }, listQueryResultsForManagementGroupOperationSpec$2);
|
|
3226
3310
|
}
|
|
3227
3311
|
/**
|
|
3228
3312
|
* Queries policy tracked resources under the subscription.
|
|
3313
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3314
|
+
* resource type; only "default" is allowed.
|
|
3229
3315
|
* @param options The options parameters.
|
|
3230
3316
|
*/
|
|
3231
|
-
_listQueryResultsForSubscription(options) {
|
|
3232
|
-
return this.client.sendOperationRequest({ options }, listQueryResultsForSubscriptionOperationSpec);
|
|
3317
|
+
_listQueryResultsForSubscription(policyTrackedResourcesResource, options) {
|
|
3318
|
+
return this.client.sendOperationRequest({ policyTrackedResourcesResource, options }, listQueryResultsForSubscriptionOperationSpec$2);
|
|
3233
3319
|
}
|
|
3234
3320
|
/**
|
|
3235
3321
|
* Queries policy tracked resources under the resource group.
|
|
3236
3322
|
* @param resourceGroupName Resource group name.
|
|
3323
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3324
|
+
* resource type; only "default" is allowed.
|
|
3237
3325
|
* @param options The options parameters.
|
|
3238
3326
|
*/
|
|
3239
|
-
_listQueryResultsForResourceGroup(resourceGroupName, options) {
|
|
3240
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec);
|
|
3327
|
+
_listQueryResultsForResourceGroup(resourceGroupName, policyTrackedResourcesResource, options) {
|
|
3328
|
+
return this.client.sendOperationRequest({ resourceGroupName, policyTrackedResourcesResource, options }, listQueryResultsForResourceGroupOperationSpec$2);
|
|
3241
3329
|
}
|
|
3242
3330
|
/**
|
|
3243
3331
|
* Queries policy tracked resources under the resource.
|
|
3244
3332
|
* @param resourceId Resource ID.
|
|
3333
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3334
|
+
* resource type; only "default" is allowed.
|
|
3245
3335
|
* @param options The options parameters.
|
|
3246
3336
|
*/
|
|
3247
|
-
_listQueryResultsForResource(resourceId, options) {
|
|
3248
|
-
return this.client.sendOperationRequest({ resourceId, options }, listQueryResultsForResourceOperationSpec);
|
|
3337
|
+
_listQueryResultsForResource(resourceId, policyTrackedResourcesResource, options) {
|
|
3338
|
+
return this.client.sendOperationRequest({ resourceId, policyTrackedResourcesResource, options }, listQueryResultsForResourceOperationSpec$2);
|
|
3249
3339
|
}
|
|
3250
3340
|
/**
|
|
3251
3341
|
* ListQueryResultsForManagementGroupNext
|
|
3252
3342
|
* @param managementGroupName Management group name.
|
|
3343
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3344
|
+
* resource type; only "default" is allowed.
|
|
3253
3345
|
* @param nextLink The nextLink from the previous successful call to the
|
|
3254
3346
|
* ListQueryResultsForManagementGroup method.
|
|
3255
3347
|
* @param options The options parameters.
|
|
3256
3348
|
*/
|
|
3257
|
-
_listQueryResultsForManagementGroupNext(managementGroupName, nextLink, options) {
|
|
3258
|
-
return this.client.sendOperationRequest({
|
|
3349
|
+
_listQueryResultsForManagementGroupNext(managementGroupName, policyTrackedResourcesResource, nextLink, options) {
|
|
3350
|
+
return this.client.sendOperationRequest({
|
|
3351
|
+
managementGroupName,
|
|
3352
|
+
policyTrackedResourcesResource,
|
|
3353
|
+
nextLink,
|
|
3354
|
+
options
|
|
3355
|
+
}, listQueryResultsForManagementGroupNextOperationSpec$2);
|
|
3259
3356
|
}
|
|
3260
3357
|
/**
|
|
3261
3358
|
* ListQueryResultsForSubscriptionNext
|
|
3359
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3360
|
+
* resource type; only "default" is allowed.
|
|
3262
3361
|
* @param nextLink The nextLink from the previous successful call to the
|
|
3263
3362
|
* ListQueryResultsForSubscription method.
|
|
3264
3363
|
* @param options The options parameters.
|
|
3265
3364
|
*/
|
|
3266
|
-
_listQueryResultsForSubscriptionNext(nextLink, options) {
|
|
3267
|
-
return this.client.sendOperationRequest({ nextLink, options }, listQueryResultsForSubscriptionNextOperationSpec);
|
|
3365
|
+
_listQueryResultsForSubscriptionNext(policyTrackedResourcesResource, nextLink, options) {
|
|
3366
|
+
return this.client.sendOperationRequest({ policyTrackedResourcesResource, nextLink, options }, listQueryResultsForSubscriptionNextOperationSpec$2);
|
|
3268
3367
|
}
|
|
3269
3368
|
/**
|
|
3270
3369
|
* ListQueryResultsForResourceGroupNext
|
|
3271
3370
|
* @param resourceGroupName Resource group name.
|
|
3371
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3372
|
+
* resource type; only "default" is allowed.
|
|
3272
3373
|
* @param nextLink The nextLink from the previous successful call to the
|
|
3273
3374
|
* ListQueryResultsForResourceGroup method.
|
|
3274
3375
|
* @param options The options parameters.
|
|
3275
3376
|
*/
|
|
3276
|
-
_listQueryResultsForResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
3277
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listQueryResultsForResourceGroupNextOperationSpec);
|
|
3377
|
+
_listQueryResultsForResourceGroupNext(resourceGroupName, policyTrackedResourcesResource, nextLink, options) {
|
|
3378
|
+
return this.client.sendOperationRequest({ resourceGroupName, policyTrackedResourcesResource, nextLink, options }, listQueryResultsForResourceGroupNextOperationSpec$2);
|
|
3278
3379
|
}
|
|
3279
3380
|
/**
|
|
3280
3381
|
* ListQueryResultsForResourceNext
|
|
3281
3382
|
* @param resourceId Resource ID.
|
|
3383
|
+
* @param policyTrackedResourcesResource The name of the virtual resource under PolicyTrackedResources
|
|
3384
|
+
* resource type; only "default" is allowed.
|
|
3282
3385
|
* @param nextLink The nextLink from the previous successful call to the ListQueryResultsForResource
|
|
3283
3386
|
* method.
|
|
3284
3387
|
* @param options The options parameters.
|
|
3285
3388
|
*/
|
|
3286
|
-
_listQueryResultsForResourceNext(resourceId, nextLink, options) {
|
|
3287
|
-
return this.client.sendOperationRequest({ resourceId, nextLink, options }, listQueryResultsForResourceNextOperationSpec);
|
|
3389
|
+
_listQueryResultsForResourceNext(resourceId, policyTrackedResourcesResource, nextLink, options) {
|
|
3390
|
+
return this.client.sendOperationRequest({ resourceId, policyTrackedResourcesResource, nextLink, options }, listQueryResultsForResourceNextOperationSpec$2);
|
|
3288
3391
|
}
|
|
3289
3392
|
}
|
|
3290
3393
|
// Operation Specifications
|
|
3291
|
-
const serializer =
|
|
3292
|
-
const listQueryResultsForManagementGroupOperationSpec = {
|
|
3394
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3395
|
+
const listQueryResultsForManagementGroupOperationSpec$2 = {
|
|
3293
3396
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults",
|
|
3294
3397
|
httpMethod: "POST",
|
|
3295
3398
|
responses: {
|
|
@@ -3308,9 +3411,9 @@ const listQueryResultsForManagementGroupOperationSpec = {
|
|
|
3308
3411
|
policyTrackedResourcesResource
|
|
3309
3412
|
],
|
|
3310
3413
|
headerParameters: [accept],
|
|
3311
|
-
serializer
|
|
3414
|
+
serializer: serializer$7
|
|
3312
3415
|
};
|
|
3313
|
-
const listQueryResultsForSubscriptionOperationSpec = {
|
|
3416
|
+
const listQueryResultsForSubscriptionOperationSpec$2 = {
|
|
3314
3417
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults",
|
|
3315
3418
|
httpMethod: "POST",
|
|
3316
3419
|
responses: {
|
|
@@ -3328,9 +3431,9 @@ const listQueryResultsForSubscriptionOperationSpec = {
|
|
|
3328
3431
|
subscriptionId
|
|
3329
3432
|
],
|
|
3330
3433
|
headerParameters: [accept],
|
|
3331
|
-
serializer
|
|
3434
|
+
serializer: serializer$7
|
|
3332
3435
|
};
|
|
3333
|
-
const listQueryResultsForResourceGroupOperationSpec = {
|
|
3436
|
+
const listQueryResultsForResourceGroupOperationSpec$2 = {
|
|
3334
3437
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults",
|
|
3335
3438
|
httpMethod: "POST",
|
|
3336
3439
|
responses: {
|
|
@@ -3349,9 +3452,9 @@ const listQueryResultsForResourceGroupOperationSpec = {
|
|
|
3349
3452
|
resourceGroupName
|
|
3350
3453
|
],
|
|
3351
3454
|
headerParameters: [accept],
|
|
3352
|
-
serializer
|
|
3455
|
+
serializer: serializer$7
|
|
3353
3456
|
};
|
|
3354
|
-
const listQueryResultsForResourceOperationSpec = {
|
|
3457
|
+
const listQueryResultsForResourceOperationSpec$2 = {
|
|
3355
3458
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyTrackedResources/{policyTrackedResourcesResource}/queryResults",
|
|
3356
3459
|
httpMethod: "POST",
|
|
3357
3460
|
responses: {
|
|
@@ -3369,9 +3472,9 @@ const listQueryResultsForResourceOperationSpec = {
|
|
|
3369
3472
|
resourceId
|
|
3370
3473
|
],
|
|
3371
3474
|
headerParameters: [accept],
|
|
3372
|
-
serializer
|
|
3475
|
+
serializer: serializer$7
|
|
3373
3476
|
};
|
|
3374
|
-
const listQueryResultsForManagementGroupNextOperationSpec = {
|
|
3477
|
+
const listQueryResultsForManagementGroupNextOperationSpec$2 = {
|
|
3375
3478
|
path: "{nextLink}",
|
|
3376
3479
|
httpMethod: "GET",
|
|
3377
3480
|
responses: {
|
|
@@ -3391,9 +3494,9 @@ const listQueryResultsForManagementGroupNextOperationSpec = {
|
|
|
3391
3494
|
nextLink
|
|
3392
3495
|
],
|
|
3393
3496
|
headerParameters: [accept],
|
|
3394
|
-
serializer
|
|
3497
|
+
serializer: serializer$7
|
|
3395
3498
|
};
|
|
3396
|
-
const listQueryResultsForSubscriptionNextOperationSpec = {
|
|
3499
|
+
const listQueryResultsForSubscriptionNextOperationSpec$2 = {
|
|
3397
3500
|
path: "{nextLink}",
|
|
3398
3501
|
httpMethod: "GET",
|
|
3399
3502
|
responses: {
|
|
@@ -3412,9 +3515,9 @@ const listQueryResultsForSubscriptionNextOperationSpec = {
|
|
|
3412
3515
|
nextLink
|
|
3413
3516
|
],
|
|
3414
3517
|
headerParameters: [accept],
|
|
3415
|
-
serializer
|
|
3518
|
+
serializer: serializer$7
|
|
3416
3519
|
};
|
|
3417
|
-
const listQueryResultsForResourceGroupNextOperationSpec = {
|
|
3520
|
+
const listQueryResultsForResourceGroupNextOperationSpec$2 = {
|
|
3418
3521
|
path: "{nextLink}",
|
|
3419
3522
|
httpMethod: "GET",
|
|
3420
3523
|
responses: {
|
|
@@ -3434,9 +3537,9 @@ const listQueryResultsForResourceGroupNextOperationSpec = {
|
|
|
3434
3537
|
nextLink
|
|
3435
3538
|
],
|
|
3436
3539
|
headerParameters: [accept],
|
|
3437
|
-
serializer
|
|
3540
|
+
serializer: serializer$7
|
|
3438
3541
|
};
|
|
3439
|
-
const listQueryResultsForResourceNextOperationSpec = {
|
|
3542
|
+
const listQueryResultsForResourceNextOperationSpec$2 = {
|
|
3440
3543
|
path: "{nextLink}",
|
|
3441
3544
|
httpMethod: "GET",
|
|
3442
3545
|
responses: {
|
|
@@ -3455,7 +3558,7 @@ const listQueryResultsForResourceNextOperationSpec = {
|
|
|
3455
3558
|
nextLink
|
|
3456
3559
|
],
|
|
3457
3560
|
headerParameters: [accept],
|
|
3458
|
-
serializer
|
|
3561
|
+
serializer: serializer$7
|
|
3459
3562
|
};
|
|
3460
3563
|
|
|
3461
3564
|
/*
|
|
@@ -3944,7 +4047,7 @@ class RemediationsImpl {
|
|
|
3944
4047
|
* @param options The options parameters.
|
|
3945
4048
|
*/
|
|
3946
4049
|
_listForSubscription(options) {
|
|
3947
|
-
return this.client.sendOperationRequest({ options }, listForSubscriptionOperationSpec);
|
|
4050
|
+
return this.client.sendOperationRequest({ options }, listForSubscriptionOperationSpec$1);
|
|
3948
4051
|
}
|
|
3949
4052
|
/**
|
|
3950
4053
|
* Creates or updates a remediation at subscription scope.
|
|
@@ -3953,7 +4056,7 @@ class RemediationsImpl {
|
|
|
3953
4056
|
* @param options The options parameters.
|
|
3954
4057
|
*/
|
|
3955
4058
|
createOrUpdateAtSubscription(remediationName, parameters, options) {
|
|
3956
|
-
return this.client.sendOperationRequest({ remediationName, parameters, options }, createOrUpdateAtSubscriptionOperationSpec);
|
|
4059
|
+
return this.client.sendOperationRequest({ remediationName, parameters, options }, createOrUpdateAtSubscriptionOperationSpec$1);
|
|
3957
4060
|
}
|
|
3958
4061
|
/**
|
|
3959
4062
|
* Gets an existing remediation at subscription scope.
|
|
@@ -3961,7 +4064,7 @@ class RemediationsImpl {
|
|
|
3961
4064
|
* @param options The options parameters.
|
|
3962
4065
|
*/
|
|
3963
4066
|
getAtSubscription(remediationName, options) {
|
|
3964
|
-
return this.client.sendOperationRequest({ remediationName, options }, getAtSubscriptionOperationSpec);
|
|
4067
|
+
return this.client.sendOperationRequest({ remediationName, options }, getAtSubscriptionOperationSpec$1);
|
|
3965
4068
|
}
|
|
3966
4069
|
/**
|
|
3967
4070
|
* Deletes an existing remediation at subscription scope.
|
|
@@ -3969,7 +4072,7 @@ class RemediationsImpl {
|
|
|
3969
4072
|
* @param options The options parameters.
|
|
3970
4073
|
*/
|
|
3971
4074
|
deleteAtSubscription(remediationName, options) {
|
|
3972
|
-
return this.client.sendOperationRequest({ remediationName, options }, deleteAtSubscriptionOperationSpec);
|
|
4075
|
+
return this.client.sendOperationRequest({ remediationName, options }, deleteAtSubscriptionOperationSpec$1);
|
|
3973
4076
|
}
|
|
3974
4077
|
/**
|
|
3975
4078
|
* Gets all deployments for a remediation at resource group scope.
|
|
@@ -3995,7 +4098,7 @@ class RemediationsImpl {
|
|
|
3995
4098
|
* @param options The options parameters.
|
|
3996
4099
|
*/
|
|
3997
4100
|
_listForResourceGroup(resourceGroupName, options) {
|
|
3998
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listForResourceGroupOperationSpec);
|
|
4101
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listForResourceGroupOperationSpec$1);
|
|
3999
4102
|
}
|
|
4000
4103
|
/**
|
|
4001
4104
|
* Creates or updates a remediation at resource group scope.
|
|
@@ -4005,7 +4108,7 @@ class RemediationsImpl {
|
|
|
4005
4108
|
* @param options The options parameters.
|
|
4006
4109
|
*/
|
|
4007
4110
|
createOrUpdateAtResourceGroup(resourceGroupName, remediationName, parameters, options) {
|
|
4008
|
-
return this.client.sendOperationRequest({ resourceGroupName, remediationName, parameters, options }, createOrUpdateAtResourceGroupOperationSpec);
|
|
4111
|
+
return this.client.sendOperationRequest({ resourceGroupName, remediationName, parameters, options }, createOrUpdateAtResourceGroupOperationSpec$1);
|
|
4009
4112
|
}
|
|
4010
4113
|
/**
|
|
4011
4114
|
* Gets an existing remediation at resource group scope.
|
|
@@ -4014,7 +4117,7 @@ class RemediationsImpl {
|
|
|
4014
4117
|
* @param options The options parameters.
|
|
4015
4118
|
*/
|
|
4016
4119
|
getAtResourceGroup(resourceGroupName, remediationName, options) {
|
|
4017
|
-
return this.client.sendOperationRequest({ resourceGroupName, remediationName, options }, getAtResourceGroupOperationSpec);
|
|
4120
|
+
return this.client.sendOperationRequest({ resourceGroupName, remediationName, options }, getAtResourceGroupOperationSpec$1);
|
|
4018
4121
|
}
|
|
4019
4122
|
/**
|
|
4020
4123
|
* Deletes an existing remediation at resource group scope.
|
|
@@ -4023,7 +4126,7 @@ class RemediationsImpl {
|
|
|
4023
4126
|
* @param options The options parameters.
|
|
4024
4127
|
*/
|
|
4025
4128
|
deleteAtResourceGroup(resourceGroupName, remediationName, options) {
|
|
4026
|
-
return this.client.sendOperationRequest({ resourceGroupName, remediationName, options }, deleteAtResourceGroupOperationSpec);
|
|
4129
|
+
return this.client.sendOperationRequest({ resourceGroupName, remediationName, options }, deleteAtResourceGroupOperationSpec$1);
|
|
4027
4130
|
}
|
|
4028
4131
|
/**
|
|
4029
4132
|
* Gets all deployments for a remediation at resource scope.
|
|
@@ -4049,7 +4152,7 @@ class RemediationsImpl {
|
|
|
4049
4152
|
* @param options The options parameters.
|
|
4050
4153
|
*/
|
|
4051
4154
|
_listForResource(resourceId, options) {
|
|
4052
|
-
return this.client.sendOperationRequest({ resourceId, options }, listForResourceOperationSpec);
|
|
4155
|
+
return this.client.sendOperationRequest({ resourceId, options }, listForResourceOperationSpec$1);
|
|
4053
4156
|
}
|
|
4054
4157
|
/**
|
|
4055
4158
|
* Creates or updates a remediation at resource scope.
|
|
@@ -4059,7 +4162,7 @@ class RemediationsImpl {
|
|
|
4059
4162
|
* @param options The options parameters.
|
|
4060
4163
|
*/
|
|
4061
4164
|
createOrUpdateAtResource(resourceId, remediationName, parameters, options) {
|
|
4062
|
-
return this.client.sendOperationRequest({ resourceId, remediationName, parameters, options }, createOrUpdateAtResourceOperationSpec);
|
|
4165
|
+
return this.client.sendOperationRequest({ resourceId, remediationName, parameters, options }, createOrUpdateAtResourceOperationSpec$1);
|
|
4063
4166
|
}
|
|
4064
4167
|
/**
|
|
4065
4168
|
* Gets an existing remediation at resource scope.
|
|
@@ -4068,7 +4171,7 @@ class RemediationsImpl {
|
|
|
4068
4171
|
* @param options The options parameters.
|
|
4069
4172
|
*/
|
|
4070
4173
|
getAtResource(resourceId, remediationName, options) {
|
|
4071
|
-
return this.client.sendOperationRequest({ resourceId, remediationName, options }, getAtResourceOperationSpec);
|
|
4174
|
+
return this.client.sendOperationRequest({ resourceId, remediationName, options }, getAtResourceOperationSpec$1);
|
|
4072
4175
|
}
|
|
4073
4176
|
/**
|
|
4074
4177
|
* Deletes an existing remediation at individual resource scope.
|
|
@@ -4077,7 +4180,7 @@ class RemediationsImpl {
|
|
|
4077
4180
|
* @param options The options parameters.
|
|
4078
4181
|
*/
|
|
4079
4182
|
deleteAtResource(resourceId, remediationName, options) {
|
|
4080
|
-
return this.client.sendOperationRequest({ resourceId, remediationName, options }, deleteAtResourceOperationSpec);
|
|
4183
|
+
return this.client.sendOperationRequest({ resourceId, remediationName, options }, deleteAtResourceOperationSpec$1);
|
|
4081
4184
|
}
|
|
4082
4185
|
/**
|
|
4083
4186
|
* ListDeploymentsAtManagementGroupNext
|
|
@@ -4115,7 +4218,7 @@ class RemediationsImpl {
|
|
|
4115
4218
|
* @param options The options parameters.
|
|
4116
4219
|
*/
|
|
4117
4220
|
_listForSubscriptionNext(nextLink, options) {
|
|
4118
|
-
return this.client.sendOperationRequest({ nextLink, options }, listForSubscriptionNextOperationSpec);
|
|
4221
|
+
return this.client.sendOperationRequest({ nextLink, options }, listForSubscriptionNextOperationSpec$1);
|
|
4119
4222
|
}
|
|
4120
4223
|
/**
|
|
4121
4224
|
* ListDeploymentsAtResourceGroupNext
|
|
@@ -4135,7 +4238,7 @@ class RemediationsImpl {
|
|
|
4135
4238
|
* @param options The options parameters.
|
|
4136
4239
|
*/
|
|
4137
4240
|
_listForResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
4138
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listForResourceGroupNextOperationSpec);
|
|
4241
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listForResourceGroupNextOperationSpec$1);
|
|
4139
4242
|
}
|
|
4140
4243
|
/**
|
|
4141
4244
|
* ListDeploymentsAtResourceNext
|
|
@@ -4155,11 +4258,11 @@ class RemediationsImpl {
|
|
|
4155
4258
|
* @param options The options parameters.
|
|
4156
4259
|
*/
|
|
4157
4260
|
_listForResourceNext(resourceId, nextLink, options) {
|
|
4158
|
-
return this.client.sendOperationRequest({ resourceId, nextLink, options }, listForResourceNextOperationSpec);
|
|
4261
|
+
return this.client.sendOperationRequest({ resourceId, nextLink, options }, listForResourceNextOperationSpec$1);
|
|
4159
4262
|
}
|
|
4160
4263
|
}
|
|
4161
4264
|
// Operation Specifications
|
|
4162
|
-
const serializer$
|
|
4265
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4163
4266
|
const listDeploymentsAtManagementGroupOperationSpec = {
|
|
4164
4267
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments",
|
|
4165
4268
|
httpMethod: "POST",
|
|
@@ -4179,7 +4282,7 @@ const listDeploymentsAtManagementGroupOperationSpec = {
|
|
|
4179
4282
|
remediationName
|
|
4180
4283
|
],
|
|
4181
4284
|
headerParameters: [accept],
|
|
4182
|
-
serializer: serializer$
|
|
4285
|
+
serializer: serializer$6
|
|
4183
4286
|
};
|
|
4184
4287
|
const cancelAtManagementGroupOperationSpec = {
|
|
4185
4288
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel",
|
|
@@ -4200,7 +4303,7 @@ const cancelAtManagementGroupOperationSpec = {
|
|
|
4200
4303
|
remediationName
|
|
4201
4304
|
],
|
|
4202
4305
|
headerParameters: [accept],
|
|
4203
|
-
serializer: serializer$
|
|
4306
|
+
serializer: serializer$6
|
|
4204
4307
|
};
|
|
4205
4308
|
const listForManagementGroupOperationSpec = {
|
|
4206
4309
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations",
|
|
@@ -4220,7 +4323,7 @@ const listForManagementGroupOperationSpec = {
|
|
|
4220
4323
|
managementGroupId
|
|
4221
4324
|
],
|
|
4222
4325
|
headerParameters: [accept],
|
|
4223
|
-
serializer: serializer$
|
|
4326
|
+
serializer: serializer$6
|
|
4224
4327
|
};
|
|
4225
4328
|
const createOrUpdateAtManagementGroupOperationSpec = {
|
|
4226
4329
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4246,7 +4349,7 @@ const createOrUpdateAtManagementGroupOperationSpec = {
|
|
|
4246
4349
|
],
|
|
4247
4350
|
headerParameters: [accept, contentType],
|
|
4248
4351
|
mediaType: "json",
|
|
4249
|
-
serializer: serializer$
|
|
4352
|
+
serializer: serializer$6
|
|
4250
4353
|
};
|
|
4251
4354
|
const getAtManagementGroupOperationSpec = {
|
|
4252
4355
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4267,7 +4370,7 @@ const getAtManagementGroupOperationSpec = {
|
|
|
4267
4370
|
remediationName
|
|
4268
4371
|
],
|
|
4269
4372
|
headerParameters: [accept],
|
|
4270
|
-
serializer: serializer$
|
|
4373
|
+
serializer: serializer$6
|
|
4271
4374
|
};
|
|
4272
4375
|
const deleteAtManagementGroupOperationSpec = {
|
|
4273
4376
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
@@ -4289,7 +4392,7 @@ const deleteAtManagementGroupOperationSpec = {
|
|
|
4289
4392
|
remediationName
|
|
4290
4393
|
],
|
|
4291
4394
|
headerParameters: [accept],
|
|
4292
|
-
serializer: serializer$
|
|
4395
|
+
serializer: serializer$6
|
|
4293
4396
|
};
|
|
4294
4397
|
const listDeploymentsAtSubscriptionOperationSpec = {
|
|
4295
4398
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments",
|
|
@@ -4309,7 +4412,7 @@ const listDeploymentsAtSubscriptionOperationSpec = {
|
|
|
4309
4412
|
remediationName
|
|
4310
4413
|
],
|
|
4311
4414
|
headerParameters: [accept],
|
|
4312
|
-
serializer: serializer$
|
|
4415
|
+
serializer: serializer$6
|
|
4313
4416
|
};
|
|
4314
4417
|
const cancelAtSubscriptionOperationSpec = {
|
|
4315
4418
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel",
|
|
@@ -4329,9 +4432,9 @@ const cancelAtSubscriptionOperationSpec = {
|
|
|
4329
4432
|
remediationName
|
|
4330
4433
|
],
|
|
4331
4434
|
headerParameters: [accept],
|
|
4332
|
-
serializer: serializer$
|
|
4435
|
+
serializer: serializer$6
|
|
4333
4436
|
};
|
|
4334
|
-
const listForSubscriptionOperationSpec = {
|
|
4437
|
+
const listForSubscriptionOperationSpec$1 = {
|
|
4335
4438
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations",
|
|
4336
4439
|
httpMethod: "GET",
|
|
4337
4440
|
responses: {
|
|
@@ -4345,9 +4448,9 @@ const listForSubscriptionOperationSpec = {
|
|
|
4345
4448
|
queryParameters: [top, filter, apiVersion1],
|
|
4346
4449
|
urlParameters: [$host, subscriptionId],
|
|
4347
4450
|
headerParameters: [accept],
|
|
4348
|
-
serializer: serializer$
|
|
4451
|
+
serializer: serializer$6
|
|
4349
4452
|
};
|
|
4350
|
-
const createOrUpdateAtSubscriptionOperationSpec = {
|
|
4453
|
+
const createOrUpdateAtSubscriptionOperationSpec$1 = {
|
|
4351
4454
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4352
4455
|
httpMethod: "PUT",
|
|
4353
4456
|
responses: {
|
|
@@ -4370,9 +4473,9 @@ const createOrUpdateAtSubscriptionOperationSpec = {
|
|
|
4370
4473
|
],
|
|
4371
4474
|
headerParameters: [accept, contentType],
|
|
4372
4475
|
mediaType: "json",
|
|
4373
|
-
serializer: serializer$
|
|
4476
|
+
serializer: serializer$6
|
|
4374
4477
|
};
|
|
4375
|
-
const getAtSubscriptionOperationSpec = {
|
|
4478
|
+
const getAtSubscriptionOperationSpec$1 = {
|
|
4376
4479
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4377
4480
|
httpMethod: "GET",
|
|
4378
4481
|
responses: {
|
|
@@ -4390,9 +4493,9 @@ const getAtSubscriptionOperationSpec = {
|
|
|
4390
4493
|
remediationName
|
|
4391
4494
|
],
|
|
4392
4495
|
headerParameters: [accept],
|
|
4393
|
-
serializer: serializer$
|
|
4496
|
+
serializer: serializer$6
|
|
4394
4497
|
};
|
|
4395
|
-
const deleteAtSubscriptionOperationSpec = {
|
|
4498
|
+
const deleteAtSubscriptionOperationSpec$1 = {
|
|
4396
4499
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4397
4500
|
httpMethod: "DELETE",
|
|
4398
4501
|
responses: {
|
|
@@ -4411,7 +4514,7 @@ const deleteAtSubscriptionOperationSpec = {
|
|
|
4411
4514
|
remediationName
|
|
4412
4515
|
],
|
|
4413
4516
|
headerParameters: [accept],
|
|
4414
|
-
serializer: serializer$
|
|
4517
|
+
serializer: serializer$6
|
|
4415
4518
|
};
|
|
4416
4519
|
const listDeploymentsAtResourceGroupOperationSpec = {
|
|
4417
4520
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments",
|
|
@@ -4432,7 +4535,7 @@ const listDeploymentsAtResourceGroupOperationSpec = {
|
|
|
4432
4535
|
remediationName
|
|
4433
4536
|
],
|
|
4434
4537
|
headerParameters: [accept],
|
|
4435
|
-
serializer: serializer$
|
|
4538
|
+
serializer: serializer$6
|
|
4436
4539
|
};
|
|
4437
4540
|
const cancelAtResourceGroupOperationSpec = {
|
|
4438
4541
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel",
|
|
@@ -4453,9 +4556,9 @@ const cancelAtResourceGroupOperationSpec = {
|
|
|
4453
4556
|
remediationName
|
|
4454
4557
|
],
|
|
4455
4558
|
headerParameters: [accept],
|
|
4456
|
-
serializer: serializer$
|
|
4559
|
+
serializer: serializer$6
|
|
4457
4560
|
};
|
|
4458
|
-
const listForResourceGroupOperationSpec = {
|
|
4561
|
+
const listForResourceGroupOperationSpec$1 = {
|
|
4459
4562
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations",
|
|
4460
4563
|
httpMethod: "GET",
|
|
4461
4564
|
responses: {
|
|
@@ -4473,9 +4576,9 @@ const listForResourceGroupOperationSpec = {
|
|
|
4473
4576
|
resourceGroupName
|
|
4474
4577
|
],
|
|
4475
4578
|
headerParameters: [accept],
|
|
4476
|
-
serializer: serializer$
|
|
4579
|
+
serializer: serializer$6
|
|
4477
4580
|
};
|
|
4478
|
-
const createOrUpdateAtResourceGroupOperationSpec = {
|
|
4581
|
+
const createOrUpdateAtResourceGroupOperationSpec$1 = {
|
|
4479
4582
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4480
4583
|
httpMethod: "PUT",
|
|
4481
4584
|
responses: {
|
|
@@ -4499,9 +4602,9 @@ const createOrUpdateAtResourceGroupOperationSpec = {
|
|
|
4499
4602
|
],
|
|
4500
4603
|
headerParameters: [accept, contentType],
|
|
4501
4604
|
mediaType: "json",
|
|
4502
|
-
serializer: serializer$
|
|
4605
|
+
serializer: serializer$6
|
|
4503
4606
|
};
|
|
4504
|
-
const getAtResourceGroupOperationSpec = {
|
|
4607
|
+
const getAtResourceGroupOperationSpec$1 = {
|
|
4505
4608
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4506
4609
|
httpMethod: "GET",
|
|
4507
4610
|
responses: {
|
|
@@ -4520,9 +4623,9 @@ const getAtResourceGroupOperationSpec = {
|
|
|
4520
4623
|
remediationName
|
|
4521
4624
|
],
|
|
4522
4625
|
headerParameters: [accept],
|
|
4523
|
-
serializer: serializer$
|
|
4626
|
+
serializer: serializer$6
|
|
4524
4627
|
};
|
|
4525
|
-
const deleteAtResourceGroupOperationSpec = {
|
|
4628
|
+
const deleteAtResourceGroupOperationSpec$1 = {
|
|
4526
4629
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4527
4630
|
httpMethod: "DELETE",
|
|
4528
4631
|
responses: {
|
|
@@ -4542,7 +4645,7 @@ const deleteAtResourceGroupOperationSpec = {
|
|
|
4542
4645
|
remediationName
|
|
4543
4646
|
],
|
|
4544
4647
|
headerParameters: [accept],
|
|
4545
|
-
serializer: serializer$
|
|
4648
|
+
serializer: serializer$6
|
|
4546
4649
|
};
|
|
4547
4650
|
const listDeploymentsAtResourceOperationSpec = {
|
|
4548
4651
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/listDeployments",
|
|
@@ -4562,7 +4665,7 @@ const listDeploymentsAtResourceOperationSpec = {
|
|
|
4562
4665
|
remediationName
|
|
4563
4666
|
],
|
|
4564
4667
|
headerParameters: [accept],
|
|
4565
|
-
serializer: serializer$
|
|
4668
|
+
serializer: serializer$6
|
|
4566
4669
|
};
|
|
4567
4670
|
const cancelAtResourceOperationSpec = {
|
|
4568
4671
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}/cancel",
|
|
@@ -4582,9 +4685,9 @@ const cancelAtResourceOperationSpec = {
|
|
|
4582
4685
|
remediationName
|
|
4583
4686
|
],
|
|
4584
4687
|
headerParameters: [accept],
|
|
4585
|
-
serializer: serializer$
|
|
4688
|
+
serializer: serializer$6
|
|
4586
4689
|
};
|
|
4587
|
-
const listForResourceOperationSpec = {
|
|
4690
|
+
const listForResourceOperationSpec$1 = {
|
|
4588
4691
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations",
|
|
4589
4692
|
httpMethod: "GET",
|
|
4590
4693
|
responses: {
|
|
@@ -4598,9 +4701,9 @@ const listForResourceOperationSpec = {
|
|
|
4598
4701
|
queryParameters: [top, filter, apiVersion1],
|
|
4599
4702
|
urlParameters: [$host, resourceId],
|
|
4600
4703
|
headerParameters: [accept],
|
|
4601
|
-
serializer: serializer$
|
|
4704
|
+
serializer: serializer$6
|
|
4602
4705
|
};
|
|
4603
|
-
const createOrUpdateAtResourceOperationSpec = {
|
|
4706
|
+
const createOrUpdateAtResourceOperationSpec$1 = {
|
|
4604
4707
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4605
4708
|
httpMethod: "PUT",
|
|
4606
4709
|
responses: {
|
|
@@ -4623,9 +4726,9 @@ const createOrUpdateAtResourceOperationSpec = {
|
|
|
4623
4726
|
],
|
|
4624
4727
|
headerParameters: [accept, contentType],
|
|
4625
4728
|
mediaType: "json",
|
|
4626
|
-
serializer: serializer$
|
|
4729
|
+
serializer: serializer$6
|
|
4627
4730
|
};
|
|
4628
|
-
const getAtResourceOperationSpec = {
|
|
4731
|
+
const getAtResourceOperationSpec$1 = {
|
|
4629
4732
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4630
4733
|
httpMethod: "GET",
|
|
4631
4734
|
responses: {
|
|
@@ -4643,9 +4746,9 @@ const getAtResourceOperationSpec = {
|
|
|
4643
4746
|
remediationName
|
|
4644
4747
|
],
|
|
4645
4748
|
headerParameters: [accept],
|
|
4646
|
-
serializer: serializer$
|
|
4749
|
+
serializer: serializer$6
|
|
4647
4750
|
};
|
|
4648
|
-
const deleteAtResourceOperationSpec = {
|
|
4751
|
+
const deleteAtResourceOperationSpec$1 = {
|
|
4649
4752
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName}",
|
|
4650
4753
|
httpMethod: "DELETE",
|
|
4651
4754
|
responses: {
|
|
@@ -4664,7 +4767,7 @@ const deleteAtResourceOperationSpec = {
|
|
|
4664
4767
|
remediationName
|
|
4665
4768
|
],
|
|
4666
4769
|
headerParameters: [accept],
|
|
4667
|
-
serializer: serializer$
|
|
4770
|
+
serializer: serializer$6
|
|
4668
4771
|
};
|
|
4669
4772
|
const listDeploymentsAtManagementGroupNextOperationSpec = {
|
|
4670
4773
|
path: "{nextLink}",
|
|
@@ -4686,7 +4789,7 @@ const listDeploymentsAtManagementGroupNextOperationSpec = {
|
|
|
4686
4789
|
remediationName
|
|
4687
4790
|
],
|
|
4688
4791
|
headerParameters: [accept],
|
|
4689
|
-
serializer: serializer$
|
|
4792
|
+
serializer: serializer$6
|
|
4690
4793
|
};
|
|
4691
4794
|
const listForManagementGroupNextOperationSpec = {
|
|
4692
4795
|
path: "{nextLink}",
|
|
@@ -4707,7 +4810,7 @@ const listForManagementGroupNextOperationSpec = {
|
|
|
4707
4810
|
managementGroupId
|
|
4708
4811
|
],
|
|
4709
4812
|
headerParameters: [accept],
|
|
4710
|
-
serializer: serializer$
|
|
4813
|
+
serializer: serializer$6
|
|
4711
4814
|
};
|
|
4712
4815
|
const listDeploymentsAtSubscriptionNextOperationSpec = {
|
|
4713
4816
|
path: "{nextLink}",
|
|
@@ -4728,9 +4831,9 @@ const listDeploymentsAtSubscriptionNextOperationSpec = {
|
|
|
4728
4831
|
remediationName
|
|
4729
4832
|
],
|
|
4730
4833
|
headerParameters: [accept],
|
|
4731
|
-
serializer: serializer$
|
|
4834
|
+
serializer: serializer$6
|
|
4732
4835
|
};
|
|
4733
|
-
const listForSubscriptionNextOperationSpec = {
|
|
4836
|
+
const listForSubscriptionNextOperationSpec$1 = {
|
|
4734
4837
|
path: "{nextLink}",
|
|
4735
4838
|
httpMethod: "GET",
|
|
4736
4839
|
responses: {
|
|
@@ -4748,7 +4851,7 @@ const listForSubscriptionNextOperationSpec = {
|
|
|
4748
4851
|
nextLink
|
|
4749
4852
|
],
|
|
4750
4853
|
headerParameters: [accept],
|
|
4751
|
-
serializer: serializer$
|
|
4854
|
+
serializer: serializer$6
|
|
4752
4855
|
};
|
|
4753
4856
|
const listDeploymentsAtResourceGroupNextOperationSpec = {
|
|
4754
4857
|
path: "{nextLink}",
|
|
@@ -4770,9 +4873,9 @@ const listDeploymentsAtResourceGroupNextOperationSpec = {
|
|
|
4770
4873
|
remediationName
|
|
4771
4874
|
],
|
|
4772
4875
|
headerParameters: [accept],
|
|
4773
|
-
serializer: serializer$
|
|
4876
|
+
serializer: serializer$6
|
|
4774
4877
|
};
|
|
4775
|
-
const listForResourceGroupNextOperationSpec = {
|
|
4878
|
+
const listForResourceGroupNextOperationSpec$1 = {
|
|
4776
4879
|
path: "{nextLink}",
|
|
4777
4880
|
httpMethod: "GET",
|
|
4778
4881
|
responses: {
|
|
@@ -4791,7 +4894,7 @@ const listForResourceGroupNextOperationSpec = {
|
|
|
4791
4894
|
nextLink
|
|
4792
4895
|
],
|
|
4793
4896
|
headerParameters: [accept],
|
|
4794
|
-
serializer: serializer$
|
|
4897
|
+
serializer: serializer$6
|
|
4795
4898
|
};
|
|
4796
4899
|
const listDeploymentsAtResourceNextOperationSpec = {
|
|
4797
4900
|
path: "{nextLink}",
|
|
@@ -4812,9 +4915,9 @@ const listDeploymentsAtResourceNextOperationSpec = {
|
|
|
4812
4915
|
remediationName
|
|
4813
4916
|
],
|
|
4814
4917
|
headerParameters: [accept],
|
|
4815
|
-
serializer: serializer$
|
|
4918
|
+
serializer: serializer$6
|
|
4816
4919
|
};
|
|
4817
|
-
const listForResourceNextOperationSpec = {
|
|
4920
|
+
const listForResourceNextOperationSpec$1 = {
|
|
4818
4921
|
path: "{nextLink}",
|
|
4819
4922
|
httpMethod: "GET",
|
|
4820
4923
|
responses: {
|
|
@@ -4828,7 +4931,7 @@ const listForResourceNextOperationSpec = {
|
|
|
4828
4931
|
queryParameters: [top, filter, apiVersion1],
|
|
4829
4932
|
urlParameters: [$host, resourceId, nextLink],
|
|
4830
4933
|
headerParameters: [accept],
|
|
4831
|
-
serializer: serializer$
|
|
4934
|
+
serializer: serializer$6
|
|
4832
4935
|
};
|
|
4833
4936
|
|
|
4834
4937
|
/*
|
|
@@ -4850,11 +4953,13 @@ class PolicyEventsImpl {
|
|
|
4850
4953
|
}
|
|
4851
4954
|
/**
|
|
4852
4955
|
* Queries policy events for the resources under the management group.
|
|
4956
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
4957
|
+
* "default" is allowed.
|
|
4853
4958
|
* @param managementGroupName Management group name.
|
|
4854
4959
|
* @param options The options parameters.
|
|
4855
4960
|
*/
|
|
4856
|
-
listQueryResultsForManagementGroup(managementGroupName, options) {
|
|
4857
|
-
const iter = this.listQueryResultsForManagementGroupPagingAll(managementGroupName, options);
|
|
4961
|
+
listQueryResultsForManagementGroup(policyEventsResource, managementGroupName, options) {
|
|
4962
|
+
const iter = this.listQueryResultsForManagementGroupPagingAll(policyEventsResource, managementGroupName, options);
|
|
4858
4963
|
return {
|
|
4859
4964
|
next() {
|
|
4860
4965
|
return iter.next();
|
|
@@ -4863,27 +4968,27 @@ class PolicyEventsImpl {
|
|
|
4863
4968
|
return this;
|
|
4864
4969
|
},
|
|
4865
4970
|
byPage: () => {
|
|
4866
|
-
return this.listQueryResultsForManagementGroupPagingPage(managementGroupName, options);
|
|
4971
|
+
return this.listQueryResultsForManagementGroupPagingPage(policyEventsResource, managementGroupName, options);
|
|
4867
4972
|
}
|
|
4868
4973
|
};
|
|
4869
4974
|
}
|
|
4870
|
-
listQueryResultsForManagementGroupPagingPage(managementGroupName, options) {
|
|
4975
|
+
listQueryResultsForManagementGroupPagingPage(policyEventsResource, managementGroupName, options) {
|
|
4871
4976
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingPage_1() {
|
|
4872
|
-
let result = yield tslib.__await(this._listQueryResultsForManagementGroup(managementGroupName, options));
|
|
4977
|
+
let result = yield tslib.__await(this._listQueryResultsForManagementGroup(policyEventsResource, managementGroupName, options));
|
|
4873
4978
|
yield yield tslib.__await(result.value || []);
|
|
4874
4979
|
let continuationToken = result.odataNextLink;
|
|
4875
4980
|
while (continuationToken) {
|
|
4876
|
-
result = yield tslib.__await(this._listQueryResultsForManagementGroupNext(managementGroupName, continuationToken, options));
|
|
4981
|
+
result = yield tslib.__await(this._listQueryResultsForManagementGroupNext(policyEventsResource, managementGroupName, continuationToken, options));
|
|
4877
4982
|
continuationToken = result.odataNextLink;
|
|
4878
4983
|
yield yield tslib.__await(result.value || []);
|
|
4879
4984
|
}
|
|
4880
4985
|
});
|
|
4881
4986
|
}
|
|
4882
|
-
listQueryResultsForManagementGroupPagingAll(managementGroupName, options) {
|
|
4987
|
+
listQueryResultsForManagementGroupPagingAll(policyEventsResource, managementGroupName, options) {
|
|
4883
4988
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForManagementGroupPagingAll_1() {
|
|
4884
4989
|
var e_1, _a;
|
|
4885
4990
|
try {
|
|
4886
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForManagementGroupPagingPage(managementGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
4991
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForManagementGroupPagingPage(policyEventsResource, managementGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
4887
4992
|
const page = _c.value;
|
|
4888
4993
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4889
4994
|
}
|
|
@@ -4899,11 +5004,13 @@ class PolicyEventsImpl {
|
|
|
4899
5004
|
}
|
|
4900
5005
|
/**
|
|
4901
5006
|
* Queries policy events for the resources under the subscription.
|
|
5007
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5008
|
+
* "default" is allowed.
|
|
4902
5009
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
4903
5010
|
* @param options The options parameters.
|
|
4904
5011
|
*/
|
|
4905
|
-
listQueryResultsForSubscription(subscriptionId, options) {
|
|
4906
|
-
const iter = this.listQueryResultsForSubscriptionPagingAll(subscriptionId, options);
|
|
5012
|
+
listQueryResultsForSubscription(policyEventsResource, subscriptionId, options) {
|
|
5013
|
+
const iter = this.listQueryResultsForSubscriptionPagingAll(policyEventsResource, subscriptionId, options);
|
|
4907
5014
|
return {
|
|
4908
5015
|
next() {
|
|
4909
5016
|
return iter.next();
|
|
@@ -4912,27 +5019,27 @@ class PolicyEventsImpl {
|
|
|
4912
5019
|
return this;
|
|
4913
5020
|
},
|
|
4914
5021
|
byPage: () => {
|
|
4915
|
-
return this.listQueryResultsForSubscriptionPagingPage(subscriptionId, options);
|
|
5022
|
+
return this.listQueryResultsForSubscriptionPagingPage(policyEventsResource, subscriptionId, options);
|
|
4916
5023
|
}
|
|
4917
5024
|
};
|
|
4918
5025
|
}
|
|
4919
|
-
listQueryResultsForSubscriptionPagingPage(subscriptionId, options) {
|
|
5026
|
+
listQueryResultsForSubscriptionPagingPage(policyEventsResource, subscriptionId, options) {
|
|
4920
5027
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingPage_1() {
|
|
4921
|
-
let result = yield tslib.__await(this._listQueryResultsForSubscription(subscriptionId, options));
|
|
5028
|
+
let result = yield tslib.__await(this._listQueryResultsForSubscription(policyEventsResource, subscriptionId, options));
|
|
4922
5029
|
yield yield tslib.__await(result.value || []);
|
|
4923
5030
|
let continuationToken = result.odataNextLink;
|
|
4924
5031
|
while (continuationToken) {
|
|
4925
|
-
result = yield tslib.__await(this._listQueryResultsForSubscriptionNext(subscriptionId, continuationToken, options));
|
|
5032
|
+
result = yield tslib.__await(this._listQueryResultsForSubscriptionNext(policyEventsResource, subscriptionId, continuationToken, options));
|
|
4926
5033
|
continuationToken = result.odataNextLink;
|
|
4927
5034
|
yield yield tslib.__await(result.value || []);
|
|
4928
5035
|
}
|
|
4929
5036
|
});
|
|
4930
5037
|
}
|
|
4931
|
-
listQueryResultsForSubscriptionPagingAll(subscriptionId, options) {
|
|
5038
|
+
listQueryResultsForSubscriptionPagingAll(policyEventsResource, subscriptionId, options) {
|
|
4932
5039
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionPagingAll_1() {
|
|
4933
5040
|
var e_2, _a;
|
|
4934
5041
|
try {
|
|
4935
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForSubscriptionPagingPage(subscriptionId, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5042
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForSubscriptionPagingPage(policyEventsResource, subscriptionId, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
4936
5043
|
const page = _c.value;
|
|
4937
5044
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4938
5045
|
}
|
|
@@ -4948,12 +5055,14 @@ class PolicyEventsImpl {
|
|
|
4948
5055
|
}
|
|
4949
5056
|
/**
|
|
4950
5057
|
* Queries policy events for the resources under the resource group.
|
|
5058
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5059
|
+
* "default" is allowed.
|
|
4951
5060
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
4952
5061
|
* @param resourceGroupName Resource group name.
|
|
4953
5062
|
* @param options The options parameters.
|
|
4954
5063
|
*/
|
|
4955
|
-
listQueryResultsForResourceGroup(subscriptionId, resourceGroupName, options) {
|
|
4956
|
-
const iter = this.listQueryResultsForResourceGroupPagingAll(subscriptionId, resourceGroupName, options);
|
|
5064
|
+
listQueryResultsForResourceGroup(policyEventsResource, subscriptionId, resourceGroupName, options) {
|
|
5065
|
+
const iter = this.listQueryResultsForResourceGroupPagingAll(policyEventsResource, subscriptionId, resourceGroupName, options);
|
|
4957
5066
|
return {
|
|
4958
5067
|
next() {
|
|
4959
5068
|
return iter.next();
|
|
@@ -4962,27 +5071,27 @@ class PolicyEventsImpl {
|
|
|
4962
5071
|
return this;
|
|
4963
5072
|
},
|
|
4964
5073
|
byPage: () => {
|
|
4965
|
-
return this.listQueryResultsForResourceGroupPagingPage(subscriptionId, resourceGroupName, options);
|
|
5074
|
+
return this.listQueryResultsForResourceGroupPagingPage(policyEventsResource, subscriptionId, resourceGroupName, options);
|
|
4966
5075
|
}
|
|
4967
5076
|
};
|
|
4968
5077
|
}
|
|
4969
|
-
listQueryResultsForResourceGroupPagingPage(subscriptionId, resourceGroupName, options) {
|
|
5078
|
+
listQueryResultsForResourceGroupPagingPage(policyEventsResource, subscriptionId, resourceGroupName, options) {
|
|
4970
5079
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingPage_1() {
|
|
4971
|
-
let result = yield tslib.__await(this._listQueryResultsForResourceGroup(subscriptionId, resourceGroupName, options));
|
|
5080
|
+
let result = yield tslib.__await(this._listQueryResultsForResourceGroup(policyEventsResource, subscriptionId, resourceGroupName, options));
|
|
4972
5081
|
yield yield tslib.__await(result.value || []);
|
|
4973
5082
|
let continuationToken = result.odataNextLink;
|
|
4974
5083
|
while (continuationToken) {
|
|
4975
|
-
result = yield tslib.__await(this._listQueryResultsForResourceGroupNext(subscriptionId, resourceGroupName, continuationToken, options));
|
|
5084
|
+
result = yield tslib.__await(this._listQueryResultsForResourceGroupNext(policyEventsResource, subscriptionId, resourceGroupName, continuationToken, options));
|
|
4976
5085
|
continuationToken = result.odataNextLink;
|
|
4977
5086
|
yield yield tslib.__await(result.value || []);
|
|
4978
5087
|
}
|
|
4979
5088
|
});
|
|
4980
5089
|
}
|
|
4981
|
-
listQueryResultsForResourceGroupPagingAll(subscriptionId, resourceGroupName, options) {
|
|
5090
|
+
listQueryResultsForResourceGroupPagingAll(policyEventsResource, subscriptionId, resourceGroupName, options) {
|
|
4982
5091
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupPagingAll_1() {
|
|
4983
5092
|
var e_3, _a;
|
|
4984
5093
|
try {
|
|
4985
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourceGroupPagingPage(subscriptionId, resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5094
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourceGroupPagingPage(policyEventsResource, subscriptionId, resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
4986
5095
|
const page = _c.value;
|
|
4987
5096
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4988
5097
|
}
|
|
@@ -4998,11 +5107,13 @@ class PolicyEventsImpl {
|
|
|
4998
5107
|
}
|
|
4999
5108
|
/**
|
|
5000
5109
|
* Queries policy events for the resource.
|
|
5110
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5111
|
+
* "default" is allowed.
|
|
5001
5112
|
* @param resourceId Resource ID.
|
|
5002
5113
|
* @param options The options parameters.
|
|
5003
5114
|
*/
|
|
5004
|
-
listQueryResultsForResource(resourceId, options) {
|
|
5005
|
-
const iter = this.listQueryResultsForResourcePagingAll(resourceId, options);
|
|
5115
|
+
listQueryResultsForResource(policyEventsResource, resourceId, options) {
|
|
5116
|
+
const iter = this.listQueryResultsForResourcePagingAll(policyEventsResource, resourceId, options);
|
|
5006
5117
|
return {
|
|
5007
5118
|
next() {
|
|
5008
5119
|
return iter.next();
|
|
@@ -5011,27 +5122,27 @@ class PolicyEventsImpl {
|
|
|
5011
5122
|
return this;
|
|
5012
5123
|
},
|
|
5013
5124
|
byPage: () => {
|
|
5014
|
-
return this.listQueryResultsForResourcePagingPage(resourceId, options);
|
|
5125
|
+
return this.listQueryResultsForResourcePagingPage(policyEventsResource, resourceId, options);
|
|
5015
5126
|
}
|
|
5016
5127
|
};
|
|
5017
5128
|
}
|
|
5018
|
-
listQueryResultsForResourcePagingPage(resourceId, options) {
|
|
5129
|
+
listQueryResultsForResourcePagingPage(policyEventsResource, resourceId, options) {
|
|
5019
5130
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingPage_1() {
|
|
5020
|
-
let result = yield tslib.__await(this._listQueryResultsForResource(resourceId, options));
|
|
5131
|
+
let result = yield tslib.__await(this._listQueryResultsForResource(policyEventsResource, resourceId, options));
|
|
5021
5132
|
yield yield tslib.__await(result.value || []);
|
|
5022
5133
|
let continuationToken = result.odataNextLink;
|
|
5023
5134
|
while (continuationToken) {
|
|
5024
|
-
result = yield tslib.__await(this._listQueryResultsForResourceNext(resourceId, continuationToken, options));
|
|
5135
|
+
result = yield tslib.__await(this._listQueryResultsForResourceNext(policyEventsResource, resourceId, continuationToken, options));
|
|
5025
5136
|
continuationToken = result.odataNextLink;
|
|
5026
5137
|
yield yield tslib.__await(result.value || []);
|
|
5027
5138
|
}
|
|
5028
5139
|
});
|
|
5029
5140
|
}
|
|
5030
|
-
listQueryResultsForResourcePagingAll(resourceId, options) {
|
|
5141
|
+
listQueryResultsForResourcePagingAll(policyEventsResource, resourceId, options) {
|
|
5031
5142
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourcePagingAll_1() {
|
|
5032
5143
|
var e_4, _a;
|
|
5033
5144
|
try {
|
|
5034
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourcePagingPage(resourceId, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5145
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourcePagingPage(policyEventsResource, resourceId, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5035
5146
|
const page = _c.value;
|
|
5036
5147
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5037
5148
|
}
|
|
@@ -5047,12 +5158,14 @@ class PolicyEventsImpl {
|
|
|
5047
5158
|
}
|
|
5048
5159
|
/**
|
|
5049
5160
|
* Queries policy events for the subscription level policy set definition.
|
|
5161
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5162
|
+
* "default" is allowed.
|
|
5050
5163
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5051
5164
|
* @param policySetDefinitionName Policy set definition name.
|
|
5052
5165
|
* @param options The options parameters.
|
|
5053
5166
|
*/
|
|
5054
|
-
listQueryResultsForPolicySetDefinition(subscriptionId, policySetDefinitionName, options) {
|
|
5055
|
-
const iter = this.listQueryResultsForPolicySetDefinitionPagingAll(subscriptionId, policySetDefinitionName, options);
|
|
5167
|
+
listQueryResultsForPolicySetDefinition(policyEventsResource, subscriptionId, policySetDefinitionName, options) {
|
|
5168
|
+
const iter = this.listQueryResultsForPolicySetDefinitionPagingAll(policyEventsResource, subscriptionId, policySetDefinitionName, options);
|
|
5056
5169
|
return {
|
|
5057
5170
|
next() {
|
|
5058
5171
|
return iter.next();
|
|
@@ -5061,27 +5174,27 @@ class PolicyEventsImpl {
|
|
|
5061
5174
|
return this;
|
|
5062
5175
|
},
|
|
5063
5176
|
byPage: () => {
|
|
5064
|
-
return this.listQueryResultsForPolicySetDefinitionPagingPage(subscriptionId, policySetDefinitionName, options);
|
|
5177
|
+
return this.listQueryResultsForPolicySetDefinitionPagingPage(policyEventsResource, subscriptionId, policySetDefinitionName, options);
|
|
5065
5178
|
}
|
|
5066
5179
|
};
|
|
5067
5180
|
}
|
|
5068
|
-
listQueryResultsForPolicySetDefinitionPagingPage(subscriptionId, policySetDefinitionName, options) {
|
|
5181
|
+
listQueryResultsForPolicySetDefinitionPagingPage(policyEventsResource, subscriptionId, policySetDefinitionName, options) {
|
|
5069
5182
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForPolicySetDefinitionPagingPage_1() {
|
|
5070
|
-
let result = yield tslib.__await(this._listQueryResultsForPolicySetDefinition(subscriptionId, policySetDefinitionName, options));
|
|
5183
|
+
let result = yield tslib.__await(this._listQueryResultsForPolicySetDefinition(policyEventsResource, subscriptionId, policySetDefinitionName, options));
|
|
5071
5184
|
yield yield tslib.__await(result.value || []);
|
|
5072
5185
|
let continuationToken = result.odataNextLink;
|
|
5073
5186
|
while (continuationToken) {
|
|
5074
|
-
result = yield tslib.__await(this._listQueryResultsForPolicySetDefinitionNext(subscriptionId, policySetDefinitionName, continuationToken, options));
|
|
5187
|
+
result = yield tslib.__await(this._listQueryResultsForPolicySetDefinitionNext(policyEventsResource, subscriptionId, policySetDefinitionName, continuationToken, options));
|
|
5075
5188
|
continuationToken = result.odataNextLink;
|
|
5076
5189
|
yield yield tslib.__await(result.value || []);
|
|
5077
5190
|
}
|
|
5078
5191
|
});
|
|
5079
5192
|
}
|
|
5080
|
-
listQueryResultsForPolicySetDefinitionPagingAll(subscriptionId, policySetDefinitionName, options) {
|
|
5193
|
+
listQueryResultsForPolicySetDefinitionPagingAll(policyEventsResource, subscriptionId, policySetDefinitionName, options) {
|
|
5081
5194
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForPolicySetDefinitionPagingAll_1() {
|
|
5082
5195
|
var e_5, _a;
|
|
5083
5196
|
try {
|
|
5084
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForPolicySetDefinitionPagingPage(subscriptionId, policySetDefinitionName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5197
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForPolicySetDefinitionPagingPage(policyEventsResource, subscriptionId, policySetDefinitionName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5085
5198
|
const page = _c.value;
|
|
5086
5199
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5087
5200
|
}
|
|
@@ -5097,12 +5210,14 @@ class PolicyEventsImpl {
|
|
|
5097
5210
|
}
|
|
5098
5211
|
/**
|
|
5099
5212
|
* Queries policy events for the subscription level policy definition.
|
|
5213
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5214
|
+
* "default" is allowed.
|
|
5100
5215
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5101
5216
|
* @param policyDefinitionName Policy definition name.
|
|
5102
5217
|
* @param options The options parameters.
|
|
5103
5218
|
*/
|
|
5104
|
-
listQueryResultsForPolicyDefinition(subscriptionId, policyDefinitionName, options) {
|
|
5105
|
-
const iter = this.listQueryResultsForPolicyDefinitionPagingAll(subscriptionId, policyDefinitionName, options);
|
|
5219
|
+
listQueryResultsForPolicyDefinition(policyEventsResource, subscriptionId, policyDefinitionName, options) {
|
|
5220
|
+
const iter = this.listQueryResultsForPolicyDefinitionPagingAll(policyEventsResource, subscriptionId, policyDefinitionName, options);
|
|
5106
5221
|
return {
|
|
5107
5222
|
next() {
|
|
5108
5223
|
return iter.next();
|
|
@@ -5111,27 +5226,27 @@ class PolicyEventsImpl {
|
|
|
5111
5226
|
return this;
|
|
5112
5227
|
},
|
|
5113
5228
|
byPage: () => {
|
|
5114
|
-
return this.listQueryResultsForPolicyDefinitionPagingPage(subscriptionId, policyDefinitionName, options);
|
|
5229
|
+
return this.listQueryResultsForPolicyDefinitionPagingPage(policyEventsResource, subscriptionId, policyDefinitionName, options);
|
|
5115
5230
|
}
|
|
5116
5231
|
};
|
|
5117
5232
|
}
|
|
5118
|
-
listQueryResultsForPolicyDefinitionPagingPage(subscriptionId, policyDefinitionName, options) {
|
|
5233
|
+
listQueryResultsForPolicyDefinitionPagingPage(policyEventsResource, subscriptionId, policyDefinitionName, options) {
|
|
5119
5234
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForPolicyDefinitionPagingPage_1() {
|
|
5120
|
-
let result = yield tslib.__await(this._listQueryResultsForPolicyDefinition(subscriptionId, policyDefinitionName, options));
|
|
5235
|
+
let result = yield tslib.__await(this._listQueryResultsForPolicyDefinition(policyEventsResource, subscriptionId, policyDefinitionName, options));
|
|
5121
5236
|
yield yield tslib.__await(result.value || []);
|
|
5122
5237
|
let continuationToken = result.odataNextLink;
|
|
5123
5238
|
while (continuationToken) {
|
|
5124
|
-
result = yield tslib.__await(this._listQueryResultsForPolicyDefinitionNext(subscriptionId, policyDefinitionName, continuationToken, options));
|
|
5239
|
+
result = yield tslib.__await(this._listQueryResultsForPolicyDefinitionNext(policyEventsResource, subscriptionId, policyDefinitionName, continuationToken, options));
|
|
5125
5240
|
continuationToken = result.odataNextLink;
|
|
5126
5241
|
yield yield tslib.__await(result.value || []);
|
|
5127
5242
|
}
|
|
5128
5243
|
});
|
|
5129
5244
|
}
|
|
5130
|
-
listQueryResultsForPolicyDefinitionPagingAll(subscriptionId, policyDefinitionName, options) {
|
|
5245
|
+
listQueryResultsForPolicyDefinitionPagingAll(policyEventsResource, subscriptionId, policyDefinitionName, options) {
|
|
5131
5246
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForPolicyDefinitionPagingAll_1() {
|
|
5132
5247
|
var e_6, _a;
|
|
5133
5248
|
try {
|
|
5134
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForPolicyDefinitionPagingPage(subscriptionId, policyDefinitionName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5249
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForPolicyDefinitionPagingPage(policyEventsResource, subscriptionId, policyDefinitionName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5135
5250
|
const page = _c.value;
|
|
5136
5251
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5137
5252
|
}
|
|
@@ -5147,12 +5262,14 @@ class PolicyEventsImpl {
|
|
|
5147
5262
|
}
|
|
5148
5263
|
/**
|
|
5149
5264
|
* Queries policy events for the subscription level policy assignment.
|
|
5265
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5266
|
+
* "default" is allowed.
|
|
5150
5267
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5151
5268
|
* @param policyAssignmentName Policy assignment name.
|
|
5152
5269
|
* @param options The options parameters.
|
|
5153
5270
|
*/
|
|
5154
|
-
listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId, policyAssignmentName, options) {
|
|
5155
|
-
const iter = this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll(subscriptionId, policyAssignmentName, options);
|
|
5271
|
+
listQueryResultsForSubscriptionLevelPolicyAssignment(policyEventsResource, subscriptionId, policyAssignmentName, options) {
|
|
5272
|
+
const iter = this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll(policyEventsResource, subscriptionId, policyAssignmentName, options);
|
|
5156
5273
|
return {
|
|
5157
5274
|
next() {
|
|
5158
5275
|
return iter.next();
|
|
@@ -5161,27 +5278,27 @@ class PolicyEventsImpl {
|
|
|
5161
5278
|
return this;
|
|
5162
5279
|
},
|
|
5163
5280
|
byPage: () => {
|
|
5164
|
-
return this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(subscriptionId, policyAssignmentName, options);
|
|
5281
|
+
return this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, policyAssignmentName, options);
|
|
5165
5282
|
}
|
|
5166
5283
|
};
|
|
5167
5284
|
}
|
|
5168
|
-
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(subscriptionId, policyAssignmentName, options) {
|
|
5285
|
+
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, policyAssignmentName, options) {
|
|
5169
5286
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage_1() {
|
|
5170
|
-
let result = yield tslib.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId, policyAssignmentName, options));
|
|
5287
|
+
let result = yield tslib.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignment(policyEventsResource, subscriptionId, policyAssignmentName, options));
|
|
5171
5288
|
yield yield tslib.__await(result.value || []);
|
|
5172
5289
|
let continuationToken = result.odataNextLink;
|
|
5173
5290
|
while (continuationToken) {
|
|
5174
|
-
result = yield tslib.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignmentNext(subscriptionId, policyAssignmentName, continuationToken, options));
|
|
5291
|
+
result = yield tslib.__await(this._listQueryResultsForSubscriptionLevelPolicyAssignmentNext(policyEventsResource, subscriptionId, policyAssignmentName, continuationToken, options));
|
|
5175
5292
|
continuationToken = result.odataNextLink;
|
|
5176
5293
|
yield yield tslib.__await(result.value || []);
|
|
5177
5294
|
}
|
|
5178
5295
|
});
|
|
5179
5296
|
}
|
|
5180
|
-
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll(subscriptionId, policyAssignmentName, options) {
|
|
5297
|
+
listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll(policyEventsResource, subscriptionId, policyAssignmentName, options) {
|
|
5181
5298
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForSubscriptionLevelPolicyAssignmentPagingAll_1() {
|
|
5182
5299
|
var e_7, _a;
|
|
5183
5300
|
try {
|
|
5184
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(subscriptionId, policyAssignmentName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5301
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForSubscriptionLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, policyAssignmentName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5185
5302
|
const page = _c.value;
|
|
5186
5303
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5187
5304
|
}
|
|
@@ -5197,13 +5314,15 @@ class PolicyEventsImpl {
|
|
|
5197
5314
|
}
|
|
5198
5315
|
/**
|
|
5199
5316
|
* Queries policy events for the resource group level policy assignment.
|
|
5317
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5318
|
+
* "default" is allowed.
|
|
5200
5319
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5201
5320
|
* @param resourceGroupName Resource group name.
|
|
5202
5321
|
* @param policyAssignmentName Policy assignment name.
|
|
5203
5322
|
* @param options The options parameters.
|
|
5204
5323
|
*/
|
|
5205
|
-
listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
5206
|
-
const iter = this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll(subscriptionId, resourceGroupName, policyAssignmentName, options);
|
|
5324
|
+
listQueryResultsForResourceGroupLevelPolicyAssignment(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
5325
|
+
const iter = this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options);
|
|
5207
5326
|
return {
|
|
5208
5327
|
next() {
|
|
5209
5328
|
return iter.next();
|
|
@@ -5212,27 +5331,27 @@ class PolicyEventsImpl {
|
|
|
5212
5331
|
return this;
|
|
5213
5332
|
},
|
|
5214
5333
|
byPage: () => {
|
|
5215
|
-
return this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(subscriptionId, resourceGroupName, policyAssignmentName, options);
|
|
5334
|
+
return this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options);
|
|
5216
5335
|
}
|
|
5217
5336
|
};
|
|
5218
5337
|
}
|
|
5219
|
-
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
5338
|
+
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
5220
5339
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage_1() {
|
|
5221
|
-
let result = yield tslib.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId, resourceGroupName, policyAssignmentName, options));
|
|
5340
|
+
let result = yield tslib.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignment(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options));
|
|
5222
5341
|
yield yield tslib.__await(result.value || []);
|
|
5223
5342
|
let continuationToken = result.odataNextLink;
|
|
5224
5343
|
while (continuationToken) {
|
|
5225
|
-
result = yield tslib.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignmentNext(subscriptionId, resourceGroupName, policyAssignmentName, continuationToken, options));
|
|
5344
|
+
result = yield tslib.__await(this._listQueryResultsForResourceGroupLevelPolicyAssignmentNext(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, continuationToken, options));
|
|
5226
5345
|
continuationToken = result.odataNextLink;
|
|
5227
5346
|
yield yield tslib.__await(result.value || []);
|
|
5228
5347
|
}
|
|
5229
5348
|
});
|
|
5230
5349
|
}
|
|
5231
|
-
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll(subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
5350
|
+
listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
5232
5351
|
return tslib.__asyncGenerator(this, arguments, function* listQueryResultsForResourceGroupLevelPolicyAssignmentPagingAll_1() {
|
|
5233
5352
|
var e_8, _a;
|
|
5234
5353
|
try {
|
|
5235
|
-
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(subscriptionId, resourceGroupName, policyAssignmentName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5354
|
+
for (var _b = tslib.__asyncValues(this.listQueryResultsForResourceGroupLevelPolicyAssignmentPagingPage(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
5236
5355
|
const page = _c.value;
|
|
5237
5356
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5238
5357
|
}
|
|
@@ -5248,150 +5367,217 @@ class PolicyEventsImpl {
|
|
|
5248
5367
|
}
|
|
5249
5368
|
/**
|
|
5250
5369
|
* Queries policy events for the resources under the management group.
|
|
5370
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5371
|
+
* "default" is allowed.
|
|
5251
5372
|
* @param managementGroupName Management group name.
|
|
5252
5373
|
* @param options The options parameters.
|
|
5253
5374
|
*/
|
|
5254
|
-
_listQueryResultsForManagementGroup(managementGroupName, options) {
|
|
5255
|
-
return this.client.sendOperationRequest({ managementGroupName, options }, listQueryResultsForManagementGroupOperationSpec$1);
|
|
5375
|
+
_listQueryResultsForManagementGroup(policyEventsResource, managementGroupName, options) {
|
|
5376
|
+
return this.client.sendOperationRequest({ policyEventsResource, managementGroupName, options }, listQueryResultsForManagementGroupOperationSpec$1);
|
|
5256
5377
|
}
|
|
5257
5378
|
/**
|
|
5258
5379
|
* Queries policy events for the resources under the subscription.
|
|
5380
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5381
|
+
* "default" is allowed.
|
|
5259
5382
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5260
5383
|
* @param options The options parameters.
|
|
5261
5384
|
*/
|
|
5262
|
-
_listQueryResultsForSubscription(subscriptionId, options) {
|
|
5263
|
-
return this.client.sendOperationRequest({ subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec$1);
|
|
5385
|
+
_listQueryResultsForSubscription(policyEventsResource, subscriptionId, options) {
|
|
5386
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec$1);
|
|
5264
5387
|
}
|
|
5265
5388
|
/**
|
|
5266
5389
|
* Queries policy events for the resources under the resource group.
|
|
5390
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5391
|
+
* "default" is allowed.
|
|
5267
5392
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5268
5393
|
* @param resourceGroupName Resource group name.
|
|
5269
5394
|
* @param options The options parameters.
|
|
5270
5395
|
*/
|
|
5271
|
-
_listQueryResultsForResourceGroup(subscriptionId, resourceGroupName, options) {
|
|
5272
|
-
return this.client.sendOperationRequest({ subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec$1);
|
|
5396
|
+
_listQueryResultsForResourceGroup(policyEventsResource, subscriptionId, resourceGroupName, options) {
|
|
5397
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec$1);
|
|
5273
5398
|
}
|
|
5274
5399
|
/**
|
|
5275
5400
|
* Queries policy events for the resource.
|
|
5401
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5402
|
+
* "default" is allowed.
|
|
5276
5403
|
* @param resourceId Resource ID.
|
|
5277
5404
|
* @param options The options parameters.
|
|
5278
5405
|
*/
|
|
5279
|
-
_listQueryResultsForResource(resourceId, options) {
|
|
5280
|
-
return this.client.sendOperationRequest({ resourceId, options }, listQueryResultsForResourceOperationSpec$1);
|
|
5406
|
+
_listQueryResultsForResource(policyEventsResource, resourceId, options) {
|
|
5407
|
+
return this.client.sendOperationRequest({ policyEventsResource, resourceId, options }, listQueryResultsForResourceOperationSpec$1);
|
|
5281
5408
|
}
|
|
5282
5409
|
/**
|
|
5283
5410
|
* Queries policy events for the subscription level policy set definition.
|
|
5411
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5412
|
+
* "default" is allowed.
|
|
5284
5413
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5285
5414
|
* @param policySetDefinitionName Policy set definition name.
|
|
5286
5415
|
* @param options The options parameters.
|
|
5287
5416
|
*/
|
|
5288
|
-
_listQueryResultsForPolicySetDefinition(subscriptionId, policySetDefinitionName, options) {
|
|
5289
|
-
return this.client.sendOperationRequest({
|
|
5417
|
+
_listQueryResultsForPolicySetDefinition(policyEventsResource, subscriptionId, policySetDefinitionName, options) {
|
|
5418
|
+
return this.client.sendOperationRequest({
|
|
5419
|
+
policyEventsResource,
|
|
5420
|
+
subscriptionId,
|
|
5421
|
+
policySetDefinitionName,
|
|
5422
|
+
options
|
|
5423
|
+
}, listQueryResultsForPolicySetDefinitionOperationSpec$1);
|
|
5290
5424
|
}
|
|
5291
5425
|
/**
|
|
5292
5426
|
* Queries policy events for the subscription level policy definition.
|
|
5427
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5428
|
+
* "default" is allowed.
|
|
5293
5429
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5294
5430
|
* @param policyDefinitionName Policy definition name.
|
|
5295
5431
|
* @param options The options parameters.
|
|
5296
5432
|
*/
|
|
5297
|
-
_listQueryResultsForPolicyDefinition(subscriptionId, policyDefinitionName, options) {
|
|
5298
|
-
return this.client.sendOperationRequest({ subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec);
|
|
5433
|
+
_listQueryResultsForPolicyDefinition(policyEventsResource, subscriptionId, policyDefinitionName, options) {
|
|
5434
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec$1);
|
|
5299
5435
|
}
|
|
5300
5436
|
/**
|
|
5301
5437
|
* Queries policy events for the subscription level policy assignment.
|
|
5438
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5439
|
+
* "default" is allowed.
|
|
5302
5440
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5303
5441
|
* @param policyAssignmentName Policy assignment name.
|
|
5304
5442
|
* @param options The options parameters.
|
|
5305
5443
|
*/
|
|
5306
|
-
_listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId, policyAssignmentName, options) {
|
|
5307
|
-
return this.client.sendOperationRequest({ subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec);
|
|
5444
|
+
_listQueryResultsForSubscriptionLevelPolicyAssignment(policyEventsResource, subscriptionId, policyAssignmentName, options) {
|
|
5445
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$1);
|
|
5308
5446
|
}
|
|
5309
5447
|
/**
|
|
5310
5448
|
* Queries policy events for the resource group level policy assignment.
|
|
5449
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5450
|
+
* "default" is allowed.
|
|
5311
5451
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5312
5452
|
* @param resourceGroupName Resource group name.
|
|
5313
5453
|
* @param policyAssignmentName Policy assignment name.
|
|
5314
5454
|
* @param options The options parameters.
|
|
5315
5455
|
*/
|
|
5316
|
-
_listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
5317
|
-
return this.client.sendOperationRequest({
|
|
5456
|
+
_listQueryResultsForResourceGroupLevelPolicyAssignment(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
5457
|
+
return this.client.sendOperationRequest({
|
|
5458
|
+
policyEventsResource,
|
|
5459
|
+
subscriptionId,
|
|
5460
|
+
resourceGroupName,
|
|
5461
|
+
policyAssignmentName,
|
|
5462
|
+
options
|
|
5463
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$1);
|
|
5318
5464
|
}
|
|
5319
5465
|
/**
|
|
5320
5466
|
* ListQueryResultsForManagementGroupNext
|
|
5467
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5468
|
+
* "default" is allowed.
|
|
5321
5469
|
* @param managementGroupName Management group name.
|
|
5322
5470
|
* @param nextLink The nextLink from the previous successful call to the
|
|
5323
5471
|
* ListQueryResultsForManagementGroup method.
|
|
5324
5472
|
* @param options The options parameters.
|
|
5325
5473
|
*/
|
|
5326
|
-
_listQueryResultsForManagementGroupNext(managementGroupName, nextLink, options) {
|
|
5327
|
-
return this.client.sendOperationRequest({ managementGroupName, nextLink, options }, listQueryResultsForManagementGroupNextOperationSpec$1);
|
|
5474
|
+
_listQueryResultsForManagementGroupNext(policyEventsResource, managementGroupName, nextLink, options) {
|
|
5475
|
+
return this.client.sendOperationRequest({ policyEventsResource, managementGroupName, nextLink, options }, listQueryResultsForManagementGroupNextOperationSpec$1);
|
|
5328
5476
|
}
|
|
5329
5477
|
/**
|
|
5330
5478
|
* ListQueryResultsForSubscriptionNext
|
|
5479
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5480
|
+
* "default" is allowed.
|
|
5331
5481
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5332
5482
|
* @param nextLink The nextLink from the previous successful call to the
|
|
5333
5483
|
* ListQueryResultsForSubscription method.
|
|
5334
5484
|
* @param options The options parameters.
|
|
5335
5485
|
*/
|
|
5336
|
-
_listQueryResultsForSubscriptionNext(subscriptionId, nextLink, options) {
|
|
5337
|
-
return this.client.sendOperationRequest({ subscriptionId, nextLink, options }, listQueryResultsForSubscriptionNextOperationSpec$1);
|
|
5486
|
+
_listQueryResultsForSubscriptionNext(policyEventsResource, subscriptionId, nextLink, options) {
|
|
5487
|
+
return this.client.sendOperationRequest({ policyEventsResource, subscriptionId, nextLink, options }, listQueryResultsForSubscriptionNextOperationSpec$1);
|
|
5338
5488
|
}
|
|
5339
5489
|
/**
|
|
5340
5490
|
* ListQueryResultsForResourceGroupNext
|
|
5491
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5492
|
+
* "default" is allowed.
|
|
5341
5493
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5342
5494
|
* @param resourceGroupName Resource group name.
|
|
5343
5495
|
* @param nextLink The nextLink from the previous successful call to the
|
|
5344
5496
|
* ListQueryResultsForResourceGroup method.
|
|
5345
5497
|
* @param options The options parameters.
|
|
5346
5498
|
*/
|
|
5347
|
-
_listQueryResultsForResourceGroupNext(subscriptionId, resourceGroupName, nextLink, options) {
|
|
5348
|
-
return this.client.sendOperationRequest({
|
|
5499
|
+
_listQueryResultsForResourceGroupNext(policyEventsResource, subscriptionId, resourceGroupName, nextLink, options) {
|
|
5500
|
+
return this.client.sendOperationRequest({
|
|
5501
|
+
policyEventsResource,
|
|
5502
|
+
subscriptionId,
|
|
5503
|
+
resourceGroupName,
|
|
5504
|
+
nextLink,
|
|
5505
|
+
options
|
|
5506
|
+
}, listQueryResultsForResourceGroupNextOperationSpec$1);
|
|
5349
5507
|
}
|
|
5350
5508
|
/**
|
|
5351
5509
|
* ListQueryResultsForResourceNext
|
|
5510
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5511
|
+
* "default" is allowed.
|
|
5352
5512
|
* @param resourceId Resource ID.
|
|
5353
5513
|
* @param nextLink The nextLink from the previous successful call to the ListQueryResultsForResource
|
|
5354
5514
|
* method.
|
|
5355
5515
|
* @param options The options parameters.
|
|
5356
5516
|
*/
|
|
5357
|
-
_listQueryResultsForResourceNext(resourceId, nextLink, options) {
|
|
5358
|
-
return this.client.sendOperationRequest({ resourceId, nextLink, options }, listQueryResultsForResourceNextOperationSpec$1);
|
|
5517
|
+
_listQueryResultsForResourceNext(policyEventsResource, resourceId, nextLink, options) {
|
|
5518
|
+
return this.client.sendOperationRequest({ policyEventsResource, resourceId, nextLink, options }, listQueryResultsForResourceNextOperationSpec$1);
|
|
5359
5519
|
}
|
|
5360
5520
|
/**
|
|
5361
5521
|
* ListQueryResultsForPolicySetDefinitionNext
|
|
5522
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5523
|
+
* "default" is allowed.
|
|
5362
5524
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5363
5525
|
* @param policySetDefinitionName Policy set definition name.
|
|
5364
5526
|
* @param nextLink The nextLink from the previous successful call to the
|
|
5365
5527
|
* ListQueryResultsForPolicySetDefinition method.
|
|
5366
5528
|
* @param options The options parameters.
|
|
5367
5529
|
*/
|
|
5368
|
-
_listQueryResultsForPolicySetDefinitionNext(subscriptionId, policySetDefinitionName, nextLink, options) {
|
|
5369
|
-
return this.client.sendOperationRequest({
|
|
5530
|
+
_listQueryResultsForPolicySetDefinitionNext(policyEventsResource, subscriptionId, policySetDefinitionName, nextLink, options) {
|
|
5531
|
+
return this.client.sendOperationRequest({
|
|
5532
|
+
policyEventsResource,
|
|
5533
|
+
subscriptionId,
|
|
5534
|
+
policySetDefinitionName,
|
|
5535
|
+
nextLink,
|
|
5536
|
+
options
|
|
5537
|
+
}, listQueryResultsForPolicySetDefinitionNextOperationSpec$1);
|
|
5370
5538
|
}
|
|
5371
5539
|
/**
|
|
5372
5540
|
* ListQueryResultsForPolicyDefinitionNext
|
|
5541
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5542
|
+
* "default" is allowed.
|
|
5373
5543
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5374
5544
|
* @param policyDefinitionName Policy definition name.
|
|
5375
5545
|
* @param nextLink The nextLink from the previous successful call to the
|
|
5376
5546
|
* ListQueryResultsForPolicyDefinition method.
|
|
5377
5547
|
* @param options The options parameters.
|
|
5378
5548
|
*/
|
|
5379
|
-
_listQueryResultsForPolicyDefinitionNext(subscriptionId, policyDefinitionName, nextLink, options) {
|
|
5380
|
-
return this.client.sendOperationRequest({
|
|
5549
|
+
_listQueryResultsForPolicyDefinitionNext(policyEventsResource, subscriptionId, policyDefinitionName, nextLink, options) {
|
|
5550
|
+
return this.client.sendOperationRequest({
|
|
5551
|
+
policyEventsResource,
|
|
5552
|
+
subscriptionId,
|
|
5553
|
+
policyDefinitionName,
|
|
5554
|
+
nextLink,
|
|
5555
|
+
options
|
|
5556
|
+
}, listQueryResultsForPolicyDefinitionNextOperationSpec$1);
|
|
5381
5557
|
}
|
|
5382
5558
|
/**
|
|
5383
5559
|
* ListQueryResultsForSubscriptionLevelPolicyAssignmentNext
|
|
5560
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5561
|
+
* "default" is allowed.
|
|
5384
5562
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5385
5563
|
* @param policyAssignmentName Policy assignment name.
|
|
5386
5564
|
* @param nextLink The nextLink from the previous successful call to the
|
|
5387
5565
|
* ListQueryResultsForSubscriptionLevelPolicyAssignment method.
|
|
5388
5566
|
* @param options The options parameters.
|
|
5389
5567
|
*/
|
|
5390
|
-
_listQueryResultsForSubscriptionLevelPolicyAssignmentNext(subscriptionId, policyAssignmentName, nextLink, options) {
|
|
5391
|
-
return this.client.sendOperationRequest({
|
|
5568
|
+
_listQueryResultsForSubscriptionLevelPolicyAssignmentNext(policyEventsResource, subscriptionId, policyAssignmentName, nextLink, options) {
|
|
5569
|
+
return this.client.sendOperationRequest({
|
|
5570
|
+
policyEventsResource,
|
|
5571
|
+
subscriptionId,
|
|
5572
|
+
policyAssignmentName,
|
|
5573
|
+
nextLink,
|
|
5574
|
+
options
|
|
5575
|
+
}, listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec$1);
|
|
5392
5576
|
}
|
|
5393
5577
|
/**
|
|
5394
5578
|
* ListQueryResultsForResourceGroupLevelPolicyAssignmentNext
|
|
5579
|
+
* @param policyEventsResource The name of the virtual resource under PolicyEvents resource type; only
|
|
5580
|
+
* "default" is allowed.
|
|
5395
5581
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
5396
5582
|
* @param resourceGroupName Resource group name.
|
|
5397
5583
|
* @param policyAssignmentName Policy assignment name.
|
|
@@ -5399,18 +5585,19 @@ class PolicyEventsImpl {
|
|
|
5399
5585
|
* ListQueryResultsForResourceGroupLevelPolicyAssignment method.
|
|
5400
5586
|
* @param options The options parameters.
|
|
5401
5587
|
*/
|
|
5402
|
-
_listQueryResultsForResourceGroupLevelPolicyAssignmentNext(subscriptionId, resourceGroupName, policyAssignmentName, nextLink, options) {
|
|
5588
|
+
_listQueryResultsForResourceGroupLevelPolicyAssignmentNext(policyEventsResource, subscriptionId, resourceGroupName, policyAssignmentName, nextLink, options) {
|
|
5403
5589
|
return this.client.sendOperationRequest({
|
|
5590
|
+
policyEventsResource,
|
|
5404
5591
|
subscriptionId,
|
|
5405
5592
|
resourceGroupName,
|
|
5406
5593
|
policyAssignmentName,
|
|
5407
5594
|
nextLink,
|
|
5408
5595
|
options
|
|
5409
|
-
}, listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec);
|
|
5596
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec$1);
|
|
5410
5597
|
}
|
|
5411
5598
|
}
|
|
5412
5599
|
// Operation Specifications
|
|
5413
|
-
const serializer$
|
|
5600
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5414
5601
|
const listQueryResultsForManagementGroupOperationSpec$1 = {
|
|
5415
5602
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5416
5603
|
httpMethod: "POST",
|
|
@@ -5440,7 +5627,7 @@ const listQueryResultsForManagementGroupOperationSpec$1 = {
|
|
|
5440
5627
|
policyEventsResource
|
|
5441
5628
|
],
|
|
5442
5629
|
headerParameters: [accept],
|
|
5443
|
-
serializer: serializer$
|
|
5630
|
+
serializer: serializer$5
|
|
5444
5631
|
};
|
|
5445
5632
|
const listQueryResultsForSubscriptionOperationSpec$1 = {
|
|
5446
5633
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
@@ -5470,7 +5657,7 @@ const listQueryResultsForSubscriptionOperationSpec$1 = {
|
|
|
5470
5657
|
subscriptionId1
|
|
5471
5658
|
],
|
|
5472
5659
|
headerParameters: [accept],
|
|
5473
|
-
serializer: serializer$
|
|
5660
|
+
serializer: serializer$5
|
|
5474
5661
|
};
|
|
5475
5662
|
const listQueryResultsForResourceGroupOperationSpec$1 = {
|
|
5476
5663
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
@@ -5501,7 +5688,7 @@ const listQueryResultsForResourceGroupOperationSpec$1 = {
|
|
|
5501
5688
|
subscriptionId1
|
|
5502
5689
|
],
|
|
5503
5690
|
headerParameters: [accept],
|
|
5504
|
-
serializer: serializer$
|
|
5691
|
+
serializer: serializer$5
|
|
5505
5692
|
};
|
|
5506
5693
|
const listQueryResultsForResourceOperationSpec$1 = {
|
|
5507
5694
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
@@ -5532,9 +5719,9 @@ const listQueryResultsForResourceOperationSpec$1 = {
|
|
|
5532
5719
|
policyEventsResource
|
|
5533
5720
|
],
|
|
5534
5721
|
headerParameters: [accept],
|
|
5535
|
-
serializer: serializer$
|
|
5722
|
+
serializer: serializer$5
|
|
5536
5723
|
};
|
|
5537
|
-
const listQueryResultsForPolicySetDefinitionOperationSpec = {
|
|
5724
|
+
const listQueryResultsForPolicySetDefinitionOperationSpec$1 = {
|
|
5538
5725
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5539
5726
|
httpMethod: "POST",
|
|
5540
5727
|
responses: {
|
|
@@ -5564,9 +5751,9 @@ const listQueryResultsForPolicySetDefinitionOperationSpec = {
|
|
|
5564
5751
|
policySetDefinitionName
|
|
5565
5752
|
],
|
|
5566
5753
|
headerParameters: [accept],
|
|
5567
|
-
serializer: serializer$
|
|
5754
|
+
serializer: serializer$5
|
|
5568
5755
|
};
|
|
5569
|
-
const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
5756
|
+
const listQueryResultsForPolicyDefinitionOperationSpec$1 = {
|
|
5570
5757
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5571
5758
|
httpMethod: "POST",
|
|
5572
5759
|
responses: {
|
|
@@ -5596,9 +5783,9 @@ const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
|
5596
5783
|
policyDefinitionName
|
|
5597
5784
|
],
|
|
5598
5785
|
headerParameters: [accept],
|
|
5599
|
-
serializer: serializer$
|
|
5786
|
+
serializer: serializer$5
|
|
5600
5787
|
};
|
|
5601
|
-
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
5788
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$1 = {
|
|
5602
5789
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5603
5790
|
httpMethod: "POST",
|
|
5604
5791
|
responses: {
|
|
@@ -5628,9 +5815,9 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
|
5628
5815
|
policyAssignmentName
|
|
5629
5816
|
],
|
|
5630
5817
|
headerParameters: [accept],
|
|
5631
|
-
serializer: serializer$
|
|
5818
|
+
serializer: serializer$5
|
|
5632
5819
|
};
|
|
5633
|
-
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
5820
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$1 = {
|
|
5634
5821
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyEvents/{policyEventsResource}/queryResults",
|
|
5635
5822
|
httpMethod: "POST",
|
|
5636
5823
|
responses: {
|
|
@@ -5661,7 +5848,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
|
5661
5848
|
policyAssignmentName
|
|
5662
5849
|
],
|
|
5663
5850
|
headerParameters: [accept],
|
|
5664
|
-
serializer: serializer$
|
|
5851
|
+
serializer: serializer$5
|
|
5665
5852
|
};
|
|
5666
5853
|
const listQueryResultsForManagementGroupNextOperationSpec$1 = {
|
|
5667
5854
|
path: "{nextLink}",
|
|
@@ -5693,7 +5880,7 @@ const listQueryResultsForManagementGroupNextOperationSpec$1 = {
|
|
|
5693
5880
|
policyEventsResource
|
|
5694
5881
|
],
|
|
5695
5882
|
headerParameters: [accept],
|
|
5696
|
-
serializer: serializer$
|
|
5883
|
+
serializer: serializer$5
|
|
5697
5884
|
};
|
|
5698
5885
|
const listQueryResultsForSubscriptionNextOperationSpec$1 = {
|
|
5699
5886
|
path: "{nextLink}",
|
|
@@ -5724,7 +5911,7 @@ const listQueryResultsForSubscriptionNextOperationSpec$1 = {
|
|
|
5724
5911
|
subscriptionId1
|
|
5725
5912
|
],
|
|
5726
5913
|
headerParameters: [accept],
|
|
5727
|
-
serializer: serializer$
|
|
5914
|
+
serializer: serializer$5
|
|
5728
5915
|
};
|
|
5729
5916
|
const listQueryResultsForResourceGroupNextOperationSpec$1 = {
|
|
5730
5917
|
path: "{nextLink}",
|
|
@@ -5756,7 +5943,7 @@ const listQueryResultsForResourceGroupNextOperationSpec$1 = {
|
|
|
5756
5943
|
subscriptionId1
|
|
5757
5944
|
],
|
|
5758
5945
|
headerParameters: [accept],
|
|
5759
|
-
serializer: serializer$
|
|
5946
|
+
serializer: serializer$5
|
|
5760
5947
|
};
|
|
5761
5948
|
const listQueryResultsForResourceNextOperationSpec$1 = {
|
|
5762
5949
|
path: "{nextLink}",
|
|
@@ -5788,9 +5975,9 @@ const listQueryResultsForResourceNextOperationSpec$1 = {
|
|
|
5788
5975
|
policyEventsResource
|
|
5789
5976
|
],
|
|
5790
5977
|
headerParameters: [accept],
|
|
5791
|
-
serializer: serializer$
|
|
5978
|
+
serializer: serializer$5
|
|
5792
5979
|
};
|
|
5793
|
-
const listQueryResultsForPolicySetDefinitionNextOperationSpec = {
|
|
5980
|
+
const listQueryResultsForPolicySetDefinitionNextOperationSpec$1 = {
|
|
5794
5981
|
path: "{nextLink}",
|
|
5795
5982
|
httpMethod: "GET",
|
|
5796
5983
|
responses: {
|
|
@@ -5821,9 +6008,9 @@ const listQueryResultsForPolicySetDefinitionNextOperationSpec = {
|
|
|
5821
6008
|
policySetDefinitionName
|
|
5822
6009
|
],
|
|
5823
6010
|
headerParameters: [accept],
|
|
5824
|
-
serializer: serializer$
|
|
6011
|
+
serializer: serializer$5
|
|
5825
6012
|
};
|
|
5826
|
-
const listQueryResultsForPolicyDefinitionNextOperationSpec = {
|
|
6013
|
+
const listQueryResultsForPolicyDefinitionNextOperationSpec$1 = {
|
|
5827
6014
|
path: "{nextLink}",
|
|
5828
6015
|
httpMethod: "GET",
|
|
5829
6016
|
responses: {
|
|
@@ -5854,9 +6041,9 @@ const listQueryResultsForPolicyDefinitionNextOperationSpec = {
|
|
|
5854
6041
|
policyDefinitionName
|
|
5855
6042
|
],
|
|
5856
6043
|
headerParameters: [accept],
|
|
5857
|
-
serializer: serializer$
|
|
6044
|
+
serializer: serializer$5
|
|
5858
6045
|
};
|
|
5859
|
-
const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec = {
|
|
6046
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec$1 = {
|
|
5860
6047
|
path: "{nextLink}",
|
|
5861
6048
|
httpMethod: "GET",
|
|
5862
6049
|
responses: {
|
|
@@ -5887,9 +6074,9 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec = {
|
|
|
5887
6074
|
policyAssignmentName
|
|
5888
6075
|
],
|
|
5889
6076
|
headerParameters: [accept],
|
|
5890
|
-
serializer: serializer$
|
|
6077
|
+
serializer: serializer$5
|
|
5891
6078
|
};
|
|
5892
|
-
const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec = {
|
|
6079
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec$1 = {
|
|
5893
6080
|
path: "{nextLink}",
|
|
5894
6081
|
httpMethod: "GET",
|
|
5895
6082
|
responses: {
|
|
@@ -5921,7 +6108,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec = {
|
|
|
5921
6108
|
policyAssignmentName
|
|
5922
6109
|
],
|
|
5923
6110
|
headerParameters: [accept],
|
|
5924
|
-
serializer: serializer$
|
|
6111
|
+
serializer: serializer$5
|
|
5925
6112
|
};
|
|
5926
6113
|
|
|
5927
6114
|
/*
|
|
@@ -6400,15 +6587,18 @@ class PolicyStatesImpl {
|
|
|
6400
6587
|
* @param options The options parameters.
|
|
6401
6588
|
*/
|
|
6402
6589
|
_listQueryResultsForManagementGroup(policyStatesResource, managementGroupName, options) {
|
|
6403
|
-
return this.client.sendOperationRequest({ policyStatesResource, managementGroupName, options }, listQueryResultsForManagementGroupOperationSpec
|
|
6590
|
+
return this.client.sendOperationRequest({ policyStatesResource, managementGroupName, options }, listQueryResultsForManagementGroupOperationSpec);
|
|
6404
6591
|
}
|
|
6405
6592
|
/**
|
|
6406
6593
|
* Summarizes policy states for the resources under the management group.
|
|
6594
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
6595
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
6596
|
+
* only allowed value.
|
|
6407
6597
|
* @param managementGroupName Management group name.
|
|
6408
6598
|
* @param options The options parameters.
|
|
6409
6599
|
*/
|
|
6410
|
-
summarizeForManagementGroup(managementGroupName, options) {
|
|
6411
|
-
return this.client.sendOperationRequest({ managementGroupName, options }, summarizeForManagementGroupOperationSpec);
|
|
6600
|
+
summarizeForManagementGroup(policyStatesSummaryResource, managementGroupName, options) {
|
|
6601
|
+
return this.client.sendOperationRequest({ policyStatesSummaryResource, managementGroupName, options }, summarizeForManagementGroupOperationSpec);
|
|
6412
6602
|
}
|
|
6413
6603
|
/**
|
|
6414
6604
|
* Queries policy states for the resources under the subscription.
|
|
@@ -6419,15 +6609,18 @@ class PolicyStatesImpl {
|
|
|
6419
6609
|
* @param options The options parameters.
|
|
6420
6610
|
*/
|
|
6421
6611
|
_listQueryResultsForSubscription(policyStatesResource, subscriptionId, options) {
|
|
6422
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec
|
|
6612
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, options }, listQueryResultsForSubscriptionOperationSpec);
|
|
6423
6613
|
}
|
|
6424
6614
|
/**
|
|
6425
6615
|
* Summarizes policy states for the resources under the subscription.
|
|
6616
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
6617
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
6618
|
+
* only allowed value.
|
|
6426
6619
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
6427
6620
|
* @param options The options parameters.
|
|
6428
6621
|
*/
|
|
6429
|
-
summarizeForSubscription(subscriptionId, options) {
|
|
6430
|
-
return this.client.sendOperationRequest({ subscriptionId, options }, summarizeForSubscriptionOperationSpec);
|
|
6622
|
+
summarizeForSubscription(policyStatesSummaryResource, subscriptionId, options) {
|
|
6623
|
+
return this.client.sendOperationRequest({ policyStatesSummaryResource, subscriptionId, options }, summarizeForSubscriptionOperationSpec);
|
|
6431
6624
|
}
|
|
6432
6625
|
/**
|
|
6433
6626
|
* Queries policy states for the resources under the resource group.
|
|
@@ -6439,16 +6632,24 @@ class PolicyStatesImpl {
|
|
|
6439
6632
|
* @param options The options parameters.
|
|
6440
6633
|
*/
|
|
6441
6634
|
_listQueryResultsForResourceGroup(policyStatesResource, subscriptionId, resourceGroupName, options) {
|
|
6442
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec
|
|
6635
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, resourceGroupName, options }, listQueryResultsForResourceGroupOperationSpec);
|
|
6443
6636
|
}
|
|
6444
6637
|
/**
|
|
6445
6638
|
* Summarizes policy states for the resources under the resource group.
|
|
6639
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
6640
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
6641
|
+
* only allowed value.
|
|
6446
6642
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
6447
6643
|
* @param resourceGroupName Resource group name.
|
|
6448
6644
|
* @param options The options parameters.
|
|
6449
6645
|
*/
|
|
6450
|
-
summarizeForResourceGroup(subscriptionId, resourceGroupName, options) {
|
|
6451
|
-
return this.client.sendOperationRequest({
|
|
6646
|
+
summarizeForResourceGroup(policyStatesSummaryResource, subscriptionId, resourceGroupName, options) {
|
|
6647
|
+
return this.client.sendOperationRequest({
|
|
6648
|
+
policyStatesSummaryResource,
|
|
6649
|
+
subscriptionId,
|
|
6650
|
+
resourceGroupName,
|
|
6651
|
+
options
|
|
6652
|
+
}, summarizeForResourceGroupOperationSpec);
|
|
6452
6653
|
}
|
|
6453
6654
|
/**
|
|
6454
6655
|
* Queries policy states for the resource.
|
|
@@ -6459,15 +6660,18 @@ class PolicyStatesImpl {
|
|
|
6459
6660
|
* @param options The options parameters.
|
|
6460
6661
|
*/
|
|
6461
6662
|
_listQueryResultsForResource(policyStatesResource, resourceId, options) {
|
|
6462
|
-
return this.client.sendOperationRequest({ policyStatesResource, resourceId, options }, listQueryResultsForResourceOperationSpec
|
|
6663
|
+
return this.client.sendOperationRequest({ policyStatesResource, resourceId, options }, listQueryResultsForResourceOperationSpec);
|
|
6463
6664
|
}
|
|
6464
6665
|
/**
|
|
6465
6666
|
* Summarizes policy states for the resource.
|
|
6667
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
6668
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
6669
|
+
* only allowed value.
|
|
6466
6670
|
* @param resourceId Resource ID.
|
|
6467
6671
|
* @param options The options parameters.
|
|
6468
6672
|
*/
|
|
6469
|
-
summarizeForResource(resourceId, options) {
|
|
6470
|
-
return this.client.sendOperationRequest({ resourceId, options }, summarizeForResourceOperationSpec);
|
|
6673
|
+
summarizeForResource(policyStatesSummaryResource, resourceId, options) {
|
|
6674
|
+
return this.client.sendOperationRequest({ policyStatesSummaryResource, resourceId, options }, summarizeForResourceOperationSpec);
|
|
6471
6675
|
}
|
|
6472
6676
|
/**
|
|
6473
6677
|
* Triggers a policy evaluation scan for all the resources under the subscription
|
|
@@ -6499,11 +6703,13 @@ class PolicyStatesImpl {
|
|
|
6499
6703
|
};
|
|
6500
6704
|
});
|
|
6501
6705
|
const lro = new LroImpl(sendOperation, { subscriptionId, options }, triggerSubscriptionEvaluationOperationSpec);
|
|
6502
|
-
|
|
6706
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
6503
6707
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6504
6708
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6505
6709
|
lroResourceLocationConfig: "location"
|
|
6506
6710
|
});
|
|
6711
|
+
yield poller.poll();
|
|
6712
|
+
return poller;
|
|
6507
6713
|
});
|
|
6508
6714
|
}
|
|
6509
6715
|
/**
|
|
@@ -6548,11 +6754,13 @@ class PolicyStatesImpl {
|
|
|
6548
6754
|
};
|
|
6549
6755
|
});
|
|
6550
6756
|
const lro = new LroImpl(sendOperation, { subscriptionId, resourceGroupName, options }, triggerResourceGroupEvaluationOperationSpec);
|
|
6551
|
-
|
|
6757
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
6552
6758
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6553
6759
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6554
6760
|
lroResourceLocationConfig: "location"
|
|
6555
6761
|
});
|
|
6762
|
+
yield poller.poll();
|
|
6763
|
+
return poller;
|
|
6556
6764
|
});
|
|
6557
6765
|
}
|
|
6558
6766
|
/**
|
|
@@ -6582,16 +6790,24 @@ class PolicyStatesImpl {
|
|
|
6582
6790
|
subscriptionId,
|
|
6583
6791
|
policySetDefinitionName,
|
|
6584
6792
|
options
|
|
6585
|
-
}, listQueryResultsForPolicySetDefinitionOperationSpec
|
|
6793
|
+
}, listQueryResultsForPolicySetDefinitionOperationSpec);
|
|
6586
6794
|
}
|
|
6587
6795
|
/**
|
|
6588
6796
|
* Summarizes policy states for the subscription level policy set definition.
|
|
6797
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
6798
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
6799
|
+
* only allowed value.
|
|
6589
6800
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
6590
6801
|
* @param policySetDefinitionName Policy set definition name.
|
|
6591
6802
|
* @param options The options parameters.
|
|
6592
6803
|
*/
|
|
6593
|
-
summarizeForPolicySetDefinition(subscriptionId, policySetDefinitionName, options) {
|
|
6594
|
-
return this.client.sendOperationRequest({
|
|
6804
|
+
summarizeForPolicySetDefinition(policyStatesSummaryResource, subscriptionId, policySetDefinitionName, options) {
|
|
6805
|
+
return this.client.sendOperationRequest({
|
|
6806
|
+
policyStatesSummaryResource,
|
|
6807
|
+
subscriptionId,
|
|
6808
|
+
policySetDefinitionName,
|
|
6809
|
+
options
|
|
6810
|
+
}, summarizeForPolicySetDefinitionOperationSpec);
|
|
6595
6811
|
}
|
|
6596
6812
|
/**
|
|
6597
6813
|
* Queries policy states for the subscription level policy definition.
|
|
@@ -6603,16 +6819,24 @@ class PolicyStatesImpl {
|
|
|
6603
6819
|
* @param options The options parameters.
|
|
6604
6820
|
*/
|
|
6605
6821
|
_listQueryResultsForPolicyDefinition(policyStatesResource, subscriptionId, policyDefinitionName, options) {
|
|
6606
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec
|
|
6822
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyDefinitionName, options }, listQueryResultsForPolicyDefinitionOperationSpec);
|
|
6607
6823
|
}
|
|
6608
6824
|
/**
|
|
6609
6825
|
* Summarizes policy states for the subscription level policy definition.
|
|
6826
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
6827
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
6828
|
+
* only allowed value.
|
|
6610
6829
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
6611
6830
|
* @param policyDefinitionName Policy definition name.
|
|
6612
6831
|
* @param options The options parameters.
|
|
6613
6832
|
*/
|
|
6614
|
-
summarizeForPolicyDefinition(subscriptionId, policyDefinitionName, options) {
|
|
6615
|
-
return this.client.sendOperationRequest({
|
|
6833
|
+
summarizeForPolicyDefinition(policyStatesSummaryResource, subscriptionId, policyDefinitionName, options) {
|
|
6834
|
+
return this.client.sendOperationRequest({
|
|
6835
|
+
policyStatesSummaryResource,
|
|
6836
|
+
subscriptionId,
|
|
6837
|
+
policyDefinitionName,
|
|
6838
|
+
options
|
|
6839
|
+
}, summarizeForPolicyDefinitionOperationSpec);
|
|
6616
6840
|
}
|
|
6617
6841
|
/**
|
|
6618
6842
|
* Queries policy states for the subscription level policy assignment.
|
|
@@ -6624,16 +6848,24 @@ class PolicyStatesImpl {
|
|
|
6624
6848
|
* @param options The options parameters.
|
|
6625
6849
|
*/
|
|
6626
6850
|
_listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource, subscriptionId, policyAssignmentName, options) {
|
|
6627
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec
|
|
6851
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, policyAssignmentName, options }, listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec);
|
|
6628
6852
|
}
|
|
6629
6853
|
/**
|
|
6630
6854
|
* Summarizes policy states for the subscription level policy assignment.
|
|
6855
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
6856
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
6857
|
+
* only allowed value.
|
|
6631
6858
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
6632
6859
|
* @param policyAssignmentName Policy assignment name.
|
|
6633
6860
|
* @param options The options parameters.
|
|
6634
6861
|
*/
|
|
6635
|
-
summarizeForSubscriptionLevelPolicyAssignment(subscriptionId, policyAssignmentName, options) {
|
|
6636
|
-
return this.client.sendOperationRequest({
|
|
6862
|
+
summarizeForSubscriptionLevelPolicyAssignment(policyStatesSummaryResource, subscriptionId, policyAssignmentName, options) {
|
|
6863
|
+
return this.client.sendOperationRequest({
|
|
6864
|
+
policyStatesSummaryResource,
|
|
6865
|
+
subscriptionId,
|
|
6866
|
+
policyAssignmentName,
|
|
6867
|
+
options
|
|
6868
|
+
}, summarizeForSubscriptionLevelPolicyAssignmentOperationSpec);
|
|
6637
6869
|
}
|
|
6638
6870
|
/**
|
|
6639
6871
|
* Queries policy states for the resource group level policy assignment.
|
|
@@ -6652,17 +6884,26 @@ class PolicyStatesImpl {
|
|
|
6652
6884
|
resourceGroupName,
|
|
6653
6885
|
policyAssignmentName,
|
|
6654
6886
|
options
|
|
6655
|
-
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec
|
|
6887
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec);
|
|
6656
6888
|
}
|
|
6657
6889
|
/**
|
|
6658
6890
|
* Summarizes policy states for the resource group level policy assignment.
|
|
6891
|
+
* @param policyStatesSummaryResource The virtual resource under PolicyStates resource type for
|
|
6892
|
+
* summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the
|
|
6893
|
+
* only allowed value.
|
|
6659
6894
|
* @param subscriptionId Microsoft Azure subscription ID.
|
|
6660
6895
|
* @param resourceGroupName Resource group name.
|
|
6661
6896
|
* @param policyAssignmentName Policy assignment name.
|
|
6662
6897
|
* @param options The options parameters.
|
|
6663
6898
|
*/
|
|
6664
|
-
summarizeForResourceGroupLevelPolicyAssignment(subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
6665
|
-
return this.client.sendOperationRequest({
|
|
6899
|
+
summarizeForResourceGroupLevelPolicyAssignment(policyStatesSummaryResource, subscriptionId, resourceGroupName, policyAssignmentName, options) {
|
|
6900
|
+
return this.client.sendOperationRequest({
|
|
6901
|
+
policyStatesSummaryResource,
|
|
6902
|
+
subscriptionId,
|
|
6903
|
+
resourceGroupName,
|
|
6904
|
+
policyAssignmentName,
|
|
6905
|
+
options
|
|
6906
|
+
}, summarizeForResourceGroupLevelPolicyAssignmentOperationSpec);
|
|
6666
6907
|
}
|
|
6667
6908
|
/**
|
|
6668
6909
|
* ListQueryResultsForManagementGroupNext
|
|
@@ -6675,7 +6916,7 @@ class PolicyStatesImpl {
|
|
|
6675
6916
|
* @param options The options parameters.
|
|
6676
6917
|
*/
|
|
6677
6918
|
_listQueryResultsForManagementGroupNext(policyStatesResource, managementGroupName, nextLink, options) {
|
|
6678
|
-
return this.client.sendOperationRequest({ policyStatesResource, managementGroupName, nextLink, options }, listQueryResultsForManagementGroupNextOperationSpec
|
|
6919
|
+
return this.client.sendOperationRequest({ policyStatesResource, managementGroupName, nextLink, options }, listQueryResultsForManagementGroupNextOperationSpec);
|
|
6679
6920
|
}
|
|
6680
6921
|
/**
|
|
6681
6922
|
* ListQueryResultsForSubscriptionNext
|
|
@@ -6688,7 +6929,7 @@ class PolicyStatesImpl {
|
|
|
6688
6929
|
* @param options The options parameters.
|
|
6689
6930
|
*/
|
|
6690
6931
|
_listQueryResultsForSubscriptionNext(policyStatesResource, subscriptionId, nextLink, options) {
|
|
6691
|
-
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, nextLink, options }, listQueryResultsForSubscriptionNextOperationSpec
|
|
6932
|
+
return this.client.sendOperationRequest({ policyStatesResource, subscriptionId, nextLink, options }, listQueryResultsForSubscriptionNextOperationSpec);
|
|
6692
6933
|
}
|
|
6693
6934
|
/**
|
|
6694
6935
|
* ListQueryResultsForResourceGroupNext
|
|
@@ -6708,7 +6949,7 @@ class PolicyStatesImpl {
|
|
|
6708
6949
|
resourceGroupName,
|
|
6709
6950
|
nextLink,
|
|
6710
6951
|
options
|
|
6711
|
-
}, listQueryResultsForResourceGroupNextOperationSpec
|
|
6952
|
+
}, listQueryResultsForResourceGroupNextOperationSpec);
|
|
6712
6953
|
}
|
|
6713
6954
|
/**
|
|
6714
6955
|
* ListQueryResultsForResourceNext
|
|
@@ -6721,7 +6962,7 @@ class PolicyStatesImpl {
|
|
|
6721
6962
|
* @param options The options parameters.
|
|
6722
6963
|
*/
|
|
6723
6964
|
_listQueryResultsForResourceNext(policyStatesResource, resourceId, nextLink, options) {
|
|
6724
|
-
return this.client.sendOperationRequest({ policyStatesResource, resourceId, nextLink, options }, listQueryResultsForResourceNextOperationSpec
|
|
6965
|
+
return this.client.sendOperationRequest({ policyStatesResource, resourceId, nextLink, options }, listQueryResultsForResourceNextOperationSpec);
|
|
6725
6966
|
}
|
|
6726
6967
|
/**
|
|
6727
6968
|
* ListQueryResultsForPolicySetDefinitionNext
|
|
@@ -6741,7 +6982,7 @@ class PolicyStatesImpl {
|
|
|
6741
6982
|
policySetDefinitionName,
|
|
6742
6983
|
nextLink,
|
|
6743
6984
|
options
|
|
6744
|
-
}, listQueryResultsForPolicySetDefinitionNextOperationSpec
|
|
6985
|
+
}, listQueryResultsForPolicySetDefinitionNextOperationSpec);
|
|
6745
6986
|
}
|
|
6746
6987
|
/**
|
|
6747
6988
|
* ListQueryResultsForPolicyDefinitionNext
|
|
@@ -6761,7 +7002,7 @@ class PolicyStatesImpl {
|
|
|
6761
7002
|
policyDefinitionName,
|
|
6762
7003
|
nextLink,
|
|
6763
7004
|
options
|
|
6764
|
-
}, listQueryResultsForPolicyDefinitionNextOperationSpec
|
|
7005
|
+
}, listQueryResultsForPolicyDefinitionNextOperationSpec);
|
|
6765
7006
|
}
|
|
6766
7007
|
/**
|
|
6767
7008
|
* ListQueryResultsForSubscriptionLevelPolicyAssignmentNext
|
|
@@ -6781,7 +7022,7 @@ class PolicyStatesImpl {
|
|
|
6781
7022
|
policyAssignmentName,
|
|
6782
7023
|
nextLink,
|
|
6783
7024
|
options
|
|
6784
|
-
}, listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec
|
|
7025
|
+
}, listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec);
|
|
6785
7026
|
}
|
|
6786
7027
|
/**
|
|
6787
7028
|
* ListQueryResultsForResourceGroupLevelPolicyAssignmentNext
|
|
@@ -6803,12 +7044,12 @@ class PolicyStatesImpl {
|
|
|
6803
7044
|
policyAssignmentName,
|
|
6804
7045
|
nextLink,
|
|
6805
7046
|
options
|
|
6806
|
-
}, listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec
|
|
7047
|
+
}, listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec);
|
|
6807
7048
|
}
|
|
6808
7049
|
}
|
|
6809
7050
|
// Operation Specifications
|
|
6810
|
-
const serializer$
|
|
6811
|
-
const listQueryResultsForManagementGroupOperationSpec
|
|
7051
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7052
|
+
const listQueryResultsForManagementGroupOperationSpec = {
|
|
6812
7053
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
6813
7054
|
httpMethod: "POST",
|
|
6814
7055
|
responses: {
|
|
@@ -6837,7 +7078,7 @@ const listQueryResultsForManagementGroupOperationSpec$2 = {
|
|
|
6837
7078
|
policyStatesResource
|
|
6838
7079
|
],
|
|
6839
7080
|
headerParameters: [accept],
|
|
6840
|
-
serializer: serializer$
|
|
7081
|
+
serializer: serializer$4
|
|
6841
7082
|
};
|
|
6842
7083
|
const summarizeForManagementGroupOperationSpec = {
|
|
6843
7084
|
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -6864,9 +7105,9 @@ const summarizeForManagementGroupOperationSpec = {
|
|
|
6864
7105
|
policyStatesSummaryResource
|
|
6865
7106
|
],
|
|
6866
7107
|
headerParameters: [accept],
|
|
6867
|
-
serializer: serializer$
|
|
7108
|
+
serializer: serializer$4
|
|
6868
7109
|
};
|
|
6869
|
-
const listQueryResultsForSubscriptionOperationSpec
|
|
7110
|
+
const listQueryResultsForSubscriptionOperationSpec = {
|
|
6870
7111
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
6871
7112
|
httpMethod: "POST",
|
|
6872
7113
|
responses: {
|
|
@@ -6894,7 +7135,7 @@ const listQueryResultsForSubscriptionOperationSpec$2 = {
|
|
|
6894
7135
|
policyStatesResource
|
|
6895
7136
|
],
|
|
6896
7137
|
headerParameters: [accept],
|
|
6897
|
-
serializer: serializer$
|
|
7138
|
+
serializer: serializer$4
|
|
6898
7139
|
};
|
|
6899
7140
|
const summarizeForSubscriptionOperationSpec = {
|
|
6900
7141
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -6920,9 +7161,9 @@ const summarizeForSubscriptionOperationSpec = {
|
|
|
6920
7161
|
policyStatesSummaryResource
|
|
6921
7162
|
],
|
|
6922
7163
|
headerParameters: [accept],
|
|
6923
|
-
serializer: serializer$
|
|
7164
|
+
serializer: serializer$4
|
|
6924
7165
|
};
|
|
6925
|
-
const listQueryResultsForResourceGroupOperationSpec
|
|
7166
|
+
const listQueryResultsForResourceGroupOperationSpec = {
|
|
6926
7167
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
6927
7168
|
httpMethod: "POST",
|
|
6928
7169
|
responses: {
|
|
@@ -6951,7 +7192,7 @@ const listQueryResultsForResourceGroupOperationSpec$2 = {
|
|
|
6951
7192
|
policyStatesResource
|
|
6952
7193
|
],
|
|
6953
7194
|
headerParameters: [accept],
|
|
6954
|
-
serializer: serializer$
|
|
7195
|
+
serializer: serializer$4
|
|
6955
7196
|
};
|
|
6956
7197
|
const summarizeForResourceGroupOperationSpec = {
|
|
6957
7198
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -6978,9 +7219,9 @@ const summarizeForResourceGroupOperationSpec = {
|
|
|
6978
7219
|
policyStatesSummaryResource
|
|
6979
7220
|
],
|
|
6980
7221
|
headerParameters: [accept],
|
|
6981
|
-
serializer: serializer$
|
|
7222
|
+
serializer: serializer$4
|
|
6982
7223
|
};
|
|
6983
|
-
const listQueryResultsForResourceOperationSpec
|
|
7224
|
+
const listQueryResultsForResourceOperationSpec = {
|
|
6984
7225
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
6985
7226
|
httpMethod: "POST",
|
|
6986
7227
|
responses: {
|
|
@@ -7009,7 +7250,7 @@ const listQueryResultsForResourceOperationSpec$2 = {
|
|
|
7009
7250
|
policyStatesResource
|
|
7010
7251
|
],
|
|
7011
7252
|
headerParameters: [accept],
|
|
7012
|
-
serializer: serializer$
|
|
7253
|
+
serializer: serializer$4
|
|
7013
7254
|
};
|
|
7014
7255
|
const summarizeForResourceOperationSpec = {
|
|
7015
7256
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7035,7 +7276,7 @@ const summarizeForResourceOperationSpec = {
|
|
|
7035
7276
|
policyStatesSummaryResource
|
|
7036
7277
|
],
|
|
7037
7278
|
headerParameters: [accept],
|
|
7038
|
-
serializer: serializer$
|
|
7279
|
+
serializer: serializer$4
|
|
7039
7280
|
};
|
|
7040
7281
|
const triggerSubscriptionEvaluationOperationSpec = {
|
|
7041
7282
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation",
|
|
@@ -7052,7 +7293,7 @@ const triggerSubscriptionEvaluationOperationSpec = {
|
|
|
7052
7293
|
queryParameters: [apiVersion2],
|
|
7053
7294
|
urlParameters: [$host, subscriptionId1],
|
|
7054
7295
|
headerParameters: [accept],
|
|
7055
|
-
serializer: serializer$
|
|
7296
|
+
serializer: serializer$4
|
|
7056
7297
|
};
|
|
7057
7298
|
const triggerResourceGroupEvaluationOperationSpec = {
|
|
7058
7299
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation",
|
|
@@ -7073,9 +7314,9 @@ const triggerResourceGroupEvaluationOperationSpec = {
|
|
|
7073
7314
|
subscriptionId1
|
|
7074
7315
|
],
|
|
7075
7316
|
headerParameters: [accept],
|
|
7076
|
-
serializer: serializer$
|
|
7317
|
+
serializer: serializer$4
|
|
7077
7318
|
};
|
|
7078
|
-
const listQueryResultsForPolicySetDefinitionOperationSpec
|
|
7319
|
+
const listQueryResultsForPolicySetDefinitionOperationSpec = {
|
|
7079
7320
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7080
7321
|
httpMethod: "POST",
|
|
7081
7322
|
responses: {
|
|
@@ -7105,7 +7346,7 @@ const listQueryResultsForPolicySetDefinitionOperationSpec$1 = {
|
|
|
7105
7346
|
policyStatesResource
|
|
7106
7347
|
],
|
|
7107
7348
|
headerParameters: [accept],
|
|
7108
|
-
serializer: serializer$
|
|
7349
|
+
serializer: serializer$4
|
|
7109
7350
|
};
|
|
7110
7351
|
const summarizeForPolicySetDefinitionOperationSpec = {
|
|
7111
7352
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policySetDefinitions/{policySetDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7133,9 +7374,9 @@ const summarizeForPolicySetDefinitionOperationSpec = {
|
|
|
7133
7374
|
policyStatesSummaryResource
|
|
7134
7375
|
],
|
|
7135
7376
|
headerParameters: [accept],
|
|
7136
|
-
serializer: serializer$
|
|
7377
|
+
serializer: serializer$4
|
|
7137
7378
|
};
|
|
7138
|
-
const listQueryResultsForPolicyDefinitionOperationSpec
|
|
7379
|
+
const listQueryResultsForPolicyDefinitionOperationSpec = {
|
|
7139
7380
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7140
7381
|
httpMethod: "POST",
|
|
7141
7382
|
responses: {
|
|
@@ -7165,7 +7406,7 @@ const listQueryResultsForPolicyDefinitionOperationSpec$1 = {
|
|
|
7165
7406
|
policyStatesResource
|
|
7166
7407
|
],
|
|
7167
7408
|
headerParameters: [accept],
|
|
7168
|
-
serializer: serializer$
|
|
7409
|
+
serializer: serializer$4
|
|
7169
7410
|
};
|
|
7170
7411
|
const summarizeForPolicyDefinitionOperationSpec = {
|
|
7171
7412
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyDefinitions/{policyDefinitionName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7193,9 +7434,9 @@ const summarizeForPolicyDefinitionOperationSpec = {
|
|
|
7193
7434
|
policyStatesSummaryResource
|
|
7194
7435
|
],
|
|
7195
7436
|
headerParameters: [accept],
|
|
7196
|
-
serializer: serializer$
|
|
7437
|
+
serializer: serializer$4
|
|
7197
7438
|
};
|
|
7198
|
-
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec
|
|
7439
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
7199
7440
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7200
7441
|
httpMethod: "POST",
|
|
7201
7442
|
responses: {
|
|
@@ -7225,7 +7466,7 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentOperationSpec$1 = {
|
|
|
7225
7466
|
policyStatesResource
|
|
7226
7467
|
],
|
|
7227
7468
|
headerParameters: [accept],
|
|
7228
|
-
serializer: serializer$
|
|
7469
|
+
serializer: serializer$4
|
|
7229
7470
|
};
|
|
7230
7471
|
const summarizeForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
7231
7472
|
path: "/subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7253,9 +7494,9 @@ const summarizeForSubscriptionLevelPolicyAssignmentOperationSpec = {
|
|
|
7253
7494
|
policyStatesSummaryResource
|
|
7254
7495
|
],
|
|
7255
7496
|
headerParameters: [accept],
|
|
7256
|
-
serializer: serializer$
|
|
7497
|
+
serializer: serializer$4
|
|
7257
7498
|
};
|
|
7258
|
-
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec
|
|
7499
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
7259
7500
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults",
|
|
7260
7501
|
httpMethod: "POST",
|
|
7261
7502
|
responses: {
|
|
@@ -7286,7 +7527,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentOperationSpec$1 = {
|
|
|
7286
7527
|
policyStatesResource
|
|
7287
7528
|
],
|
|
7288
7529
|
headerParameters: [accept],
|
|
7289
|
-
serializer: serializer$
|
|
7530
|
+
serializer: serializer$4
|
|
7290
7531
|
};
|
|
7291
7532
|
const summarizeForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
7292
7533
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize",
|
|
@@ -7315,9 +7556,9 @@ const summarizeForResourceGroupLevelPolicyAssignmentOperationSpec = {
|
|
|
7315
7556
|
policyStatesSummaryResource
|
|
7316
7557
|
],
|
|
7317
7558
|
headerParameters: [accept],
|
|
7318
|
-
serializer: serializer$
|
|
7559
|
+
serializer: serializer$4
|
|
7319
7560
|
};
|
|
7320
|
-
const listQueryResultsForManagementGroupNextOperationSpec
|
|
7561
|
+
const listQueryResultsForManagementGroupNextOperationSpec = {
|
|
7321
7562
|
path: "{nextLink}",
|
|
7322
7563
|
httpMethod: "GET",
|
|
7323
7564
|
responses: {
|
|
@@ -7347,9 +7588,9 @@ const listQueryResultsForManagementGroupNextOperationSpec$2 = {
|
|
|
7347
7588
|
policyStatesResource
|
|
7348
7589
|
],
|
|
7349
7590
|
headerParameters: [accept],
|
|
7350
|
-
serializer: serializer$
|
|
7591
|
+
serializer: serializer$4
|
|
7351
7592
|
};
|
|
7352
|
-
const listQueryResultsForSubscriptionNextOperationSpec
|
|
7593
|
+
const listQueryResultsForSubscriptionNextOperationSpec = {
|
|
7353
7594
|
path: "{nextLink}",
|
|
7354
7595
|
httpMethod: "GET",
|
|
7355
7596
|
responses: {
|
|
@@ -7378,9 +7619,9 @@ const listQueryResultsForSubscriptionNextOperationSpec$2 = {
|
|
|
7378
7619
|
policyStatesResource
|
|
7379
7620
|
],
|
|
7380
7621
|
headerParameters: [accept],
|
|
7381
|
-
serializer: serializer$
|
|
7622
|
+
serializer: serializer$4
|
|
7382
7623
|
};
|
|
7383
|
-
const listQueryResultsForResourceGroupNextOperationSpec
|
|
7624
|
+
const listQueryResultsForResourceGroupNextOperationSpec = {
|
|
7384
7625
|
path: "{nextLink}",
|
|
7385
7626
|
httpMethod: "GET",
|
|
7386
7627
|
responses: {
|
|
@@ -7410,9 +7651,9 @@ const listQueryResultsForResourceGroupNextOperationSpec$2 = {
|
|
|
7410
7651
|
policyStatesResource
|
|
7411
7652
|
],
|
|
7412
7653
|
headerParameters: [accept],
|
|
7413
|
-
serializer: serializer$
|
|
7654
|
+
serializer: serializer$4
|
|
7414
7655
|
};
|
|
7415
|
-
const listQueryResultsForResourceNextOperationSpec
|
|
7656
|
+
const listQueryResultsForResourceNextOperationSpec = {
|
|
7416
7657
|
path: "{nextLink}",
|
|
7417
7658
|
httpMethod: "GET",
|
|
7418
7659
|
responses: {
|
|
@@ -7442,9 +7683,9 @@ const listQueryResultsForResourceNextOperationSpec$2 = {
|
|
|
7442
7683
|
policyStatesResource
|
|
7443
7684
|
],
|
|
7444
7685
|
headerParameters: [accept],
|
|
7445
|
-
serializer: serializer$
|
|
7686
|
+
serializer: serializer$4
|
|
7446
7687
|
};
|
|
7447
|
-
const listQueryResultsForPolicySetDefinitionNextOperationSpec
|
|
7688
|
+
const listQueryResultsForPolicySetDefinitionNextOperationSpec = {
|
|
7448
7689
|
path: "{nextLink}",
|
|
7449
7690
|
httpMethod: "GET",
|
|
7450
7691
|
responses: {
|
|
@@ -7475,9 +7716,9 @@ const listQueryResultsForPolicySetDefinitionNextOperationSpec$1 = {
|
|
|
7475
7716
|
policyStatesResource
|
|
7476
7717
|
],
|
|
7477
7718
|
headerParameters: [accept],
|
|
7478
|
-
serializer: serializer$
|
|
7719
|
+
serializer: serializer$4
|
|
7479
7720
|
};
|
|
7480
|
-
const listQueryResultsForPolicyDefinitionNextOperationSpec
|
|
7721
|
+
const listQueryResultsForPolicyDefinitionNextOperationSpec = {
|
|
7481
7722
|
path: "{nextLink}",
|
|
7482
7723
|
httpMethod: "GET",
|
|
7483
7724
|
responses: {
|
|
@@ -7508,9 +7749,9 @@ const listQueryResultsForPolicyDefinitionNextOperationSpec$1 = {
|
|
|
7508
7749
|
policyStatesResource
|
|
7509
7750
|
],
|
|
7510
7751
|
headerParameters: [accept],
|
|
7511
|
-
serializer: serializer$
|
|
7752
|
+
serializer: serializer$4
|
|
7512
7753
|
};
|
|
7513
|
-
const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec
|
|
7754
|
+
const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec = {
|
|
7514
7755
|
path: "{nextLink}",
|
|
7515
7756
|
httpMethod: "GET",
|
|
7516
7757
|
responses: {
|
|
@@ -7541,9 +7782,9 @@ const listQueryResultsForSubscriptionLevelPolicyAssignmentNextOperationSpec$1 =
|
|
|
7541
7782
|
policyStatesResource
|
|
7542
7783
|
],
|
|
7543
7784
|
headerParameters: [accept],
|
|
7544
|
-
serializer: serializer$
|
|
7785
|
+
serializer: serializer$4
|
|
7545
7786
|
};
|
|
7546
|
-
const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec
|
|
7787
|
+
const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec = {
|
|
7547
7788
|
path: "{nextLink}",
|
|
7548
7789
|
httpMethod: "GET",
|
|
7549
7790
|
responses: {
|
|
@@ -7575,7 +7816,7 @@ const listQueryResultsForResourceGroupLevelPolicyAssignmentNextOperationSpec$1 =
|
|
|
7575
7816
|
policyStatesResource
|
|
7576
7817
|
],
|
|
7577
7818
|
headerParameters: [accept],
|
|
7578
|
-
serializer: serializer$
|
|
7819
|
+
serializer: serializer$4
|
|
7579
7820
|
};
|
|
7580
7821
|
|
|
7581
7822
|
/*
|
|
@@ -7599,12 +7840,12 @@ class OperationsImpl {
|
|
|
7599
7840
|
* @param options The options parameters.
|
|
7600
7841
|
*/
|
|
7601
7842
|
list(options) {
|
|
7602
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
7843
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
7603
7844
|
}
|
|
7604
7845
|
}
|
|
7605
7846
|
// Operation Specifications
|
|
7606
|
-
const serializer$
|
|
7607
|
-
const listOperationSpec = {
|
|
7847
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7848
|
+
const listOperationSpec$1 = {
|
|
7608
7849
|
path: "/providers/Microsoft.PolicyInsights/operations",
|
|
7609
7850
|
httpMethod: "GET",
|
|
7610
7851
|
responses: {
|
|
@@ -7618,7 +7859,7 @@ const listOperationSpec = {
|
|
|
7618
7859
|
queryParameters: [apiVersion2],
|
|
7619
7860
|
urlParameters: [$host],
|
|
7620
7861
|
headerParameters: [accept],
|
|
7621
|
-
serializer: serializer$
|
|
7862
|
+
serializer: serializer$3
|
|
7622
7863
|
};
|
|
7623
7864
|
|
|
7624
7865
|
/*
|
|
@@ -7699,7 +7940,7 @@ class PolicyMetadataOperationsImpl {
|
|
|
7699
7940
|
* @param options The options parameters.
|
|
7700
7941
|
*/
|
|
7701
7942
|
_list(options) {
|
|
7702
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec
|
|
7943
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
7703
7944
|
}
|
|
7704
7945
|
/**
|
|
7705
7946
|
* ListNext
|
|
@@ -7711,7 +7952,7 @@ class PolicyMetadataOperationsImpl {
|
|
|
7711
7952
|
}
|
|
7712
7953
|
}
|
|
7713
7954
|
// Operation Specifications
|
|
7714
|
-
const serializer$
|
|
7955
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7715
7956
|
const getResourceOperationSpec = {
|
|
7716
7957
|
path: "/providers/Microsoft.PolicyInsights/policyMetadata/{resourceName}",
|
|
7717
7958
|
httpMethod: "GET",
|
|
@@ -7726,9 +7967,9 @@ const getResourceOperationSpec = {
|
|
|
7726
7967
|
queryParameters: [apiVersion2],
|
|
7727
7968
|
urlParameters: [$host, resourceName],
|
|
7728
7969
|
headerParameters: [accept],
|
|
7729
|
-
serializer: serializer$
|
|
7970
|
+
serializer: serializer$2
|
|
7730
7971
|
};
|
|
7731
|
-
const listOperationSpec
|
|
7972
|
+
const listOperationSpec = {
|
|
7732
7973
|
path: "/providers/Microsoft.PolicyInsights/policyMetadata",
|
|
7733
7974
|
httpMethod: "GET",
|
|
7734
7975
|
responses: {
|
|
@@ -7742,7 +7983,7 @@ const listOperationSpec$1 = {
|
|
|
7742
7983
|
queryParameters: [top, apiVersion2],
|
|
7743
7984
|
urlParameters: [$host],
|
|
7744
7985
|
headerParameters: [accept],
|
|
7745
|
-
serializer: serializer$
|
|
7986
|
+
serializer: serializer$2
|
|
7746
7987
|
};
|
|
7747
7988
|
const listNextOperationSpec = {
|
|
7748
7989
|
path: "{nextLink}",
|
|
@@ -7758,7 +7999,7 @@ const listNextOperationSpec = {
|
|
|
7758
7999
|
queryParameters: [top, apiVersion2],
|
|
7759
8000
|
urlParameters: [$host, nextLink],
|
|
7760
8001
|
headerParameters: [accept],
|
|
7761
|
-
serializer: serializer$
|
|
8002
|
+
serializer: serializer$2
|
|
7762
8003
|
};
|
|
7763
8004
|
|
|
7764
8005
|
/*
|
|
@@ -7795,9 +8036,18 @@ class PolicyRestrictionsImpl {
|
|
|
7795
8036
|
checkAtResourceGroupScope(resourceGroupName, parameters, options) {
|
|
7796
8037
|
return this.client.sendOperationRequest({ resourceGroupName, parameters, options }, checkAtResourceGroupScopeOperationSpec);
|
|
7797
8038
|
}
|
|
8039
|
+
/**
|
|
8040
|
+
* Checks what restrictions Azure Policy will place on resources within a management group.
|
|
8041
|
+
* @param managementGroupId Management group ID.
|
|
8042
|
+
* @param parameters The check policy restrictions parameters.
|
|
8043
|
+
* @param options The options parameters.
|
|
8044
|
+
*/
|
|
8045
|
+
checkAtManagementGroupScope(managementGroupId, parameters, options) {
|
|
8046
|
+
return this.client.sendOperationRequest({ managementGroupId, parameters, options }, checkAtManagementGroupScopeOperationSpec);
|
|
8047
|
+
}
|
|
7798
8048
|
}
|
|
7799
8049
|
// Operation Specifications
|
|
7800
|
-
const serializer$
|
|
8050
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
7801
8051
|
const checkAtSubscriptionScopeOperationSpec = {
|
|
7802
8052
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions",
|
|
7803
8053
|
httpMethod: "POST",
|
|
@@ -7814,7 +8064,7 @@ const checkAtSubscriptionScopeOperationSpec = {
|
|
|
7814
8064
|
urlParameters: [$host, subscriptionId],
|
|
7815
8065
|
headerParameters: [accept, contentType],
|
|
7816
8066
|
mediaType: "json",
|
|
7817
|
-
serializer: serializer$
|
|
8067
|
+
serializer: serializer$1
|
|
7818
8068
|
};
|
|
7819
8069
|
const checkAtResourceGroupScopeOperationSpec = {
|
|
7820
8070
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions",
|
|
@@ -7836,7 +8086,29 @@ const checkAtResourceGroupScopeOperationSpec = {
|
|
|
7836
8086
|
],
|
|
7837
8087
|
headerParameters: [accept, contentType],
|
|
7838
8088
|
mediaType: "json",
|
|
7839
|
-
serializer: serializer$
|
|
8089
|
+
serializer: serializer$1
|
|
8090
|
+
};
|
|
8091
|
+
const checkAtManagementGroupScopeOperationSpec = {
|
|
8092
|
+
path: "/providers/{managementGroupsNamespace}/managementGroups/{managementGroupId}/providers/Microsoft.PolicyInsights/checkPolicyRestrictions",
|
|
8093
|
+
httpMethod: "POST",
|
|
8094
|
+
responses: {
|
|
8095
|
+
200: {
|
|
8096
|
+
bodyMapper: CheckRestrictionsResult
|
|
8097
|
+
},
|
|
8098
|
+
default: {
|
|
8099
|
+
bodyMapper: ErrorResponseAutoGenerated
|
|
8100
|
+
}
|
|
8101
|
+
},
|
|
8102
|
+
requestBody: parameters2,
|
|
8103
|
+
queryParameters: [apiVersion3],
|
|
8104
|
+
urlParameters: [
|
|
8105
|
+
$host,
|
|
8106
|
+
managementGroupsNamespace,
|
|
8107
|
+
managementGroupId
|
|
8108
|
+
],
|
|
8109
|
+
headerParameters: [accept, contentType],
|
|
8110
|
+
mediaType: "json",
|
|
8111
|
+
serializer: serializer$1
|
|
7840
8112
|
};
|
|
7841
8113
|
|
|
7842
8114
|
/*
|
|
@@ -8007,7 +8279,7 @@ class AttestationsImpl {
|
|
|
8007
8279
|
* @param options The options parameters.
|
|
8008
8280
|
*/
|
|
8009
8281
|
_listForSubscription(options) {
|
|
8010
|
-
return this.client.sendOperationRequest({ options }, listForSubscriptionOperationSpec
|
|
8282
|
+
return this.client.sendOperationRequest({ options }, listForSubscriptionOperationSpec);
|
|
8011
8283
|
}
|
|
8012
8284
|
/**
|
|
8013
8285
|
* Creates or updates an attestation at subscription scope.
|
|
@@ -8039,11 +8311,13 @@ class AttestationsImpl {
|
|
|
8039
8311
|
}
|
|
8040
8312
|
};
|
|
8041
8313
|
});
|
|
8042
|
-
const lro = new LroImpl(sendOperation, { attestationName, parameters, options }, createOrUpdateAtSubscriptionOperationSpec
|
|
8043
|
-
|
|
8314
|
+
const lro = new LroImpl(sendOperation, { attestationName, parameters, options }, createOrUpdateAtSubscriptionOperationSpec);
|
|
8315
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
8044
8316
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8045
8317
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
8046
8318
|
});
|
|
8319
|
+
yield poller.poll();
|
|
8320
|
+
return poller;
|
|
8047
8321
|
});
|
|
8048
8322
|
}
|
|
8049
8323
|
/**
|
|
@@ -8064,7 +8338,7 @@ class AttestationsImpl {
|
|
|
8064
8338
|
* @param options The options parameters.
|
|
8065
8339
|
*/
|
|
8066
8340
|
getAtSubscription(attestationName, options) {
|
|
8067
|
-
return this.client.sendOperationRequest({ attestationName, options }, getAtSubscriptionOperationSpec
|
|
8341
|
+
return this.client.sendOperationRequest({ attestationName, options }, getAtSubscriptionOperationSpec);
|
|
8068
8342
|
}
|
|
8069
8343
|
/**
|
|
8070
8344
|
* Deletes an existing attestation at subscription scope.
|
|
@@ -8072,7 +8346,7 @@ class AttestationsImpl {
|
|
|
8072
8346
|
* @param options The options parameters.
|
|
8073
8347
|
*/
|
|
8074
8348
|
deleteAtSubscription(attestationName, options) {
|
|
8075
|
-
return this.client.sendOperationRequest({ attestationName, options }, deleteAtSubscriptionOperationSpec
|
|
8349
|
+
return this.client.sendOperationRequest({ attestationName, options }, deleteAtSubscriptionOperationSpec);
|
|
8076
8350
|
}
|
|
8077
8351
|
/**
|
|
8078
8352
|
* Gets all attestations for the resource group.
|
|
@@ -8080,7 +8354,7 @@ class AttestationsImpl {
|
|
|
8080
8354
|
* @param options The options parameters.
|
|
8081
8355
|
*/
|
|
8082
8356
|
_listForResourceGroup(resourceGroupName, options) {
|
|
8083
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listForResourceGroupOperationSpec
|
|
8357
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listForResourceGroupOperationSpec);
|
|
8084
8358
|
}
|
|
8085
8359
|
/**
|
|
8086
8360
|
* Creates or updates an attestation at resource group scope.
|
|
@@ -8113,11 +8387,13 @@ class AttestationsImpl {
|
|
|
8113
8387
|
}
|
|
8114
8388
|
};
|
|
8115
8389
|
});
|
|
8116
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, attestationName, parameters, options }, createOrUpdateAtResourceGroupOperationSpec
|
|
8117
|
-
|
|
8390
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, attestationName, parameters, options }, createOrUpdateAtResourceGroupOperationSpec);
|
|
8391
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
8118
8392
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8119
8393
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
8120
8394
|
});
|
|
8395
|
+
yield poller.poll();
|
|
8396
|
+
return poller;
|
|
8121
8397
|
});
|
|
8122
8398
|
}
|
|
8123
8399
|
/**
|
|
@@ -8140,7 +8416,7 @@ class AttestationsImpl {
|
|
|
8140
8416
|
* @param options The options parameters.
|
|
8141
8417
|
*/
|
|
8142
8418
|
getAtResourceGroup(resourceGroupName, attestationName, options) {
|
|
8143
|
-
return this.client.sendOperationRequest({ resourceGroupName, attestationName, options }, getAtResourceGroupOperationSpec
|
|
8419
|
+
return this.client.sendOperationRequest({ resourceGroupName, attestationName, options }, getAtResourceGroupOperationSpec);
|
|
8144
8420
|
}
|
|
8145
8421
|
/**
|
|
8146
8422
|
* Deletes an existing attestation at resource group scope.
|
|
@@ -8149,7 +8425,7 @@ class AttestationsImpl {
|
|
|
8149
8425
|
* @param options The options parameters.
|
|
8150
8426
|
*/
|
|
8151
8427
|
deleteAtResourceGroup(resourceGroupName, attestationName, options) {
|
|
8152
|
-
return this.client.sendOperationRequest({ resourceGroupName, attestationName, options }, deleteAtResourceGroupOperationSpec
|
|
8428
|
+
return this.client.sendOperationRequest({ resourceGroupName, attestationName, options }, deleteAtResourceGroupOperationSpec);
|
|
8153
8429
|
}
|
|
8154
8430
|
/**
|
|
8155
8431
|
* Gets all attestations for a resource.
|
|
@@ -8157,7 +8433,7 @@ class AttestationsImpl {
|
|
|
8157
8433
|
* @param options The options parameters.
|
|
8158
8434
|
*/
|
|
8159
8435
|
_listForResource(resourceId, options) {
|
|
8160
|
-
return this.client.sendOperationRequest({ resourceId, options }, listForResourceOperationSpec
|
|
8436
|
+
return this.client.sendOperationRequest({ resourceId, options }, listForResourceOperationSpec);
|
|
8161
8437
|
}
|
|
8162
8438
|
/**
|
|
8163
8439
|
* Creates or updates an attestation at resource scope.
|
|
@@ -8190,11 +8466,13 @@ class AttestationsImpl {
|
|
|
8190
8466
|
}
|
|
8191
8467
|
};
|
|
8192
8468
|
});
|
|
8193
|
-
const lro = new LroImpl(sendOperation, { resourceId, attestationName, parameters, options }, createOrUpdateAtResourceOperationSpec
|
|
8194
|
-
|
|
8469
|
+
const lro = new LroImpl(sendOperation, { resourceId, attestationName, parameters, options }, createOrUpdateAtResourceOperationSpec);
|
|
8470
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
8195
8471
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8196
8472
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
8197
8473
|
});
|
|
8474
|
+
yield poller.poll();
|
|
8475
|
+
return poller;
|
|
8198
8476
|
});
|
|
8199
8477
|
}
|
|
8200
8478
|
/**
|
|
@@ -8217,7 +8495,7 @@ class AttestationsImpl {
|
|
|
8217
8495
|
* @param options The options parameters.
|
|
8218
8496
|
*/
|
|
8219
8497
|
getAtResource(resourceId, attestationName, options) {
|
|
8220
|
-
return this.client.sendOperationRequest({ resourceId, attestationName, options }, getAtResourceOperationSpec
|
|
8498
|
+
return this.client.sendOperationRequest({ resourceId, attestationName, options }, getAtResourceOperationSpec);
|
|
8221
8499
|
}
|
|
8222
8500
|
/**
|
|
8223
8501
|
* Deletes an existing attestation at individual resource scope.
|
|
@@ -8226,7 +8504,7 @@ class AttestationsImpl {
|
|
|
8226
8504
|
* @param options The options parameters.
|
|
8227
8505
|
*/
|
|
8228
8506
|
deleteAtResource(resourceId, attestationName, options) {
|
|
8229
|
-
return this.client.sendOperationRequest({ resourceId, attestationName, options }, deleteAtResourceOperationSpec
|
|
8507
|
+
return this.client.sendOperationRequest({ resourceId, attestationName, options }, deleteAtResourceOperationSpec);
|
|
8230
8508
|
}
|
|
8231
8509
|
/**
|
|
8232
8510
|
* ListForSubscriptionNext
|
|
@@ -8234,7 +8512,7 @@ class AttestationsImpl {
|
|
|
8234
8512
|
* @param options The options parameters.
|
|
8235
8513
|
*/
|
|
8236
8514
|
_listForSubscriptionNext(nextLink, options) {
|
|
8237
|
-
return this.client.sendOperationRequest({ nextLink, options }, listForSubscriptionNextOperationSpec
|
|
8515
|
+
return this.client.sendOperationRequest({ nextLink, options }, listForSubscriptionNextOperationSpec);
|
|
8238
8516
|
}
|
|
8239
8517
|
/**
|
|
8240
8518
|
* ListForResourceGroupNext
|
|
@@ -8243,7 +8521,7 @@ class AttestationsImpl {
|
|
|
8243
8521
|
* @param options The options parameters.
|
|
8244
8522
|
*/
|
|
8245
8523
|
_listForResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
8246
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listForResourceGroupNextOperationSpec
|
|
8524
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listForResourceGroupNextOperationSpec);
|
|
8247
8525
|
}
|
|
8248
8526
|
/**
|
|
8249
8527
|
* ListForResourceNext
|
|
@@ -8252,12 +8530,12 @@ class AttestationsImpl {
|
|
|
8252
8530
|
* @param options The options parameters.
|
|
8253
8531
|
*/
|
|
8254
8532
|
_listForResourceNext(resourceId, nextLink, options) {
|
|
8255
|
-
return this.client.sendOperationRequest({ resourceId, nextLink, options }, listForResourceNextOperationSpec
|
|
8533
|
+
return this.client.sendOperationRequest({ resourceId, nextLink, options }, listForResourceNextOperationSpec);
|
|
8256
8534
|
}
|
|
8257
8535
|
}
|
|
8258
8536
|
// Operation Specifications
|
|
8259
|
-
const serializer
|
|
8260
|
-
const listForSubscriptionOperationSpec
|
|
8537
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
8538
|
+
const listForSubscriptionOperationSpec = {
|
|
8261
8539
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations",
|
|
8262
8540
|
httpMethod: "GET",
|
|
8263
8541
|
responses: {
|
|
@@ -8271,9 +8549,9 @@ const listForSubscriptionOperationSpec$1 = {
|
|
|
8271
8549
|
queryParameters: [top, filter, apiVersion4],
|
|
8272
8550
|
urlParameters: [$host, subscriptionId],
|
|
8273
8551
|
headerParameters: [accept],
|
|
8274
|
-
serializer
|
|
8552
|
+
serializer
|
|
8275
8553
|
};
|
|
8276
|
-
const createOrUpdateAtSubscriptionOperationSpec
|
|
8554
|
+
const createOrUpdateAtSubscriptionOperationSpec = {
|
|
8277
8555
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8278
8556
|
httpMethod: "PUT",
|
|
8279
8557
|
responses: {
|
|
@@ -8293,7 +8571,7 @@ const createOrUpdateAtSubscriptionOperationSpec$1 = {
|
|
|
8293
8571
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8294
8572
|
}
|
|
8295
8573
|
},
|
|
8296
|
-
requestBody:
|
|
8574
|
+
requestBody: parameters3,
|
|
8297
8575
|
queryParameters: [apiVersion4],
|
|
8298
8576
|
urlParameters: [
|
|
8299
8577
|
$host,
|
|
@@ -8302,9 +8580,9 @@ const createOrUpdateAtSubscriptionOperationSpec$1 = {
|
|
|
8302
8580
|
],
|
|
8303
8581
|
headerParameters: [accept, contentType],
|
|
8304
8582
|
mediaType: "json",
|
|
8305
|
-
serializer
|
|
8583
|
+
serializer
|
|
8306
8584
|
};
|
|
8307
|
-
const getAtSubscriptionOperationSpec
|
|
8585
|
+
const getAtSubscriptionOperationSpec = {
|
|
8308
8586
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8309
8587
|
httpMethod: "GET",
|
|
8310
8588
|
responses: {
|
|
@@ -8322,9 +8600,9 @@ const getAtSubscriptionOperationSpec$1 = {
|
|
|
8322
8600
|
attestationName
|
|
8323
8601
|
],
|
|
8324
8602
|
headerParameters: [accept],
|
|
8325
|
-
serializer
|
|
8603
|
+
serializer
|
|
8326
8604
|
};
|
|
8327
|
-
const deleteAtSubscriptionOperationSpec
|
|
8605
|
+
const deleteAtSubscriptionOperationSpec = {
|
|
8328
8606
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8329
8607
|
httpMethod: "DELETE",
|
|
8330
8608
|
responses: {
|
|
@@ -8341,9 +8619,9 @@ const deleteAtSubscriptionOperationSpec$1 = {
|
|
|
8341
8619
|
attestationName
|
|
8342
8620
|
],
|
|
8343
8621
|
headerParameters: [accept],
|
|
8344
|
-
serializer
|
|
8622
|
+
serializer
|
|
8345
8623
|
};
|
|
8346
|
-
const listForResourceGroupOperationSpec
|
|
8624
|
+
const listForResourceGroupOperationSpec = {
|
|
8347
8625
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations",
|
|
8348
8626
|
httpMethod: "GET",
|
|
8349
8627
|
responses: {
|
|
@@ -8361,9 +8639,9 @@ const listForResourceGroupOperationSpec$1 = {
|
|
|
8361
8639
|
resourceGroupName1
|
|
8362
8640
|
],
|
|
8363
8641
|
headerParameters: [accept],
|
|
8364
|
-
serializer
|
|
8642
|
+
serializer
|
|
8365
8643
|
};
|
|
8366
|
-
const createOrUpdateAtResourceGroupOperationSpec
|
|
8644
|
+
const createOrUpdateAtResourceGroupOperationSpec = {
|
|
8367
8645
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8368
8646
|
httpMethod: "PUT",
|
|
8369
8647
|
responses: {
|
|
@@ -8383,7 +8661,7 @@ const createOrUpdateAtResourceGroupOperationSpec$1 = {
|
|
|
8383
8661
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8384
8662
|
}
|
|
8385
8663
|
},
|
|
8386
|
-
requestBody:
|
|
8664
|
+
requestBody: parameters3,
|
|
8387
8665
|
queryParameters: [apiVersion4],
|
|
8388
8666
|
urlParameters: [
|
|
8389
8667
|
$host,
|
|
@@ -8393,9 +8671,9 @@ const createOrUpdateAtResourceGroupOperationSpec$1 = {
|
|
|
8393
8671
|
],
|
|
8394
8672
|
headerParameters: [accept, contentType],
|
|
8395
8673
|
mediaType: "json",
|
|
8396
|
-
serializer
|
|
8674
|
+
serializer
|
|
8397
8675
|
};
|
|
8398
|
-
const getAtResourceGroupOperationSpec
|
|
8676
|
+
const getAtResourceGroupOperationSpec = {
|
|
8399
8677
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8400
8678
|
httpMethod: "GET",
|
|
8401
8679
|
responses: {
|
|
@@ -8414,9 +8692,9 @@ const getAtResourceGroupOperationSpec$1 = {
|
|
|
8414
8692
|
attestationName
|
|
8415
8693
|
],
|
|
8416
8694
|
headerParameters: [accept],
|
|
8417
|
-
serializer
|
|
8695
|
+
serializer
|
|
8418
8696
|
};
|
|
8419
|
-
const deleteAtResourceGroupOperationSpec
|
|
8697
|
+
const deleteAtResourceGroupOperationSpec = {
|
|
8420
8698
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8421
8699
|
httpMethod: "DELETE",
|
|
8422
8700
|
responses: {
|
|
@@ -8434,9 +8712,9 @@ const deleteAtResourceGroupOperationSpec$1 = {
|
|
|
8434
8712
|
attestationName
|
|
8435
8713
|
],
|
|
8436
8714
|
headerParameters: [accept],
|
|
8437
|
-
serializer
|
|
8715
|
+
serializer
|
|
8438
8716
|
};
|
|
8439
|
-
const listForResourceOperationSpec
|
|
8717
|
+
const listForResourceOperationSpec = {
|
|
8440
8718
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/attestations",
|
|
8441
8719
|
httpMethod: "GET",
|
|
8442
8720
|
responses: {
|
|
@@ -8450,9 +8728,9 @@ const listForResourceOperationSpec$1 = {
|
|
|
8450
8728
|
queryParameters: [top, filter, apiVersion4],
|
|
8451
8729
|
urlParameters: [$host, resourceId],
|
|
8452
8730
|
headerParameters: [accept],
|
|
8453
|
-
serializer
|
|
8731
|
+
serializer
|
|
8454
8732
|
};
|
|
8455
|
-
const createOrUpdateAtResourceOperationSpec
|
|
8733
|
+
const createOrUpdateAtResourceOperationSpec = {
|
|
8456
8734
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8457
8735
|
httpMethod: "PUT",
|
|
8458
8736
|
responses: {
|
|
@@ -8472,7 +8750,7 @@ const createOrUpdateAtResourceOperationSpec$1 = {
|
|
|
8472
8750
|
bodyMapper: ErrorResponseAutoGenerated2
|
|
8473
8751
|
}
|
|
8474
8752
|
},
|
|
8475
|
-
requestBody:
|
|
8753
|
+
requestBody: parameters3,
|
|
8476
8754
|
queryParameters: [apiVersion4],
|
|
8477
8755
|
urlParameters: [
|
|
8478
8756
|
$host,
|
|
@@ -8481,9 +8759,9 @@ const createOrUpdateAtResourceOperationSpec$1 = {
|
|
|
8481
8759
|
],
|
|
8482
8760
|
headerParameters: [accept, contentType],
|
|
8483
8761
|
mediaType: "json",
|
|
8484
|
-
serializer
|
|
8762
|
+
serializer
|
|
8485
8763
|
};
|
|
8486
|
-
const getAtResourceOperationSpec
|
|
8764
|
+
const getAtResourceOperationSpec = {
|
|
8487
8765
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8488
8766
|
httpMethod: "GET",
|
|
8489
8767
|
responses: {
|
|
@@ -8501,9 +8779,9 @@ const getAtResourceOperationSpec$1 = {
|
|
|
8501
8779
|
attestationName
|
|
8502
8780
|
],
|
|
8503
8781
|
headerParameters: [accept],
|
|
8504
|
-
serializer
|
|
8782
|
+
serializer
|
|
8505
8783
|
};
|
|
8506
|
-
const deleteAtResourceOperationSpec
|
|
8784
|
+
const deleteAtResourceOperationSpec = {
|
|
8507
8785
|
path: "/{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}",
|
|
8508
8786
|
httpMethod: "DELETE",
|
|
8509
8787
|
responses: {
|
|
@@ -8520,9 +8798,9 @@ const deleteAtResourceOperationSpec$1 = {
|
|
|
8520
8798
|
attestationName
|
|
8521
8799
|
],
|
|
8522
8800
|
headerParameters: [accept],
|
|
8523
|
-
serializer
|
|
8801
|
+
serializer
|
|
8524
8802
|
};
|
|
8525
|
-
const listForSubscriptionNextOperationSpec
|
|
8803
|
+
const listForSubscriptionNextOperationSpec = {
|
|
8526
8804
|
path: "{nextLink}",
|
|
8527
8805
|
httpMethod: "GET",
|
|
8528
8806
|
responses: {
|
|
@@ -8540,9 +8818,9 @@ const listForSubscriptionNextOperationSpec$1 = {
|
|
|
8540
8818
|
nextLink
|
|
8541
8819
|
],
|
|
8542
8820
|
headerParameters: [accept],
|
|
8543
|
-
serializer
|
|
8821
|
+
serializer
|
|
8544
8822
|
};
|
|
8545
|
-
const listForResourceGroupNextOperationSpec
|
|
8823
|
+
const listForResourceGroupNextOperationSpec = {
|
|
8546
8824
|
path: "{nextLink}",
|
|
8547
8825
|
httpMethod: "GET",
|
|
8548
8826
|
responses: {
|
|
@@ -8561,9 +8839,9 @@ const listForResourceGroupNextOperationSpec$1 = {
|
|
|
8561
8839
|
resourceGroupName1
|
|
8562
8840
|
],
|
|
8563
8841
|
headerParameters: [accept],
|
|
8564
|
-
serializer
|
|
8842
|
+
serializer
|
|
8565
8843
|
};
|
|
8566
|
-
const listForResourceNextOperationSpec
|
|
8844
|
+
const listForResourceNextOperationSpec = {
|
|
8567
8845
|
path: "{nextLink}",
|
|
8568
8846
|
httpMethod: "GET",
|
|
8569
8847
|
responses: {
|
|
@@ -8577,7 +8855,7 @@ const listForResourceNextOperationSpec$1 = {
|
|
|
8577
8855
|
queryParameters: [top, filter, apiVersion4],
|
|
8578
8856
|
urlParameters: [$host, resourceId, nextLink],
|
|
8579
8857
|
headerParameters: [accept],
|
|
8580
|
-
serializer
|
|
8858
|
+
serializer
|
|
8581
8859
|
};
|
|
8582
8860
|
|
|
8583
8861
|
/*
|
|
@@ -8587,7 +8865,7 @@ const listForResourceNextOperationSpec$1 = {
|
|
|
8587
8865
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
8588
8866
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8589
8867
|
*/
|
|
8590
|
-
class PolicyInsightsClient extends
|
|
8868
|
+
class PolicyInsightsClient extends coreClient__namespace.ServiceClient {
|
|
8591
8869
|
/**
|
|
8592
8870
|
* Initializes a new instance of the PolicyInsightsClient class.
|
|
8593
8871
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -8595,6 +8873,7 @@ class PolicyInsightsClient extends coreClient.ServiceClient {
|
|
|
8595
8873
|
* @param options The parameter options
|
|
8596
8874
|
*/
|
|
8597
8875
|
constructor(credentials, subscriptionId, options) {
|
|
8876
|
+
var _a, _b;
|
|
8598
8877
|
if (credentials === undefined) {
|
|
8599
8878
|
throw new Error("'credentials' cannot be null");
|
|
8600
8879
|
}
|
|
@@ -8609,7 +8888,7 @@ class PolicyInsightsClient extends coreClient.ServiceClient {
|
|
|
8609
8888
|
requestContentType: "application/json; charset=utf-8",
|
|
8610
8889
|
credential: credentials
|
|
8611
8890
|
};
|
|
8612
|
-
const packageDetails = `azsdk-js-arm-policyinsights/
|
|
8891
|
+
const packageDetails = `azsdk-js-arm-policyinsights/6.0.0-beta.1`;
|
|
8613
8892
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
8614
8893
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
8615
8894
|
: `${packageDetails}`;
|
|
@@ -8618,7 +8897,7 @@ class PolicyInsightsClient extends coreClient.ServiceClient {
|
|
|
8618
8897
|
}
|
|
8619
8898
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
8620
8899
|
userAgentPrefix
|
|
8621
|
-
}, baseUri: options.endpoint
|
|
8900
|
+
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
8622
8901
|
super(optionsWithDefaults);
|
|
8623
8902
|
// Parameter assignments
|
|
8624
8903
|
this.subscriptionId = subscriptionId;
|