Class AzureDataLakeGen2Datastore
java.lang.Object
com.azure.resourcemanager.machinelearning.models.ResourceBase
com.azure.resourcemanager.machinelearning.models.DatastoreProperties
com.azure.resourcemanager.machinelearning.models.AzureDataLakeGen2Datastore
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceBase>
Azure Data Lake Gen2 datastore configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureDataLakeGen2Datastore class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accountName property: [Required] Storage account name.Get the datastoreType property: [Required] Storage type backing the datastore.endpoint()Get the endpoint property: Azure cloud endpoint for the storage account.Get the filesystem property: [Required] The name of the Data Lake Gen2 filesystem.static AzureDataLakeGen2DatastorefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureDataLakeGen2Datastore from the JsonReader.Get the isDefault property: Readonly property to indicate if datastore is the workspace default datastore.protocol()Get the protocol property: Protocol used to communicate with the storage account.Get the resourceGroup property: Azure Resource Group name.Get the serviceDataAccessAuthIdentity property: Indicates which identity to use to authenticate service data access to customer's storage.Get the subscriptionId property: Azure Subscription Id.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAccountName(String accountName) Set the accountName property: [Required] Storage account name.withCredentials(DatastoreCredentials credentials) Set the credentials property: [Required] Account credentials.withDescription(String description) Set the description property: The asset description text.withEndpoint(String endpoint) Set the endpoint property: Azure cloud endpoint for the storage account.withFilesystem(String filesystem) Set the filesystem property: [Required] The name of the Data Lake Gen2 filesystem.withProperties(Map<String, String> properties) Set the properties property: The asset property dictionary.withProtocol(String protocol) Set the protocol property: Protocol used to communicate with the storage account.withResourceGroup(String resourceGroup) Set the resourceGroup property: Azure Resource Group name.withServiceDataAccessAuthIdentity(ServiceDataAccessAuthIdentity serviceDataAccessAuthIdentity) Set the serviceDataAccessAuthIdentity property: Indicates which identity to use to authenticate service data access to customer's storage.withSubscriptionId(String subscriptionId) Set the subscriptionId property: Azure Subscription Id.Set the tags property: Tag dictionary.Methods inherited from class com.azure.resourcemanager.machinelearning.models.DatastoreProperties
credentialsMethods inherited from class com.azure.resourcemanager.machinelearning.models.ResourceBase
description, properties, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureDataLakeGen2Datastore
public AzureDataLakeGen2Datastore()Creates an instance of AzureDataLakeGen2Datastore class.
-
-
Method Details
-
datastoreType
Get the datastoreType property: [Required] Storage type backing the datastore.- Overrides:
datastoreTypein classDatastoreProperties- Returns:
- the datastoreType value.
-
filesystem
Get the filesystem property: [Required] The name of the Data Lake Gen2 filesystem.- Returns:
- the filesystem value.
-
withFilesystem
Set the filesystem property: [Required] The name of the Data Lake Gen2 filesystem.- Parameters:
filesystem- the filesystem value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
accountName
Get the accountName property: [Required] Storage account name.- Returns:
- the accountName value.
-
withAccountName
Set the accountName property: [Required] Storage account name.- Parameters:
accountName- the accountName value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
endpoint
Get the endpoint property: Azure cloud endpoint for the storage account.- Returns:
- the endpoint value.
-
withEndpoint
Set the endpoint property: Azure cloud endpoint for the storage account.- Parameters:
endpoint- the endpoint value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
protocol
Get the protocol property: Protocol used to communicate with the storage account.- Returns:
- the protocol value.
-
withProtocol
Set the protocol property: Protocol used to communicate with the storage account.- Parameters:
protocol- the protocol value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
serviceDataAccessAuthIdentity
Get the serviceDataAccessAuthIdentity property: Indicates which identity to use to authenticate service data access to customer's storage.- Returns:
- the serviceDataAccessAuthIdentity value.
-
withServiceDataAccessAuthIdentity
public AzureDataLakeGen2Datastore withServiceDataAccessAuthIdentity(ServiceDataAccessAuthIdentity serviceDataAccessAuthIdentity) Set the serviceDataAccessAuthIdentity property: Indicates which identity to use to authenticate service data access to customer's storage.- Parameters:
serviceDataAccessAuthIdentity- the serviceDataAccessAuthIdentity value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
subscriptionId
Get the subscriptionId property: Azure Subscription Id.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: Azure Subscription Id.- Parameters:
subscriptionId- the subscriptionId value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
resourceGroup
Get the resourceGroup property: Azure Resource Group name.- Returns:
- the resourceGroup value.
-
withResourceGroup
Set the resourceGroup property: Azure Resource Group name.- Parameters:
resourceGroup- the resourceGroup value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
isDefault
Get the isDefault property: Readonly property to indicate if datastore is the workspace default datastore.- Overrides:
isDefaultin classDatastoreProperties- Returns:
- the isDefault value.
-
withCredentials
Set the credentials property: [Required] Account credentials.- Overrides:
withCredentialsin classDatastoreProperties- Parameters:
credentials- the credentials value to set.- Returns:
- the DatastoreProperties object itself.
-
withDescription
Set the description property: The asset description text.- Overrides:
withDescriptionin classDatastoreProperties- Parameters:
description- the description value to set.- Returns:
- the ResourceBase object itself.
-
withTags
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.- Overrides:
withTagsin classDatastoreProperties- Parameters:
tags- the tags value to set.- Returns:
- the ResourceBase object itself.
-
withProperties
Set the properties property: The asset property dictionary.- Overrides:
withPropertiesin classDatastoreProperties- Parameters:
properties- the properties value to set.- Returns:
- the ResourceBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classDatastoreProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResourceBase>- Overrides:
toJsonin classDatastoreProperties- Throws:
IOException
-
fromJson
public static AzureDataLakeGen2Datastore fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AzureDataLakeGen2Datastore from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AzureDataLakeGen2Datastore if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AzureDataLakeGen2Datastore.
-