@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
251 lines (250 loc) • 11.1 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface StorageBlobConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#access_tier StorageBlob#access_tier}
*/
readonly accessTier?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#cache_control StorageBlob#cache_control}
*/
readonly cacheControl?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#content_md5 StorageBlob#content_md5}
*/
readonly contentMd5?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#content_type StorageBlob#content_type}
*/
readonly contentType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#encryption_scope StorageBlob#encryption_scope}
*/
readonly encryptionScope?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#id StorageBlob#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#metadata StorageBlob#metadata}
*/
readonly metadata?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#name StorageBlob#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#parallelism StorageBlob#parallelism}
*/
readonly parallelism?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#size StorageBlob#size}
*/
readonly size?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#source StorageBlob#source}
*/
readonly source?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#source_content StorageBlob#source_content}
*/
readonly sourceContent?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#source_uri StorageBlob#source_uri}
*/
readonly sourceUri?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#storage_account_name StorageBlob#storage_account_name}
*/
readonly storageAccountName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#storage_container_name StorageBlob#storage_container_name}
*/
readonly storageContainerName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#type StorageBlob#type}
*/
readonly type: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#timeouts StorageBlob#timeouts}
*/
readonly timeouts?: StorageBlobTimeouts;
}
export interface StorageBlobTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#create StorageBlob#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#delete StorageBlob#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#read StorageBlob#read}
*/
readonly read?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#update StorageBlob#update}
*/
readonly update?: string;
}
export declare function storageBlobTimeoutsToTerraform(struct?: StorageBlobTimeouts | cdktf.IResolvable): any;
export declare function storageBlobTimeoutsToHclTerraform(struct?: StorageBlobTimeouts | cdktf.IResolvable): any;
export declare class StorageBlobTimeoutsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): StorageBlobTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: StorageBlobTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
private _read?;
get read(): string;
set read(value: string);
resetRead(): void;
get readInput(): string | undefined;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob azurerm_storage_blob}
*/
export declare class StorageBlob extends cdktf.TerraformResource {
static readonly tfResourceType = "azurerm_storage_blob";
/**
* Generates CDKTF code for importing a StorageBlob resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the StorageBlob to import
* @param importFromId The id of the existing StorageBlob that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the StorageBlob to import is found
*/
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/storage_blob azurerm_storage_blob} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options StorageBlobConfig
*/
constructor(scope: Construct, id: string, config: StorageBlobConfig);
private _accessTier?;
get accessTier(): string;
set accessTier(value: string);
resetAccessTier(): void;
get accessTierInput(): string | undefined;
private _cacheControl?;
get cacheControl(): string;
set cacheControl(value: string);
resetCacheControl(): void;
get cacheControlInput(): string | undefined;
private _contentMd5?;
get contentMd5(): string;
set contentMd5(value: string);
resetContentMd5(): void;
get contentMd5Input(): string | undefined;
private _contentType?;
get contentType(): string;
set contentType(value: string);
resetContentType(): void;
get contentTypeInput(): string | undefined;
private _encryptionScope?;
get encryptionScope(): string;
set encryptionScope(value: string);
resetEncryptionScope(): void;
get encryptionScopeInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _metadata?;
get metadata(): {
[key: string]: string;
};
set metadata(value: {
[key: string]: string;
});
resetMetadata(): void;
get metadataInput(): {
[key: string]: string;
} | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _parallelism?;
get parallelism(): number;
set parallelism(value: number);
resetParallelism(): void;
get parallelismInput(): number | undefined;
private _size?;
get size(): number;
set size(value: number);
resetSize(): void;
get sizeInput(): number | undefined;
private _source?;
get source(): string;
set source(value: string);
resetSource(): void;
get sourceInput(): string | undefined;
private _sourceContent?;
get sourceContent(): string;
set sourceContent(value: string);
resetSourceContent(): void;
get sourceContentInput(): string | undefined;
private _sourceUri?;
get sourceUri(): string;
set sourceUri(value: string);
resetSourceUri(): void;
get sourceUriInput(): string | undefined;
private _storageAccountName?;
get storageAccountName(): string;
set storageAccountName(value: string);
get storageAccountNameInput(): string | undefined;
private _storageContainerName?;
get storageContainerName(): string;
set storageContainerName(value: string);
get storageContainerNameInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
get url(): string;
private _timeouts;
get timeouts(): StorageBlobTimeoutsOutputReference;
putTimeouts(value: StorageBlobTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | StorageBlobTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}