Location Azure Blob Args
data class LocationAzureBlobArgs(val accessTier: Output<String>? = null, val agentArns: Output<List<String>>? = null, val authenticationType: Output<String>? = null, val blobType: Output<String>? = null, val containerUrl: Output<String>? = null, val sasConfiguration: Output<LocationAzureBlobSasConfigurationArgs>? = null, val subdirectory: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<LocationAzureBlobArgs>
Manages a Microsoft Azure Blob Storage Location within AWS DataSync.
NOTE: The DataSync Agents must be available before creating this resource.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datasync.LocationAzureBlob;
import com.pulumi.aws.datasync.LocationAzureBlobArgs;
import com.pulumi.aws.datasync.inputs.LocationAzureBlobSasConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new LocationAzureBlob("example", LocationAzureBlobArgs.builder()
.agentArns(aws_datasync_agent.example().arn())
.authenticationType("SAS")
.containerUrl("https://example.com/path")
.sasConfiguration(LocationAzureBlobSasConfigurationArgs.builder()
.token("sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D")
.build())
.build());
}
}
Content copied to clipboard
Import
Using pulumi import
, import aws_datasync_location_azure_blob
using the Amazon Resource Name (ARN). For example:
$ pulumi import aws:datasync/locationAzureBlob:LocationAzureBlob example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567
Content copied to clipboard
Constructors
Link copied to clipboard
fun LocationAzureBlobArgs(accessTier: Output<String>? = null, agentArns: Output<List<String>>? = null, authenticationType: Output<String>? = null, blobType: Output<String>? = null, containerUrl: Output<String>? = null, sasConfiguration: Output<LocationAzureBlobSasConfigurationArgs>? = null, subdirectory: Output<String>? = null, tags: Output<Map<String, String>>? = null)