Credential

Manages a Automation Credential.

Create a Credential Resource

def Credential(resource_name, opts=None, automation_account_name=None, description=None, name=None, password=None, resource_group_name=None, username=None, __props__=None);
func NewCredential(ctx *Context, name string, args CredentialArgs, opts ...ResourceOption) (*Credential, error)
public Credential(string name, CredentialArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args CredentialArgs
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 CredentialArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CredentialArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Credential Resource Properties

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

Inputs

The Credential resource accepts the following input properties:

AutomationAccountName string

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

Password string

The password associated with this Automation Credential.

ResourceGroupName string

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

Username string

The username associated with this Automation Credential.

Description string

The description associated with this Automation Credential.

Name string

Specifies the name of the Credential. Changing this forces a new resource to be created.

AutomationAccountName string

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

Password string

The password associated with this Automation Credential.

ResourceGroupName string

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

Username string

The username associated with this Automation Credential.

Description string

The description associated with this Automation Credential.

Name string

Specifies the name of the Credential. Changing this forces a new resource to be created.

automationAccountName string

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

password string

The password associated with this Automation Credential.

resourceGroupName string

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

username string

The username associated with this Automation Credential.

description string

The description associated with this Automation Credential.

name string

Specifies the name of the Credential. Changing this forces a new resource to be created.

automation_account_name str

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

password str

The password associated with this Automation Credential.

resource_group_name str

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

username str

The username associated with this Automation Credential.

description str

The description associated with this Automation Credential.

name str

Specifies the name of the Credential. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the Credential 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing Credential Resource

Get an existing Credential 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?: CredentialState, opts?: CustomResourceOptions): Credential
static get(resource_name, id, opts=None, automation_account_name=None, description=None, name=None, password=None, resource_group_name=None, username=None, __props__=None);
func GetCredential(ctx *Context, name string, id IDInput, state *CredentialState, opts ...ResourceOption) (*Credential, error)
public static Credential Get(string name, Input<string> id, CredentialState? 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:

AutomationAccountName string

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

Description string

The description associated with this Automation Credential.

Name string

Specifies the name of the Credential. Changing this forces a new resource to be created.

Password string

The password associated with this Automation Credential.

ResourceGroupName string

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

Username string

The username associated with this Automation Credential.

AutomationAccountName string

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

Description string

The description associated with this Automation Credential.

Name string

Specifies the name of the Credential. Changing this forces a new resource to be created.

Password string

The password associated with this Automation Credential.

ResourceGroupName string

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

Username string

The username associated with this Automation Credential.

automationAccountName string

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

description string

The description associated with this Automation Credential.

name string

Specifies the name of the Credential. Changing this forces a new resource to be created.

password string

The password associated with this Automation Credential.

resourceGroupName string

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

username string

The username associated with this Automation Credential.

automation_account_name str

The name of the automation account in which the Credential is created. Changing this forces a new resource to be created.

description str

The description associated with this Automation Credential.

name str

Specifies the name of the Credential. Changing this forces a new resource to be created.

password str

The password associated with this Automation Credential.

resource_group_name str

The name of the resource group in which the Credential is created. Changing this forces a new resource to be created.

username str

The username associated with this Automation Credential.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.