Storage Transfer v1 API - Class AzureBlobStorageData (2.7.0)

public sealed class AzureBlobStorageData : IMessage<AzureBlobStorageData>, IEquatable<AzureBlobStorageData>, IDeepCloneable<AzureBlobStorageData>, IBufferMessage, IMessage

Reference documentation and code samples for the Storage Transfer v1 API class AzureBlobStorageData.

An AzureBlobStorageData resource can be a data source, but not a data sink. An AzureBlobStorageData resource represents one Azure container. The storage account determines the Azure endpoint. In an AzureBlobStorageData resource, a blobs's name is the Azure Blob Storage blob's key name.

Inheritance

object > AzureBlobStorageData

Namespace

Google.Cloud.StorageTransfer.V1

Assembly

Google.Cloud.StorageTransfer.V1.dll

Constructors

AzureBlobStorageData()

public AzureBlobStorageData()

AzureBlobStorageData(AzureBlobStorageData)

public AzureBlobStorageData(AzureBlobStorageData other)
Parameter
Name Description
other AzureBlobStorageData

Properties

AzureCredentials

public AzureCredentials AzureCredentials { get; set; }

Required. Input only. Credentials used to authenticate API requests to Azure.

For information on our data retention policy for user credentials, see User credentials.

Property Value
Type Description
AzureCredentials

Container

public string Container { get; set; }

Required. The container to transfer from the Azure Storage account.

Property Value
Type Description
string

CredentialsSecret

public string CredentialsSecret { get; set; }

Optional. The Resource name of a secret in Secret Manager.

The Azure SAS token must be stored in Secret Manager in JSON format:

{ "sas_token" : "SAS_TOKEN" }

[GoogleServiceAccount][google.storagetransfer.v1.GoogleServiceAccount] must be granted roles/secretmanager.secretAccessor for the resource.

See Configure access to a source: Microsoft Azure Blob Storage for more information.

If credentials_secret is specified, do not specify [azure_credentials][google.storagetransfer.v1.AzureBlobStorageData.azure_credentials].

Format: projects/{project_number}/secrets/{secret_name}

Property Value
Type Description
string

Path

public string Path { get; set; }

Root path to transfer objects.

Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.

Property Value
Type Description
string

StorageAccount

public string StorageAccount { get; set; }

Required. The name of the Azure Storage account.

Property Value
Type Description
string