Sdílet prostřednictvím


ArmAutomationModelFactory.AutomationCredentialData Method

Definition

Initializes a new instance of AutomationCredentialData.

public static Azure.ResourceManager.Automation.AutomationCredentialData AutomationCredentialData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string userName = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string description = default);
static member AutomationCredentialData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Automation.AutomationCredentialData
Public Shared Function AutomationCredentialData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional userName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing) As AutomationCredentialData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

userName
String

Gets the user name of the credential.

createdOn
Nullable<DateTimeOffset>

Gets the creation time.

lastModifiedOn
Nullable<DateTimeOffset>

Gets the last modified time.

description
String

Gets or sets the description.

Returns

A new AutomationCredentialData instance for mocking.

Applies to