npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_policyinsights_remediations

v3.0.0

Published

DataFire integration for RemediationsClient

Downloads

3

Readme

@datafire/azure_policyinsights_remediations

Client library for RemediationsClient

Installation and Usage

npm install --save @datafire/azure_policyinsights_remediations
let azure_policyinsights_remediations = require('@datafire/azure_policyinsights_remediations').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

Remediations_ListForManagementGroup

Gets all remediations for the management group.

azure_policyinsights_remediations.Remediations_ListForManagementGroup({
  "managementGroupsNamespace": "",
  "managementGroupId": "",
  "api-version": ""
}, context)

Input

  • input object
    • managementGroupsNamespace required string (values: Microsoft.Management): The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    • managementGroupId required string: Management group ID.
    • $top integer: Maximum number of records to return.
    • $filter string: OData filter expression.
    • api-version required string: Client Api Version.

Output

Remediations_DeleteAtManagementGroup

Deletes an existing remediation at management group scope.

azure_policyinsights_remediations.Remediations_DeleteAtManagementGroup({
  "managementGroupsNamespace": "",
  "managementGroupId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • managementGroupsNamespace required string (values: Microsoft.Management): The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    • managementGroupId required string: Management group ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_GetAtManagementGroup

Gets an existing remediation at management group scope.

azure_policyinsights_remediations.Remediations_GetAtManagementGroup({
  "managementGroupsNamespace": "",
  "managementGroupId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • managementGroupsNamespace required string (values: Microsoft.Management): The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    • managementGroupId required string: Management group ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_CreateOrUpdateAtManagementGroup

Creates or updates a remediation at management group scope.

azure_policyinsights_remediations.Remediations_CreateOrUpdateAtManagementGroup({
  "managementGroupsNamespace": "",
  "managementGroupId": "",
  "remediationName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • managementGroupsNamespace required string (values: Microsoft.Management): The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    • managementGroupId required string: Management group ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.
    • parameters required Remediation

Output

Remediations_CancelAtManagementGroup

Cancels a remediation at management group scope.

azure_policyinsights_remediations.Remediations_CancelAtManagementGroup({
  "managementGroupsNamespace": "",
  "managementGroupId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • managementGroupsNamespace required string (values: Microsoft.Management): The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    • managementGroupId required string: Management group ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_ListDeploymentsAtManagementGroup

Gets all deployments for a remediation at management group scope.

azure_policyinsights_remediations.Remediations_ListDeploymentsAtManagementGroup({
  "managementGroupsNamespace": "",
  "managementGroupId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • managementGroupsNamespace required string (values: Microsoft.Management): The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    • managementGroupId required string: Management group ID.
    • remediationName required string: The name of the remediation.
    • $top integer: Maximum number of records to return.
    • api-version required string: Client Api Version.

Output

Remediations_ListForSubscription

Gets all remediations for the subscription.

azure_policyinsights_remediations.Remediations_ListForSubscription({
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • $top integer: Maximum number of records to return.
    • $filter string: OData filter expression.
    • api-version required string: Client Api Version.

Output

Remediations_DeleteAtSubscription

Deletes an existing remediation at subscription scope.

azure_policyinsights_remediations.Remediations_DeleteAtSubscription({
  "subscriptionId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_GetAtSubscription

Gets an existing remediation at subscription scope.

azure_policyinsights_remediations.Remediations_GetAtSubscription({
  "subscriptionId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_CreateOrUpdateAtSubscription

Creates or updates a remediation at subscription scope.

azure_policyinsights_remediations.Remediations_CreateOrUpdateAtSubscription({
  "subscriptionId": "",
  "remediationName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.
    • parameters required Remediation

Output

Remediations_CancelAtSubscription

Cancels a remediation at subscription scope.

azure_policyinsights_remediations.Remediations_CancelAtSubscription({
  "subscriptionId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_ListDeploymentsAtSubscription

Gets all deployments for a remediation at subscription scope.

azure_policyinsights_remediations.Remediations_ListDeploymentsAtSubscription({
  "subscriptionId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • remediationName required string: The name of the remediation.
    • $top integer: Maximum number of records to return.
    • api-version required string: Client Api Version.

Output

Remediations_ListForResourceGroup

Gets all remediations for the subscription.

azure_policyinsights_remediations.Remediations_ListForResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • resourceGroupName required string: Resource group name.
    • $top integer: Maximum number of records to return.
    • $filter string: OData filter expression.
    • api-version required string: Client Api Version.

Output

Remediations_DeleteAtResourceGroup

Deletes an existing remediation at resource group scope.

azure_policyinsights_remediations.Remediations_DeleteAtResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • resourceGroupName required string: Resource group name.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_GetAtResourceGroup

Gets an existing remediation at resource group scope.

azure_policyinsights_remediations.Remediations_GetAtResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • resourceGroupName required string: Resource group name.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_CreateOrUpdateAtResourceGroup

Creates or updates a remediation at resource group scope.

azure_policyinsights_remediations.Remediations_CreateOrUpdateAtResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "remediationName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • resourceGroupName required string: Resource group name.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.
    • parameters required Remediation

Output

Remediations_CancelAtResourceGroup

Cancels a remediation at resource group scope.

azure_policyinsights_remediations.Remediations_CancelAtResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • resourceGroupName required string: Resource group name.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_ListDeploymentsAtResourceGroup

Gets all deployments for a remediation at resource group scope.

azure_policyinsights_remediations.Remediations_ListDeploymentsAtResourceGroup({
  "subscriptionId": "",
  "resourceGroupName": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: Microsoft Azure subscription ID.
    • resourceGroupName required string: Resource group name.
    • remediationName required string: The name of the remediation.
    • $top integer: Maximum number of records to return.
    • api-version required string: Client Api Version.

Output

Remediations_ListForResource

Gets all remediations for a resource.

azure_policyinsights_remediations.Remediations_ListForResource({
  "resourceId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceId required string: Resource ID.
    • $top integer: Maximum number of records to return.
    • $filter string: OData filter expression.
    • api-version required string: Client Api Version.

Output

Remediations_DeleteAtResource

Deletes an existing remediation at individual resource scope.

azure_policyinsights_remediations.Remediations_DeleteAtResource({
  "resourceId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceId required string: Resource ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_GetAtResource

Gets an existing remediation at resource scope.

azure_policyinsights_remediations.Remediations_GetAtResource({
  "resourceId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceId required string: Resource ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_CreateOrUpdateAtResource

Creates or updates a remediation at resource scope.

azure_policyinsights_remediations.Remediations_CreateOrUpdateAtResource({
  "resourceId": "",
  "remediationName": "",
  "api-version": "",
  "parameters": null
}, context)

Input

  • input object
    • resourceId required string: Resource ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.
    • parameters required Remediation

Output

Remediations_CancelAtResource

Cancel a remediation at resource scope.

azure_policyinsights_remediations.Remediations_CancelAtResource({
  "resourceId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceId required string: Resource ID.
    • remediationName required string: The name of the remediation.
    • api-version required string: Client Api Version.

Output

Remediations_ListDeploymentsAtResource

Gets all deployments for a remediation at resource scope.

azure_policyinsights_remediations.Remediations_ListDeploymentsAtResource({
  "resourceId": "",
  "remediationName": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceId required string: Resource ID.
    • remediationName required string: The name of the remediation.
    • $top integer: Maximum number of records to return.
    • api-version required string: Client Api Version.

Output

Definitions

ErrorDefinition

  • ErrorDefinition object: Error definition.
    • additionalInfo array: Additional scenario specific error details.
    • code string: Service specific error code which serves as the substatus for the HTTP error code.
    • details array: Internal error details.
    • message string: Description of the error.
    • target string: The target of the error.

ErrorResponse

Remediation

  • Remediation object: The remediation definition.
    • id string: The ID of the remediation.
    • name string: The name of the remediation.
    • properties RemediationProperties
    • type string: The type of the remediation.

RemediationDeployment

  • RemediationDeployment object: Details of a single deployment created by the remediation.
    • createdOn string: The time at which the remediation was created.
    • deploymentId string: Resource ID of the template deployment that will remediate the resource.
    • error ErrorDefinition
    • lastUpdatedOn string: The time at which the remediation deployment was last updated.
    • remediatedResourceId string: Resource ID of the resource that is being remediated by the deployment.
    • resourceLocation string: Location of the resource that is being remediated.
    • status string: Status of the remediation deployment.

RemediationDeploymentSummary

  • RemediationDeploymentSummary object: The deployment status summary for all deployments created by the remediation.
    • failedDeployments integer: The number of deployments required by the remediation that have failed.
    • successfulDeployments integer: The number of deployments required by the remediation that have succeeded.
    • totalDeployments integer: The number of deployments required by the remediation.

RemediationDeploymentsListResult

  • RemediationDeploymentsListResult object: List of deployments for a remediation.
    • nextLink string: The URL to get the next set of results.
    • value array: Array of deployments for the remediation.

RemediationFilters

  • RemediationFilters object: The filters that will be applied to determine which resources to remediate.
    • locations array: The resource locations that will be remediated.
      • items string

RemediationListResult

  • RemediationListResult object: List of remediations.
    • nextLink string: The URL to get the next set of results.
    • value array: Array of remediation definitions.

RemediationProperties

  • RemediationProperties object: The remediation properties.
    • createdOn string: The time at which the remediation was created.
    • deploymentStatus RemediationDeploymentSummary
    • filters RemediationFilters
    • lastUpdatedOn string: The time at which the remediation was last updated.
    • policyAssignmentId string: The resource ID of the policy assignment that should be remediated.
    • policyDefinitionReferenceId string: The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
    • provisioningState string: The status of the remediation.
    • resourceDiscoveryMode string (values: ExistingNonCompliant, ReEvaluateCompliance): The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.

TypedErrorInfo

  • TypedErrorInfo object: Scenario specific error details.
    • type string: The type of included error details.