ArmAutomationModelFactory.AutomationModuleData Method

Definition

Initializes a new instance of AutomationModuleData.

public static Azure.ResourceManager.Automation.AutomationModuleData AutomationModuleData (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, bool? isGlobal = default, string version = default, long? sizeInBytes = default, int? activityCount = default, Azure.ResourceManager.Automation.Models.ModuleProvisioningState? provisioningState = default, Azure.ResourceManager.Automation.Models.AutomationContentLink contentLink = default, Azure.ResourceManager.Automation.Models.AutomationModuleErrorInfo error = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string description = default, bool? isComposite = default);
static member AutomationModuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Nullable<bool> * string * Nullable<int64> * Nullable<int> * Nullable<Azure.ResourceManager.Automation.Models.ModuleProvisioningState> * Azure.ResourceManager.Automation.Models.AutomationContentLink * Azure.ResourceManager.Automation.Models.AutomationModuleErrorInfo * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<bool> -> Azure.ResourceManager.Automation.AutomationModuleData
Public Shared Function AutomationModuleData (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 isGlobal As Nullable(Of Boolean) = Nothing, Optional version As String = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional activityCount As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of ModuleProvisioningState) = Nothing, Optional contentLink As AutomationContentLink = Nothing, Optional error As AutomationModuleErrorInfo = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional isComposite As Nullable(Of Boolean) = Nothing) As AutomationModuleData

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.

isGlobal
Nullable<Boolean>

Gets or sets the isGlobal flag of the module.

version
String

Gets or sets the version of the module.

sizeInBytes
Nullable<Int64>

Gets or sets the size in bytes of the module.

activityCount
Nullable<Int32>

Gets or sets the activity count of the module.

provisioningState
Nullable<ModuleProvisioningState>

Gets or sets the provisioning state of the module.

contentLink
AutomationContentLink

Gets or sets the contentLink of the module.

error
AutomationModuleErrorInfo

Gets or sets the error info of the module.

createdOn
Nullable<DateTimeOffset>

Gets or sets the creation time.

lastModifiedOn
Nullable<DateTimeOffset>

Gets or sets the last modified time.

description
String

Gets or sets the description.

isComposite
Nullable<Boolean>

Gets or sets type of module, if its composite or not.

Returns

A new AutomationModuleData instance for mocking.

Applies to