Share via


Credential Constructors

Definition

Overloads

Credential()

Initializes a new instance of the Credential class.

Credential(String, String, String, String, DateTimeOffset, DateTimeOffset, String)

Initializes a new instance of the Credential class.

Credential()

Initializes a new instance of the Credential class.

public Credential ();
Public Sub New ()

Applies to

Credential(String, String, String, String, DateTimeOffset, DateTimeOffset, String)

Initializes a new instance of the Credential class.

public Credential (string id = default, string name = default, string type = default, string userName = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default, string description = default);
new Microsoft.Azure.Management.Automation.Models.Credential : string * string * string * string * DateTimeOffset * DateTimeOffset * string -> Microsoft.Azure.Management.Automation.Models.Credential
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional userName As String = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing, Optional description As String = Nothing)

Parameters

id
String

Fully qualified resource Id for the resource

name
String

The name of the resource

type
String

The type of the resource.

userName
String

Gets the user name of the credential.

creationTime
DateTimeOffset

Gets the creation time.

lastModifiedTime
DateTimeOffset

Gets the last modified time.

description
String

Gets or sets the description.

Applies to