Module Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Module() |
Initializes a new instance of the Module class. |
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) |
Initializes a new instance of the Module class. |
Module()
Initializes a new instance of the Module class.
public Module ();
Public Sub New ()
Applies to
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)
Initializes a new instance of the Module class.
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)
Parameters
- id
- String
Fully qualified resource Id for the resource
- name
- String
The name of the resource
- type
- String
The type of the resource.
- tags
- IDictionary<String,String>
Resource tags.
- location
- String
The Azure Region where the resource lives
- version
- String
Gets or sets the version of the module.
- provisioningState
- Nullable<ModuleProvisioningState>
Gets or sets the provisioning state of the module. Possible values include: 'Created', 'Creating', 'StartingImportModuleRunbook', 'RunningImportModuleRunbook', 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', 'ActivitiesStored', 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', 'Cancelled', 'Updating'
- contentLink
- ContentLink
Gets or sets the contentLink of the module.
- error
- ModuleErrorInfo
Gets or sets the error info of the module.
- creationTime
- DateTimeOffset
Gets or sets the creation time.
- lastModifiedTime
- DateTimeOffset
Gets or sets the last modified time.
- description
- String
Gets or sets the description.
- etag
- String
Gets or sets the etag of the resource.
Applies to
Azure SDK for .NET