Skip to content

Latest commit

 

History

History

azure_policyinsights_policytrackedresources

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@datafire/azure_policyinsights_policytrackedresources

Client library for PolicyTrackedResourcesClient

Installation and Usage

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);
});

Description

Actions

PolicyTrackedResources_ListQueryResultsForManagementGroup

Queries policy tracked resources under the management group.

azure_policyinsights_policytrackedresources.PolicyTrackedResources_ListQueryResultsForManagementGroup({
  "managementGroupsNamespace": "",
  "managementGroupName": "",
  "policyTrackedResourcesResource": "",
  "api-version": ""
}, context)

Input

  • 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.

Output

PolicyTrackedResources_ListQueryResultsForSubscription

Queries policy tracked resources under the subscription.

azure_policyinsights_policytrackedresources.PolicyTrackedResources_ListQueryResultsForSubscription({
  "policyTrackedResourcesResource": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • 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.

Output

PolicyTrackedResources_ListQueryResultsForResourceGroup

Queries policy tracked resources under the resource group.

azure_policyinsights_policytrackedresources.PolicyTrackedResources_ListQueryResultsForResourceGroup({
  "resourceGroupName": "",
  "policyTrackedResourcesResource": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • 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.

Output

PolicyTrackedResources_ListQueryResultsForResource

Queries policy tracked resources under the resource.

azure_policyinsights_policytrackedresources.PolicyTrackedResources_ListQueryResultsForResource({
  "resourceId": "",
  "policyTrackedResourcesResource": "",
  "api-version": ""
}, context)

Input

  • 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.

Output

Definitions

PolicyDetails

  • 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.

PolicyTrackedResource

PolicyTrackedResourcesQueryResults

  • PolicyTrackedResourcesQueryResults object: Query results.
    • nextLink string: The URL to get the next set of results.
    • value array: Query results.

QueryFailure

  • 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.

TrackedResourceModificationDetails

  • 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