Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@ public class StorageAccount {
@JsonProperty(value = "key")
private String key;

/**
* The resource ID of storage account, only to be specified for Azure Data
* Lake Storage Gen 2.
*/
@JsonProperty(value = "resourceId")
private String resourceId;

/**
* The managed identity (MSI) that is allowed to access the storage
* account, only to be specified for Azure Data Lake Storage Gen 2.
*/
@JsonProperty(value = "msiResourceId")
private String msiResourceId;

/**
* Get the name of the storage account.
*
Expand Down Expand Up @@ -145,4 +159,44 @@ public StorageAccount withKey(String key) {
return this;
}

/**
* Get the resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
*
* @return the resourceId value
*/
public String resourceId() {
return this.resourceId;
}

/**
* Set the resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
*
* @param resourceId the resourceId value to set
* @return the StorageAccount object itself.
*/
public StorageAccount withResourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}

/**
* Get the managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
*
* @return the msiResourceId value
*/
public String msiResourceId() {
return this.msiResourceId;
}

/**
* Set the managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
*
* @param msiResourceId the msiResourceId value to set
* @return the StorageAccount object itself.
*/
public StorageAccount withMsiResourceId(String msiResourceId) {
this.msiResourceId = msiResourceId;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@ public class StorageAccount {
@JsonProperty(value = "key")
private String key;

/**
* The resource ID of storage account, only to be specified for Azure Data
* Lake Storage Gen 2.
*/
@JsonProperty(value = "resourceId")
private String resourceId;

/**
* The managed identity (MSI) that is allowed to access the storage
* account, only to be specified for Azure Data Lake Storage Gen 2.
*/
@JsonProperty(value = "msiResourceId")
private String msiResourceId;

/**
* Get the name of the storage account.
*
Expand Down Expand Up @@ -146,4 +160,44 @@ public StorageAccount withKey(String key) {
return this;
}

/**
* Get the resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
*
* @return the resourceId value
*/
public String resourceId() {
return this.resourceId;
}

/**
* Set the resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.
*
* @param resourceId the resourceId value to set
* @return the StorageAccount object itself.
*/
public StorageAccount withResourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}

/**
* Get the managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
*
* @return the msiResourceId value
*/
public String msiResourceId() {
return this.msiResourceId;
}

/**
* Set the managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.
*
* @param msiResourceId the msiResourceId value to set
* @return the StorageAccount object itself.
*/
public StorageAccount withMsiResourceId(String msiResourceId) {
this.msiResourceId = msiResourceId;
return this;
}

}