UNPKG

@pulumi/digitalocean

Version:

A Pulumi package for creating and managing DigitalOcean cloud resources.

150 lines (149 loc) 4.84 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class PartnerAttachment extends pulumi.CustomResource { /** * Get an existing PartnerAttachment 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?: PartnerAttachmentState, opts?: pulumi.CustomResourceOptions): PartnerAttachment; /** * Returns true if the given object is an instance of PartnerAttachment. 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 PartnerAttachment; readonly bgp: pulumi.Output<outputs.PartnerAttachmentBgp>; /** * The children uuids of Partner Attachment */ readonly childrens: pulumi.Output<string[]>; /** * The connection bandwidth in Mbps */ readonly connectionBandwidthInMbps: pulumi.Output<number>; /** * The date and time when the Partner Attachment was created */ readonly createdAt: pulumi.Output<string>; /** * The NaaS provider */ readonly naasProvider: pulumi.Output<string>; /** * The name of the Partner Attachment */ readonly name: pulumi.Output<string>; /** * The UUID of the Parent Partner Attachment */ readonly parentUuid: pulumi.Output<string | undefined>; /** * The redundancy zone for the NaaS */ readonly redundancyZone: pulumi.Output<string>; /** * The region where the Partner Attachment will be created */ readonly region: pulumi.Output<string>; /** * The state of the Partner Attachment */ readonly state: pulumi.Output<string>; /** * The list of VPC IDs to attach the Partner Attachment to */ readonly vpcIds: pulumi.Output<string[]>; /** * Create a PartnerAttachment 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: PartnerAttachmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PartnerAttachment resources. */ export interface PartnerAttachmentState { bgp?: pulumi.Input<inputs.PartnerAttachmentBgp>; /** * The children uuids of Partner Attachment */ childrens?: pulumi.Input<pulumi.Input<string>[]>; /** * The connection bandwidth in Mbps */ connectionBandwidthInMbps?: pulumi.Input<number>; /** * The date and time when the Partner Attachment was created */ createdAt?: pulumi.Input<string>; /** * The NaaS provider */ naasProvider?: pulumi.Input<string>; /** * The name of the Partner Attachment */ name?: pulumi.Input<string>; /** * The UUID of the Parent Partner Attachment */ parentUuid?: pulumi.Input<string>; /** * The redundancy zone for the NaaS */ redundancyZone?: pulumi.Input<string>; /** * The region where the Partner Attachment will be created */ region?: pulumi.Input<string>; /** * The state of the Partner Attachment */ state?: pulumi.Input<string>; /** * The list of VPC IDs to attach the Partner Attachment to */ vpcIds?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a PartnerAttachment resource. */ export interface PartnerAttachmentArgs { bgp?: pulumi.Input<inputs.PartnerAttachmentBgp>; /** * The connection bandwidth in Mbps */ connectionBandwidthInMbps: pulumi.Input<number>; /** * The NaaS provider */ naasProvider: pulumi.Input<string>; /** * The name of the Partner Attachment */ name?: pulumi.Input<string>; /** * The UUID of the Parent Partner Attachment */ parentUuid?: pulumi.Input<string>; /** * The redundancy zone for the NaaS */ redundancyZone?: pulumi.Input<string>; /** * The region where the Partner Attachment will be created */ region: pulumi.Input<string>; /** * The list of VPC IDs to attach the Partner Attachment to */ vpcIds: pulumi.Input<pulumi.Input<string>[]>; }