@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
196 lines (195 loc) • 10 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ApiManagementProductConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#api_management_name ApiManagementProduct#api_management_name}
*/
readonly apiManagementName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#approval_required ApiManagementProduct#approval_required}
*/
readonly approvalRequired?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#description ApiManagementProduct#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#display_name ApiManagementProduct#display_name}
*/
readonly displayName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#id ApiManagementProduct#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/api_management_product#product_id ApiManagementProduct#product_id}
*/
readonly productId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#published ApiManagementProduct#published}
*/
readonly published: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#resource_group_name ApiManagementProduct#resource_group_name}
*/
readonly resourceGroupName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#subscription_required ApiManagementProduct#subscription_required}
*/
readonly subscriptionRequired?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#subscriptions_limit ApiManagementProduct#subscriptions_limit}
*/
readonly subscriptionsLimit?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#terms ApiManagementProduct#terms}
*/
readonly terms?: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#timeouts ApiManagementProduct#timeouts}
*/
readonly timeouts?: ApiManagementProductTimeouts;
}
export interface ApiManagementProductTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#create ApiManagementProduct#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#delete ApiManagementProduct#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#read ApiManagementProduct#read}
*/
readonly read?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#update ApiManagementProduct#update}
*/
readonly update?: string;
}
export declare function apiManagementProductTimeoutsToTerraform(struct?: ApiManagementProductTimeouts | cdktf.IResolvable): any;
export declare function apiManagementProductTimeoutsToHclTerraform(struct?: ApiManagementProductTimeouts | cdktf.IResolvable): any;
export declare class ApiManagementProductTimeoutsOutputReference 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(): ApiManagementProductTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: ApiManagementProductTimeouts | 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/api_management_product azurerm_api_management_product}
*/
export declare class ApiManagementProduct extends cdktf.TerraformResource {
static readonly tfResourceType = "azurerm_api_management_product";
/**
* Generates CDKTF code for importing a ApiManagementProduct 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 ApiManagementProduct to import
* @param importFromId The id of the existing ApiManagementProduct that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_product#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ApiManagementProduct 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/api_management_product azurerm_api_management_product} 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 ApiManagementProductConfig
*/
constructor(scope: Construct, id: string, config: ApiManagementProductConfig);
private _apiManagementName?;
get apiManagementName(): string;
set apiManagementName(value: string);
get apiManagementNameInput(): string | undefined;
private _approvalRequired?;
get approvalRequired(): boolean | cdktf.IResolvable;
set approvalRequired(value: boolean | cdktf.IResolvable);
resetApprovalRequired(): void;
get approvalRequiredInput(): boolean | cdktf.IResolvable | undefined;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
get displayNameInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _productId?;
get productId(): string;
set productId(value: string);
get productIdInput(): string | undefined;
private _published?;
get published(): boolean | cdktf.IResolvable;
set published(value: boolean | cdktf.IResolvable);
get publishedInput(): boolean | cdktf.IResolvable | undefined;
private _resourceGroupName?;
get resourceGroupName(): string;
set resourceGroupName(value: string);
get resourceGroupNameInput(): string | undefined;
private _subscriptionRequired?;
get subscriptionRequired(): boolean | cdktf.IResolvable;
set subscriptionRequired(value: boolean | cdktf.IResolvable);
resetSubscriptionRequired(): void;
get subscriptionRequiredInput(): boolean | cdktf.IResolvable | undefined;
private _subscriptionsLimit?;
get subscriptionsLimit(): number;
set subscriptionsLimit(value: number);
resetSubscriptionsLimit(): void;
get subscriptionsLimitInput(): number | undefined;
private _terms?;
get terms(): string;
set terms(value: string);
resetTerms(): void;
get termsInput(): string | undefined;
private _timeouts;
get timeouts(): ApiManagementProductTimeoutsOutputReference;
putTimeouts(value: ApiManagementProductTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | ApiManagementProductTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}