We recommend using Azure Native.
azure.core.SubscriptionPolicyRemediation
Explore with Pulumi AI
Create SubscriptionPolicyRemediation Resource
new SubscriptionPolicyRemediation(name: string, args: SubscriptionPolicyRemediationArgs, opts?: CustomResourceOptions);
@overload
def SubscriptionPolicyRemediation(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,
subscription_id: Optional[str] = None)
@overload
def SubscriptionPolicyRemediation(resource_name: str,
args: SubscriptionPolicyRemediationArgs,
opts: Optional[ResourceOptions] = None)
func NewSubscriptionPolicyRemediation(ctx *Context, name string, args SubscriptionPolicyRemediationArgs, opts ...ResourceOption) (*SubscriptionPolicyRemediation, error)
public SubscriptionPolicyRemediation(string name, SubscriptionPolicyRemediationArgs args, CustomResourceOptions? opts = null)
public SubscriptionPolicyRemediation(String name, SubscriptionPolicyRemediationArgs args)
public SubscriptionPolicyRemediation(String name, SubscriptionPolicyRemediationArgs args, CustomResourceOptions options)
type: azure:core:SubscriptionPolicyRemediation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriptionPolicyRemediationArgs
- 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 SubscriptionPolicyRemediationArgs
- 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 SubscriptionPolicyRemediationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriptionPolicyRemediationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubscriptionPolicyRemediationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SubscriptionPolicyRemediation 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 SubscriptionPolicyRemediation resource accepts the following input properties:
- Policy
Assignment stringId - Subscription
Id string - Failure
Percentage double - Location
Filters List<string> - Name string
- Parallel
Deployments int - Policy
Definition stringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- Policy
Definition stringReference Id - Resource
Count int - Resource
Discovery stringMode
- Policy
Assignment stringId - Subscription
Id string - Failure
Percentage float64 - Location
Filters []string - Name string
- Parallel
Deployments int - Policy
Definition stringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- Policy
Definition stringReference Id - Resource
Count int - Resource
Discovery stringMode
- policy
Assignment StringId - subscription
Id String - failure
Percentage Double - location
Filters List<String> - name String
- parallel
Deployments Integer - policy
Definition StringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- policy
Definition StringReference Id - resource
Count Integer - resource
Discovery StringMode
- policy
Assignment stringId - subscription
Id string - failure
Percentage number - location
Filters string[] - name string
- parallel
Deployments number - policy
Definition stringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- policy
Definition stringReference Id - resource
Count number - resource
Discovery stringMode
- policy_
assignment_ strid - subscription_
id str - failure_
percentage float - location_
filters Sequence[str] - name str
- parallel_
deployments int - policy_
definition_ strid policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- policy_
definition_ strreference_ id - resource_
count int - resource_
discovery_ strmode
- policy
Assignment StringId - subscription
Id String - failure
Percentage Number - location
Filters List<String> - name String
- parallel
Deployments Number - policy
Definition StringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- policy
Definition StringReference Id - resource
Count Number - resource
Discovery StringMode
Outputs
All input properties are implicitly available as output properties. Additionally, the SubscriptionPolicyRemediation 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 SubscriptionPolicyRemediation Resource
Get an existing SubscriptionPolicyRemediation 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?: SubscriptionPolicyRemediationState, opts?: CustomResourceOptions): SubscriptionPolicyRemediation
@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,
subscription_id: Optional[str] = None) -> SubscriptionPolicyRemediation
func GetSubscriptionPolicyRemediation(ctx *Context, name string, id IDInput, state *SubscriptionPolicyRemediationState, opts ...ResourceOption) (*SubscriptionPolicyRemediation, error)
public static SubscriptionPolicyRemediation Get(string name, Input<string> id, SubscriptionPolicyRemediationState? state, CustomResourceOptions? opts = null)
public static SubscriptionPolicyRemediation get(String name, Output<String> id, SubscriptionPolicyRemediationState 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.
- Failure
Percentage double - Location
Filters List<string> - Name string
- Parallel
Deployments int - Policy
Assignment stringId - Policy
Definition stringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- Policy
Definition stringReference Id - Resource
Count int - Resource
Discovery stringMode - Subscription
Id string
- Failure
Percentage float64 - Location
Filters []string - Name string
- Parallel
Deployments int - Policy
Assignment stringId - Policy
Definition stringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- Policy
Definition stringReference Id - Resource
Count int - Resource
Discovery stringMode - Subscription
Id string
- failure
Percentage Double - location
Filters List<String> - name String
- parallel
Deployments Integer - policy
Assignment StringId - policy
Definition StringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- policy
Definition StringReference Id - resource
Count Integer - resource
Discovery StringMode - subscription
Id String
- failure
Percentage number - location
Filters string[] - name string
- parallel
Deployments number - policy
Assignment stringId - policy
Definition stringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- policy
Definition stringReference Id - resource
Count number - resource
Discovery stringMode - subscription
Id string
- failure_
percentage float - location_
filters Sequence[str] - name str
- parallel_
deployments int - policy_
assignment_ strid - policy_
definition_ strid policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- policy_
definition_ strreference_ id - resource_
count int - resource_
discovery_ strmode - subscription_
id str
- failure
Percentage Number - location
Filters List<String> - name String
- parallel
Deployments Number - policy
Assignment StringId - policy
Definition StringId policy_definition_id
will be removed in version 4.0 of the AzureRM Provider in favour ofpolicy_definition_reference_id
.- policy
Definition StringReference Id - resource
Count Number - resource
Discovery StringMode - subscription
Id String
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.