Module
Manages a Automation Module.
Create a Module Resource
new Module(name: string, args: ModuleArgs, opts?: CustomResourceOptions);def Module(resource_name, opts=None, automation_account_name=None, module_link=None, name=None, resource_group_name=None, __props__=None);func NewModule(ctx *Context, name string, args ModuleArgs, opts ...ResourceOption) (*Module, error)public Module(string name, ModuleArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ModuleArgs
- 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 ModuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ModuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Module Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Module resource accepts the following input properties:
- Automation
Account stringName The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
- Module
Link ModuleModule Link Args The published Module link.
- Resource
Group stringName The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Module. Changing this forces a new resource to be created.
- Automation
Account stringName The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
- Module
Link ModuleModule Link The published Module link.
- Resource
Group stringName The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Module. Changing this forces a new resource to be created.
- automation
Account stringName The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
- module
Link ModuleModule Link The published Module link.
- resource
Group stringName The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
- name string
Specifies the name of the Module. Changing this forces a new resource to be created.
- automation_
account_ strname The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
- module_
link Dict[ModuleModule Link] The published Module link.
- resource_
group_ strname The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
- name str
Specifies the name of the Module. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the Module resource produces the following output properties:
Look up an Existing Module Resource
Get an existing Module 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?: ModuleState, opts?: CustomResourceOptions): Modulestatic get(resource_name, id, opts=None, automation_account_name=None, module_link=None, name=None, resource_group_name=None, __props__=None);func GetModule(ctx *Context, name string, id IDInput, state *ModuleState, opts ...ResourceOption) (*Module, error)public static Module Get(string name, Input<string> id, ModuleState? 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:
- Automation
Account stringName The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
- Module
Link ModuleModule Link Args The published Module link.
- Name string
Specifies the name of the Module. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
- Automation
Account stringName The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
- Module
Link ModuleModule Link The published Module link.
- Name string
Specifies the name of the Module. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
- automation
Account stringName The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
- module
Link ModuleModule Link The published Module link.
- name string
Specifies the name of the Module. Changing this forces a new resource to be created.
- resource
Group stringName The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
- automation_
account_ strname The name of the automation account in which the Module is created. Changing this forces a new resource to be created.
- module_
link Dict[ModuleModule Link] The published Module link.
- name str
Specifies the name of the Module. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the resource group in which the Module is created. Changing this forces a new resource to be created.
Supporting Types
ModuleModuleLink
- Uri string
The uri of the module content (zip or nupkg).
- Hash
Module
Module Link Hash Args
- Uri string
The uri of the module content (zip or nupkg).
- Hash
Module
Module Link Hash
- uri string
The uri of the module content (zip or nupkg).
- hash
Module
Module Link Hash
- uri str
The uri of the module content (zip or nupkg).
- hash
Dict[Module
Module Link Hash]
ModuleModuleLinkHash
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.