Assignment
Create a Assignment Resource
new Assignment(name: string, args: AssignmentArgs, opts?: CustomResourceOptions);def Assignment(resource_name, opts=None, identity=None, location=None, lock_exclude_principals=None, lock_mode=None, name=None, parameter_values=None, resource_groups=None, target_subscription_id=None, version_id=None, __props__=None);func NewAssignment(ctx *Context, name string, args AssignmentArgs, opts ...ResourceOption) (*Assignment, error)public Assignment(string name, AssignmentArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args AssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Assignment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Assignment resource accepts the following input properties:
- Target
Subscription stringId The Subscription ID the Blueprint Published Version is to be applied to.
- Version
Id string The ID of the Published Version of the blueprint to be assigned.
- Identity
Assignment
Identity Args - Location string
The Azure location of the Assignment.
- Lock
Exclude List<string>Principals a list of up to 5 Principal IDs that are permitted to bypass the locks applied by the Blueprint.
- Lock
Mode string The locking mode of the Blueprint Assignment. One of
None(Default),AllResourcesReadOnly, orAlResourcesDoNotDelete.- Name string
The name of the Blueprint Assignment
- Parameter
Values string a JSON string to supply Blueprint Assignment parameter values.
- Resource
Groups string a JSON string to supply the Blueprint Resource Group information.
- Target
Subscription stringId The Subscription ID the Blueprint Published Version is to be applied to.
- Version
Id string The ID of the Published Version of the blueprint to be assigned.
- Identity
Assignment
Identity - Location string
The Azure location of the Assignment.
- Lock
Exclude []stringPrincipals a list of up to 5 Principal IDs that are permitted to bypass the locks applied by the Blueprint.
- Lock
Mode string The locking mode of the Blueprint Assignment. One of
None(Default),AllResourcesReadOnly, orAlResourcesDoNotDelete.- Name string
The name of the Blueprint Assignment
- Parameter
Values string a JSON string to supply Blueprint Assignment parameter values.
- Resource
Groups string a JSON string to supply the Blueprint Resource Group information.
- target
Subscription stringId The Subscription ID the Blueprint Published Version is to be applied to.
- version
Id string The ID of the Published Version of the blueprint to be assigned.
- identity
Assignment
Identity - location string
The Azure location of the Assignment.
- lock
Exclude string[]Principals a list of up to 5 Principal IDs that are permitted to bypass the locks applied by the Blueprint.
- lock
Mode string The locking mode of the Blueprint Assignment. One of
None(Default),AllResourcesReadOnly, orAlResourcesDoNotDelete.- name string
The name of the Blueprint Assignment
- parameter
Values string a JSON string to supply Blueprint Assignment parameter values.
- resource
Groups string a JSON string to supply the Blueprint Resource Group information.
- target_
subscription_ strid The Subscription ID the Blueprint Published Version is to be applied to.
- version_
id str The ID of the Published Version of the blueprint to be assigned.
- identity
Dict[Assignment
Identity] - location str
The Azure location of the Assignment.
- lock_
exclude_ List[str]principals a list of up to 5 Principal IDs that are permitted to bypass the locks applied by the Blueprint.
- lock_
mode str The locking mode of the Blueprint Assignment. One of
None(Default),AllResourcesReadOnly, orAlResourcesDoNotDelete.- name str
The name of the Blueprint Assignment
- parameter_
values str a JSON string to supply Blueprint Assignment parameter values.
- resource_
groups str a JSON string to supply the Blueprint Resource Group information.
Outputs
All input properties are implicitly available as output properties. Additionally, the Assignment resource produces the following output properties:
- Blueprint
Name string The name of the blueprint assigned
- Description string
The Description on the Blueprint
- Display
Name string The display name of the blueprint
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.
- Blueprint
Name string The name of the blueprint assigned
- Description string
The Description on the Blueprint
- Display
Name string The display name of the blueprint
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.
- blueprint
Name string The name of the blueprint assigned
- description string
The Description on the Blueprint
- display
Name string The display name of the blueprint
- id string
- The provider-assigned unique ID for this managed resource.
- type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.
- blueprint_
name str The name of the blueprint assigned
- description str
The Description on the Blueprint
- display_
name str The display name of the blueprint
- id str
- The provider-assigned unique ID for this managed resource.
- type str
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.
Look up an Existing Assignment Resource
Get an existing Assignment 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?: AssignmentState, opts?: CustomResourceOptions): Assignmentstatic get(resource_name, id, opts=None, blueprint_name=None, description=None, display_name=None, identity=None, location=None, lock_exclude_principals=None, lock_mode=None, name=None, parameter_values=None, resource_groups=None, target_subscription_id=None, type=None, version_id=None, __props__=None);func GetAssignment(ctx *Context, name string, id IDInput, state *AssignmentState, opts ...ResourceOption) (*Assignment, error)public static Assignment Get(string name, Input<string> id, AssignmentState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Blueprint
Name string The name of the blueprint assigned
- Description string
The Description on the Blueprint
- Display
Name string The display name of the blueprint
- Identity
Assignment
Identity Args - Location string
The Azure location of the Assignment.
- Lock
Exclude List<string>Principals a list of up to 5 Principal IDs that are permitted to bypass the locks applied by the Blueprint.
- Lock
Mode string The locking mode of the Blueprint Assignment. One of
None(Default),AllResourcesReadOnly, orAlResourcesDoNotDelete.- Name string
The name of the Blueprint Assignment
- Parameter
Values string a JSON string to supply Blueprint Assignment parameter values.
- Resource
Groups string a JSON string to supply the Blueprint Resource Group information.
- Target
Subscription stringId The Subscription ID the Blueprint Published Version is to be applied to.
- Type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.- Version
Id string The ID of the Published Version of the blueprint to be assigned.
- Blueprint
Name string The name of the blueprint assigned
- Description string
The Description on the Blueprint
- Display
Name string The display name of the blueprint
- Identity
Assignment
Identity - Location string
The Azure location of the Assignment.
- Lock
Exclude []stringPrincipals a list of up to 5 Principal IDs that are permitted to bypass the locks applied by the Blueprint.
- Lock
Mode string The locking mode of the Blueprint Assignment. One of
None(Default),AllResourcesReadOnly, orAlResourcesDoNotDelete.- Name string
The name of the Blueprint Assignment
- Parameter
Values string a JSON string to supply Blueprint Assignment parameter values.
- Resource
Groups string a JSON string to supply the Blueprint Resource Group information.
- Target
Subscription stringId The Subscription ID the Blueprint Published Version is to be applied to.
- Type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.- Version
Id string The ID of the Published Version of the blueprint to be assigned.
- blueprint
Name string The name of the blueprint assigned
- description string
The Description on the Blueprint
- display
Name string The display name of the blueprint
- identity
Assignment
Identity - location string
The Azure location of the Assignment.
- lock
Exclude string[]Principals a list of up to 5 Principal IDs that are permitted to bypass the locks applied by the Blueprint.
- lock
Mode string The locking mode of the Blueprint Assignment. One of
None(Default),AllResourcesReadOnly, orAlResourcesDoNotDelete.- name string
The name of the Blueprint Assignment
- parameter
Values string a JSON string to supply Blueprint Assignment parameter values.
- resource
Groups string a JSON string to supply the Blueprint Resource Group information.
- target
Subscription stringId The Subscription ID the Blueprint Published Version is to be applied to.
- type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.- version
Id string The ID of the Published Version of the blueprint to be assigned.
- blueprint_
name str The name of the blueprint assigned
- description str
The Description on the Blueprint
- display_
name str The display name of the blueprint
- identity
Dict[Assignment
Identity] - location str
The Azure location of the Assignment.
- lock_
exclude_ List[str]principals a list of up to 5 Principal IDs that are permitted to bypass the locks applied by the Blueprint.
- lock_
mode str The locking mode of the Blueprint Assignment. One of
None(Default),AllResourcesReadOnly, orAlResourcesDoNotDelete.- name str
The name of the Blueprint Assignment
- parameter_
values str a JSON string to supply Blueprint Assignment parameter values.
- resource_
groups str a JSON string to supply the Blueprint Resource Group information.
- target_
subscription_ strid The Subscription ID the Blueprint Published Version is to be applied to.
- type str
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.- version_
id str The ID of the Published Version of the blueprint to be assigned.
Supporting Types
AssignmentIdentity
- Identity
Ids List<string> - Type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.- Principal
Id string - Tenant
Id string
- Identity
Ids []string - Type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.- Principal
Id string - Tenant
Id string
- identity
Ids string[] - type string
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.- principal
Id string - tenant
Id string
- identity
Ids List[str] - type str
The Identity type for the Managed Service Identity. Currently only
UserAssignedis supported.- principal_
id str - tenant_
id str
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.