次の方法で共有


ProjectInner Class

public final class ProjectInner
extends Resource

A project resource.

Constructor Summary

Constructor Description
ProjectInner()

Creates an instance of ProjectInner class.

Method Summary

Modifier and Type Method and Description
AzureActiveDirectoryApp azureAuthenticationInfo()

Get the azureAuthenticationInfo property: Field that defines the Azure active directory application info, used to connect to the target Azure resource.

OffsetDateTime creationTime()

Get the creationTime property: UTC Date and time when project was created.

List<DatabaseInfo> databasesInfo()

Get the databasesInfo property: List of DatabaseInfo.

String etag()

Get the etag property: HTTP strong entity tag value.

static ProjectInner fromJson(JsonReader jsonReader)

Reads an instance of ProjectInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

ProjectProvisioningState provisioningState()

Get the provisioningState property: The project's provisioning state.

ConnectionInfo sourceConnectionInfo()

Get the sourceConnectionInfo property: Information for connecting to source.

ProjectSourcePlatform sourcePlatform()

Get the sourcePlatform property: Source platform for the project.

SystemDataAutoGenerated systemData()

Get the systemData property: The systemData property.

ConnectionInfo targetConnectionInfo()

Get the targetConnectionInfo property: Information for connecting to target.

ProjectTargetPlatform targetPlatform()

Get the targetPlatform property: Target platform for the project.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ProjectInner withAzureAuthenticationInfo(AzureActiveDirectoryApp azureAuthenticationInfo)

Set the azureAuthenticationInfo property: Field that defines the Azure active directory application info, used to connect to the target Azure resource.

ProjectInner withDatabasesInfo(List<DatabaseInfo> databasesInfo)

Set the databasesInfo property: List of DatabaseInfo.

ProjectInner withEtag(String etag)

Set the etag property: HTTP strong entity tag value.

ProjectInner withLocation(String location)
ProjectInner withSourceConnectionInfo(ConnectionInfo sourceConnectionInfo)

Set the sourceConnectionInfo property: Information for connecting to source.

ProjectInner withSourcePlatform(ProjectSourcePlatform sourcePlatform)

Set the sourcePlatform property: Source platform for the project.

ProjectInner withTags(Map<String,String> tags)
ProjectInner withTargetConnectionInfo(ConnectionInfo targetConnectionInfo)

Set the targetConnectionInfo property: Information for connecting to target.

ProjectInner withTargetPlatform(ProjectTargetPlatform targetPlatform)

Set the targetPlatform property: Target platform for the project.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ProjectInner

public ProjectInner()

Creates an instance of ProjectInner class.

Method Details

azureAuthenticationInfo

public AzureActiveDirectoryApp azureAuthenticationInfo()

Get the azureAuthenticationInfo property: Field that defines the Azure active directory application info, used to connect to the target Azure resource.

Returns:

the azureAuthenticationInfo value.

creationTime

public OffsetDateTime creationTime()

Get the creationTime property: UTC Date and time when project was created.

Returns:

the creationTime value.

databasesInfo

public List<DatabaseInfo> databasesInfo()

Get the databasesInfo property: List of DatabaseInfo.

Returns:

the databasesInfo value.

etag

public String etag()

Get the etag property: HTTP strong entity tag value. This is ignored if submitted.

Returns:

the etag value.

fromJson

public static ProjectInner fromJson(JsonReader jsonReader)

Reads an instance of ProjectInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProjectInner 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:

ProjectInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ProjectInner.name()

Returns:

the name value.

provisioningState

public ProjectProvisioningState provisioningState()

Get the provisioningState property: The project's provisioning state.

Returns:

the provisioningState value.

sourceConnectionInfo

public ConnectionInfo sourceConnectionInfo()

Get the sourceConnectionInfo property: Information for connecting to source.

Returns:

the sourceConnectionInfo value.

sourcePlatform

public ProjectSourcePlatform sourcePlatform()

Get the sourcePlatform property: Source platform for the project.

Returns:

the sourcePlatform value.

systemData

public SystemDataAutoGenerated systemData()

Get the systemData property: The systemData property.

Returns:

the systemData value.

targetConnectionInfo

public ConnectionInfo targetConnectionInfo()

Get the targetConnectionInfo property: Information for connecting to target.

Returns:

the targetConnectionInfo value.

targetPlatform

public ProjectTargetPlatform targetPlatform()

Get the targetPlatform property: Target platform for the project.

Returns:

the targetPlatform value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ProjectInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ProjectInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAzureAuthenticationInfo

public ProjectInner withAzureAuthenticationInfo(AzureActiveDirectoryApp azureAuthenticationInfo)

Set the azureAuthenticationInfo property: Field that defines the Azure active directory application info, used to connect to the target Azure resource.

Parameters:

azureAuthenticationInfo - the azureAuthenticationInfo value to set.

Returns:

the ProjectInner object itself.

withDatabasesInfo

public ProjectInner withDatabasesInfo(List<DatabaseInfo> databasesInfo)

Set the databasesInfo property: List of DatabaseInfo.

Parameters:

databasesInfo - the databasesInfo value to set.

Returns:

the ProjectInner object itself.

withEtag

public ProjectInner withEtag(String etag)

Set the etag property: HTTP strong entity tag value. This is ignored if submitted.

Parameters:

etag - the etag value to set.

Returns:

the ProjectInner object itself.

withLocation

public ProjectInner withLocation(String location)

Overrides:

ProjectInner.withLocation(String location)

Parameters:

location

withSourceConnectionInfo

public ProjectInner withSourceConnectionInfo(ConnectionInfo sourceConnectionInfo)

Set the sourceConnectionInfo property: Information for connecting to source.

Parameters:

sourceConnectionInfo - the sourceConnectionInfo value to set.

Returns:

the ProjectInner object itself.

withSourcePlatform

public ProjectInner withSourcePlatform(ProjectSourcePlatform sourcePlatform)

Set the sourcePlatform property: Source platform for the project.

Parameters:

sourcePlatform - the sourcePlatform value to set.

Returns:

the ProjectInner object itself.

withTags

public ProjectInner withTags(Map<String,String> tags)

Overrides:

ProjectInner.withTags(Map<String,String> tags)

Parameters:

tags

withTargetConnectionInfo

public ProjectInner withTargetConnectionInfo(ConnectionInfo targetConnectionInfo)

Set the targetConnectionInfo property: Information for connecting to target.

Parameters:

targetConnectionInfo - the targetConnectionInfo value to set.

Returns:

the ProjectInner object itself.

withTargetPlatform

public ProjectInner withTargetPlatform(ProjectTargetPlatform targetPlatform)

Set the targetPlatform property: Target platform for the project.

Parameters:

targetPlatform - the targetPlatform value to set.

Returns:

the ProjectInner object itself.

Applies to