View Source GoogleApi.StorageTransfer.V1.Model.AzureBlobStorageData (google_api_storage_transfer v0.36.0)

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.

Attributes

  • azureCredentials (type: GoogleApi.StorageTransfer.V1.Model.AzureCredentials.t, default: nil) - Required. Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see User credentials.
  • container (type: String.t, default: nil) - Required. The container to transfer from the Azure Storage account.
  • credentialsSecret (type: String.t, default: nil) - 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 must be granted roles/secretmanager.secretAccessor for the resource. See [Configure access to a source: Microsoft Azure Blob Storage] (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) for more information. If credentials_secret is specified, do not specify azure_credentials. Format: projects/{project_number}/secrets/{secret_name}
  • path (type: String.t, default: nil) - 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 '/'.
  • storageAccount (type: String.t, default: nil) - Required. The name of the Azure Storage account.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StorageTransfer.V1.Model.AzureBlobStorageData{
  azureCredentials:
    GoogleApi.StorageTransfer.V1.Model.AzureCredentials.t() | nil,
  container: String.t() | nil,
  credentialsSecret: String.t() | nil,
  path: String.t() | nil,
  storageAccount: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.