Client library for PolicyTrackedResourcesClient
npm install --save @datafire/azure_policyinsights_policytrackedresources
let azure_policyinsights_policytrackedresources = require('@datafire/azure_policyinsights_policytrackedresources').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Queries policy tracked resources under the management group.
azure_policyinsights_policytrackedresources.PolicyTrackedResources_ListQueryResultsForManagementGroup({
"managementGroupsNamespace": "",
"managementGroupName": "",
"policyTrackedResourcesResource": "",
"api-version": ""
}, context)
- input
object
- managementGroupsNamespace required
string
(values: Microsoft.Management): The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed. - managementGroupName required
string
: Management group name. - policyTrackedResourcesResource required
string
(values: default): The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed. - $top
integer
: Maximum number of records to return. - $filter
string
: OData filter expression. - api-version required
string
: Client Api Version.
- managementGroupsNamespace required
Queries policy tracked resources under the subscription.
azure_policyinsights_policytrackedresources.PolicyTrackedResources_ListQueryResultsForSubscription({
"policyTrackedResourcesResource": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- policyTrackedResourcesResource required
string
(values: default): The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed. - $top
integer
: Maximum number of records to return. - $filter
string
: OData filter expression. - subscriptionId required
string
: Microsoft Azure subscription ID. - api-version required
string
: Client Api Version.
- policyTrackedResourcesResource required
Queries policy tracked resources under the resource group.
azure_policyinsights_policytrackedresources.PolicyTrackedResources_ListQueryResultsForResourceGroup({
"resourceGroupName": "",
"policyTrackedResourcesResource": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- resourceGroupName required
string
: Resource group name. - policyTrackedResourcesResource required
string
(values: default): The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed. - $top
integer
: Maximum number of records to return. - $filter
string
: OData filter expression. - subscriptionId required
string
: Microsoft Azure subscription ID. - api-version required
string
: Client Api Version.
- resourceGroupName required
Queries policy tracked resources under the resource.
azure_policyinsights_policytrackedresources.PolicyTrackedResources_ListQueryResultsForResource({
"resourceId": "",
"policyTrackedResourcesResource": "",
"api-version": ""
}, context)
- input
object
- resourceId required
string
: Resource ID. - policyTrackedResourcesResource required
string
(values: default): The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed. - $top
integer
: Maximum number of records to return. - $filter
string
: OData filter expression. - api-version required
string
: Client Api Version.
- resourceId required
- PolicyDetails
object
: The policy details.- policyAssignmentDisplayName
string
: The display name of the policy assignment. - policyAssignmentId
string
: The ID of the policy assignment. - policyAssignmentScope
string
: The scope of the policy assignment. - policyDefinitionId
string
: The ID of the policy definition. - policyDefinitionReferenceId
string
: The policy definition reference ID within the policy set definition. - policySetDefinitionId
string
: The ID of the policy set definition.
- policyAssignmentDisplayName
- PolicyTrackedResource
object
: Policy tracked resource record.- createdBy TrackedResourceModificationDetails
- lastModifiedBy TrackedResourceModificationDetails
- lastUpdateUtc
string
: Timestamp of the last update to the tracked resource. - policyDetails PolicyDetails
- trackedResourceId
string
: The ID of the policy tracked resource.
- PolicyTrackedResourcesQueryResults
object
: Query results.- nextLink
string
: The URL to get the next set of results. - value
array
: Query results.- items PolicyTrackedResource
- nextLink
- QueryFailure
object
: Error response.- error
object
: Error definition.- code
string
: Service specific error code which serves as the substatus for the HTTP error code. - message
string
: Description of the error.
- code
- error
- TrackedResourceModificationDetails
object
: The details of the policy triggered deployment that created or modified the tracked resource.- deploymentId
string
: The ID of the deployment that created or modified the tracked resource. - deploymentTime
string
: Timestamp of the deployment that created or modified the tracked resource. - policyDetails PolicyDetails
- deploymentId