1. Packages
  2. Azure Classic
  3. API Docs
  4. core
  5. ResourceGroupPolicyRemediation

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

azure.core.ResourceGroupPolicyRemediation

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

    Create ResourceGroupPolicyRemediation Resource

    new ResourceGroupPolicyRemediation(name: string, args: ResourceGroupPolicyRemediationArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceGroupPolicyRemediation(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       failure_percentage: Optional[float] = None,
                                       location_filters: Optional[Sequence[str]] = None,
                                       name: Optional[str] = None,
                                       parallel_deployments: Optional[int] = None,
                                       policy_assignment_id: Optional[str] = None,
                                       policy_definition_id: Optional[str] = None,
                                       policy_definition_reference_id: Optional[str] = None,
                                       resource_count: Optional[int] = None,
                                       resource_discovery_mode: Optional[str] = None,
                                       resource_group_id: Optional[str] = None)
    @overload
    def ResourceGroupPolicyRemediation(resource_name: str,
                                       args: ResourceGroupPolicyRemediationArgs,
                                       opts: Optional[ResourceOptions] = None)
    func NewResourceGroupPolicyRemediation(ctx *Context, name string, args ResourceGroupPolicyRemediationArgs, opts ...ResourceOption) (*ResourceGroupPolicyRemediation, error)
    public ResourceGroupPolicyRemediation(string name, ResourceGroupPolicyRemediationArgs args, CustomResourceOptions? opts = null)
    public ResourceGroupPolicyRemediation(String name, ResourceGroupPolicyRemediationArgs args)
    public ResourceGroupPolicyRemediation(String name, ResourceGroupPolicyRemediationArgs args, CustomResourceOptions options)
    
    type: azure:core:ResourceGroupPolicyRemediation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ResourceGroupPolicyRemediationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ResourceGroupPolicyRemediationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ResourceGroupPolicyRemediationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceGroupPolicyRemediationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceGroupPolicyRemediationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ResourceGroupPolicyRemediation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ResourceGroupPolicyRemediation resource accepts the following input properties:

    PolicyAssignmentId string
    ResourceGroupId string
    FailurePercentage double
    LocationFilters List<string>
    Name string
    ParallelDeployments int
    PolicyDefinitionId string

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    PolicyDefinitionReferenceId string
    ResourceCount int
    ResourceDiscoveryMode string
    PolicyAssignmentId string
    ResourceGroupId string
    FailurePercentage float64
    LocationFilters []string
    Name string
    ParallelDeployments int
    PolicyDefinitionId string

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    PolicyDefinitionReferenceId string
    ResourceCount int
    ResourceDiscoveryMode string
    policyAssignmentId String
    resourceGroupId String
    failurePercentage Double
    locationFilters List<String>
    name String
    parallelDeployments Integer
    policyDefinitionId String

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    policyDefinitionReferenceId String
    resourceCount Integer
    resourceDiscoveryMode String
    policyAssignmentId string
    resourceGroupId string
    failurePercentage number
    locationFilters string[]
    name string
    parallelDeployments number
    policyDefinitionId string

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    policyDefinitionReferenceId string
    resourceCount number
    resourceDiscoveryMode string
    policy_assignment_id str
    resource_group_id str
    failure_percentage float
    location_filters Sequence[str]
    name str
    parallel_deployments int
    policy_definition_id str

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    policy_definition_reference_id str
    resource_count int
    resource_discovery_mode str
    policyAssignmentId String
    resourceGroupId String
    failurePercentage Number
    locationFilters List<String>
    name String
    parallelDeployments Number
    policyDefinitionId String

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    policyDefinitionReferenceId String
    resourceCount Number
    resourceDiscoveryMode String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResourceGroupPolicyRemediation resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing ResourceGroupPolicyRemediation Resource

    Get an existing ResourceGroupPolicyRemediation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ResourceGroupPolicyRemediationState, opts?: CustomResourceOptions): ResourceGroupPolicyRemediation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            failure_percentage: Optional[float] = None,
            location_filters: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            parallel_deployments: Optional[int] = None,
            policy_assignment_id: Optional[str] = None,
            policy_definition_id: Optional[str] = None,
            policy_definition_reference_id: Optional[str] = None,
            resource_count: Optional[int] = None,
            resource_discovery_mode: Optional[str] = None,
            resource_group_id: Optional[str] = None) -> ResourceGroupPolicyRemediation
    func GetResourceGroupPolicyRemediation(ctx *Context, name string, id IDInput, state *ResourceGroupPolicyRemediationState, opts ...ResourceOption) (*ResourceGroupPolicyRemediation, error)
    public static ResourceGroupPolicyRemediation Get(string name, Input<string> id, ResourceGroupPolicyRemediationState? state, CustomResourceOptions? opts = null)
    public static ResourceGroupPolicyRemediation get(String name, Output<String> id, ResourceGroupPolicyRemediationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    FailurePercentage double
    LocationFilters List<string>
    Name string
    ParallelDeployments int
    PolicyAssignmentId string
    PolicyDefinitionId string

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    PolicyDefinitionReferenceId string
    ResourceCount int
    ResourceDiscoveryMode string
    ResourceGroupId string
    FailurePercentage float64
    LocationFilters []string
    Name string
    ParallelDeployments int
    PolicyAssignmentId string
    PolicyDefinitionId string

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    PolicyDefinitionReferenceId string
    ResourceCount int
    ResourceDiscoveryMode string
    ResourceGroupId string
    failurePercentage Double
    locationFilters List<String>
    name String
    parallelDeployments Integer
    policyAssignmentId String
    policyDefinitionId String

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    policyDefinitionReferenceId String
    resourceCount Integer
    resourceDiscoveryMode String
    resourceGroupId String
    failurePercentage number
    locationFilters string[]
    name string
    parallelDeployments number
    policyAssignmentId string
    policyDefinitionId string

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    policyDefinitionReferenceId string
    resourceCount number
    resourceDiscoveryMode string
    resourceGroupId string
    failure_percentage float
    location_filters Sequence[str]
    name str
    parallel_deployments int
    policy_assignment_id str
    policy_definition_id str

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    policy_definition_reference_id str
    resource_count int
    resource_discovery_mode str
    resource_group_id str
    failurePercentage Number
    locationFilters List<String>
    name String
    parallelDeployments Number
    policyAssignmentId String
    policyDefinitionId String

    Deprecated:

    policy_definition_id will be removed in version 4.0 of the AzureRM Provider in favour of policy_definition_reference_id.

    policyDefinitionReferenceId String
    resourceCount Number
    resourceDiscoveryMode String
    resourceGroupId String

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi