OutputFileBlobContainerDestination Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. OutputFileBlobContainerDestination
- com.
public class OutputFileBlobContainerDestination
Specifies a file upload destination within an Azure blob storage container.
Constructor Summary
Constructor | Description | |
---|---|---|
OutputFileBlobContainerDestination() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
containerUrl()
Get if not using a managed identity, the URL must include a Shared Access Signature (SAS) granting write permissions to the container. |
Compute |
identityReference()
Get the identity must have write access to the Azure Blob Storage container. |
String |
path()
Get if file |
List<Http |
uploadHeaders()
Get these headers will be specified when uploading files to Azure Storage. |
Output |
withContainerUrl(String containerUrl)
Set if not using a managed identity, the URL must include a Shared Access Signature (SAS) granting write permissions to the container. |
Output |
withIdentityReference(ComputeNodeIdentityReference identityReference)
Set the identity must have write access to the Azure Blob Storage container. |
Output |
withPath(String path)
Set if file |
Output |
withUploadHeaders(List<HttpHeader> uploadHeaders)
Set these headers will be specified when uploading files to Azure Storage. |
Methods inherited from java.lang.Object
Constructor Details
OutputFileBlobContainerDestination
public OutputFileBlobContainerDestination()
Method Details
containerUrl
public String containerUrl()
Get if not using a managed identity, the URL must include a Shared Access Signature (SAS) granting write permissions to the container.
Returns:
identityReference
public ComputeNodeIdentityReference identityReference()
Get the identity must have write access to the Azure Blob Storage container.
Returns:
path
public String path()
Get if filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name.
Returns:
uploadHeaders
public List
Get these headers will be specified when uploading files to Azure Storage. Official document on allowed headers when uploading blobs: https://docs.microsoft.com/rest/api/storageservices/put-blob\#request-headers-all-blob-types.
Returns:
withContainerUrl
public OutputFileBlobContainerDestination withContainerUrl(String containerUrl)
Set if not using a managed identity, the URL must include a Shared Access Signature (SAS) granting write permissions to the container.
Parameters:
Returns:
withIdentityReference
public OutputFileBlobContainerDestination withIdentityReference(ComputeNodeIdentityReference identityReference)
Set the identity must have write access to the Azure Blob Storage container.
Parameters:
Returns:
withPath
public OutputFileBlobContainerDestination withPath(String path)
Set if filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name.
Parameters:
Returns:
withUploadHeaders
public OutputFileBlobContainerDestination withUploadHeaders(List
Set these headers will be specified when uploading files to Azure Storage. Official document on allowed headers when uploading blobs: https://docs.microsoft.com/rest/api/storageservices/put-blob\#request-headers-all-blob-types.
Parameters:
Returns:
Applies to
Azure SDK for Java