Поделиться через


Module Конструкторы

Определение

Перегрузки

Module()

Инициализирует новый экземпляр класса Module.

Module(String, String, String, IDictionary<String,String>, String, Nullable<Boolean>, String, Nullable<Int64>, Nullable<Int32>, Nullable<ModuleProvisioningState>, ContentLink, ModuleErrorInfo, DateTimeOffset, DateTimeOffset, String, Nullable<Boolean>, String)

Инициализирует новый экземпляр класса Module.

Module()

Инициализирует новый экземпляр класса Module.

public Module ();
Public Sub New ()

Применяется к

Инициализирует новый экземпляр класса Module.

public Module (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default, bool? isGlobal = default, string version = default, long? sizeInBytes = default, int? activityCount = default, Microsoft.Azure.Management.Automation.Models.ModuleProvisioningState? provisioningState = default, Microsoft.Azure.Management.Automation.Models.ContentLink contentLink = default, Microsoft.Azure.Management.Automation.Models.ModuleErrorInfo error = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default, string description = default, bool? isComposite = default, string etag = default);
new Microsoft.Azure.Management.Automation.Models.Module : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<bool> * string * Nullable<int64> * Nullable<int> * Nullable<Microsoft.Azure.Management.Automation.Models.ModuleProvisioningState> * Microsoft.Azure.Management.Automation.Models.ContentLink * Microsoft.Azure.Management.Automation.Models.ModuleErrorInfo * DateTimeOffset * DateTimeOffset * string * Nullable<bool> * string -> Microsoft.Azure.Management.Automation.Models.Module
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = 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 ContentLink = Nothing, Optional error As ModuleErrorInfo = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing, Optional description As String = Nothing, Optional isComposite As Nullable(Of Boolean) = Nothing, Optional etag As String = Nothing)

Параметры

id
String

Полный идентификатор ресурса для ресурса

name
String

Имя ресурса.

type
String

Тип ресурса.

tags
IDictionary<String,String>

Теги ресурсов.

location
String

Регион Azure, в котором находится ресурс

isGlobal
Nullable<Boolean>

Возвращает или задает флаг isGlobal модуля.

version
String

Возвращает или задает версию модуля.

sizeInBytes
Nullable<Int64>

Возвращает или задает размер модуля в байтах.

activityCount
Nullable<Int32>

Возвращает или задает число действий модуля.

provisioningState
Nullable<ModuleProvisioningState>

Возвращает или задает состояние подготовки модуля. Возможные значения: "Created", "Creating", "StartingImportModuleRunbook", "RunningImportModuleRunbook", "ContentRetrieved", "ContentDownloaded", "ContentValidated", "ConnectionTypeImported", "ContentStored", "ModuleDataStored", "ActivitiesStored", "ModuleImportRunbookComplete", "Succeeded", "Failed", "Cancelled", "Updating"

contentLink
ContentLink

Возвращает или задает contentLink модуля.

error
ModuleErrorInfo

Возвращает или задает сведения об ошибке модуля.

creationTime
DateTimeOffset

Возвращает или задает время создания.

lastModifiedTime
DateTimeOffset

Возвращает или задает время последнего изменения.

description
String

Возвращает или задает описание.

isComposite
Nullable<Boolean>

Возвращает или задает тип модуля, если его составной или нет.

etag
String

Возвращает или задает etag ресурса.

Применяется к