次の方法で共有


MigrationConfigPropertiesInner Class

public final class MigrationConfigPropertiesInner
extends ProxyResource

Single item in List or Get Migration Config operation.

Constructor Summary

Constructor Description
MigrationConfigPropertiesInner()

Creates an instance of MigrationConfigPropertiesInner class.

Method Summary

Modifier and Type Method and Description
static MigrationConfigPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of MigrationConfigPropertiesInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String location()

Get the location property: The geo-location where the resource lives.

String migrationState()

Get the migrationState property: State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active.

String name()

Get the name property: The name of the resource.

Long pendingReplicationOperationsCount()

Get the pendingReplicationOperationsCount property: Number of entities pending to be replicated.

String postMigrationName()

Get the postMigrationName property: Name to access Standard Namespace after migration.

String provisioningState()

Get the provisioningState property: Provisioning state of Migration Configuration.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

String targetNamespace()

Get the targetNamespace property: Existing premium Namespace ARM Id name which has no entities, will be used for migration.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

MigrationConfigPropertiesInner withPostMigrationName(String postMigrationName)

Set the postMigrationName property: Name to access Standard Namespace after migration.

MigrationConfigPropertiesInner withTargetNamespace(String targetNamespace)

Set the targetNamespace property: Existing premium Namespace ARM Id name which has no entities, will be used for migration.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

MigrationConfigPropertiesInner

public MigrationConfigPropertiesInner()

Creates an instance of MigrationConfigPropertiesInner class.

Method Details

fromJson

public static MigrationConfigPropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of MigrationConfigPropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MigrationConfigPropertiesInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

MigrationConfigPropertiesInner.id()

Returns:

the id value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

migrationState

public String migrationState()

Get the migrationState property: State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active.

Returns:

the migrationState value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MigrationConfigPropertiesInner.name()

Returns:

the name value.

pendingReplicationOperationsCount

public Long pendingReplicationOperationsCount()

Get the pendingReplicationOperationsCount property: Number of entities pending to be replicated.

Returns:

the pendingReplicationOperationsCount value.

postMigrationName

public String postMigrationName()

Get the postMigrationName property: Name to access Standard Namespace after migration.

Returns:

the postMigrationName value.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of Migration Configuration.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

targetNamespace

public String targetNamespace()

Get the targetNamespace property: Existing premium Namespace ARM Id name which has no entities, will be used for migration.

Returns:

the targetNamespace value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MigrationConfigPropertiesInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MigrationConfigPropertiesInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withPostMigrationName

public MigrationConfigPropertiesInner withPostMigrationName(String postMigrationName)

Set the postMigrationName property: Name to access Standard Namespace after migration.

Parameters:

postMigrationName - the postMigrationName value to set.

Returns:

the MigrationConfigPropertiesInner object itself.

withTargetNamespace

public MigrationConfigPropertiesInner withTargetNamespace(String targetNamespace)

Set the targetNamespace property: Existing premium Namespace ARM Id name which has no entities, will be used for migration.

Parameters:

targetNamespace - the targetNamespace value to set.

Returns:

the MigrationConfigPropertiesInner object itself.

Applies to