@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* .
*/
export declare class BlobContainerLegalHold extends pulumi.CustomResource {
/**
* Get an existing BlobContainerLegalHold resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BlobContainerLegalHold;
/**
* Returns true if the given object is an instance of BlobContainerLegalHold. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is BlobContainerLegalHold;
/**
* Name of the Storage Account.
*/
readonly accountName: pulumi.Output<string | undefined>;
/**
* When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
*/
readonly allowProtectedAppendWritesAll: pulumi.Output<boolean | undefined>;
/**
* Name of the Blob Container.
*/
readonly containerName: pulumi.Output<string | undefined>;
/**
* Name of the resource group that contains the storage account.
*/
readonly resourceGroupName: pulumi.Output<string | undefined>;
/**
* List of legal hold tags. Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.
*/
readonly tags: pulumi.Output<string[] | undefined>;
/**
* Create a BlobContainerLegalHold resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: BlobContainerLegalHoldArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a BlobContainerLegalHold resource.
*/
export interface BlobContainerLegalHoldArgs {
/**
* Name of the Storage Account.
*/
accountName: pulumi.Input<string>;
/**
* When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
*/
allowProtectedAppendWritesAll?: pulumi.Input<boolean>;
/**
* Name of the Blob Container.
*/
containerName: pulumi.Input<string>;
/**
* Name of the resource group that contains the storage account.
*/
resourceGroupName: pulumi.Input<string>;
/**
* List of legal hold tags. Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.
*/
tags: pulumi.Input<pulumi.Input<string>[]>;
}