ArmDataMigrationModelFactory.DataMigrationServiceData Method
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.
Initializes a new instance of DataMigrationServiceData.
public static Azure.ResourceManager.DataMigration.DataMigrationServiceData DataMigrationServiceData (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, string kind = default, Azure.ResourceManager.DataMigration.Models.ServiceSku sku = default, Azure.ResourceManager.DataMigration.Models.ServiceProvisioningState? provisioningState = default, string publicKey = default, string virtualSubnetId = default, string virtualNicId = default, string autoStopDelay = default, bool? deleteResourcesOnStop = default);
static member DataMigrationServiceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * string * Azure.ResourceManager.DataMigration.Models.ServiceSku * Nullable<Azure.ResourceManager.DataMigration.Models.ServiceProvisioningState> * string * string * string * string * Nullable<bool> -> Azure.ResourceManager.DataMigration.DataMigrationServiceData
Public Shared Function DataMigrationServiceData (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 kind As String = Nothing, Optional sku As ServiceSku = Nothing, Optional provisioningState As Nullable(Of ServiceProvisioningState) = Nothing, Optional publicKey As String = Nothing, Optional virtualSubnetId As String = Nothing, Optional virtualNicId As String = Nothing, Optional autoStopDelay As String = Nothing, Optional deleteResourcesOnStop As Nullable(Of Boolean) = Nothing) As DataMigrationServiceData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- kind
- String
The resource kind. Only 'vm' (the default) is supported.
- sku
- ServiceSku
Service SKU.
- provisioningState
- Nullable<ServiceProvisioningState>
The resource's provisioning state.
- publicKey
- String
The public key of the service, used to encrypt secrets sent to the service.
- virtualSubnetId
- String
The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.
- virtualNicId
- String
The ID of the Microsoft.Network/networkInterfaces resource which the service have.
- autoStopDelay
- String
The time delay before the service is auto-stopped when idle.
Whether service resources should be deleted when stopped. (Turned on by default).
Returns
A new DataMigrationServiceData instance for mocking.