@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
344 lines (343 loc) • 19.2 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataAzurermStorageAccountSasConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#connection_string DataAzurermStorageAccountSas#connection_string}
*/
readonly connectionString: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#expiry DataAzurermStorageAccountSas#expiry}
*/
readonly expiry: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#https_only DataAzurermStorageAccountSas#https_only}
*/
readonly httpsOnly?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#id DataAzurermStorageAccountSas#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/data-sources/storage_account_sas#ip_addresses DataAzurermStorageAccountSas#ip_addresses}
*/
readonly ipAddresses?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#signed_version DataAzurermStorageAccountSas#signed_version}
*/
readonly signedVersion?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#start DataAzurermStorageAccountSas#start}
*/
readonly start: string;
/**
* permissions block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#permissions DataAzurermStorageAccountSas#permissions}
*/
readonly permissions: DataAzurermStorageAccountSasPermissions;
/**
* resource_types block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#resource_types DataAzurermStorageAccountSas#resource_types}
*/
readonly resourceTypes: DataAzurermStorageAccountSasResourceTypes;
/**
* services block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#services DataAzurermStorageAccountSas#services}
*/
readonly services: DataAzurermStorageAccountSasServices;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#timeouts DataAzurermStorageAccountSas#timeouts}
*/
readonly timeouts?: DataAzurermStorageAccountSasTimeouts;
}
export interface DataAzurermStorageAccountSasPermissions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#add DataAzurermStorageAccountSas#add}
*/
readonly add: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#create DataAzurermStorageAccountSas#create}
*/
readonly create: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#delete DataAzurermStorageAccountSas#delete}
*/
readonly delete: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#filter DataAzurermStorageAccountSas#filter}
*/
readonly filter: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#list DataAzurermStorageAccountSas#list}
*/
readonly list: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#process DataAzurermStorageAccountSas#process}
*/
readonly process: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#read DataAzurermStorageAccountSas#read}
*/
readonly read: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#tag DataAzurermStorageAccountSas#tag}
*/
readonly tag: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#update DataAzurermStorageAccountSas#update}
*/
readonly update: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#write DataAzurermStorageAccountSas#write}
*/
readonly write: boolean | cdktf.IResolvable;
}
export declare function dataAzurermStorageAccountSasPermissionsToTerraform(struct?: DataAzurermStorageAccountSasPermissionsOutputReference | DataAzurermStorageAccountSasPermissions): any;
export declare function dataAzurermStorageAccountSasPermissionsToHclTerraform(struct?: DataAzurermStorageAccountSasPermissionsOutputReference | DataAzurermStorageAccountSasPermissions): any;
export declare class DataAzurermStorageAccountSasPermissionsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataAzurermStorageAccountSasPermissions | undefined;
set internalValue(value: DataAzurermStorageAccountSasPermissions | undefined);
private _add?;
get add(): boolean | cdktf.IResolvable;
set add(value: boolean | cdktf.IResolvable);
get addInput(): boolean | cdktf.IResolvable | undefined;
private _create?;
get create(): boolean | cdktf.IResolvable;
set create(value: boolean | cdktf.IResolvable);
get createInput(): boolean | cdktf.IResolvable | undefined;
private _delete?;
get delete(): boolean | cdktf.IResolvable;
set delete(value: boolean | cdktf.IResolvable);
get deleteInput(): boolean | cdktf.IResolvable | undefined;
private _filter?;
get filter(): boolean | cdktf.IResolvable;
set filter(value: boolean | cdktf.IResolvable);
get filterInput(): boolean | cdktf.IResolvable | undefined;
private _list?;
get list(): boolean | cdktf.IResolvable;
set list(value: boolean | cdktf.IResolvable);
get listInput(): boolean | cdktf.IResolvable | undefined;
private _process?;
get process(): boolean | cdktf.IResolvable;
set process(value: boolean | cdktf.IResolvable);
get processInput(): boolean | cdktf.IResolvable | undefined;
private _read?;
get read(): boolean | cdktf.IResolvable;
set read(value: boolean | cdktf.IResolvable);
get readInput(): boolean | cdktf.IResolvable | undefined;
private _tag?;
get tag(): boolean | cdktf.IResolvable;
set tag(value: boolean | cdktf.IResolvable);
get tagInput(): boolean | cdktf.IResolvable | undefined;
private _update?;
get update(): boolean | cdktf.IResolvable;
set update(value: boolean | cdktf.IResolvable);
get updateInput(): boolean | cdktf.IResolvable | undefined;
private _write?;
get write(): boolean | cdktf.IResolvable;
set write(value: boolean | cdktf.IResolvable);
get writeInput(): boolean | cdktf.IResolvable | undefined;
}
export interface DataAzurermStorageAccountSasResourceTypes {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#container DataAzurermStorageAccountSas#container}
*/
readonly container: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#object DataAzurermStorageAccountSas#object}
*/
readonly object: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#service DataAzurermStorageAccountSas#service}
*/
readonly service: boolean | cdktf.IResolvable;
}
export declare function dataAzurermStorageAccountSasResourceTypesToTerraform(struct?: DataAzurermStorageAccountSasResourceTypesOutputReference | DataAzurermStorageAccountSasResourceTypes): any;
export declare function dataAzurermStorageAccountSasResourceTypesToHclTerraform(struct?: DataAzurermStorageAccountSasResourceTypesOutputReference | DataAzurermStorageAccountSasResourceTypes): any;
export declare class DataAzurermStorageAccountSasResourceTypesOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataAzurermStorageAccountSasResourceTypes | undefined;
set internalValue(value: DataAzurermStorageAccountSasResourceTypes | undefined);
private _container?;
get container(): boolean | cdktf.IResolvable;
set container(value: boolean | cdktf.IResolvable);
get containerInput(): boolean | cdktf.IResolvable | undefined;
private _object?;
get object(): boolean | cdktf.IResolvable;
set object(value: boolean | cdktf.IResolvable);
get objectInput(): boolean | cdktf.IResolvable | undefined;
private _service?;
get service(): boolean | cdktf.IResolvable;
set service(value: boolean | cdktf.IResolvable);
get serviceInput(): boolean | cdktf.IResolvable | undefined;
}
export interface DataAzurermStorageAccountSasServices {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#blob DataAzurermStorageAccountSas#blob}
*/
readonly blob: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#file DataAzurermStorageAccountSas#file}
*/
readonly file: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#queue DataAzurermStorageAccountSas#queue}
*/
readonly queue: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#table DataAzurermStorageAccountSas#table}
*/
readonly table: boolean | cdktf.IResolvable;
}
export declare function dataAzurermStorageAccountSasServicesToTerraform(struct?: DataAzurermStorageAccountSasServicesOutputReference | DataAzurermStorageAccountSasServices): any;
export declare function dataAzurermStorageAccountSasServicesToHclTerraform(struct?: DataAzurermStorageAccountSasServicesOutputReference | DataAzurermStorageAccountSasServices): any;
export declare class DataAzurermStorageAccountSasServicesOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataAzurermStorageAccountSasServices | undefined;
set internalValue(value: DataAzurermStorageAccountSasServices | undefined);
private _blob?;
get blob(): boolean | cdktf.IResolvable;
set blob(value: boolean | cdktf.IResolvable);
get blobInput(): boolean | cdktf.IResolvable | undefined;
private _file?;
get file(): boolean | cdktf.IResolvable;
set file(value: boolean | cdktf.IResolvable);
get fileInput(): boolean | cdktf.IResolvable | undefined;
private _queue?;
get queue(): boolean | cdktf.IResolvable;
set queue(value: boolean | cdktf.IResolvable);
get queueInput(): boolean | cdktf.IResolvable | undefined;
private _table?;
get table(): boolean | cdktf.IResolvable;
set table(value: boolean | cdktf.IResolvable);
get tableInput(): boolean | cdktf.IResolvable | undefined;
}
export interface DataAzurermStorageAccountSasTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#read DataAzurermStorageAccountSas#read}
*/
readonly read?: string;
}
export declare function dataAzurermStorageAccountSasTimeoutsToTerraform(struct?: DataAzurermStorageAccountSasTimeouts | cdktf.IResolvable): any;
export declare function dataAzurermStorageAccountSasTimeoutsToHclTerraform(struct?: DataAzurermStorageAccountSasTimeouts | cdktf.IResolvable): any;
export declare class DataAzurermStorageAccountSasTimeoutsOutputReference 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(): DataAzurermStorageAccountSasTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: DataAzurermStorageAccountSasTimeouts | cdktf.IResolvable | undefined);
private _read?;
get read(): string;
set read(value: string);
resetRead(): void;
get readInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas azurerm_storage_account_sas}
*/
export declare class DataAzurermStorageAccountSas extends cdktf.TerraformDataSource {
static readonly tfResourceType = "azurerm_storage_account_sas";
/**
* Generates CDKTF code for importing a DataAzurermStorageAccountSas 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 DataAzurermStorageAccountSas to import
* @param importFromId The id of the existing DataAzurermStorageAccountSas that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account_sas#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataAzurermStorageAccountSas 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/data-sources/storage_account_sas azurerm_storage_account_sas} Data Source
*
* @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 DataAzurermStorageAccountSasConfig
*/
constructor(scope: Construct, id: string, config: DataAzurermStorageAccountSasConfig);
private _connectionString?;
get connectionString(): string;
set connectionString(value: string);
get connectionStringInput(): string | undefined;
private _expiry?;
get expiry(): string;
set expiry(value: string);
get expiryInput(): string | undefined;
private _httpsOnly?;
get httpsOnly(): boolean | cdktf.IResolvable;
set httpsOnly(value: boolean | cdktf.IResolvable);
resetHttpsOnly(): void;
get httpsOnlyInput(): boolean | cdktf.IResolvable | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _ipAddresses?;
get ipAddresses(): string;
set ipAddresses(value: string);
resetIpAddresses(): void;
get ipAddressesInput(): string | undefined;
get sas(): string;
private _signedVersion?;
get signedVersion(): string;
set signedVersion(value: string);
resetSignedVersion(): void;
get signedVersionInput(): string | undefined;
private _start?;
get start(): string;
set start(value: string);
get startInput(): string | undefined;
private _permissions;
get permissions(): DataAzurermStorageAccountSasPermissionsOutputReference;
putPermissions(value: DataAzurermStorageAccountSasPermissions): void;
get permissionsInput(): DataAzurermStorageAccountSasPermissions | undefined;
private _resourceTypes;
get resourceTypes(): DataAzurermStorageAccountSasResourceTypesOutputReference;
putResourceTypes(value: DataAzurermStorageAccountSasResourceTypes): void;
get resourceTypesInput(): DataAzurermStorageAccountSasResourceTypes | undefined;
private _services;
get services(): DataAzurermStorageAccountSasServicesOutputReference;
putServices(value: DataAzurermStorageAccountSasServices): void;
get servicesInput(): DataAzurermStorageAccountSasServices | undefined;
private _timeouts;
get timeouts(): DataAzurermStorageAccountSasTimeoutsOutputReference;
putTimeouts(value: DataAzurermStorageAccountSasTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | DataAzurermStorageAccountSasTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}