UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

161 lines (160 loc) 8.59 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApiManagementApiOperationPolicyConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#api_management_name ApiManagementApiOperationPolicy#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_api_operation_policy#api_name ApiManagementApiOperationPolicy#api_name} */ readonly apiName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#id ApiManagementApiOperationPolicy#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_api_operation_policy#operation_id ApiManagementApiOperationPolicy#operation_id} */ readonly operationId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#resource_group_name ApiManagementApiOperationPolicy#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_api_operation_policy#xml_content ApiManagementApiOperationPolicy#xml_content} */ readonly xmlContent?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#xml_link ApiManagementApiOperationPolicy#xml_link} */ readonly xmlLink?: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#timeouts ApiManagementApiOperationPolicy#timeouts} */ readonly timeouts?: ApiManagementApiOperationPolicyTimeouts; } export interface ApiManagementApiOperationPolicyTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#create ApiManagementApiOperationPolicy#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#delete ApiManagementApiOperationPolicy#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#read ApiManagementApiOperationPolicy#read} */ readonly read?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#update ApiManagementApiOperationPolicy#update} */ readonly update?: string; } export declare function apiManagementApiOperationPolicyTimeoutsToTerraform(struct?: ApiManagementApiOperationPolicyTimeouts | cdktf.IResolvable): any; export declare function apiManagementApiOperationPolicyTimeoutsToHclTerraform(struct?: ApiManagementApiOperationPolicyTimeouts | cdktf.IResolvable): any; export declare class ApiManagementApiOperationPolicyTimeoutsOutputReference 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(): ApiManagementApiOperationPolicyTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ApiManagementApiOperationPolicyTimeouts | 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_api_operation_policy azurerm_api_management_api_operation_policy} */ export declare class ApiManagementApiOperationPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "azurerm_api_management_api_operation_policy"; /** * Generates CDKTF code for importing a ApiManagementApiOperationPolicy 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 ApiManagementApiOperationPolicy to import * @param importFromId The id of the existing ApiManagementApiOperationPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/api_management_api_operation_policy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ApiManagementApiOperationPolicy 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_api_operation_policy azurerm_api_management_api_operation_policy} 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 ApiManagementApiOperationPolicyConfig */ constructor(scope: Construct, id: string, config: ApiManagementApiOperationPolicyConfig); private _apiManagementName?; get apiManagementName(): string; set apiManagementName(value: string); get apiManagementNameInput(): string | undefined; private _apiName?; get apiName(): string; set apiName(value: string); get apiNameInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _operationId?; get operationId(): string; set operationId(value: string); get operationIdInput(): string | undefined; private _resourceGroupName?; get resourceGroupName(): string; set resourceGroupName(value: string); get resourceGroupNameInput(): string | undefined; private _xmlContent?; get xmlContent(): string; set xmlContent(value: string); resetXmlContent(): void; get xmlContentInput(): string | undefined; private _xmlLink?; get xmlLink(): string; set xmlLink(value: string); resetXmlLink(): void; get xmlLinkInput(): string | undefined; private _timeouts; get timeouts(): ApiManagementApiOperationPolicyTimeoutsOutputReference; putTimeouts(value: ApiManagementApiOperationPolicyTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | ApiManagementApiOperationPolicyTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }