DataMigrationServiceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. datamigration. fluent. models. DataMigrationServiceInner
- com.
- com.
- com.
public final class DataMigrationServiceInner
extends Resource
An Azure Database Migration Service (classic) resource.
Constructor Summary
| Constructor | Description |
|---|---|
| DataMigrationServiceInner() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
autoStopDelay()
Get the auto |
| Boolean |
deleteResourcesOnStop()
Get the delete |
| String |
etag()
Get the etag property: HTTP strong entity tag value. |
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
kind()
Get the kind property: The resource kind. |
| String |
name()
Get the name property: The name of the resource. |
|
Service |
provisioningState()
Get the provisioning |
| String |
publicKey()
Get the public |
|
Service |
sku()
Get the sku property: Service SKU. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
| String |
virtualNicId()
Get the virtual |
| String |
virtualSubnetId()
Get the virtual |
|
Data |
withAutoStopDelay(String autoStopDelay)
Set the auto |
|
Data |
withDeleteResourcesOnStop(Boolean deleteResourcesOnStop)
Set the delete |
|
Data |
withEtag(String etag)
Set the etag property: HTTP strong entity tag value. |
|
Data |
withKind(String kind)
Set the kind property: The resource kind. |
|
Data |
withLocation(String location) |
|
Data |
withPublicKey(String publicKey)
Set the public |
|
Data |
withSku(ServiceSku sku)
Set the sku property: Service SKU. |
|
Data |
withTags(Map<String,String> tags) |
|
Data |
withVirtualNicId(String virtualNicId)
Set the virtual |
|
Data |
withVirtualSubnetId(String virtualSubnetId)
Set the virtual |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DataMigrationServiceInner
public DataMigrationServiceInner()
Creates an instance of DataMigrationServiceInner class.
Method Details
autoStopDelay
public String autoStopDelay()
Get the autoStopDelay property: The time delay before the service is auto-stopped when idle.
Returns:
deleteResourcesOnStop
public Boolean deleteResourcesOnStop()
Get the deleteResourcesOnStop property: Whether service resources should be deleted when stopped. (Turned on by default).
Returns:
etag
public String etag()
Get the etag property: HTTP strong entity tag value. Ignored if submitted.
Returns:
fromJson
public static DataMigrationServiceInner fromJson(JsonReader jsonReader)
Reads an instance of DataMigrationServiceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DataMigrationServiceInner.id()Returns:
kind
public String kind()
Get the kind property: The resource kind. Only 'vm' (the default) is supported.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DataMigrationServiceInner.name()Returns:
provisioningState
public ServiceProvisioningState provisioningState()
Get the provisioningState property: The resource's provisioning state.
Returns:
publicKey
public String publicKey()
Get the publicKey property: The public key of the service, used to encrypt secrets sent to the service.
Returns:
sku
public ServiceSku sku()
Get the sku property: Service SKU.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataMigrationServiceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DataMigrationServiceInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualNicId
public String virtualNicId()
Get the virtualNicId property: The ID of the Microsoft.Network/networkInterfaces resource which the service have.
Returns:
virtualSubnetId
public String virtualSubnetId()
Get the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.
Returns:
withAutoStopDelay
public DataMigrationServiceInner withAutoStopDelay(String autoStopDelay)
Set the autoStopDelay property: The time delay before the service is auto-stopped when idle.
Parameters:
Returns:
withDeleteResourcesOnStop
public DataMigrationServiceInner withDeleteResourcesOnStop(Boolean deleteResourcesOnStop)
Set the deleteResourcesOnStop property: Whether service resources should be deleted when stopped. (Turned on by default).
Parameters:
Returns:
withEtag
public DataMigrationServiceInner withEtag(String etag)
Set the etag property: HTTP strong entity tag value. Ignored if submitted.
Parameters:
Returns:
withKind
public DataMigrationServiceInner withKind(String kind)
Set the kind property: The resource kind. Only 'vm' (the default) is supported.
Parameters:
Returns:
withLocation
public DataMigrationServiceInner withLocation(String location)
Overrides:
DataMigrationServiceInner.withLocation(String location)Parameters:
withPublicKey
public DataMigrationServiceInner withPublicKey(String publicKey)
Set the publicKey property: The public key of the service, used to encrypt secrets sent to the service.
Parameters:
Returns:
withSku
public DataMigrationServiceInner withSku(ServiceSku sku)
Set the sku property: Service SKU.
Parameters:
Returns:
withTags
public DataMigrationServiceInner withTags(Map<String,String> tags)
Overrides:
DataMigrationServiceInner.withTags(Map<String,String> tags)Parameters:
withVirtualNicId
public DataMigrationServiceInner withVirtualNicId(String virtualNicId)
Set the virtualNicId property: The ID of the Microsoft.Network/networkInterfaces resource which the service have.
Parameters:
Returns:
withVirtualSubnetId
public DataMigrationServiceInner withVirtualSubnetId(String virtualSubnetId)
Set the virtualSubnetId property: The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined.
Parameters:
Returns: