共用方式為


ArmAutomationModelFactory.AutomationAccountData Method

Definition

Initializes a new instance of AutomationAccountData.

public static Azure.ResourceManager.Automation.AutomationAccountData AutomationAccountData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.Automation.Models.AutomationSku sku = default, string lastModifiedBy = default, Azure.ResourceManager.Automation.Models.AutomationAccountState? state = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string description = default, Azure.ResourceManager.Automation.Models.AutomationEncryptionProperties encryption = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Automation.AutomationPrivateEndpointConnectionData> privateEndpointConnections = default, bool? isPublicNetworkAccessAllowed = default, bool? isLocalAuthDisabled = default, Uri automationHybridServiceUri = default);
static member AutomationAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.Automation.Models.AutomationSku * string * Nullable<Azure.ResourceManager.Automation.Models.AutomationAccountState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.Automation.Models.AutomationEncryptionProperties * seq<Azure.ResourceManager.Automation.AutomationPrivateEndpointConnectionData> * Nullable<bool> * Nullable<bool> * Uri -> Azure.ResourceManager.Automation.AutomationAccountData
Public Shared Function AutomationAccountData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional sku As AutomationSku = Nothing, Optional lastModifiedBy As String = Nothing, Optional state As Nullable(Of AutomationAccountState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional encryption As AutomationEncryptionProperties = Nothing, Optional privateEndpointConnections As IEnumerable(Of AutomationPrivateEndpointConnectionData) = Nothing, Optional isPublicNetworkAccessAllowed As Nullable(Of Boolean) = Nothing, Optional isLocalAuthDisabled As Nullable(Of Boolean) = Nothing, Optional automationHybridServiceUri As Uri = Nothing) As AutomationAccountData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

Gets or sets the etag of the resource.

identity
ManagedServiceIdentity

Identity for the resource.

sku
AutomationSku

Gets or sets the SKU of account.

lastModifiedBy
String

Gets or sets the last modified by.

state
Nullable<AutomationAccountState>

Gets status of account.

createdOn
Nullable<DateTimeOffset>

Gets the creation time.

lastModifiedOn
Nullable<DateTimeOffset>

Gets the last modified time.

description
String

Gets or sets the description.

encryption
AutomationEncryptionProperties

Encryption properties for the automation account.

privateEndpointConnections
IEnumerable<AutomationPrivateEndpointConnectionData>

List of Automation operations supported by the Automation resource provider.

isPublicNetworkAccessAllowed
Nullable<Boolean>

Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.

isLocalAuthDisabled
Nullable<Boolean>

Indicates whether requests using non-AAD authentication are blocked.

automationHybridServiceUri
Uri

URL of automation hybrid service which is used for hybrid worker on-boarding.

Returns

A new AutomationAccountData instance for mocking.

Applies to