共用方式為


Instance Constructors

Definition

Overloads

Instance()

Initializes a new instance of the Instance class.

Instance(String, String, String, String, IDictionary<String,String>, String, String, IList<IotHubSettings>)

Initializes a new instance of the Instance class.

Instance()

Initializes a new instance of the Instance class.

public Instance ();
Public Sub New ()

Applies to

Instance(String, String, String, String, IDictionary<String,String>, String, String, IList<IotHubSettings>)

Initializes a new instance of the Instance class.

public Instance (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string provisioningState = default, string accountName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DeviceUpdate.Models.IotHubSettings> iotHubs = default);
new Microsoft.Azure.Management.DeviceUpdate.Models.Instance : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DeviceUpdate.Models.IotHubSettings> -> Microsoft.Azure.Management.DeviceUpdate.Models.Instance
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional provisioningState As String = Nothing, Optional accountName As String = Nothing, Optional iotHubs As IList(Of IotHubSettings) = Nothing)

Parameters

location
String

The geo-location where the resource lives

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tags
IDictionary<String,String>

Resource tags.

provisioningState
String

Provisioning state. Possible values include: 'Succeeded', 'Deleted', 'Failed', 'Canceled', 'Accepted', 'Creating'

accountName
String

Parent Device Update Account name which Instance belongs to.

iotHubs
IList<IotHubSettings>

List of IoT Hubs associated with the account.

Applies to