Module Values.CreateLocationAzureBlobRequestSource

Creates a transfer location for a Microsoft Azure Blob Storage container. DataSync can use this location as a transfer source or destination. You can make transfers with or without a DataSync agent that connects to your container. Before you begin, make sure you know how DataSync accesses Azure Blob Storage and works with access tiers and blob types.

Sourcetype nonrec t = {
  1. containerUrl : AzureBlobContainerUrl.t;
    (*

    Specifies the URL of the Azure Blob Storage container involved in your transfer.

    *)
  2. authenticationType : AzureBlobAuthenticationType.t;
    (*

    Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS).

    *)
  3. sasConfiguration : AzureBlobSasConfiguration.t option;
    (*

    Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. If you provide an authentication token using SasConfiguration, but do not provide secret configuration details using CmkSecretConfig or CustomSecretConfig, then DataSync stores the token using your Amazon Web Services account's secrets manager secret.

    *)
  4. blobType : AzureBlobType.t option;
    (*

    Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Currently, DataSync only supports moving data into Azure Blob Storage as block blobs. For more information on blob types, see the Azure Blob Storage documentation.

    *)
  5. accessTier : AzureAccessTier.t option;
    (*

    Specifies the access tier that you want your objects or files transferred into. This only applies when using the location as a transfer destination. For more information, see Access tiers.

    *)
  6. subdirectory : AzureBlobSubdirectory.t option;
    (*

    Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example, /my/images).

    *)
  7. agentArns : AgentArnList.t option;
    (*

    (Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container. If you are setting up an agentless cross-cloud transfer, you do not need to specify a value for this parameter. You can specify more than one agent. For more information, see Using multiple agents for your transfer. Make sure you configure this parameter correctly when you first create your storage location. You cannot add or remove agents from a storage location after you create it.

    *)
  8. tags : InputTagList.t option;
    (*

    Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.

    *)
  9. cmkSecretConfig : CmkSecretConfig.t option;
    (*

    Specifies configuration information for a DataSync-managed secret, which includes the authentication token that DataSync uses to access a specific AzureBlob storage location, with a customer-managed KMS key. When you include this parameter as part of a CreateLocationAzureBlob request, you provide only the KMS key ARN. DataSync uses this KMS key together with the authentication token you specify for SasConfiguration to create a DataSync-managed secret to store the location access credentials. Make sure that DataSync has permission to access the KMS key that you specify. For more information, see Using a service-managed secret encrypted with a custom KMS key. You can use either CmkSecretConfig (with SasConfiguration) or CustomSecretConfig (without SasConfiguration) to provide credentials for a CreateLocationAzureBlob request. Do not provide both parameters for the same request.

    *)
  10. customSecretConfig : CustomSecretConfig.t option;
    (*

    Specifies configuration information for a customer-managed Secrets Manager secret where the authentication token for an AzureBlob storage location is stored in plain text, in Secrets Manager. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. For more information, see Using a secret that you manage. You can use either CmkSecretConfig (with SasConfiguration) or CustomSecretConfig (without SasConfiguration) to provide credentials for a CreateLocationAzureBlob request. Do not provide both parameters for the same request.

    *)
}
Sourceval context_ : string
Sourceval make : ?sasConfiguration:??? -> ?blobType:??? -> ?accessTier:??? -> ?subdirectory:??? -> ?agentArns:??? -> ?tags:??? -> ?cmkSecretConfig:??? -> ?customSecretConfig:??? -> containerUrl:AzureBlobContainerUrl.t -> authenticationType:AzureBlobAuthenticationType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of AgentArn.t | `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of AzureBlobContainerUrl.t | `Structure of (string * [> `String of AzureBlobSasToken.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t