@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
127 lines (126 loc) • 4.76 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class PeeringConnectionAccepter extends pulumi.CustomResource {
/**
* Get an existing PeeringConnectionAccepter 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 state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PeeringConnectionAccepterState, opts?: pulumi.CustomResourceOptions): PeeringConnectionAccepter;
/**
* Returns true if the given object is an instance of PeeringConnectionAccepter. 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 PeeringConnectionAccepter;
/**
* Whether or not to accept the peering request. Defaults to `false`.
*/
readonly accept: pulumi.Output<boolean | undefined>;
/**
* The description of the VPC peering connection.
*/
readonly description: pulumi.Output<string>;
/**
* The VPC peering connection name.
*/
readonly name: pulumi.Output<string>;
/**
* The Tenant Id of the accepter tenant.
*/
readonly peerTenantId: pulumi.Output<string>;
/**
* The VPC ID of the accepter tenant.
*/
readonly peerVpcId: pulumi.Output<string>;
/**
* The region in which to create the vpc peering connection accepter. If omitted,
* the provider-level region will be used. Changing this creates a new VPC peering connection accepter resource.
*/
readonly region: pulumi.Output<string>;
/**
* The VPC peering connection status.
*/
readonly status: pulumi.Output<string>;
/**
* The ID of requester VPC involved in a VPC peering connection.
*/
readonly vpcId: pulumi.Output<string>;
/**
* The VPC Peering Connection ID to manage. Changing this
* creates a new VPC peering connection accepter.
*/
readonly vpcPeeringConnectionId: pulumi.Output<string>;
/**
* Create a PeeringConnectionAccepter 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: PeeringConnectionAccepterArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PeeringConnectionAccepter resources.
*/
export interface PeeringConnectionAccepterState {
/**
* Whether or not to accept the peering request. Defaults to `false`.
*/
accept?: pulumi.Input<boolean>;
/**
* The description of the VPC peering connection.
*/
description?: pulumi.Input<string>;
/**
* The VPC peering connection name.
*/
name?: pulumi.Input<string>;
/**
* The Tenant Id of the accepter tenant.
*/
peerTenantId?: pulumi.Input<string>;
/**
* The VPC ID of the accepter tenant.
*/
peerVpcId?: pulumi.Input<string>;
/**
* The region in which to create the vpc peering connection accepter. If omitted,
* the provider-level region will be used. Changing this creates a new VPC peering connection accepter resource.
*/
region?: pulumi.Input<string>;
/**
* The VPC peering connection status.
*/
status?: pulumi.Input<string>;
/**
* The ID of requester VPC involved in a VPC peering connection.
*/
vpcId?: pulumi.Input<string>;
/**
* The VPC Peering Connection ID to manage. Changing this
* creates a new VPC peering connection accepter.
*/
vpcPeeringConnectionId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a PeeringConnectionAccepter resource.
*/
export interface PeeringConnectionAccepterArgs {
/**
* Whether or not to accept the peering request. Defaults to `false`.
*/
accept?: pulumi.Input<boolean>;
/**
* The region in which to create the vpc peering connection accepter. If omitted,
* the provider-level region will be used. Changing this creates a new VPC peering connection accepter resource.
*/
region?: pulumi.Input<string>;
/**
* The VPC Peering Connection ID to manage. Changing this
* creates a new VPC peering connection accepter.
*/
vpcPeeringConnectionId: pulumi.Input<string>;
}