@azure/arm-policyinsights 6.0.0-beta.1 → 6.0.0-beta.2
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 +3 -1
- package/README.md +1 -1
- package/dist/index.js +45 -2
- 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.js +3 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js +3 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js +4 -2
- package/dist-esm/samples-dev/attestationsCreateOrUpdateAtSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtResourceSample.js +1 -1
- package/dist-esm/samples-dev/attestationsDeleteAtSubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/attestationsGetAtResourceSample.js +1 -1
- package/dist-esm/samples-dev/attestationsGetAtSubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/attestationsListForResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/attestationsListForResourceSample.js +2 -2
- package/dist-esm/samples-dev/attestationsListForSubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js +1 -3
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js +1 -3
- package/dist-esm/samples-dev/policyEventsListQueryResultsForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +2 -4
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js +2 -4
- package/dist-esm/samples-dev/policyEventsListQueryResultsForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +2 -4
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js +6 -13
- package/dist-esm/samples-dev/policyEventsListQueryResultsForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js +1 -3
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js +2 -4
- package/dist-esm/samples-dev/policyStatesListQueryResultsForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js +2 -4
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js +1 -3
- package/dist-esm/samples-dev/policyStatesListQueryResultsForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js +1 -3
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js +4 -11
- package/dist-esm/samples-dev/policyStatesListQueryResultsForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js +1 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicyDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js +1 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForPolicySetDefinitionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js +1 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js +1 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js +1 -2
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionLevelPolicyAssignmentSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js +1 -3
- package/dist-esm/samples-dev/policyStatesSummarizeForSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js +1 -2
- package/dist-esm/samples-dev/policyStatesTriggerResourceGroupEvaluationSample.js.map +1 -1
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js +1 -2
- package/dist-esm/samples-dev/policyStatesTriggerSubscriptionEvaluationSample.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +17 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +11 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/policyInsightsClient.d.ts.map +1 -1
- package/dist-esm/src/policyInsightsClient.js +23 -1
- package/dist-esm/src/policyInsightsClient.js.map +1 -1
- package/dist-esm/test/policyinsights_example.spec.d.ts +4 -0
- package/dist-esm/test/policyinsights_example.spec.d.ts.map +1 -0
- package/dist-esm/test/policyinsights_example.spec.js +71 -0
- package/dist-esm/test/policyinsights_example.spec.js.map +1 -0
- package/package.json +15 -11
- package/review/arm-policyinsights.api.md +12 -19
- package/src/models/index.ts +17 -4
- package/src/models/mappers.ts +13 -0
- package/src/models/parameters.ts +1 -1
- package/src/policyInsightsClient.ts +32 -1
- package/types/arm-policyinsights.d.ts +17 -4
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/cancelARemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.js +0 -31
- package/dist-esm/samples-dev/cancelARemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/cancelARemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/cancelARemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.js +0 -47
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.js +0 -46
- package/dist-esm/samples-dev/checkPolicyRestrictionsAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.js +0 -45
- package/dist-esm/samples-dev/createAttestationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.js +0 -45
- package/dist-esm/samples-dev/createAttestationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.js +0 -34
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.d.ts +0 -2
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.d.ts.map +0 -1
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.js +0 -44
- package/dist-esm/samples-dev/createAttestationAtSubscriptionScopeWithAllProperties.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.js +0 -34
- package/dist-esm/samples-dev/createRemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.js +0 -34
- package/dist-esm/samples-dev/createRemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.js +0 -34
- package/dist-esm/samples-dev/createRemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.js +0 -33
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.d.ts +0 -2
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.js +0 -39
- package/dist-esm/samples-dev/createRemediationAtSubscriptionScopeWithAllProperties.js.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/deleteAttestationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/deleteAttestationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/deleteAttestationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/deleteRemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.js +0 -31
- package/dist-esm/samples-dev/deleteRemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/deleteRemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/deleteRemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/filterAndAggregateOnly.d.ts +0 -2
- package/dist-esm/samples-dev/filterAndAggregateOnly.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterAndAggregateOnly.js +0 -49
- package/dist-esm/samples-dev/filterAndAggregateOnly.js.map +0 -1
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.d.ts +0 -2
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.js +0 -57
- package/dist-esm/samples-dev/filterAndGroupWithAggregate.js.map +0 -1
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.d.ts +0 -2
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.js +0 -50
- package/dist-esm/samples-dev/filterAndGroupWithoutAggregate.js.map +0 -1
- package/dist-esm/samples-dev/filterAndMultipleGroups.d.ts +0 -2
- package/dist-esm/samples-dev/filterAndMultipleGroups.d.ts.map +0 -1
- package/dist-esm/samples-dev/filterAndMultipleGroups.js +0 -50
- package/dist-esm/samples-dev/filterAndMultipleGroups.js.map +0 -1
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.d.ts +0 -2
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.js +0 -30
- package/dist-esm/samples-dev/getASinglePolicyMetadataResource.js.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/getAttestationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/getAttestationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/getAttestationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.d.ts +0 -2
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.d.ts.map +0 -1
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.js +0 -43
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResources.js.map +0 -1
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.d.ts +0 -2
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.d.ts.map +0 -1
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.js +0 -45
- package/dist-esm/samples-dev/getCollectionOfPolicyMetadataResourcesUsingTopQueryParameter.js.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.js +0 -31
- package/dist-esm/samples-dev/getRemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.js +0 -31
- package/dist-esm/samples-dev/getRemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/getRemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.js +0 -30
- package/dist-esm/samples-dev/getRemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.js +0 -44
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listAttestationsAtIndividualResourceScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.js +0 -44
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listAttestationsAtResourceGroupScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.js +0 -43
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.js +0 -46
- package/dist-esm/samples-dev/listAttestationsAtSubscriptionScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.js +0 -45
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.js +0 -45
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.js +0 -45
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.js +0 -44
- package/dist-esm/samples-dev/listDeploymentsForARemediationAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/listOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listOperations.js +0 -29
- package/dist-esm/samples-dev/listOperations.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.js +0 -44
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listRemediationsAtIndividualResourceScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.js +0 -44
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listRemediationsAtManagementGroupScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.js +0 -44
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.js +0 -47
- package/dist-esm/samples-dev/listRemediationsAtResourceGroupScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.js +0 -43
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.js +0 -46
- package/dist-esm/samples-dev/listRemediationsAtSubscriptionScopeWithQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.js +0 -45
- package/dist-esm/samples-dev/queryAllPolicyStatesAtNestedResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.js +0 -45
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.js +0 -47
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeAndExpandPolicyEvaluationDetails.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAllPolicyStatesAtResourceScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.js +0 -45
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelNestedResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.js +0 -45
- package/dist-esm/samples-dev/queryAllPolicyStatesAtSubscriptionLevelResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScope.js +0 -44
- package/dist-esm/samples-dev/queryAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.js +0 -47
- package/dist-esm/samples-dev/queryAtManagementGroupScopeUsingQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.js +0 -46
- package/dist-esm/samples-dev/queryAtManagementGroupScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtNestedResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtNestedResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtNestedResourceScope.js +0 -44
- package/dist-esm/samples-dev/queryAtNestedResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.js +0 -46
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScope.js +0 -45
- package/dist-esm/samples-dev/queryAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.js +0 -47
- package/dist-esm/samples-dev/queryAtResourceGroupScopeUsingQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAtResourceGroupScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScope.js +0 -44
- package/dist-esm/samples-dev/queryAtResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.js +0 -47
- package/dist-esm/samples-dev/queryAtResourceScopeUsingQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.js +0 -46
- package/dist-esm/samples-dev/queryAtResourceScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.js +0 -44
- package/dist-esm/samples-dev/queryAtSubscriptionLevelNestedResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.js +0 -45
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.js +0 -45
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.js +0 -45
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.js +0 -44
- package/dist-esm/samples-dev/queryAtSubscriptionLevelResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScope.js +0 -44
- package/dist-esm/samples-dev/queryAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.js +0 -46
- package/dist-esm/samples-dev/queryAtSubscriptionScopeUsingQueryParameters.js.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.js +0 -46
- package/dist-esm/samples-dev/queryAtSubscriptionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.d.ts +0 -2
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.js +0 -48
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.js.map +0 -1
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.d.ts +0 -2
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.js +0 -48
- package/dist-esm/samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.js.map +0 -1
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.d.ts +0 -2
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.js +0 -47
- package/dist-esm/samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.js.map +0 -1
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.d.ts +0 -2
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js +0 -47
- package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.js +0 -45
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryLatestAtManagementGroupScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.js +0 -47
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js +0 -49
- package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.js +0 -46
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryLatestAtResourceGroupScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.js +0 -46
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyAssignmentScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.js +0 -46
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicyDefinitionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.js +0 -46
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js +0 -48
- package/dist-esm/samples-dev/queryLatestAtSubscriptionLevelPolicySetDefinitionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.js +0 -45
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.d.ts +0 -2
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.js +0 -47
- package/dist-esm/samples-dev/queryLatestAtSubscriptionScopeWithNextLink.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.js +0 -35
- package/dist-esm/samples-dev/summarizeAtManagementGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.js +0 -32
- package/dist-esm/samples-dev/summarizeAtPolicyAssignmentScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.js +0 -31
- package/dist-esm/samples-dev/summarizeAtPolicyDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.js +0 -36
- package/dist-esm/samples-dev/summarizeAtPolicySetDefinitionScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.js +0 -31
- package/dist-esm/samples-dev/summarizeAtResourceGroupScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtResourceScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtResourceScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtResourceScope.js +0 -32
- package/dist-esm/samples-dev/summarizeAtResourceScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.js +0 -32
- package/dist-esm/samples-dev/summarizeAtSubscriptionScope.js.map +0 -1
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.d.ts +0 -2
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.js +0 -33
- package/dist-esm/samples-dev/summarizeAtSubscriptionScopeForAPolicyDefinitionGroup.js.map +0 -1
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.d.ts +0 -2
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.d.ts.map +0 -1
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.js +0 -57
- package/dist-esm/samples-dev/timeRangeSortSelectAndLimit.js.map +0 -1
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.js +0 -31
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInAResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.d.ts +0 -2
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.js +0 -30
- package/dist-esm/samples-dev/triggerEvaluationsForAllResourcesInASubscription.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy tracked resources under the subscription.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy tracked resources under the subscription.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScopeWithFilterAndTop.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryAtSubscriptionScopeUsingQueryParameters() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "fffedd8f-ffff-fffd-fffd-fffed2f84852";
|
|
23
|
-
const top = 1;
|
|
24
|
-
const filter = "PolicyAssignmentId eq '/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Authorization/policyAssignments/myPolicyAssignment' AND TrackedResourceId eq '/subscriptions/fff8dfdb-fff3-fff0-fff4-fffdcbe6b2ef/resourceGroups/myResourceGroup/providers/Microsoft.Example/exampleResourceType/exampleTrackedResourceName'";
|
|
25
|
-
const options = { top: top, filter: filter };
|
|
26
|
-
const credential = new DefaultAzureCredential();
|
|
27
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
28
|
-
const resArray = new Array();
|
|
29
|
-
try {
|
|
30
|
-
for (var _b = __asyncValues(client.policyTrackedResources.listQueryResultsForSubscription("default", { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
31
|
-
let item = _c.value;
|
|
32
|
-
resArray.push(item);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
36
|
-
finally {
|
|
37
|
-
try {
|
|
38
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
39
|
-
}
|
|
40
|
-
finally { if (e_1) throw e_1.error; }
|
|
41
|
-
}
|
|
42
|
-
console.log(resArray);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
queryAtSubscriptionScopeUsingQueryParameters().catch(console.error);
|
|
46
|
-
//# sourceMappingURL=queryAtSubscriptionScopeUsingQueryParameters.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryAtSubscriptionScopeUsingQueryParameters.js","sourceRoot":"","sources":["../../samples-dev/queryAtSubscriptionScopeUsingQueryParameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,4CAA4C;;;QACzD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,GAAG,GAAG,CAAC,CAAC;QACd,MAAM,MAAM,GACV,4WAA4W,CAAC;QAC/W,MAAM,OAAO,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,+BAA+B,CAClF,SAAS,EACT,EAAE,YAAY,EAAE,OAAO,EAAE,CAC1B,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,4CAA4C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryAtSubscriptionScopeWithNextLink.d.ts","sourceRoot":"","sources":["../../samples-dev/queryAtSubscriptionScopeWithNextLink.ts"],"names":[],"mappings":""}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy events for the resources under the subscription.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy events for the resources under the subscription.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QuerySubscriptionScopeNextLink.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryAtSubscriptionScopeWithNextLink() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const subscriptionId2 = "fffedd8f-ffff-fffd-fffd-fffed2f84852";
|
|
24
|
-
const skipToken = "WpmWfBSvPhkAK6QD";
|
|
25
|
-
const options = { skipToken: skipToken };
|
|
26
|
-
const credential = new DefaultAzureCredential();
|
|
27
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
28
|
-
const resArray = new Array();
|
|
29
|
-
try {
|
|
30
|
-
for (var _b = __asyncValues(client.policyEvents.listQueryResultsForSubscription("default", subscriptionId2, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
31
|
-
let item = _c.value;
|
|
32
|
-
resArray.push(item);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
36
|
-
finally {
|
|
37
|
-
try {
|
|
38
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
39
|
-
}
|
|
40
|
-
finally { if (e_1) throw e_1.error; }
|
|
41
|
-
}
|
|
42
|
-
console.log(resArray);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
queryAtSubscriptionScopeWithNextLink().catch(console.error);
|
|
46
|
-
//# sourceMappingURL=queryAtSubscriptionScopeWithNextLink.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryAtSubscriptionScopeWithNextLink.js","sourceRoot":"","sources":["../../samples-dev/queryAtSubscriptionScopeWithNextLink.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,oCAAoC;;;QACjD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,SAAS,GAAG,kBAAkB,CAAC;QACrC,MAAM,OAAO,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,+BAA+B,CACxE,SAAS,EACT,eAAe,EACf,EAAE,YAAY,EAAE,OAAO,EAAE,CAC1B,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,oCAAoC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.d.ts","sourceRoot":"","sources":["../../samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.ts"],"names":[],"mappings":""}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy states for the resource.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resource.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryResourceScopeExpandComponents.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const policyStatesResource = "latest";
|
|
24
|
-
const resourceId = "subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/Vaults/myKVName";
|
|
25
|
-
const filter = "policyAssignmentId eq '/subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/providers/microsoft.authorization/policyassignments/560050f83dbb4a24974323f8'";
|
|
26
|
-
const expand = "components($filter=ComplianceState eq 'NonCompliant' or ComplianceState eq 'Compliant')";
|
|
27
|
-
const options = { filter: filter, expand: expand };
|
|
28
|
-
const credential = new DefaultAzureCredential();
|
|
29
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
30
|
-
const resArray = new Array();
|
|
31
|
-
try {
|
|
32
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForResource(policyStatesResource, resourceId, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
33
|
-
let item = _c.value;
|
|
34
|
-
resArray.push(item);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
-
finally {
|
|
39
|
-
try {
|
|
40
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
41
|
-
}
|
|
42
|
-
finally { if (e_1) throw e_1.error; }
|
|
43
|
-
}
|
|
44
|
-
console.log(resArray);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment().catch(console.error);
|
|
48
|
-
//# sourceMappingURL=queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.js","sourceRoot":"","sources":["../../samples-dev/queryComponentPolicyComplianceStateAtResourceScopeFilteredByGivenAssignment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2EAA2E;;;QACxF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,UAAU,GACd,gIAAgI,CAAC;QACnI,MAAM,MAAM,GACV,0JAA0J,CAAC;QAC7J,MAAM,MAAM,GACV,yFAAyF,CAAC;QAC5F,MAAM,OAAO,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,2BAA2B,CACpE,oBAAoB,EACpB,UAAU,EACV,EAAE,YAAY,EAAE,OAAO,EAAE,CAC1B,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,2EAA2E,EAAE,CAAC,KAAK,CACjF,OAAO,CAAC,KAAK,CACd,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.d.ts","sourceRoot":"","sources":["../../samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.ts"],"names":[],"mappings":""}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy states for the resource.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resource.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryResourceScopeExpandComponentsGroupByWithAggregate.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const policyStatesResource = "latest";
|
|
24
|
-
const resourceId = "subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/Vaults/myKVName";
|
|
25
|
-
const filter = "policyAssignmentId eq '/subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/providers/microsoft.authorization/policyassignments/560050f83dbb4a24974323f8'";
|
|
26
|
-
const expand = "components($filter=ComplianceState eq 'NonCompliant' or ComplianceState eq 'Compliant';$apply=groupby((complianceState),aggregate($count as count)))";
|
|
27
|
-
const options = { filter: filter, expand: expand };
|
|
28
|
-
const credential = new DefaultAzureCredential();
|
|
29
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
30
|
-
const resArray = new Array();
|
|
31
|
-
try {
|
|
32
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForResource(policyStatesResource, resourceId, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
33
|
-
let item = _c.value;
|
|
34
|
-
resArray.push(item);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
-
finally {
|
|
39
|
-
try {
|
|
40
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
41
|
-
}
|
|
42
|
-
finally { if (e_1) throw e_1.error; }
|
|
43
|
-
}
|
|
44
|
-
console.log(resArray);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment().catch(console.error);
|
|
48
|
-
//# sourceMappingURL=queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.js","sourceRoot":"","sources":["../../samples-dev/queryComponentPolicyComplianceStateCountGroupedByStateTypeAtResourceScopeFilteredByGivenAssignment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,kGAAkG;;;QAC/G,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,UAAU,GACd,gIAAgI,CAAC;QACnI,MAAM,MAAM,GACV,0JAA0J,CAAC;QAC7J,MAAM,MAAM,GACV,sJAAsJ,CAAC;QACzJ,MAAM,OAAO,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,2BAA2B,CACpE,oBAAoB,EACpB,UAAU,EACV,EAAE,YAAY,EAAE,OAAO,EAAE,CAC1B,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,kGAAkG,EAAE,CAAC,KAAK,CACxG,OAAO,CAAC,KAAK,CACd,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.d.ts","sourceRoot":"","sources":["../../samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.ts"],"names":[],"mappings":""}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy events for the resource.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy events for the resource.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QueryResourceScopeExpandComponentsGroupByWithAggregate.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const resourceId = "subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/Vaults/myKVName";
|
|
24
|
-
const filter = "policyAssignmentId eq '/subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/providers/microsoft.authorization/policyassignments/560050f83dbb4a24974323f8'";
|
|
25
|
-
const expand = "components($apply=groupby((tenantId, principalOid, policyDefinitionAction), aggregate($count as totalActions)))";
|
|
26
|
-
const options = { filter: filter, expand: expand };
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
29
|
-
const resArray = new Array();
|
|
30
|
-
try {
|
|
31
|
-
for (var _b = __asyncValues(client.policyEvents.listQueryResultsForResource("default", resourceId, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
32
|
-
let item = _c.value;
|
|
33
|
-
resArray.push(item);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
37
|
-
finally {
|
|
38
|
-
try {
|
|
39
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
40
|
-
}
|
|
41
|
-
finally { if (e_1) throw e_1.error; }
|
|
42
|
-
}
|
|
43
|
-
console.log(resArray);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment().catch(console.error);
|
|
47
|
-
//# sourceMappingURL=queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.js","sourceRoot":"","sources":["../../samples-dev/queryComponentsPolicyEventsCountGroupedByUserAndActionTypeForResourceScopeFilteredByGivenAssignment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,mGAAmG;;;QAChH,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GACd,gIAAgI,CAAC;QACnI,MAAM,MAAM,GACV,0JAA0J,CAAC;QAC7J,MAAM,MAAM,GACV,iHAAiH,CAAC;QACpH,MAAM,OAAO,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,2BAA2B,CACpE,SAAS,EACT,UAAU,EACV,EAAE,YAAY,EAAE,OAAO,EAAE,CAC1B,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,mGAAmG,EAAE,CAAC,KAAK,CACzG,OAAO,CAAC,KAAK,CACd,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.d.ts","sourceRoot":"","sources":["../../samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.ts"],"names":[],"mappings":""}
|
package/dist-esm/samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy events for the resource.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy events for the resource.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QueryResourceScopeExpandComponents.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const resourceId = "subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/Vaults/myKVName";
|
|
24
|
-
const filter = "policyAssignmentId eq '/subscriptions/e78961ba-36fe-4739-9212-e3031b4c8db7/providers/microsoft.authorization/policyassignments/560050f83dbb4a24974323f8'";
|
|
25
|
-
const expand = "components";
|
|
26
|
-
const options = { filter: filter, expand: expand };
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
29
|
-
const resArray = new Array();
|
|
30
|
-
try {
|
|
31
|
-
for (var _b = __asyncValues(client.policyEvents.listQueryResultsForResource("default", resourceId, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
32
|
-
let item = _c.value;
|
|
33
|
-
resArray.push(item);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
37
|
-
finally {
|
|
38
|
-
try {
|
|
39
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
40
|
-
}
|
|
41
|
-
finally { if (e_1) throw e_1.error; }
|
|
42
|
-
}
|
|
43
|
-
console.log(resArray);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment().catch(console.error);
|
|
47
|
-
//# sourceMappingURL=queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.js","sourceRoot":"","sources":["../../samples-dev/queryComponentsPolicyEventsForResourceScopeFilteredByGivenAssignment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,oEAAoE;;;QACjF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GACd,gIAAgI,CAAC;QACnI,MAAM,MAAM,GACV,0JAA0J,CAAC;QAC7J,MAAM,MAAM,GAAG,YAAY,CAAC;QAC5B,MAAM,OAAO,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QACnD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,2BAA2B,CACpE,SAAS,EACT,UAAU,EACV,EAAE,YAAY,EAAE,OAAO,EAAE,CAC1B,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,oEAAoE,EAAE,CAAC,KAAK,CAC1E,OAAO,CAAC,KAAK,CACd,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtManagementGroupScope.d.ts","sourceRoot":"","sources":["../../samples-dev/queryLatestAtManagementGroupScope.ts"],"names":[],"mappings":""}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy states for the resources under the management group.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resources under the management group.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryManagementGroupScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryLatestAtManagementGroupScope() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const policyStatesResource = "latest";
|
|
24
|
-
const managementGroupName = "myManagementGroup";
|
|
25
|
-
const credential = new DefaultAzureCredential();
|
|
26
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
27
|
-
const resArray = new Array();
|
|
28
|
-
try {
|
|
29
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForManagementGroup(policyStatesResource, managementGroupName)), _c; _c = yield _b.next(), !_c.done;) {
|
|
30
|
-
let item = _c.value;
|
|
31
|
-
resArray.push(item);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
35
|
-
finally {
|
|
36
|
-
try {
|
|
37
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
38
|
-
}
|
|
39
|
-
finally { if (e_1) throw e_1.error; }
|
|
40
|
-
}
|
|
41
|
-
console.log(resArray);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
queryLatestAtManagementGroupScope().catch(console.error);
|
|
45
|
-
//# sourceMappingURL=queryLatestAtManagementGroupScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtManagementGroupScope.js","sourceRoot":"","sources":["../../samples-dev/queryLatestAtManagementGroupScope.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,iCAAiC;;;QAC9C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC;QAChD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,kCAAkC,CAC3E,oBAAoB,EACpB,mBAAmB,CACpB,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,iCAAiC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtManagementGroupScopeWithNextLink.d.ts","sourceRoot":"","sources":["../../samples-dev/queryLatestAtManagementGroupScopeWithNextLink.ts"],"names":[],"mappings":""}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy states for the resources under the management group.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resources under the management group.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryManagementGroupScopeNextLink.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryLatestAtManagementGroupScopeWithNextLink() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const policyStatesResource = "latest";
|
|
24
|
-
const managementGroupName = "myManagementGroup";
|
|
25
|
-
const skipToken = "WpmWfBSvPhkAK6QD";
|
|
26
|
-
const options = { skipToken: skipToken };
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
29
|
-
const resArray = new Array();
|
|
30
|
-
try {
|
|
31
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForManagementGroup(policyStatesResource, managementGroupName, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
32
|
-
let item = _c.value;
|
|
33
|
-
resArray.push(item);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
37
|
-
finally {
|
|
38
|
-
try {
|
|
39
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
40
|
-
}
|
|
41
|
-
finally { if (e_1) throw e_1.error; }
|
|
42
|
-
}
|
|
43
|
-
console.log(resArray);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
queryLatestAtManagementGroupScopeWithNextLink().catch(console.error);
|
|
47
|
-
//# sourceMappingURL=queryLatestAtManagementGroupScopeWithNextLink.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtManagementGroupScopeWithNextLink.js","sourceRoot":"","sources":["../../samples-dev/queryLatestAtManagementGroupScopeWithNextLink.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,6CAA6C;;;QAC1D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC;QAChD,MAAM,SAAS,GAAG,kBAAkB,CAAC;QACrC,MAAM,OAAO,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,kCAAkC,CAC3E,oBAAoB,EACpB,mBAAmB,EACnB,EAAE,YAAY,EAAE,OAAO,EAAE,CAC1B,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,6CAA6C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtResourceGroupLevelPolicyAssignmentScope.d.ts","sourceRoot":"","sources":["../../samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.ts"],"names":[],"mappings":""}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy states for the resource group level policy assignment.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resource group level policy assignment.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryLatestAtResourceGroupLevelPolicyAssignmentScope() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const policyStatesResource = "latest";
|
|
24
|
-
const subscriptionId2 = "fffedd8f-ffff-fffd-fffd-fffed2f84852";
|
|
25
|
-
const resourceGroupName = "myResourceGroup";
|
|
26
|
-
const policyAssignmentName = "myPolicyAssignment";
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
29
|
-
const resArray = new Array();
|
|
30
|
-
try {
|
|
31
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource, subscriptionId2, resourceGroupName, policyAssignmentName)), _c; _c = yield _b.next(), !_c.done;) {
|
|
32
|
-
let item = _c.value;
|
|
33
|
-
resArray.push(item);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
37
|
-
finally {
|
|
38
|
-
try {
|
|
39
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
40
|
-
}
|
|
41
|
-
finally { if (e_1) throw e_1.error; }
|
|
42
|
-
}
|
|
43
|
-
console.log(resArray);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
queryLatestAtResourceGroupLevelPolicyAssignmentScope().catch(console.error);
|
|
47
|
-
//# sourceMappingURL=queryLatestAtResourceGroupLevelPolicyAssignmentScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtResourceGroupLevelPolicyAssignmentScope.js","sourceRoot":"","sources":["../../samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScope.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,oDAAoD;;;QACjE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;QAClD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,qDAAqD,CAC9F,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,CACrB,CAAA,IAAA;gBALU,IAAI,IAAI,WAAA,CAAA;gBAMjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,oDAAoD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.d.ts","sourceRoot":"","sources":["../../samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.ts"],"names":[],"mappings":""}
|
package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Queries policy states for the resource group level policy assignment.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resource group level policy assignment.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryResourceGroupLevelPolicyAssignmentScopeNextLink.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
23
|
-
const policyStatesResource = "latest";
|
|
24
|
-
const subscriptionId2 = "fffedd8f-ffff-fffd-fffd-fffed2f84852";
|
|
25
|
-
const resourceGroupName = "myResourceGroup";
|
|
26
|
-
const policyAssignmentName = "myPolicyAssignment";
|
|
27
|
-
const skipToken = "WpmWfBSvPhkAK6QD";
|
|
28
|
-
const options = { skipToken: skipToken };
|
|
29
|
-
const credential = new DefaultAzureCredential();
|
|
30
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
31
|
-
const resArray = new Array();
|
|
32
|
-
try {
|
|
33
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource, subscriptionId2, resourceGroupName, policyAssignmentName, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
34
|
-
let item = _c.value;
|
|
35
|
-
resArray.push(item);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
39
|
-
finally {
|
|
40
|
-
try {
|
|
41
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
42
|
-
}
|
|
43
|
-
finally { if (e_1) throw e_1.error; }
|
|
44
|
-
}
|
|
45
|
-
console.log(resArray);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink().catch(console.error);
|
|
49
|
-
//# sourceMappingURL=queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js.map
|
package/dist-esm/samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.js","sourceRoot":"","sources":["../../samples-dev/queryLatestAtResourceGroupLevelPolicyAssignmentScopeWithNextLink.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gEAAgE;;;QAC7E,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;QAClD,MAAM,SAAS,GAAG,kBAAkB,CAAC;QACrC,MAAM,OAAO,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,YAAY,CAAC,qDAAqD,CAC9F,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,EAAE,YAAY,EAAE,OAAO,EAAE,CAC1B,CAAA,IAAA;gBANU,IAAI,IAAI,WAAA,CAAA;gBAOjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,gEAAgE,EAAE,CAAC,KAAK,CACtE,OAAO,CAAC,KAAK,CACd,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryLatestAtResourceGroupScope.d.ts","sourceRoot":"","sources":["../../samples-dev/queryLatestAtResourceGroupScope.ts"],"names":[],"mappings":""}
|