digitalocean.PartnerAttachment
Explore with Pulumi AI
Create PartnerAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PartnerAttachment(name: string, args: PartnerAttachmentArgs, opts?: CustomResourceOptions);
@overload
def PartnerAttachment(resource_name: str,
args: PartnerAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PartnerAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_bandwidth_in_mbps: Optional[int] = None,
naas_provider: Optional[str] = None,
region: Optional[str] = None,
vpc_ids: Optional[Sequence[str]] = None,
bgp: Optional[PartnerAttachmentBgpArgs] = None,
name: Optional[str] = None)
func NewPartnerAttachment(ctx *Context, name string, args PartnerAttachmentArgs, opts ...ResourceOption) (*PartnerAttachment, error)
public PartnerAttachment(string name, PartnerAttachmentArgs args, CustomResourceOptions? opts = null)
public PartnerAttachment(String name, PartnerAttachmentArgs args)
public PartnerAttachment(String name, PartnerAttachmentArgs args, CustomResourceOptions options)
type: digitalocean:PartnerAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PartnerAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PartnerAttachmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PartnerAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PartnerAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PartnerAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var partnerAttachmentResource = new DigitalOcean.PartnerAttachment("partnerAttachmentResource", new()
{
ConnectionBandwidthInMbps = 0,
NaasProvider = "string",
Region = "string",
VpcIds = new[]
{
"string",
},
Bgp = new DigitalOcean.Inputs.PartnerAttachmentBgpArgs
{
AuthKey = "string",
LocalRouterIp = "string",
PeerRouterAsn = 0,
PeerRouterIp = "string",
},
Name = "string",
});
example, err := digitalocean.NewPartnerAttachment(ctx, "partnerAttachmentResource", &digitalocean.PartnerAttachmentArgs{
ConnectionBandwidthInMbps: pulumi.Int(0),
NaasProvider: pulumi.String("string"),
Region: pulumi.String("string"),
VpcIds: pulumi.StringArray{
pulumi.String("string"),
},
Bgp: &digitalocean.PartnerAttachmentBgpArgs{
AuthKey: pulumi.String("string"),
LocalRouterIp: pulumi.String("string"),
PeerRouterAsn: pulumi.Int(0),
PeerRouterIp: pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var partnerAttachmentResource = new PartnerAttachment("partnerAttachmentResource", PartnerAttachmentArgs.builder()
.connectionBandwidthInMbps(0)
.naasProvider("string")
.region("string")
.vpcIds("string")
.bgp(PartnerAttachmentBgpArgs.builder()
.authKey("string")
.localRouterIp("string")
.peerRouterAsn(0)
.peerRouterIp("string")
.build())
.name("string")
.build());
partner_attachment_resource = digitalocean.PartnerAttachment("partnerAttachmentResource",
connection_bandwidth_in_mbps=0,
naas_provider="string",
region="string",
vpc_ids=["string"],
bgp={
"auth_key": "string",
"local_router_ip": "string",
"peer_router_asn": 0,
"peer_router_ip": "string",
},
name="string")
const partnerAttachmentResource = new digitalocean.PartnerAttachment("partnerAttachmentResource", {
connectionBandwidthInMbps: 0,
naasProvider: "string",
region: "string",
vpcIds: ["string"],
bgp: {
authKey: "string",
localRouterIp: "string",
peerRouterAsn: 0,
peerRouterIp: "string",
},
name: "string",
});
type: digitalocean:PartnerAttachment
properties:
bgp:
authKey: string
localRouterIp: string
peerRouterAsn: 0
peerRouterIp: string
connectionBandwidthInMbps: 0
naasProvider: string
name: string
region: string
vpcIds:
- string
PartnerAttachment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PartnerAttachment resource accepts the following input properties:
- Connection
Bandwidth intIn Mbps - The connection bandwidth in Mbps
- Naas
Provider string - The NaaS provider
- Region string
- The region where the Partner Attachment will be created
- Vpc
Ids List<string> - The list of VPC IDs to attach the Partner Attachment to
- Bgp
Pulumi.
Digital Ocean. Inputs. Partner Attachment Bgp - Name string
- The name of the Partner Attachment
- Connection
Bandwidth intIn Mbps - The connection bandwidth in Mbps
- Naas
Provider string - The NaaS provider
- Region string
- The region where the Partner Attachment will be created
- Vpc
Ids []string - The list of VPC IDs to attach the Partner Attachment to
- Bgp
Partner
Attachment Bgp Args - Name string
- The name of the Partner Attachment
- connection
Bandwidth IntegerIn Mbps - The connection bandwidth in Mbps
- naas
Provider String - The NaaS provider
- region String
- The region where the Partner Attachment will be created
- vpc
Ids List<String> - The list of VPC IDs to attach the Partner Attachment to
- bgp
Partner
Attachment Bgp - name String
- The name of the Partner Attachment
- connection
Bandwidth numberIn Mbps - The connection bandwidth in Mbps
- naas
Provider string - The NaaS provider
- region string
- The region where the Partner Attachment will be created
- vpc
Ids string[] - The list of VPC IDs to attach the Partner Attachment to
- bgp
Partner
Attachment Bgp - name string
- The name of the Partner Attachment
- connection_
bandwidth_ intin_ mbps - The connection bandwidth in Mbps
- naas_
provider str - The NaaS provider
- region str
- The region where the Partner Attachment will be created
- vpc_
ids Sequence[str] - The list of VPC IDs to attach the Partner Attachment to
- bgp
Partner
Attachment Bgp Args - name str
- The name of the Partner Attachment
- connection
Bandwidth NumberIn Mbps - The connection bandwidth in Mbps
- naas
Provider String - The NaaS provider
- region String
- The region where the Partner Attachment will be created
- vpc
Ids List<String> - The list of VPC IDs to attach the Partner Attachment to
- bgp Property Map
- name String
- The name of the Partner Attachment
Outputs
All input properties are implicitly available as output properties. Additionally, the PartnerAttachment resource produces the following output properties:
- created_
at str - The date and time when the Partner Attachment was created
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The state of the Partner Attachment
Look up Existing PartnerAttachment Resource
Get an existing PartnerAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PartnerAttachmentState, opts?: CustomResourceOptions): PartnerAttachment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bgp: Optional[PartnerAttachmentBgpArgs] = None,
connection_bandwidth_in_mbps: Optional[int] = None,
created_at: Optional[str] = None,
naas_provider: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
state: Optional[str] = None,
vpc_ids: Optional[Sequence[str]] = None) -> PartnerAttachment
func GetPartnerAttachment(ctx *Context, name string, id IDInput, state *PartnerAttachmentState, opts ...ResourceOption) (*PartnerAttachment, error)
public static PartnerAttachment Get(string name, Input<string> id, PartnerAttachmentState? state, CustomResourceOptions? opts = null)
public static PartnerAttachment get(String name, Output<String> id, PartnerAttachmentState state, CustomResourceOptions options)
resources: _: type: digitalocean:PartnerAttachment get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bgp
Pulumi.
Digital Ocean. Inputs. Partner Attachment Bgp - Connection
Bandwidth intIn Mbps - The connection bandwidth in Mbps
- Created
At string - The date and time when the Partner Attachment was created
- Naas
Provider string - The NaaS provider
- Name string
- The name of the Partner Attachment
- Region string
- The region where the Partner Attachment will be created
- State string
- The state of the Partner Attachment
- Vpc
Ids List<string> - The list of VPC IDs to attach the Partner Attachment to
- Bgp
Partner
Attachment Bgp Args - Connection
Bandwidth intIn Mbps - The connection bandwidth in Mbps
- Created
At string - The date and time when the Partner Attachment was created
- Naas
Provider string - The NaaS provider
- Name string
- The name of the Partner Attachment
- Region string
- The region where the Partner Attachment will be created
- State string
- The state of the Partner Attachment
- Vpc
Ids []string - The list of VPC IDs to attach the Partner Attachment to
- bgp
Partner
Attachment Bgp - connection
Bandwidth IntegerIn Mbps - The connection bandwidth in Mbps
- created
At String - The date and time when the Partner Attachment was created
- naas
Provider String - The NaaS provider
- name String
- The name of the Partner Attachment
- region String
- The region where the Partner Attachment will be created
- state String
- The state of the Partner Attachment
- vpc
Ids List<String> - The list of VPC IDs to attach the Partner Attachment to
- bgp
Partner
Attachment Bgp - connection
Bandwidth numberIn Mbps - The connection bandwidth in Mbps
- created
At string - The date and time when the Partner Attachment was created
- naas
Provider string - The NaaS provider
- name string
- The name of the Partner Attachment
- region string
- The region where the Partner Attachment will be created
- state string
- The state of the Partner Attachment
- vpc
Ids string[] - The list of VPC IDs to attach the Partner Attachment to
- bgp
Partner
Attachment Bgp Args - connection_
bandwidth_ intin_ mbps - The connection bandwidth in Mbps
- created_
at str - The date and time when the Partner Attachment was created
- naas_
provider str - The NaaS provider
- name str
- The name of the Partner Attachment
- region str
- The region where the Partner Attachment will be created
- state str
- The state of the Partner Attachment
- vpc_
ids Sequence[str] - The list of VPC IDs to attach the Partner Attachment to
- bgp Property Map
- connection
Bandwidth NumberIn Mbps - The connection bandwidth in Mbps
- created
At String - The date and time when the Partner Attachment was created
- naas
Provider String - The NaaS provider
- name String
- The name of the Partner Attachment
- region String
- The region where the Partner Attachment will be created
- state String
- The state of the Partner Attachment
- vpc
Ids List<String> - The list of VPC IDs to attach the Partner Attachment to
Supporting Types
PartnerAttachmentBgp, PartnerAttachmentBgpArgs
- Auth
Key string - Local
Router stringIp - Peer
Router intAsn - Peer
Router stringIp
- Auth
Key string - Local
Router stringIp - Peer
Router intAsn - Peer
Router stringIp
- auth
Key String - local
Router StringIp - peer
Router IntegerAsn - peer
Router StringIp
- auth
Key string - local
Router stringIp - peer
Router numberAsn - peer
Router stringIp
- auth_
key str - local_
router_ strip - peer_
router_ intasn - peer_
router_ strip
- auth
Key String - local
Router StringIp - peer
Router NumberAsn - peer
Router StringIp
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.