@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,30 +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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Deletes an existing attestation at subscription scope.
|
|
13
|
-
*
|
|
14
|
-
* @summary Deletes an existing attestation at subscription scope.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-01-01/examples/Attestations_DeleteSubscriptionScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function deleteAttestationAtSubscriptionScope() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "35ee058e-5fa0-414c-8145-3ebb8d09b6e2";
|
|
22
|
-
const attestationName = "790996e6-9871-4b1f-9cd9-ec42cd6ced1e";
|
|
23
|
-
const credential = new DefaultAzureCredential();
|
|
24
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
25
|
-
const result = yield client.attestations.deleteAtSubscription(attestationName);
|
|
26
|
-
console.log(result);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
deleteAttestationAtSubscriptionScope().catch(console.error);
|
|
30
|
-
//# sourceMappingURL=deleteAttestationAtSubscriptionScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteAttestationAtSubscriptionScope.js","sourceRoot":"","sources":["../../samples-dev/deleteAttestationAtSubscriptionScope.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,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAC3D,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oCAAoC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRemediationAtIndividualResourceScope.d.ts","sourceRoot":"","sources":["../../samples-dev/deleteRemediationAtIndividualResourceScope.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Deletes an existing remediation at individual resource scope.
|
|
13
|
-
*
|
|
14
|
-
* @summary Deletes an existing remediation at individual resource scope.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function deleteRemediationAtIndividualResourceScope() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
22
|
-
const resourceId = "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1";
|
|
23
|
-
const remediationName = "storageRemediation";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
26
|
-
const result = yield client.remediations.deleteAtResource(resourceId, remediationName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
deleteRemediationAtIndividualResourceScope().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=deleteRemediationAtIndividualResourceScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRemediationAtIndividualResourceScope.js","sourceRoot":"","sources":["../../samples-dev/deleteRemediationAtIndividualResourceScope.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,0CAA0C;;QACvD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GACd,uIAAuI,CAAC;QAC1I,MAAM,eAAe,GAAG,oBAAoB,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,gBAAgB,CACvD,UAAU,EACV,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0CAA0C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRemediationAtManagementGroupScope.d.ts","sourceRoot":"","sources":["../../samples-dev/deleteRemediationAtManagementGroupScope.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Deletes an existing remediation at management group scope.
|
|
13
|
-
*
|
|
14
|
-
* @summary Deletes an existing remediation at management group scope.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteManagementGroupScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function deleteRemediationAtManagementGroupScope() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
22
|
-
const managementGroupId = "financeMg";
|
|
23
|
-
const remediationName = "storageRemediation";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
26
|
-
const result = yield client.remediations.deleteAtManagementGroup(managementGroupId, remediationName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
deleteRemediationAtManagementGroupScope().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=deleteRemediationAtManagementGroupScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRemediationAtManagementGroupScope.js","sourceRoot":"","sources":["../../samples-dev/deleteRemediationAtManagementGroupScope.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,uCAAuC;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,eAAe,GAAG,oBAAoB,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,uBAAuB,CAC9D,iBAAiB,EACjB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRemediationAtResourceGroupScope.d.ts","sourceRoot":"","sources":["../../samples-dev/deleteRemediationAtResourceGroupScope.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Deletes an existing remediation at resource group scope.
|
|
13
|
-
*
|
|
14
|
-
* @summary Deletes an existing remediation at resource group scope.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceGroupScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function deleteRemediationAtResourceGroupScope() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "35ee058e-5fa0-414c-8145-3ebb8d09b6e2";
|
|
22
|
-
const resourceGroupName = "myResourceGroup";
|
|
23
|
-
const remediationName = "storageRemediation";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
26
|
-
const result = yield client.remediations.deleteAtResourceGroup(resourceGroupName, remediationName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
deleteRemediationAtResourceGroupScope().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=deleteRemediationAtResourceGroupScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRemediationAtResourceGroupScope.js","sourceRoot":"","sources":["../../samples-dev/deleteRemediationAtResourceGroupScope.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,qCAAqC;;QAClD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,eAAe,GAAG,oBAAoB,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,qBAAqB,CAC5D,iBAAiB,EACjB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qCAAqC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRemediationAtSubscriptionScope.d.ts","sourceRoot":"","sources":["../../samples-dev/deleteRemediationAtSubscriptionScope.ts"],"names":[],"mappings":""}
|
|
@@ -1,30 +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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Deletes an existing remediation at subscription scope.
|
|
13
|
-
*
|
|
14
|
-
* @summary Deletes an existing remediation at subscription scope.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteSubscriptionScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function deleteRemediationAtSubscriptionScope() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "35ee058e-5fa0-414c-8145-3ebb8d09b6e2";
|
|
22
|
-
const remediationName = "storageRemediation";
|
|
23
|
-
const credential = new DefaultAzureCredential();
|
|
24
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
25
|
-
const result = yield client.remediations.deleteAtSubscription(remediationName);
|
|
26
|
-
console.log(result);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
deleteRemediationAtSubscriptionScope().catch(console.error);
|
|
30
|
-
//# sourceMappingURL=deleteRemediationAtSubscriptionScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRemediationAtSubscriptionScope.js","sourceRoot":"","sources":["../../samples-dev/deleteRemediationAtSubscriptionScope.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,oBAAoB,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAC3D,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oCAAoC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterAndAggregateOnly.d.ts","sourceRoot":"","sources":["../../samples-dev/filterAndAggregateOnly.ts"],"names":[],"mappings":""}
|
|
@@ -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 resources under the subscription.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resources under the subscription.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_FilterAndAggregateOnly.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function filterAndAggregateOnly() {
|
|
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 from = new Date("2019-10-05T18:00:00Z");
|
|
26
|
-
const filter = "PolicyDefinitionAction eq 'deny'";
|
|
27
|
-
const apply = "aggregate($count as NumDenyStates)";
|
|
28
|
-
const options = { from: from, filter: filter, apply: apply };
|
|
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.listQueryResultsForSubscription(policyStatesResource, subscriptionId2, { 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
|
-
filterAndAggregateOnly().catch(console.error);
|
|
49
|
-
//# sourceMappingURL=filterAndAggregateOnly.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterAndAggregateOnly.js","sourceRoot":"","sources":["../../samples-dev/filterAndAggregateOnly.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,sBAAsB;;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAC9C,MAAM,MAAM,GAAG,kCAAkC,CAAC;QAClD,MAAM,KAAK,GAAG,oCAAoC,CAAC;QACnD,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;QAC7D,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,oBAAoB,EACpB,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,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterAndGroupWithAggregate.d.ts","sourceRoot":"","sources":["../../samples-dev/filterAndGroupWithAggregate.ts"],"names":[],"mappings":""}
|
|
@@ -1,57 +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 subscription.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resources under the subscription.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_FilterAndGroupByWithAggregate.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function filterAndGroupWithAggregate() {
|
|
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 top = 2;
|
|
26
|
-
const orderBy = "NumAuditDenyNonComplianceRecords desc";
|
|
27
|
-
const from = new Date("2019-10-05T18:00:00Z");
|
|
28
|
-
const filter = "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')";
|
|
29
|
-
const apply = "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))";
|
|
30
|
-
const options = {
|
|
31
|
-
top: top,
|
|
32
|
-
orderBy: orderBy,
|
|
33
|
-
from: from,
|
|
34
|
-
filter: filter,
|
|
35
|
-
apply: apply
|
|
36
|
-
};
|
|
37
|
-
const credential = new DefaultAzureCredential();
|
|
38
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
39
|
-
const resArray = new Array();
|
|
40
|
-
try {
|
|
41
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForSubscription(policyStatesResource, subscriptionId2, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
42
|
-
let item = _c.value;
|
|
43
|
-
resArray.push(item);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
47
|
-
finally {
|
|
48
|
-
try {
|
|
49
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
50
|
-
}
|
|
51
|
-
finally { if (e_1) throw e_1.error; }
|
|
52
|
-
}
|
|
53
|
-
console.log(resArray);
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
filterAndGroupWithAggregate().catch(console.error);
|
|
57
|
-
//# sourceMappingURL=filterAndGroupWithAggregate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterAndGroupWithAggregate.js","sourceRoot":"","sources":["../../samples-dev/filterAndGroupWithAggregate.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,2BAA2B;;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,GAAG,GAAG,CAAC,CAAC;QACd,MAAM,OAAO,GAAG,uCAAuC,CAAC;QACxD,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAC9C,MAAM,MAAM,GACV,kGAAkG,CAAC;QACrG,MAAM,KAAK,GACT,8IAA8I,CAAC;QACjJ,MAAM,OAAO,GAAG;YACd,GAAG,EAAE,GAAG;YACR,OAAO,EAAE,OAAO;YAChB,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,MAAM;YACd,KAAK,EAAE,KAAK;SACb,CAAC;QACF,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,oBAAoB,EACpB,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,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterAndGroupWithoutAggregate.d.ts","sourceRoot":"","sources":["../../samples-dev/filterAndGroupWithoutAggregate.ts"],"names":[],"mappings":""}
|
|
@@ -1,50 +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 subscription.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resources under the subscription.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function filterAndGroupWithoutAggregate() {
|
|
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 top = 2;
|
|
26
|
-
const from = new Date("2019-10-05T18:00:00Z");
|
|
27
|
-
const filter = "IsCompliant eq false and (PolicyDefinitionAction ne 'audit' and PolicyDefinitionAction ne 'append')";
|
|
28
|
-
const apply = "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId))";
|
|
29
|
-
const options = { top: top, from: from, filter: filter, apply: apply };
|
|
30
|
-
const credential = new DefaultAzureCredential();
|
|
31
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
32
|
-
const resArray = new Array();
|
|
33
|
-
try {
|
|
34
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForSubscription(policyStatesResource, subscriptionId2, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
35
|
-
let item = _c.value;
|
|
36
|
-
resArray.push(item);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
40
|
-
finally {
|
|
41
|
-
try {
|
|
42
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
43
|
-
}
|
|
44
|
-
finally { if (e_1) throw e_1.error; }
|
|
45
|
-
}
|
|
46
|
-
console.log(resArray);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
filterAndGroupWithoutAggregate().catch(console.error);
|
|
50
|
-
//# sourceMappingURL=filterAndGroupWithoutAggregate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterAndGroupWithoutAggregate.js","sourceRoot":"","sources":["../../samples-dev/filterAndGroupWithoutAggregate.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,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,GAAG,GAAG,CAAC,CAAC;QACd,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAC9C,MAAM,MAAM,GACV,qGAAqG,CAAC;QACxG,MAAM,KAAK,GACT,uFAAuF,CAAC;QAC1F,MAAM,OAAO,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;QACvE,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,oBAAoB,EACpB,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,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterAndMultipleGroups.d.ts","sourceRoot":"","sources":["../../samples-dev/filterAndMultipleGroups.ts"],"names":[],"mappings":""}
|
|
@@ -1,50 +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 subscription.
|
|
13
|
-
*
|
|
14
|
-
* @summary Queries policy states for the resources under the subscription.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_FilterAndMultipleGroups.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function filterAndMultipleGroups() {
|
|
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 top = 10;
|
|
26
|
-
const orderBy = "NumNonCompliantResources desc";
|
|
27
|
-
const filter = "IsCompliant eq false";
|
|
28
|
-
const apply = "groupby((PolicyAssignmentId, PolicySetDefinitionId, PolicyDefinitionId, PolicyDefinitionReferenceId, ResourceId))/groupby((PolicyAssignmentId, PolicySetDefinitionId, PolicyDefinitionId, PolicyDefinitionReferenceId), aggregate($count as NumNonCompliantResources))";
|
|
29
|
-
const options = { top: top, orderBy: orderBy, filter: filter, apply: apply };
|
|
30
|
-
const credential = new DefaultAzureCredential();
|
|
31
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
32
|
-
const resArray = new Array();
|
|
33
|
-
try {
|
|
34
|
-
for (var _b = __asyncValues(client.policyStates.listQueryResultsForSubscription(policyStatesResource, subscriptionId2, { queryOptions: options })), _c; _c = yield _b.next(), !_c.done;) {
|
|
35
|
-
let item = _c.value;
|
|
36
|
-
resArray.push(item);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
40
|
-
finally {
|
|
41
|
-
try {
|
|
42
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
43
|
-
}
|
|
44
|
-
finally { if (e_1) throw e_1.error; }
|
|
45
|
-
}
|
|
46
|
-
console.log(resArray);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
filterAndMultipleGroups().catch(console.error);
|
|
50
|
-
//# sourceMappingURL=filterAndMultipleGroups.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterAndMultipleGroups.js","sourceRoot":"","sources":["../../samples-dev/filterAndMultipleGroups.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,uBAAuB;;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,oBAAoB,GAAG,QAAQ,CAAC;QACtC,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,GAAG,GAAG,EAAE,CAAC;QACf,MAAM,OAAO,GAAG,+BAA+B,CAAC;QAChD,MAAM,MAAM,GAAG,sBAAsB,CAAC;QACtC,MAAM,KAAK,GACT,wQAAwQ,CAAC;QAC3Q,MAAM,OAAO,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;QAC7E,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,oBAAoB,EACpB,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,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getASinglePolicyMetadataResource.d.ts","sourceRoot":"","sources":["../../samples-dev/getASinglePolicyMetadataResource.ts"],"names":[],"mappings":""}
|
|
@@ -1,30 +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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Get policy metadata resource.
|
|
13
|
-
*
|
|
14
|
-
* @summary Get policy metadata resource.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function getASinglePolicyMetadataResource() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
22
|
-
const resourceName = "NIST_SP_800-53_R4_AC-2";
|
|
23
|
-
const credential = new DefaultAzureCredential();
|
|
24
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
25
|
-
const result = yield client.policyMetadataOperations.getResource(resourceName);
|
|
26
|
-
console.log(result);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
getASinglePolicyMetadataResource().catch(console.error);
|
|
30
|
-
//# sourceMappingURL=getASinglePolicyMetadataResource.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getASinglePolicyMetadataResource.js","sourceRoot":"","sources":["../../samples-dev/getASinglePolicyMetadataResource.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,gCAAgC;;QAC7C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,wBAAwB,CAAC;QAC9C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,wBAAwB,CAAC,WAAW,CAC9D,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gCAAgC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getAttestationAtIndividualResourceScope.d.ts","sourceRoot":"","sources":["../../samples-dev/getAttestationAtIndividualResourceScope.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Gets an existing attestation at resource scope.
|
|
13
|
-
*
|
|
14
|
-
* @summary Gets an existing attestation at resource scope.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-01-01/examples/Attestations_GetResourceScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function getAttestationAtIndividualResourceScope() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
22
|
-
const resourceId = "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM";
|
|
23
|
-
const attestationName = "790996e6-9871-4b1f-9cd9-ec42cd6ced1e";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
26
|
-
const result = yield client.attestations.getAtResource(resourceId, attestationName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
getAttestationAtIndividualResourceScope().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=getAttestationAtIndividualResourceScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getAttestationAtIndividualResourceScope.js","sourceRoot":"","sources":["../../samples-dev/getAttestationAtIndividualResourceScope.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,uCAAuC;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GACd,0HAA0H,CAAC;QAC7H,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,aAAa,CACpD,UAAU,EACV,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getAttestationAtResourceGroupScope.d.ts","sourceRoot":"","sources":["../../samples-dev/getAttestationAtResourceGroupScope.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
/**
|
|
12
|
-
* This sample demonstrates how to Gets an existing attestation at resource group scope.
|
|
13
|
-
*
|
|
14
|
-
* @summary Gets an existing attestation at resource group scope.
|
|
15
|
-
* x-ms-original-file: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-01-01/examples/Attestations_GetResourceGroupScope.json
|
|
16
|
-
*/
|
|
17
|
-
import { PolicyInsightsClient } from "@azure/arm-policyinsights";
|
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
19
|
-
function getAttestationAtResourceGroupScope() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "35ee058e-5fa0-414c-8145-3ebb8d09b6e2";
|
|
22
|
-
const resourceGroupName = "myRg";
|
|
23
|
-
const attestationName = "790996e6-9871-4b1f-9cd9-ec42cd6ced1e";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new PolicyInsightsClient(credential, subscriptionId);
|
|
26
|
-
const result = yield client.attestations.getAtResourceGroup(resourceGroupName, attestationName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
getAttestationAtResourceGroupScope().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=getAttestationAtResourceGroupScope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getAttestationAtResourceGroupScope.js","sourceRoot":"","sources":["../../samples-dev/getAttestationAtResourceGroupScope.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,kCAAkC;;QAC/C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,MAAM,CAAC;QACjC,MAAM,eAAe,GAAG,sCAAsC,CAAC;QAC/D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,kBAAkB,CACzD,iBAAiB,EACjB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kCAAkC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getAttestationAtSubscriptionScope.d.ts","sourceRoot":"","sources":["../../samples-dev/getAttestationAtSubscriptionScope.ts"],"names":[],"mappings":""}
|