Documentation
¶
Index ¶
- type BandwidthLimit
- type BandwidthLimitArgs
- type BandwidthLimitState
- type BandwidthPackage
- type BandwidthPackageArgs
- type BandwidthPackageAttachment
- type BandwidthPackageAttachmentArgs
- type BandwidthPackageAttachmentState
- type BandwidthPackageState
- type FlowLog
- type FlowLogArgs
- type FlowLogState
- type GetBandwidthLimitsArgs
- type GetBandwidthLimitsLimit
- type GetBandwidthLimitsLimitArgs
- type GetBandwidthLimitsLimitArray
- func (GetBandwidthLimitsLimitArray) ElementType() reflect.Type
- func (i GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutput() GetBandwidthLimitsLimitArrayOutput
- func (i GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitArrayOutput
- type GetBandwidthLimitsLimitArrayInput
- type GetBandwidthLimitsLimitArrayOutput
- func (GetBandwidthLimitsLimitArrayOutput) ElementType() reflect.Type
- func (o GetBandwidthLimitsLimitArrayOutput) Index(i pulumi.IntInput) GetBandwidthLimitsLimitOutput
- func (o GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutput() GetBandwidthLimitsLimitArrayOutput
- func (o GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitArrayOutput
- type GetBandwidthLimitsLimitInput
- type GetBandwidthLimitsLimitOutput
- func (o GetBandwidthLimitsLimitOutput) BandwidthLimit() pulumi.IntOutput
- func (GetBandwidthLimitsLimitOutput) ElementType() reflect.Type
- func (o GetBandwidthLimitsLimitOutput) InstanceId() pulumi.StringOutput
- func (o GetBandwidthLimitsLimitOutput) LocalRegionId() pulumi.StringOutput
- func (o GetBandwidthLimitsLimitOutput) OppositeRegionId() pulumi.StringOutput
- func (o GetBandwidthLimitsLimitOutput) Status() pulumi.StringOutput
- func (o GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutput() GetBandwidthLimitsLimitOutput
- func (o GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitOutput
- type GetBandwidthLimitsResult
- type GetBandwidthPackagesArgs
- type GetBandwidthPackagesPackage
- type GetBandwidthPackagesPackageArgs
- func (GetBandwidthPackagesPackageArgs) ElementType() reflect.Type
- func (i GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutput() GetBandwidthPackagesPackageOutput
- func (i GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageOutput
- type GetBandwidthPackagesPackageArray
- func (GetBandwidthPackagesPackageArray) ElementType() reflect.Type
- func (i GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutput() GetBandwidthPackagesPackageArrayOutput
- func (i GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageArrayOutput
- type GetBandwidthPackagesPackageArrayInput
- type GetBandwidthPackagesPackageArrayOutput
- func (GetBandwidthPackagesPackageArrayOutput) ElementType() reflect.Type
- func (o GetBandwidthPackagesPackageArrayOutput) Index(i pulumi.IntInput) GetBandwidthPackagesPackageOutput
- func (o GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutput() GetBandwidthPackagesPackageArrayOutput
- func (o GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageArrayOutput
- type GetBandwidthPackagesPackageInput
- type GetBandwidthPackagesPackageOutput
- func (o GetBandwidthPackagesPackageOutput) Bandwidth() pulumi.IntOutput
- func (o GetBandwidthPackagesPackageOutput) BandwidthPackageChargeType() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) BusinessStatus() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) CreationTime() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) Description() pulumi.StringOutput
- func (GetBandwidthPackagesPackageOutput) ElementType() reflect.Type
- func (o GetBandwidthPackagesPackageOutput) GeographicRegionAId() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) GeographicRegionBId() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) Id() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) InstanceId() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) Name() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) Status() pulumi.StringOutput
- func (o GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutput() GetBandwidthPackagesPackageOutput
- func (o GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageOutput
- type GetBandwidthPackagesResult
- type GetFlowlogsArgs
- type GetFlowlogsFlowlog
- type GetFlowlogsFlowlogArgs
- type GetFlowlogsFlowlogArray
- type GetFlowlogsFlowlogArrayInput
- type GetFlowlogsFlowlogArrayOutput
- func (GetFlowlogsFlowlogArrayOutput) ElementType() reflect.Type
- func (o GetFlowlogsFlowlogArrayOutput) Index(i pulumi.IntInput) GetFlowlogsFlowlogOutput
- func (o GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutput() GetFlowlogsFlowlogArrayOutput
- func (o GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutputWithContext(ctx context.Context) GetFlowlogsFlowlogArrayOutput
- type GetFlowlogsFlowlogInput
- type GetFlowlogsFlowlogOutput
- func (o GetFlowlogsFlowlogOutput) CenId() pulumi.StringOutput
- func (o GetFlowlogsFlowlogOutput) Description() pulumi.StringOutput
- func (GetFlowlogsFlowlogOutput) ElementType() reflect.Type
- func (o GetFlowlogsFlowlogOutput) FlowLogId() pulumi.StringOutput
- func (o GetFlowlogsFlowlogOutput) FlowLogName() pulumi.StringOutput
- func (o GetFlowlogsFlowlogOutput) Id() pulumi.StringOutput
- func (o GetFlowlogsFlowlogOutput) LogStoreName() pulumi.StringOutput
- func (o GetFlowlogsFlowlogOutput) ProjectName() pulumi.StringOutput
- func (o GetFlowlogsFlowlogOutput) Status() pulumi.StringOutput
- func (o GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutput() GetFlowlogsFlowlogOutput
- func (o GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutputWithContext(ctx context.Context) GetFlowlogsFlowlogOutput
- type GetFlowlogsResult
- type GetInstancesArgs
- type GetInstancesInstance
- type GetInstancesInstanceArgs
- type GetInstancesInstanceArray
- type GetInstancesInstanceArrayInput
- type GetInstancesInstanceArrayOutput
- func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
- type GetInstancesInstanceInput
- type GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) CenBandwidthPackageIds() pulumi.StringArrayOutput
- func (o GetInstancesInstanceOutput) CenId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Description() pulumi.StringOutput
- func (GetInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Name() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ProtectionLevel() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Tags() pulumi.MapOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
- type GetInstancesResult
- type GetRegionRouteEntriesArgs
- type GetRegionRouteEntriesEntry
- type GetRegionRouteEntriesEntryArgs
- func (GetRegionRouteEntriesEntryArgs) ElementType() reflect.Type
- func (i GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutput() GetRegionRouteEntriesEntryOutput
- func (i GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryOutput
- type GetRegionRouteEntriesEntryArray
- func (GetRegionRouteEntriesEntryArray) ElementType() reflect.Type
- func (i GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutput() GetRegionRouteEntriesEntryArrayOutput
- func (i GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryArrayOutput
- type GetRegionRouteEntriesEntryArrayInput
- type GetRegionRouteEntriesEntryArrayOutput
- func (GetRegionRouteEntriesEntryArrayOutput) ElementType() reflect.Type
- func (o GetRegionRouteEntriesEntryArrayOutput) Index(i pulumi.IntInput) GetRegionRouteEntriesEntryOutput
- func (o GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutput() GetRegionRouteEntriesEntryArrayOutput
- func (o GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryArrayOutput
- type GetRegionRouteEntriesEntryInput
- type GetRegionRouteEntriesEntryOutput
- func (o GetRegionRouteEntriesEntryOutput) CidrBlock() pulumi.StringOutput
- func (GetRegionRouteEntriesEntryOutput) ElementType() reflect.Type
- func (o GetRegionRouteEntriesEntryOutput) NextHopId() pulumi.StringOutput
- func (o GetRegionRouteEntriesEntryOutput) NextHopRegionId() pulumi.StringOutput
- func (o GetRegionRouteEntriesEntryOutput) NextHopType() pulumi.StringOutput
- func (o GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutput() GetRegionRouteEntriesEntryOutput
- func (o GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryOutput
- func (o GetRegionRouteEntriesEntryOutput) Type() pulumi.StringOutput
- type GetRegionRouteEntriesResult
- type GetRouteEntriesArgs
- type GetRouteEntriesEntry
- type GetRouteEntriesEntryArgs
- type GetRouteEntriesEntryArray
- type GetRouteEntriesEntryArrayInput
- type GetRouteEntriesEntryArrayOutput
- func (GetRouteEntriesEntryArrayOutput) ElementType() reflect.Type
- func (o GetRouteEntriesEntryArrayOutput) Index(i pulumi.IntInput) GetRouteEntriesEntryOutput
- func (o GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutput() GetRouteEntriesEntryArrayOutput
- func (o GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryArrayOutput
- type GetRouteEntriesEntryConflict
- type GetRouteEntriesEntryConflictArgs
- func (GetRouteEntriesEntryConflictArgs) ElementType() reflect.Type
- func (i GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutput() GetRouteEntriesEntryConflictOutput
- func (i GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictOutput
- type GetRouteEntriesEntryConflictArray
- func (GetRouteEntriesEntryConflictArray) ElementType() reflect.Type
- func (i GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutput() GetRouteEntriesEntryConflictArrayOutput
- func (i GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictArrayOutput
- type GetRouteEntriesEntryConflictArrayInput
- type GetRouteEntriesEntryConflictArrayOutput
- func (GetRouteEntriesEntryConflictArrayOutput) ElementType() reflect.Type
- func (o GetRouteEntriesEntryConflictArrayOutput) Index(i pulumi.IntInput) GetRouteEntriesEntryConflictOutput
- func (o GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutput() GetRouteEntriesEntryConflictArrayOutput
- func (o GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictArrayOutput
- type GetRouteEntriesEntryConflictInput
- type GetRouteEntriesEntryConflictOutput
- func (o GetRouteEntriesEntryConflictOutput) CidrBlock() pulumi.StringOutput
- func (GetRouteEntriesEntryConflictOutput) ElementType() reflect.Type
- func (o GetRouteEntriesEntryConflictOutput) InstanceId() pulumi.StringOutput
- func (o GetRouteEntriesEntryConflictOutput) InstanceType() pulumi.StringOutput
- func (o GetRouteEntriesEntryConflictOutput) RegionId() pulumi.StringOutput
- func (o GetRouteEntriesEntryConflictOutput) Status() pulumi.StringOutput
- func (o GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutput() GetRouteEntriesEntryConflictOutput
- func (o GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictOutput
- type GetRouteEntriesEntryInput
- type GetRouteEntriesEntryOutput
- func (o GetRouteEntriesEntryOutput) CidrBlock() pulumi.StringOutput
- func (o GetRouteEntriesEntryOutput) Conflicts() GetRouteEntriesEntryConflictArrayOutput
- func (GetRouteEntriesEntryOutput) ElementType() reflect.Type
- func (o GetRouteEntriesEntryOutput) NextHopId() pulumi.StringOutput
- func (o GetRouteEntriesEntryOutput) NextHopType() pulumi.StringOutput
- func (o GetRouteEntriesEntryOutput) OperationalMode() pulumi.BoolOutput
- func (o GetRouteEntriesEntryOutput) PublishStatus() pulumi.StringOutput
- func (o GetRouteEntriesEntryOutput) RouteTableId() pulumi.StringOutput
- func (o GetRouteEntriesEntryOutput) RouteType() pulumi.StringOutput
- func (o GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutput() GetRouteEntriesEntryOutput
- func (o GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutputWithContext(ctx context.Context) GetRouteEntriesEntryOutput
- type GetRouteEntriesResult
- type Instance
- type InstanceArgs
- type InstanceAttachment
- type InstanceAttachmentArgs
- type InstanceAttachmentState
- type InstanceGrant
- type InstanceGrantArgs
- type InstanceGrantState
- type InstanceState
- type RouteEntry
- type RouteEntryArgs
- type RouteEntryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandwidthLimit ¶
type BandwidthLimit struct { pulumi.CustomResourceState // The bandwidth configured for the interconnected regions communication. BandwidthLimit pulumi.IntOutput `pulumi:"bandwidthLimit"` // The ID of the CEN. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // List of the two regions to interconnect. Must be two different regions. RegionIds pulumi.StringArrayOutput `pulumi:"regionIds"` }
Provides a CEN cross-regional interconnection bandwidth resource. To connect networks in different regions, you must set cross-region interconnection bandwidth after buying a bandwidth package. The total bandwidth set for all the interconnected regions of a bandwidth package cannot exceed the bandwidth of the bandwidth package. By default, 1 Kbps bandwidth is provided for connectivity test. To run normal business, you must buy a bandwidth package and set a proper interconnection bandwidth.
For example, a CEN instance is bound to a bandwidth package of 20 Mbps and the interconnection areas are Mainland China and North America. You can set the cross-region interconnection bandwidth between US West 1 and China East 1, China East 2, China South 1, and so on. However, the total bandwidth set for all the interconnected regions cannot exceed 20 Mbps.
For information about CEN and how to use it, see [Cross-region interconnection bandwidth](https://www.alibabacloud.com/help/doc-detail/65983.htm)
func GetBandwidthLimit ¶
func GetBandwidthLimit(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BandwidthLimitState, opts ...pulumi.ResourceOption) (*BandwidthLimit, error)
GetBandwidthLimit gets an existing BandwidthLimit resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBandwidthLimit ¶
func NewBandwidthLimit(ctx *pulumi.Context, name string, args *BandwidthLimitArgs, opts ...pulumi.ResourceOption) (*BandwidthLimit, error)
NewBandwidthLimit registers a new resource with the given unique name, arguments, and options.
type BandwidthLimitArgs ¶
type BandwidthLimitArgs struct { // The bandwidth configured for the interconnected regions communication. BandwidthLimit pulumi.IntInput // The ID of the CEN. InstanceId pulumi.StringInput // List of the two regions to interconnect. Must be two different regions. RegionIds pulumi.StringArrayInput }
The set of arguments for constructing a BandwidthLimit resource.
func (BandwidthLimitArgs) ElementType ¶
func (BandwidthLimitArgs) ElementType() reflect.Type
type BandwidthLimitState ¶
type BandwidthLimitState struct { // The bandwidth configured for the interconnected regions communication. BandwidthLimit pulumi.IntPtrInput // The ID of the CEN. InstanceId pulumi.StringPtrInput // List of the two regions to interconnect. Must be two different regions. RegionIds pulumi.StringArrayInput }
func (BandwidthLimitState) ElementType ¶
func (BandwidthLimitState) ElementType() reflect.Type
type BandwidthPackage ¶
type BandwidthPackage struct { pulumi.CustomResourceState // The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps. Bandwidth pulumi.IntOutput `pulumi:"bandwidth"` // The billing method. Valid value: PostPaid | PrePaid. Default to PostPaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"` // The description of the bandwidth package. Default to null. Description pulumi.StringPtrOutput `pulumi:"description"` // The time of the bandwidth package to expire. ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"` // List of the two areas to connect. Valid value: China | North-America | Asia-Pacific | Europe | Middle-East. GeographicRegionIds pulumi.StringArrayOutput `pulumi:"geographicRegionIds"` // The name of the bandwidth package. Defaults to null. Name pulumi.StringOutput `pulumi:"name"` // The purchase period in month. Valid value: 1, 2, 3, 6, 12. Default to 1. Period pulumi.IntPtrOutput `pulumi:"period"` // The status of the bandwidth, including "InUse" and "Idle". Status pulumi.StringOutput `pulumi:"status"` }
Provides a CEN bandwidth package resource. The CEN bandwidth package is an abstracted object that includes an interconnection bandwidth and interconnection areas. To buy a bandwidth package, you must specify the areas to connect. An area consists of one or more Alibaba Cloud regions. The areas in CEN include Mainland China, Asia Pacific, North America, and Europe.
For information about CEN and how to use it, see [Manage bandwidth packages](https://www.alibabacloud.com/help/doc-detail/65982.htm).
func GetBandwidthPackage ¶
func GetBandwidthPackage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BandwidthPackageState, opts ...pulumi.ResourceOption) (*BandwidthPackage, error)
GetBandwidthPackage gets an existing BandwidthPackage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBandwidthPackage ¶
func NewBandwidthPackage(ctx *pulumi.Context, name string, args *BandwidthPackageArgs, opts ...pulumi.ResourceOption) (*BandwidthPackage, error)
NewBandwidthPackage registers a new resource with the given unique name, arguments, and options.
type BandwidthPackageArgs ¶
type BandwidthPackageArgs struct { // The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps. Bandwidth pulumi.IntInput // The billing method. Valid value: PostPaid | PrePaid. Default to PostPaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. ChargeType pulumi.StringPtrInput // The description of the bandwidth package. Default to null. Description pulumi.StringPtrInput // List of the two areas to connect. Valid value: China | North-America | Asia-Pacific | Europe | Middle-East. GeographicRegionIds pulumi.StringArrayInput // The name of the bandwidth package. Defaults to null. Name pulumi.StringPtrInput // The purchase period in month. Valid value: 1, 2, 3, 6, 12. Default to 1. Period pulumi.IntPtrInput }
The set of arguments for constructing a BandwidthPackage resource.
func (BandwidthPackageArgs) ElementType ¶
func (BandwidthPackageArgs) ElementType() reflect.Type
type BandwidthPackageAttachment ¶
type BandwidthPackageAttachment struct { pulumi.CustomResourceState // The ID of the bandwidth package. BandwidthPackageId pulumi.StringOutput `pulumi:"bandwidthPackageId"` // The ID of the CEN. InstanceId pulumi.StringOutput `pulumi:"instanceId"` }
Provides a CEN bandwidth package attachment resource. The resource can be used to bind a bandwidth package to a specified CEN instance.
func GetBandwidthPackageAttachment ¶
func GetBandwidthPackageAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BandwidthPackageAttachmentState, opts ...pulumi.ResourceOption) (*BandwidthPackageAttachment, error)
GetBandwidthPackageAttachment gets an existing BandwidthPackageAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBandwidthPackageAttachment ¶
func NewBandwidthPackageAttachment(ctx *pulumi.Context, name string, args *BandwidthPackageAttachmentArgs, opts ...pulumi.ResourceOption) (*BandwidthPackageAttachment, error)
NewBandwidthPackageAttachment registers a new resource with the given unique name, arguments, and options.
type BandwidthPackageAttachmentArgs ¶
type BandwidthPackageAttachmentArgs struct { // The ID of the bandwidth package. BandwidthPackageId pulumi.StringInput // The ID of the CEN. InstanceId pulumi.StringInput }
The set of arguments for constructing a BandwidthPackageAttachment resource.
func (BandwidthPackageAttachmentArgs) ElementType ¶
func (BandwidthPackageAttachmentArgs) ElementType() reflect.Type
type BandwidthPackageAttachmentState ¶
type BandwidthPackageAttachmentState struct { // The ID of the bandwidth package. BandwidthPackageId pulumi.StringPtrInput // The ID of the CEN. InstanceId pulumi.StringPtrInput }
func (BandwidthPackageAttachmentState) ElementType ¶
func (BandwidthPackageAttachmentState) ElementType() reflect.Type
type BandwidthPackageState ¶
type BandwidthPackageState struct { // The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps. Bandwidth pulumi.IntPtrInput // The billing method. Valid value: PostPaid | PrePaid. Default to PostPaid. If set to PrePaid, the bandwidth package can't be deleted before expired time. ChargeType pulumi.StringPtrInput // The description of the bandwidth package. Default to null. Description pulumi.StringPtrInput // The time of the bandwidth package to expire. ExpiredTime pulumi.StringPtrInput // List of the two areas to connect. Valid value: China | North-America | Asia-Pacific | Europe | Middle-East. GeographicRegionIds pulumi.StringArrayInput // The name of the bandwidth package. Defaults to null. Name pulumi.StringPtrInput // The purchase period in month. Valid value: 1, 2, 3, 6, 12. Default to 1. Period pulumi.IntPtrInput // The status of the bandwidth, including "InUse" and "Idle". Status pulumi.StringPtrInput }
func (BandwidthPackageState) ElementType ¶
func (BandwidthPackageState) ElementType() reflect.Type
type FlowLog ¶
type FlowLog struct { pulumi.CustomResourceState // The ID of the CEN Instance. CenId pulumi.StringOutput `pulumi:"cenId"` // The description of flowlog. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of flowlog. FlowLogName pulumi.StringPtrOutput `pulumi:"flowLogName"` // The name of the log store which is in the `projectName` SLS project. LogStoreName pulumi.StringOutput `pulumi:"logStoreName"` // The name of the SLS project. ProjectName pulumi.StringOutput `pulumi:"projectName"` // The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active". Status pulumi.StringPtrOutput `pulumi:"status"` }
This resource used to create a flow log function in Cloud Enterprise Network (CEN). By using the flow log function, you can capture the traffic data of the network instances in different regions of a CEN. You can also use the data aggregated in flow logs to analyze cross-region traffic flows, minimize traffic costs, and troubleshoot network faults.
For information about CEN flow log and how to use it, see [Manage CEN flowlog](https://www.alibabacloud.com/help/doc-detail/123006.htm).
> **NOTE:** Available in 1.73.0+
func GetFlowLog ¶
func GetFlowLog(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FlowLogState, opts ...pulumi.ResourceOption) (*FlowLog, error)
GetFlowLog gets an existing FlowLog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFlowLog ¶
func NewFlowLog(ctx *pulumi.Context, name string, args *FlowLogArgs, opts ...pulumi.ResourceOption) (*FlowLog, error)
NewFlowLog registers a new resource with the given unique name, arguments, and options.
type FlowLogArgs ¶
type FlowLogArgs struct { // The ID of the CEN Instance. CenId pulumi.StringInput // The description of flowlog. Description pulumi.StringPtrInput // The name of flowlog. FlowLogName pulumi.StringPtrInput // The name of the log store which is in the `projectName` SLS project. LogStoreName pulumi.StringInput // The name of the SLS project. ProjectName pulumi.StringInput // The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active". Status pulumi.StringPtrInput }
The set of arguments for constructing a FlowLog resource.
func (FlowLogArgs) ElementType ¶
func (FlowLogArgs) ElementType() reflect.Type
type FlowLogState ¶
type FlowLogState struct { // The ID of the CEN Instance. CenId pulumi.StringPtrInput // The description of flowlog. Description pulumi.StringPtrInput // The name of flowlog. FlowLogName pulumi.StringPtrInput // The name of the log store which is in the `projectName` SLS project. LogStoreName pulumi.StringPtrInput // The name of the SLS project. ProjectName pulumi.StringPtrInput // The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active". Status pulumi.StringPtrInput }
func (FlowLogState) ElementType ¶
func (FlowLogState) ElementType() reflect.Type
type GetBandwidthLimitsArgs ¶
type GetBandwidthLimitsArgs struct { // A list of CEN instances IDs. InstanceIds []string `pulumi:"instanceIds"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getBandwidthLimits.
type GetBandwidthLimitsLimit ¶
type GetBandwidthLimitsLimit struct { // The bandwidth limit configured for the interconnected regions communication. BandwidthLimit int `pulumi:"bandwidthLimit"` // ID of the CEN instance. InstanceId string `pulumi:"instanceId"` // ID of local region. LocalRegionId string `pulumi:"localRegionId"` // ID of opposite region. OppositeRegionId string `pulumi:"oppositeRegionId"` // Status of the CEN Bandwidth Limit, including "Active" and "Modifying". Status string `pulumi:"status"` }
type GetBandwidthLimitsLimitArgs ¶
type GetBandwidthLimitsLimitArgs struct { // The bandwidth limit configured for the interconnected regions communication. BandwidthLimit pulumi.IntInput `pulumi:"bandwidthLimit"` // ID of the CEN instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // ID of local region. LocalRegionId pulumi.StringInput `pulumi:"localRegionId"` // ID of opposite region. OppositeRegionId pulumi.StringInput `pulumi:"oppositeRegionId"` // Status of the CEN Bandwidth Limit, including "Active" and "Modifying". Status pulumi.StringInput `pulumi:"status"` }
func (GetBandwidthLimitsLimitArgs) ElementType ¶
func (GetBandwidthLimitsLimitArgs) ElementType() reflect.Type
func (GetBandwidthLimitsLimitArgs) ToGetBandwidthLimitsLimitOutput ¶
func (i GetBandwidthLimitsLimitArgs) ToGetBandwidthLimitsLimitOutput() GetBandwidthLimitsLimitOutput
func (GetBandwidthLimitsLimitArgs) ToGetBandwidthLimitsLimitOutputWithContext ¶
func (i GetBandwidthLimitsLimitArgs) ToGetBandwidthLimitsLimitOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitOutput
type GetBandwidthLimitsLimitArray ¶
type GetBandwidthLimitsLimitArray []GetBandwidthLimitsLimitInput
func (GetBandwidthLimitsLimitArray) ElementType ¶
func (GetBandwidthLimitsLimitArray) ElementType() reflect.Type
func (GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutput ¶
func (i GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutput() GetBandwidthLimitsLimitArrayOutput
func (GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutputWithContext ¶
func (i GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitArrayOutput
type GetBandwidthLimitsLimitArrayInput ¶
type GetBandwidthLimitsLimitArrayInput interface { pulumi.Input ToGetBandwidthLimitsLimitArrayOutput() GetBandwidthLimitsLimitArrayOutput ToGetBandwidthLimitsLimitArrayOutputWithContext(context.Context) GetBandwidthLimitsLimitArrayOutput }
GetBandwidthLimitsLimitArrayInput is an input type that accepts GetBandwidthLimitsLimitArray and GetBandwidthLimitsLimitArrayOutput values. You can construct a concrete instance of `GetBandwidthLimitsLimitArrayInput` via:
GetBandwidthLimitsLimitArray{ GetBandwidthLimitsLimitArgs{...} }
type GetBandwidthLimitsLimitArrayOutput ¶
type GetBandwidthLimitsLimitArrayOutput struct{ *pulumi.OutputState }
func (GetBandwidthLimitsLimitArrayOutput) ElementType ¶
func (GetBandwidthLimitsLimitArrayOutput) ElementType() reflect.Type
func (GetBandwidthLimitsLimitArrayOutput) Index ¶
func (o GetBandwidthLimitsLimitArrayOutput) Index(i pulumi.IntInput) GetBandwidthLimitsLimitOutput
func (GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutput ¶
func (o GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutput() GetBandwidthLimitsLimitArrayOutput
func (GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutputWithContext ¶
func (o GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitArrayOutput
type GetBandwidthLimitsLimitInput ¶
type GetBandwidthLimitsLimitInput interface { pulumi.Input ToGetBandwidthLimitsLimitOutput() GetBandwidthLimitsLimitOutput ToGetBandwidthLimitsLimitOutputWithContext(context.Context) GetBandwidthLimitsLimitOutput }
GetBandwidthLimitsLimitInput is an input type that accepts GetBandwidthLimitsLimitArgs and GetBandwidthLimitsLimitOutput values. You can construct a concrete instance of `GetBandwidthLimitsLimitInput` via:
GetBandwidthLimitsLimitArgs{...}
type GetBandwidthLimitsLimitOutput ¶
type GetBandwidthLimitsLimitOutput struct{ *pulumi.OutputState }
func (GetBandwidthLimitsLimitOutput) BandwidthLimit ¶
func (o GetBandwidthLimitsLimitOutput) BandwidthLimit() pulumi.IntOutput
The bandwidth limit configured for the interconnected regions communication.
func (GetBandwidthLimitsLimitOutput) ElementType ¶
func (GetBandwidthLimitsLimitOutput) ElementType() reflect.Type
func (GetBandwidthLimitsLimitOutput) InstanceId ¶
func (o GetBandwidthLimitsLimitOutput) InstanceId() pulumi.StringOutput
ID of the CEN instance.
func (GetBandwidthLimitsLimitOutput) LocalRegionId ¶
func (o GetBandwidthLimitsLimitOutput) LocalRegionId() pulumi.StringOutput
ID of local region.
func (GetBandwidthLimitsLimitOutput) OppositeRegionId ¶
func (o GetBandwidthLimitsLimitOutput) OppositeRegionId() pulumi.StringOutput
ID of opposite region.
func (GetBandwidthLimitsLimitOutput) Status ¶
func (o GetBandwidthLimitsLimitOutput) Status() pulumi.StringOutput
Status of the CEN Bandwidth Limit, including "Active" and "Modifying".
func (GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutput ¶
func (o GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutput() GetBandwidthLimitsLimitOutput
func (GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutputWithContext ¶
func (o GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitOutput
type GetBandwidthLimitsResult ¶
type GetBandwidthLimitsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceIds []string `pulumi:"instanceIds"` // A list of CEN Bandwidth Limits. Each element contains the following attributes: Limits []GetBandwidthLimitsLimit `pulumi:"limits"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getBandwidthLimits.
func GetBandwidthLimits ¶
func GetBandwidthLimits(ctx *pulumi.Context, args *GetBandwidthLimitsArgs, opts ...pulumi.InvokeOption) (*GetBandwidthLimitsResult, error)
This data source provides CEN Bandwidth Limits available to the user.
type GetBandwidthPackagesArgs ¶
type GetBandwidthPackagesArgs struct { // Limit search to a list of specific CEN Bandwidth Package IDs. Ids []string `pulumi:"ids"` // ID of a CEN instance. InstanceId *string `pulumi:"instanceId"` // A regex string to filter CEN Bandwidth Package by name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getBandwidthPackages.
type GetBandwidthPackagesPackage ¶
type GetBandwidthPackagesPackage struct { // The bandwidth in Mbps of the CEN bandwidth package. Bandwidth int `pulumi:"bandwidth"` // The billing method, including "POSTPAY" and "PREPAY". BandwidthPackageChargeType string `pulumi:"bandwidthPackageChargeType"` // Status of the CEN Bandwidth Package, including "Normal", "FinancialLocked" and "SecurityLocked". BusinessStatus string `pulumi:"businessStatus"` // Creation time of the CEN bandwidth package. CreationTime string `pulumi:"creationTime"` // Description of the CEN Bandwidth Package. Description string `pulumi:"description"` // Region ID of the interconnected regions. GeographicRegionAId string `pulumi:"geographicRegionAId"` // Region ID of the interconnected regions. GeographicRegionBId string `pulumi:"geographicRegionBId"` // ID of the CEN Bandwidth Package. Id string `pulumi:"id"` // ID of a CEN instance. InstanceId string `pulumi:"instanceId"` // Name of the CEN Bandwidth Package. Name string `pulumi:"name"` // Status of the CEN Bandwidth Package in CEN instance, including "Idle" and "InUse". Status string `pulumi:"status"` }
type GetBandwidthPackagesPackageArgs ¶
type GetBandwidthPackagesPackageArgs struct { // The bandwidth in Mbps of the CEN bandwidth package. Bandwidth pulumi.IntInput `pulumi:"bandwidth"` // The billing method, including "POSTPAY" and "PREPAY". BandwidthPackageChargeType pulumi.StringInput `pulumi:"bandwidthPackageChargeType"` // Status of the CEN Bandwidth Package, including "Normal", "FinancialLocked" and "SecurityLocked". BusinessStatus pulumi.StringInput `pulumi:"businessStatus"` // Creation time of the CEN bandwidth package. CreationTime pulumi.StringInput `pulumi:"creationTime"` // Description of the CEN Bandwidth Package. Description pulumi.StringInput `pulumi:"description"` // Region ID of the interconnected regions. GeographicRegionAId pulumi.StringInput `pulumi:"geographicRegionAId"` // Region ID of the interconnected regions. GeographicRegionBId pulumi.StringInput `pulumi:"geographicRegionBId"` // ID of the CEN Bandwidth Package. Id pulumi.StringInput `pulumi:"id"` // ID of a CEN instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Name of the CEN Bandwidth Package. Name pulumi.StringInput `pulumi:"name"` // Status of the CEN Bandwidth Package in CEN instance, including "Idle" and "InUse". Status pulumi.StringInput `pulumi:"status"` }
func (GetBandwidthPackagesPackageArgs) ElementType ¶
func (GetBandwidthPackagesPackageArgs) ElementType() reflect.Type
func (GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutput ¶
func (i GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutput() GetBandwidthPackagesPackageOutput
func (GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutputWithContext ¶
func (i GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageOutput
type GetBandwidthPackagesPackageArray ¶
type GetBandwidthPackagesPackageArray []GetBandwidthPackagesPackageInput
func (GetBandwidthPackagesPackageArray) ElementType ¶
func (GetBandwidthPackagesPackageArray) ElementType() reflect.Type
func (GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutput ¶
func (i GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutput() GetBandwidthPackagesPackageArrayOutput
func (GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutputWithContext ¶
func (i GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageArrayOutput
type GetBandwidthPackagesPackageArrayInput ¶
type GetBandwidthPackagesPackageArrayInput interface { pulumi.Input ToGetBandwidthPackagesPackageArrayOutput() GetBandwidthPackagesPackageArrayOutput ToGetBandwidthPackagesPackageArrayOutputWithContext(context.Context) GetBandwidthPackagesPackageArrayOutput }
GetBandwidthPackagesPackageArrayInput is an input type that accepts GetBandwidthPackagesPackageArray and GetBandwidthPackagesPackageArrayOutput values. You can construct a concrete instance of `GetBandwidthPackagesPackageArrayInput` via:
GetBandwidthPackagesPackageArray{ GetBandwidthPackagesPackageArgs{...} }
type GetBandwidthPackagesPackageArrayOutput ¶
type GetBandwidthPackagesPackageArrayOutput struct{ *pulumi.OutputState }
func (GetBandwidthPackagesPackageArrayOutput) ElementType ¶
func (GetBandwidthPackagesPackageArrayOutput) ElementType() reflect.Type
func (GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutput ¶
func (o GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutput() GetBandwidthPackagesPackageArrayOutput
func (GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutputWithContext ¶
func (o GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageArrayOutput
type GetBandwidthPackagesPackageInput ¶
type GetBandwidthPackagesPackageInput interface { pulumi.Input ToGetBandwidthPackagesPackageOutput() GetBandwidthPackagesPackageOutput ToGetBandwidthPackagesPackageOutputWithContext(context.Context) GetBandwidthPackagesPackageOutput }
GetBandwidthPackagesPackageInput is an input type that accepts GetBandwidthPackagesPackageArgs and GetBandwidthPackagesPackageOutput values. You can construct a concrete instance of `GetBandwidthPackagesPackageInput` via:
GetBandwidthPackagesPackageArgs{...}
type GetBandwidthPackagesPackageOutput ¶
type GetBandwidthPackagesPackageOutput struct{ *pulumi.OutputState }
func (GetBandwidthPackagesPackageOutput) Bandwidth ¶
func (o GetBandwidthPackagesPackageOutput) Bandwidth() pulumi.IntOutput
The bandwidth in Mbps of the CEN bandwidth package.
func (GetBandwidthPackagesPackageOutput) BandwidthPackageChargeType ¶
func (o GetBandwidthPackagesPackageOutput) BandwidthPackageChargeType() pulumi.StringOutput
The billing method, including "POSTPAY" and "PREPAY".
func (GetBandwidthPackagesPackageOutput) BusinessStatus ¶
func (o GetBandwidthPackagesPackageOutput) BusinessStatus() pulumi.StringOutput
Status of the CEN Bandwidth Package, including "Normal", "FinancialLocked" and "SecurityLocked".
func (GetBandwidthPackagesPackageOutput) CreationTime ¶
func (o GetBandwidthPackagesPackageOutput) CreationTime() pulumi.StringOutput
Creation time of the CEN bandwidth package.
func (GetBandwidthPackagesPackageOutput) Description ¶
func (o GetBandwidthPackagesPackageOutput) Description() pulumi.StringOutput
Description of the CEN Bandwidth Package.
func (GetBandwidthPackagesPackageOutput) ElementType ¶
func (GetBandwidthPackagesPackageOutput) ElementType() reflect.Type
func (GetBandwidthPackagesPackageOutput) GeographicRegionAId ¶
func (o GetBandwidthPackagesPackageOutput) GeographicRegionAId() pulumi.StringOutput
Region ID of the interconnected regions.
func (GetBandwidthPackagesPackageOutput) GeographicRegionBId ¶
func (o GetBandwidthPackagesPackageOutput) GeographicRegionBId() pulumi.StringOutput
Region ID of the interconnected regions.
func (GetBandwidthPackagesPackageOutput) Id ¶
func (o GetBandwidthPackagesPackageOutput) Id() pulumi.StringOutput
ID of the CEN Bandwidth Package.
func (GetBandwidthPackagesPackageOutput) InstanceId ¶
func (o GetBandwidthPackagesPackageOutput) InstanceId() pulumi.StringOutput
ID of a CEN instance.
func (GetBandwidthPackagesPackageOutput) Name ¶
func (o GetBandwidthPackagesPackageOutput) Name() pulumi.StringOutput
Name of the CEN Bandwidth Package.
func (GetBandwidthPackagesPackageOutput) Status ¶
func (o GetBandwidthPackagesPackageOutput) Status() pulumi.StringOutput
Status of the CEN Bandwidth Package in CEN instance, including "Idle" and "InUse".
func (GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutput ¶
func (o GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutput() GetBandwidthPackagesPackageOutput
func (GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutputWithContext ¶
func (o GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageOutput
type GetBandwidthPackagesResult ¶
type GetBandwidthPackagesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` // ID of CEN instance that owns the CEN Bandwidth Package. InstanceId *string `pulumi:"instanceId"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A list of CEN bandwidth package. Each element contains the following attributes: Packages []GetBandwidthPackagesPackage `pulumi:"packages"` }
A collection of values returned by getBandwidthPackages.
func GetBandwidthPackages ¶
func GetBandwidthPackages(ctx *pulumi.Context, args *GetBandwidthPackagesArgs, opts ...pulumi.InvokeOption) (*GetBandwidthPackagesResult, error)
This data source provides CEN Bandwidth Packages available to the user.
type GetFlowlogsArgs ¶
type GetFlowlogsArgs struct { // The ID of the CEN Instance. CenId *string `pulumi:"cenId"` // The description of flowlog. Description *string `pulumi:"description"` // A list of CEN flow log IDs. Ids []string `pulumi:"ids"` // The name of the log store which is in the `projectName` SLS project. LogStoreName *string `pulumi:"logStoreName"` // A regex string to filter CEN flow logs by name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The name of the SLS project. ProjectName *string `pulumi:"projectName"` // The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active". Status *string `pulumi:"status"` }
A collection of arguments for invoking getFlowlogs.
type GetFlowlogsFlowlog ¶
type GetFlowlogsFlowlog struct { // The ID of the CEN Instance. CenId string `pulumi:"cenId"` // The description of flowlog. Description string `pulumi:"description"` // ID of the CEN flow log. FlowLogId string `pulumi:"flowLogId"` // The name of flowlog. FlowLogName string `pulumi:"flowLogName"` // ID of the CEN flow log. Id string `pulumi:"id"` // The name of the log store which is in the `projectName` SLS project. LogStoreName string `pulumi:"logStoreName"` // The name of the SLS project. ProjectName string `pulumi:"projectName"` // The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active". Status string `pulumi:"status"` }
type GetFlowlogsFlowlogArgs ¶
type GetFlowlogsFlowlogArgs struct { // The ID of the CEN Instance. CenId pulumi.StringInput `pulumi:"cenId"` // The description of flowlog. Description pulumi.StringInput `pulumi:"description"` // ID of the CEN flow log. FlowLogId pulumi.StringInput `pulumi:"flowLogId"` // The name of flowlog. FlowLogName pulumi.StringInput `pulumi:"flowLogName"` // ID of the CEN flow log. Id pulumi.StringInput `pulumi:"id"` // The name of the log store which is in the `projectName` SLS project. LogStoreName pulumi.StringInput `pulumi:"logStoreName"` // The name of the SLS project. ProjectName pulumi.StringInput `pulumi:"projectName"` // The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active". Status pulumi.StringInput `pulumi:"status"` }
func (GetFlowlogsFlowlogArgs) ElementType ¶
func (GetFlowlogsFlowlogArgs) ElementType() reflect.Type
func (GetFlowlogsFlowlogArgs) ToGetFlowlogsFlowlogOutput ¶
func (i GetFlowlogsFlowlogArgs) ToGetFlowlogsFlowlogOutput() GetFlowlogsFlowlogOutput
func (GetFlowlogsFlowlogArgs) ToGetFlowlogsFlowlogOutputWithContext ¶
func (i GetFlowlogsFlowlogArgs) ToGetFlowlogsFlowlogOutputWithContext(ctx context.Context) GetFlowlogsFlowlogOutput
type GetFlowlogsFlowlogArray ¶
type GetFlowlogsFlowlogArray []GetFlowlogsFlowlogInput
func (GetFlowlogsFlowlogArray) ElementType ¶
func (GetFlowlogsFlowlogArray) ElementType() reflect.Type
func (GetFlowlogsFlowlogArray) ToGetFlowlogsFlowlogArrayOutput ¶
func (i GetFlowlogsFlowlogArray) ToGetFlowlogsFlowlogArrayOutput() GetFlowlogsFlowlogArrayOutput
func (GetFlowlogsFlowlogArray) ToGetFlowlogsFlowlogArrayOutputWithContext ¶
func (i GetFlowlogsFlowlogArray) ToGetFlowlogsFlowlogArrayOutputWithContext(ctx context.Context) GetFlowlogsFlowlogArrayOutput
type GetFlowlogsFlowlogArrayInput ¶
type GetFlowlogsFlowlogArrayInput interface { pulumi.Input ToGetFlowlogsFlowlogArrayOutput() GetFlowlogsFlowlogArrayOutput ToGetFlowlogsFlowlogArrayOutputWithContext(context.Context) GetFlowlogsFlowlogArrayOutput }
GetFlowlogsFlowlogArrayInput is an input type that accepts GetFlowlogsFlowlogArray and GetFlowlogsFlowlogArrayOutput values. You can construct a concrete instance of `GetFlowlogsFlowlogArrayInput` via:
GetFlowlogsFlowlogArray{ GetFlowlogsFlowlogArgs{...} }
type GetFlowlogsFlowlogArrayOutput ¶
type GetFlowlogsFlowlogArrayOutput struct{ *pulumi.OutputState }
func (GetFlowlogsFlowlogArrayOutput) ElementType ¶
func (GetFlowlogsFlowlogArrayOutput) ElementType() reflect.Type
func (GetFlowlogsFlowlogArrayOutput) Index ¶
func (o GetFlowlogsFlowlogArrayOutput) Index(i pulumi.IntInput) GetFlowlogsFlowlogOutput
func (GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutput ¶
func (o GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutput() GetFlowlogsFlowlogArrayOutput
func (GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutputWithContext ¶
func (o GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutputWithContext(ctx context.Context) GetFlowlogsFlowlogArrayOutput
type GetFlowlogsFlowlogInput ¶
type GetFlowlogsFlowlogInput interface { pulumi.Input ToGetFlowlogsFlowlogOutput() GetFlowlogsFlowlogOutput ToGetFlowlogsFlowlogOutputWithContext(context.Context) GetFlowlogsFlowlogOutput }
GetFlowlogsFlowlogInput is an input type that accepts GetFlowlogsFlowlogArgs and GetFlowlogsFlowlogOutput values. You can construct a concrete instance of `GetFlowlogsFlowlogInput` via:
GetFlowlogsFlowlogArgs{...}
type GetFlowlogsFlowlogOutput ¶
type GetFlowlogsFlowlogOutput struct{ *pulumi.OutputState }
func (GetFlowlogsFlowlogOutput) CenId ¶
func (o GetFlowlogsFlowlogOutput) CenId() pulumi.StringOutput
The ID of the CEN Instance.
func (GetFlowlogsFlowlogOutput) Description ¶
func (o GetFlowlogsFlowlogOutput) Description() pulumi.StringOutput
The description of flowlog.
func (GetFlowlogsFlowlogOutput) ElementType ¶
func (GetFlowlogsFlowlogOutput) ElementType() reflect.Type
func (GetFlowlogsFlowlogOutput) FlowLogId ¶
func (o GetFlowlogsFlowlogOutput) FlowLogId() pulumi.StringOutput
ID of the CEN flow log.
func (GetFlowlogsFlowlogOutput) FlowLogName ¶
func (o GetFlowlogsFlowlogOutput) FlowLogName() pulumi.StringOutput
The name of flowlog.
func (GetFlowlogsFlowlogOutput) Id ¶
func (o GetFlowlogsFlowlogOutput) Id() pulumi.StringOutput
ID of the CEN flow log.
func (GetFlowlogsFlowlogOutput) LogStoreName ¶
func (o GetFlowlogsFlowlogOutput) LogStoreName() pulumi.StringOutput
The name of the log store which is in the `projectName` SLS project.
func (GetFlowlogsFlowlogOutput) ProjectName ¶
func (o GetFlowlogsFlowlogOutput) ProjectName() pulumi.StringOutput
The name of the SLS project.
func (GetFlowlogsFlowlogOutput) Status ¶
func (o GetFlowlogsFlowlogOutput) Status() pulumi.StringOutput
The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
func (GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutput ¶
func (o GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutput() GetFlowlogsFlowlogOutput
func (GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutputWithContext ¶
func (o GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutputWithContext(ctx context.Context) GetFlowlogsFlowlogOutput
type GetFlowlogsResult ¶
type GetFlowlogsResult struct { // The ID of the CEN Instance. CenId *string `pulumi:"cenId"` // The description of flowlog. Description *string `pulumi:"description"` Flowlogs []GetFlowlogsFlowlog `pulumi:"flowlogs"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of CEN flow log IDs. Ids []string `pulumi:"ids"` // The name of the log store which is in the `projectName` SLS project. LogStoreName *string `pulumi:"logStoreName"` NameRegex *string `pulumi:"nameRegex"` // A list of CEN flow log names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The name of the SLS project. ProjectName *string `pulumi:"projectName"` // The status of flowlog. Status *string `pulumi:"status"` }
A collection of values returned by getFlowlogs.
func GetFlowlogs ¶
func GetFlowlogs(ctx *pulumi.Context, args *GetFlowlogsArgs, opts ...pulumi.InvokeOption) (*GetFlowlogsResult, error)
This data source provides CEN flow logs available to the user.
> **NOTE:** Available in 1.78.0+
type GetInstancesArgs ¶
type GetInstancesArgs struct { // A list of CEN instances IDs. Ids []string `pulumi:"ids"` // A regex string to filter CEN instances by name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getInstances.
type GetInstancesInstance ¶
type GetInstancesInstance struct { // List of CEN Bandwidth Package IDs in the specified CEN instance. CenBandwidthPackageIds []string `pulumi:"cenBandwidthPackageIds"` // ID of the CEN instance. CenId string `pulumi:"cenId"` // Description of the CEN instance. Description string `pulumi:"description"` // ID of the CEN instance. Id string `pulumi:"id"` // Name of the CEN instance. Name string `pulumi:"name"` // Indicates the allowed level of CIDR block overlapping. ProtectionLevel string `pulumi:"protectionLevel"` // Status of the CEN instance, including "Creating", "Active" and "Deleting". Status string `pulumi:"status"` // A mapping of tags to assign to the resource. Tags map[string]interface{} `pulumi:"tags"` }
type GetInstancesInstanceArgs ¶
type GetInstancesInstanceArgs struct { // List of CEN Bandwidth Package IDs in the specified CEN instance. CenBandwidthPackageIds pulumi.StringArrayInput `pulumi:"cenBandwidthPackageIds"` // ID of the CEN instance. CenId pulumi.StringInput `pulumi:"cenId"` // Description of the CEN instance. Description pulumi.StringInput `pulumi:"description"` // ID of the CEN instance. Id pulumi.StringInput `pulumi:"id"` // Name of the CEN instance. Name pulumi.StringInput `pulumi:"name"` // Indicates the allowed level of CIDR block overlapping. ProtectionLevel pulumi.StringInput `pulumi:"protectionLevel"` // Status of the CEN instance, including "Creating", "Active" and "Deleting". Status pulumi.StringInput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapInput `pulumi:"tags"` }
func (GetInstancesInstanceArgs) ElementType ¶
func (GetInstancesInstanceArgs) ElementType() reflect.Type
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesInstanceArray ¶
type GetInstancesInstanceArray []GetInstancesInstanceInput
func (GetInstancesInstanceArray) ElementType ¶
func (GetInstancesInstanceArray) ElementType() reflect.Type
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceArrayInput ¶
type GetInstancesInstanceArrayInput interface { pulumi.Input ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput }
GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:
GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }
type GetInstancesInstanceArrayOutput ¶
type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceArrayOutput) ElementType ¶
func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceArrayOutput) Index ¶
func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceInput ¶
type GetInstancesInstanceInput interface { pulumi.Input ToGetInstancesInstanceOutput() GetInstancesInstanceOutput ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput }
GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:
GetInstancesInstanceArgs{...}
type GetInstancesInstanceOutput ¶
type GetInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceOutput) CenBandwidthPackageIds ¶ added in v2.1.1
func (o GetInstancesInstanceOutput) CenBandwidthPackageIds() pulumi.StringArrayOutput
List of CEN Bandwidth Package IDs in the specified CEN instance.
func (GetInstancesInstanceOutput) CenId ¶ added in v2.1.1
func (o GetInstancesInstanceOutput) CenId() pulumi.StringOutput
ID of the CEN instance.
func (GetInstancesInstanceOutput) Description ¶
func (o GetInstancesInstanceOutput) Description() pulumi.StringOutput
Description of the CEN instance.
func (GetInstancesInstanceOutput) ElementType ¶
func (GetInstancesInstanceOutput) ElementType() reflect.Type
func (GetInstancesInstanceOutput) Id ¶
func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
ID of the CEN instance.
func (GetInstancesInstanceOutput) Name ¶
func (o GetInstancesInstanceOutput) Name() pulumi.StringOutput
Name of the CEN instance.
func (GetInstancesInstanceOutput) ProtectionLevel ¶ added in v2.1.1
func (o GetInstancesInstanceOutput) ProtectionLevel() pulumi.StringOutput
Indicates the allowed level of CIDR block overlapping.
func (GetInstancesInstanceOutput) Status ¶
func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
Status of the CEN instance, including "Creating", "Active" and "Deleting".
func (GetInstancesInstanceOutput) Tags ¶ added in v2.1.1
func (o GetInstancesInstanceOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesResult ¶
type GetInstancesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of CEN instances IDs. Ids []string `pulumi:"ids"` // A list of CEN instances. Each element contains the following attributes: Instances []GetInstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` // A list of CEN instances names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // A map of tags assigned to the Cen Instance. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
This data source provides CEN instances available to the user.
type GetRegionRouteEntriesArgs ¶
type GetRegionRouteEntriesArgs struct { // ID of the CEN instance. InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` // ID of the region. RegionId string `pulumi:"regionId"` }
A collection of arguments for invoking getRegionRouteEntries.
type GetRegionRouteEntriesEntry ¶
type GetRegionRouteEntriesEntry struct { // The destination CIDR block of the route entry. CidrBlock string `pulumi:"cidrBlock"` // ID of the next hop. NextHopId string `pulumi:"nextHopId"` // ID of the region where the next hop is located. NextHopRegionId string `pulumi:"nextHopRegionId"` // Type of the next hop. NextHopType string `pulumi:"nextHopType"` // Type of the route entry. Type string `pulumi:"type"` }
type GetRegionRouteEntriesEntryArgs ¶
type GetRegionRouteEntriesEntryArgs struct { // The destination CIDR block of the route entry. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // ID of the next hop. NextHopId pulumi.StringInput `pulumi:"nextHopId"` // ID of the region where the next hop is located. NextHopRegionId pulumi.StringInput `pulumi:"nextHopRegionId"` // Type of the next hop. NextHopType pulumi.StringInput `pulumi:"nextHopType"` // Type of the route entry. Type pulumi.StringInput `pulumi:"type"` }
func (GetRegionRouteEntriesEntryArgs) ElementType ¶
func (GetRegionRouteEntriesEntryArgs) ElementType() reflect.Type
func (GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutput ¶
func (i GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutput() GetRegionRouteEntriesEntryOutput
func (GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutputWithContext ¶
func (i GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryOutput
type GetRegionRouteEntriesEntryArray ¶
type GetRegionRouteEntriesEntryArray []GetRegionRouteEntriesEntryInput
func (GetRegionRouteEntriesEntryArray) ElementType ¶
func (GetRegionRouteEntriesEntryArray) ElementType() reflect.Type
func (GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutput ¶
func (i GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutput() GetRegionRouteEntriesEntryArrayOutput
func (GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutputWithContext ¶
func (i GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryArrayOutput
type GetRegionRouteEntriesEntryArrayInput ¶
type GetRegionRouteEntriesEntryArrayInput interface { pulumi.Input ToGetRegionRouteEntriesEntryArrayOutput() GetRegionRouteEntriesEntryArrayOutput ToGetRegionRouteEntriesEntryArrayOutputWithContext(context.Context) GetRegionRouteEntriesEntryArrayOutput }
GetRegionRouteEntriesEntryArrayInput is an input type that accepts GetRegionRouteEntriesEntryArray and GetRegionRouteEntriesEntryArrayOutput values. You can construct a concrete instance of `GetRegionRouteEntriesEntryArrayInput` via:
GetRegionRouteEntriesEntryArray{ GetRegionRouteEntriesEntryArgs{...} }
type GetRegionRouteEntriesEntryArrayOutput ¶
type GetRegionRouteEntriesEntryArrayOutput struct{ *pulumi.OutputState }
func (GetRegionRouteEntriesEntryArrayOutput) ElementType ¶
func (GetRegionRouteEntriesEntryArrayOutput) ElementType() reflect.Type
func (GetRegionRouteEntriesEntryArrayOutput) Index ¶
func (o GetRegionRouteEntriesEntryArrayOutput) Index(i pulumi.IntInput) GetRegionRouteEntriesEntryOutput
func (GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutput ¶
func (o GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutput() GetRegionRouteEntriesEntryArrayOutput
func (GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutputWithContext ¶
func (o GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryArrayOutput
type GetRegionRouteEntriesEntryInput ¶
type GetRegionRouteEntriesEntryInput interface { pulumi.Input ToGetRegionRouteEntriesEntryOutput() GetRegionRouteEntriesEntryOutput ToGetRegionRouteEntriesEntryOutputWithContext(context.Context) GetRegionRouteEntriesEntryOutput }
GetRegionRouteEntriesEntryInput is an input type that accepts GetRegionRouteEntriesEntryArgs and GetRegionRouteEntriesEntryOutput values. You can construct a concrete instance of `GetRegionRouteEntriesEntryInput` via:
GetRegionRouteEntriesEntryArgs{...}
type GetRegionRouteEntriesEntryOutput ¶
type GetRegionRouteEntriesEntryOutput struct{ *pulumi.OutputState }
func (GetRegionRouteEntriesEntryOutput) CidrBlock ¶
func (o GetRegionRouteEntriesEntryOutput) CidrBlock() pulumi.StringOutput
The destination CIDR block of the route entry.
func (GetRegionRouteEntriesEntryOutput) ElementType ¶
func (GetRegionRouteEntriesEntryOutput) ElementType() reflect.Type
func (GetRegionRouteEntriesEntryOutput) NextHopId ¶
func (o GetRegionRouteEntriesEntryOutput) NextHopId() pulumi.StringOutput
ID of the next hop.
func (GetRegionRouteEntriesEntryOutput) NextHopRegionId ¶
func (o GetRegionRouteEntriesEntryOutput) NextHopRegionId() pulumi.StringOutput
ID of the region where the next hop is located.
func (GetRegionRouteEntriesEntryOutput) NextHopType ¶
func (o GetRegionRouteEntriesEntryOutput) NextHopType() pulumi.StringOutput
Type of the next hop.
func (GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutput ¶
func (o GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutput() GetRegionRouteEntriesEntryOutput
func (GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutputWithContext ¶
func (o GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryOutput
func (GetRegionRouteEntriesEntryOutput) Type ¶
func (o GetRegionRouteEntriesEntryOutput) Type() pulumi.StringOutput
Type of the route entry.
type GetRegionRouteEntriesResult ¶
type GetRegionRouteEntriesResult struct { // A list of CEN Route Entries. Each element contains the following attributes: Entries []GetRegionRouteEntriesEntry `pulumi:"entries"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` RegionId string `pulumi:"regionId"` }
A collection of values returned by getRegionRouteEntries.
func GetRegionRouteEntries ¶
func GetRegionRouteEntries(ctx *pulumi.Context, args *GetRegionRouteEntriesArgs, opts ...pulumi.InvokeOption) (*GetRegionRouteEntriesResult, error)
This data source provides CEN Regional Route Entries available to the user.
type GetRouteEntriesArgs ¶
type GetRouteEntriesArgs struct { // The destination CIDR block of the route entry to query. CidrBlock *string `pulumi:"cidrBlock"` // ID of the CEN instance. InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` // ID of the route table of the VPC or VBR. RouteTableId string `pulumi:"routeTableId"` }
A collection of arguments for invoking getRouteEntries.
type GetRouteEntriesEntry ¶
type GetRouteEntriesEntry struct { // The destination CIDR block of the route entry to query. CidrBlock string `pulumi:"cidrBlock"` // A list of conflicted Route Entries. Each element contains the following attributes: Conflicts []GetRouteEntriesEntryConflict `pulumi:"conflicts"` // ID of the next hop. NextHopId string `pulumi:"nextHopId"` // Type of the next hop, including "Instance", "HaVip" and "RouterInterface". NextHopType string `pulumi:"nextHopType"` // Whether to allow the route entry to be published or removed to or from CEN. OperationalMode bool `pulumi:"operationalMode"` // The publish status of the route entry in CEN, including "Published" and "NonPublished". PublishStatus string `pulumi:"publishStatus"` // ID of the route table of the VPC or VBR. RouteTableId string `pulumi:"routeTableId"` // Type of the route entry, including "System", "Custom" and "BGP". RouteType string `pulumi:"routeType"` }
type GetRouteEntriesEntryArgs ¶
type GetRouteEntriesEntryArgs struct { // The destination CIDR block of the route entry to query. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // A list of conflicted Route Entries. Each element contains the following attributes: Conflicts GetRouteEntriesEntryConflictArrayInput `pulumi:"conflicts"` // ID of the next hop. NextHopId pulumi.StringInput `pulumi:"nextHopId"` // Type of the next hop, including "Instance", "HaVip" and "RouterInterface". NextHopType pulumi.StringInput `pulumi:"nextHopType"` // Whether to allow the route entry to be published or removed to or from CEN. OperationalMode pulumi.BoolInput `pulumi:"operationalMode"` // The publish status of the route entry in CEN, including "Published" and "NonPublished". PublishStatus pulumi.StringInput `pulumi:"publishStatus"` // ID of the route table of the VPC or VBR. RouteTableId pulumi.StringInput `pulumi:"routeTableId"` // Type of the route entry, including "System", "Custom" and "BGP". RouteType pulumi.StringInput `pulumi:"routeType"` }
func (GetRouteEntriesEntryArgs) ElementType ¶
func (GetRouteEntriesEntryArgs) ElementType() reflect.Type
func (GetRouteEntriesEntryArgs) ToGetRouteEntriesEntryOutput ¶
func (i GetRouteEntriesEntryArgs) ToGetRouteEntriesEntryOutput() GetRouteEntriesEntryOutput
func (GetRouteEntriesEntryArgs) ToGetRouteEntriesEntryOutputWithContext ¶
func (i GetRouteEntriesEntryArgs) ToGetRouteEntriesEntryOutputWithContext(ctx context.Context) GetRouteEntriesEntryOutput
type GetRouteEntriesEntryArray ¶
type GetRouteEntriesEntryArray []GetRouteEntriesEntryInput
func (GetRouteEntriesEntryArray) ElementType ¶
func (GetRouteEntriesEntryArray) ElementType() reflect.Type
func (GetRouteEntriesEntryArray) ToGetRouteEntriesEntryArrayOutput ¶
func (i GetRouteEntriesEntryArray) ToGetRouteEntriesEntryArrayOutput() GetRouteEntriesEntryArrayOutput
func (GetRouteEntriesEntryArray) ToGetRouteEntriesEntryArrayOutputWithContext ¶
func (i GetRouteEntriesEntryArray) ToGetRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryArrayOutput
type GetRouteEntriesEntryArrayInput ¶
type GetRouteEntriesEntryArrayInput interface { pulumi.Input ToGetRouteEntriesEntryArrayOutput() GetRouteEntriesEntryArrayOutput ToGetRouteEntriesEntryArrayOutputWithContext(context.Context) GetRouteEntriesEntryArrayOutput }
GetRouteEntriesEntryArrayInput is an input type that accepts GetRouteEntriesEntryArray and GetRouteEntriesEntryArrayOutput values. You can construct a concrete instance of `GetRouteEntriesEntryArrayInput` via:
GetRouteEntriesEntryArray{ GetRouteEntriesEntryArgs{...} }
type GetRouteEntriesEntryArrayOutput ¶
type GetRouteEntriesEntryArrayOutput struct{ *pulumi.OutputState }
func (GetRouteEntriesEntryArrayOutput) ElementType ¶
func (GetRouteEntriesEntryArrayOutput) ElementType() reflect.Type
func (GetRouteEntriesEntryArrayOutput) Index ¶
func (o GetRouteEntriesEntryArrayOutput) Index(i pulumi.IntInput) GetRouteEntriesEntryOutput
func (GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutput ¶
func (o GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutput() GetRouteEntriesEntryArrayOutput
func (GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutputWithContext ¶
func (o GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryArrayOutput
type GetRouteEntriesEntryConflict ¶
type GetRouteEntriesEntryConflict struct { // The destination CIDR block of the route entry to query. CidrBlock string `pulumi:"cidrBlock"` // ID of the CEN instance. InstanceId string `pulumi:"instanceId"` // The type of the CEN child instance. InstanceType string `pulumi:"instanceType"` // ID of the region where the conflicted route entry is located. RegionId string `pulumi:"regionId"` // Reasons of exceptions. Status string `pulumi:"status"` }
type GetRouteEntriesEntryConflictArgs ¶
type GetRouteEntriesEntryConflictArgs struct { // The destination CIDR block of the route entry to query. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // ID of the CEN instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The type of the CEN child instance. InstanceType pulumi.StringInput `pulumi:"instanceType"` // ID of the region where the conflicted route entry is located. RegionId pulumi.StringInput `pulumi:"regionId"` // Reasons of exceptions. Status pulumi.StringInput `pulumi:"status"` }
func (GetRouteEntriesEntryConflictArgs) ElementType ¶
func (GetRouteEntriesEntryConflictArgs) ElementType() reflect.Type
func (GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutput ¶
func (i GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutput() GetRouteEntriesEntryConflictOutput
func (GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutputWithContext ¶
func (i GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictOutput
type GetRouteEntriesEntryConflictArray ¶
type GetRouteEntriesEntryConflictArray []GetRouteEntriesEntryConflictInput
func (GetRouteEntriesEntryConflictArray) ElementType ¶
func (GetRouteEntriesEntryConflictArray) ElementType() reflect.Type
func (GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutput ¶
func (i GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutput() GetRouteEntriesEntryConflictArrayOutput
func (GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutputWithContext ¶
func (i GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictArrayOutput
type GetRouteEntriesEntryConflictArrayInput ¶
type GetRouteEntriesEntryConflictArrayInput interface { pulumi.Input ToGetRouteEntriesEntryConflictArrayOutput() GetRouteEntriesEntryConflictArrayOutput ToGetRouteEntriesEntryConflictArrayOutputWithContext(context.Context) GetRouteEntriesEntryConflictArrayOutput }
GetRouteEntriesEntryConflictArrayInput is an input type that accepts GetRouteEntriesEntryConflictArray and GetRouteEntriesEntryConflictArrayOutput values. You can construct a concrete instance of `GetRouteEntriesEntryConflictArrayInput` via:
GetRouteEntriesEntryConflictArray{ GetRouteEntriesEntryConflictArgs{...} }
type GetRouteEntriesEntryConflictArrayOutput ¶
type GetRouteEntriesEntryConflictArrayOutput struct{ *pulumi.OutputState }
func (GetRouteEntriesEntryConflictArrayOutput) ElementType ¶
func (GetRouteEntriesEntryConflictArrayOutput) ElementType() reflect.Type
func (GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutput ¶
func (o GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutput() GetRouteEntriesEntryConflictArrayOutput
func (GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutputWithContext ¶
func (o GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictArrayOutput
type GetRouteEntriesEntryConflictInput ¶
type GetRouteEntriesEntryConflictInput interface { pulumi.Input ToGetRouteEntriesEntryConflictOutput() GetRouteEntriesEntryConflictOutput ToGetRouteEntriesEntryConflictOutputWithContext(context.Context) GetRouteEntriesEntryConflictOutput }
GetRouteEntriesEntryConflictInput is an input type that accepts GetRouteEntriesEntryConflictArgs and GetRouteEntriesEntryConflictOutput values. You can construct a concrete instance of `GetRouteEntriesEntryConflictInput` via:
GetRouteEntriesEntryConflictArgs{...}
type GetRouteEntriesEntryConflictOutput ¶
type GetRouteEntriesEntryConflictOutput struct{ *pulumi.OutputState }
func (GetRouteEntriesEntryConflictOutput) CidrBlock ¶
func (o GetRouteEntriesEntryConflictOutput) CidrBlock() pulumi.StringOutput
The destination CIDR block of the route entry to query.
func (GetRouteEntriesEntryConflictOutput) ElementType ¶
func (GetRouteEntriesEntryConflictOutput) ElementType() reflect.Type
func (GetRouteEntriesEntryConflictOutput) InstanceId ¶
func (o GetRouteEntriesEntryConflictOutput) InstanceId() pulumi.StringOutput
ID of the CEN instance.
func (GetRouteEntriesEntryConflictOutput) InstanceType ¶
func (o GetRouteEntriesEntryConflictOutput) InstanceType() pulumi.StringOutput
The type of the CEN child instance.
func (GetRouteEntriesEntryConflictOutput) RegionId ¶
func (o GetRouteEntriesEntryConflictOutput) RegionId() pulumi.StringOutput
ID of the region where the conflicted route entry is located.
func (GetRouteEntriesEntryConflictOutput) Status ¶
func (o GetRouteEntriesEntryConflictOutput) Status() pulumi.StringOutput
Reasons of exceptions.
func (GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutput ¶
func (o GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutput() GetRouteEntriesEntryConflictOutput
func (GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutputWithContext ¶
func (o GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictOutput
type GetRouteEntriesEntryInput ¶
type GetRouteEntriesEntryInput interface { pulumi.Input ToGetRouteEntriesEntryOutput() GetRouteEntriesEntryOutput ToGetRouteEntriesEntryOutputWithContext(context.Context) GetRouteEntriesEntryOutput }
GetRouteEntriesEntryInput is an input type that accepts GetRouteEntriesEntryArgs and GetRouteEntriesEntryOutput values. You can construct a concrete instance of `GetRouteEntriesEntryInput` via:
GetRouteEntriesEntryArgs{...}
type GetRouteEntriesEntryOutput ¶
type GetRouteEntriesEntryOutput struct{ *pulumi.OutputState }
func (GetRouteEntriesEntryOutput) CidrBlock ¶
func (o GetRouteEntriesEntryOutput) CidrBlock() pulumi.StringOutput
The destination CIDR block of the route entry to query.
func (GetRouteEntriesEntryOutput) Conflicts ¶
func (o GetRouteEntriesEntryOutput) Conflicts() GetRouteEntriesEntryConflictArrayOutput
A list of conflicted Route Entries. Each element contains the following attributes:
func (GetRouteEntriesEntryOutput) ElementType ¶
func (GetRouteEntriesEntryOutput) ElementType() reflect.Type
func (GetRouteEntriesEntryOutput) NextHopId ¶
func (o GetRouteEntriesEntryOutput) NextHopId() pulumi.StringOutput
ID of the next hop.
func (GetRouteEntriesEntryOutput) NextHopType ¶
func (o GetRouteEntriesEntryOutput) NextHopType() pulumi.StringOutput
Type of the next hop, including "Instance", "HaVip" and "RouterInterface".
func (GetRouteEntriesEntryOutput) OperationalMode ¶
func (o GetRouteEntriesEntryOutput) OperationalMode() pulumi.BoolOutput
Whether to allow the route entry to be published or removed to or from CEN.
func (GetRouteEntriesEntryOutput) PublishStatus ¶
func (o GetRouteEntriesEntryOutput) PublishStatus() pulumi.StringOutput
The publish status of the route entry in CEN, including "Published" and "NonPublished".
func (GetRouteEntriesEntryOutput) RouteTableId ¶
func (o GetRouteEntriesEntryOutput) RouteTableId() pulumi.StringOutput
ID of the route table of the VPC or VBR.
func (GetRouteEntriesEntryOutput) RouteType ¶
func (o GetRouteEntriesEntryOutput) RouteType() pulumi.StringOutput
Type of the route entry, including "System", "Custom" and "BGP".
func (GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutput ¶
func (o GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutput() GetRouteEntriesEntryOutput
func (GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutputWithContext ¶
func (o GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutputWithContext(ctx context.Context) GetRouteEntriesEntryOutput
type GetRouteEntriesResult ¶
type GetRouteEntriesResult struct { // The destination CIDR block of the conflicted route entry. CidrBlock *string `pulumi:"cidrBlock"` // A list of CEN Route Entries. Each element contains the following attributes: Entries []GetRouteEntriesEntry `pulumi:"entries"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ID of the CEN child instance. InstanceId string `pulumi:"instanceId"` OutputFile *string `pulumi:"outputFile"` // ID of the route table. RouteTableId string `pulumi:"routeTableId"` }
A collection of values returned by getRouteEntries.
func GetRouteEntries ¶
func GetRouteEntries(ctx *pulumi.Context, args *GetRouteEntriesArgs, opts ...pulumi.InvokeOption) (*GetRouteEntriesResult, error)
This data source provides CEN Route Entries available to the user.
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The description of the CEN instance. Defaults to null. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the CEN instance. Defaults to null. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://. Name pulumi.StringOutput `pulumi:"name"` // (Available in 1.76.0+) Indicates the allowed level of CIDR block overlapping. ProtectionLevel pulumi.StringOutput `pulumi:"protectionLevel"` // The Cen Instance current status. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` }
Provides a CEN instance resource. Cloud Enterprise Network (CEN) is a service that allows you to create a global network for rapidly building a distributed business system with a hybrid cloud computing solution. CEN enables you to build a secure, private, and enterprise-class interconnected network between VPCs in different regions and your local data centers. CEN provides enterprise-class scalability that automatically responds to your dynamic computing requirements.
For information about CEN and how to use it, see [What is Cloud Enterprise Network](https://www.alibabacloud.com/help/doc-detail/59870.htm).
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
type InstanceArgs ¶
type InstanceArgs struct { // The description of the CEN instance. Defaults to null. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://. Description pulumi.StringPtrInput // The name of the CEN instance. Defaults to null. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://. Name pulumi.StringPtrInput // (Available in 1.76.0+) Indicates the allowed level of CIDR block overlapping. ProtectionLevel pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceAttachment ¶
type InstanceAttachment struct { pulumi.CustomResourceState // The ID of the child instance to attach. ChildInstanceId pulumi.StringOutput `pulumi:"childInstanceId"` // The uid of the child instance. Only used when attach a child instance of other account. ChildInstanceOwnerId pulumi.StringOutput `pulumi:"childInstanceOwnerId"` // The region ID of the child instance to attach. ChildInstanceRegionId pulumi.StringOutput `pulumi:"childInstanceRegionId"` // The ID of the CEN. InstanceId pulumi.StringOutput `pulumi:"instanceId"` }
Provides a CEN child instance attachment resource.
func GetInstanceAttachment ¶
func GetInstanceAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceAttachmentState, opts ...pulumi.ResourceOption) (*InstanceAttachment, error)
GetInstanceAttachment gets an existing InstanceAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstanceAttachment ¶
func NewInstanceAttachment(ctx *pulumi.Context, name string, args *InstanceAttachmentArgs, opts ...pulumi.ResourceOption) (*InstanceAttachment, error)
NewInstanceAttachment registers a new resource with the given unique name, arguments, and options.
type InstanceAttachmentArgs ¶
type InstanceAttachmentArgs struct { // The ID of the child instance to attach. ChildInstanceId pulumi.StringInput // The uid of the child instance. Only used when attach a child instance of other account. ChildInstanceOwnerId pulumi.StringPtrInput // The region ID of the child instance to attach. ChildInstanceRegionId pulumi.StringInput // The ID of the CEN. InstanceId pulumi.StringInput }
The set of arguments for constructing a InstanceAttachment resource.
func (InstanceAttachmentArgs) ElementType ¶
func (InstanceAttachmentArgs) ElementType() reflect.Type
type InstanceAttachmentState ¶
type InstanceAttachmentState struct { // The ID of the child instance to attach. ChildInstanceId pulumi.StringPtrInput // The uid of the child instance. Only used when attach a child instance of other account. ChildInstanceOwnerId pulumi.StringPtrInput // The region ID of the child instance to attach. ChildInstanceRegionId pulumi.StringPtrInput // The ID of the CEN. InstanceId pulumi.StringPtrInput }
func (InstanceAttachmentState) ElementType ¶
func (InstanceAttachmentState) ElementType() reflect.Type
type InstanceGrant ¶
type InstanceGrant struct { pulumi.CustomResourceState // The ID of the CEN. CenId pulumi.StringOutput `pulumi:"cenId"` // The owner UID of the CEN which the child instance granted to. CenOwnerId pulumi.StringOutput `pulumi:"cenOwnerId"` // The ID of the child instance to grant. ChildInstanceId pulumi.StringOutput `pulumi:"childInstanceId"` }
Provides a CEN child instance grant resource, which allow you to authorize a VPC or VBR to a CEN of a different account.
For more information about how to use it, see [Attach a network in a different account](https://www.alibabacloud.com/help/doc-detail/73645.htm).
func GetInstanceGrant ¶
func GetInstanceGrant(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceGrantState, opts ...pulumi.ResourceOption) (*InstanceGrant, error)
GetInstanceGrant gets an existing InstanceGrant resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstanceGrant ¶
func NewInstanceGrant(ctx *pulumi.Context, name string, args *InstanceGrantArgs, opts ...pulumi.ResourceOption) (*InstanceGrant, error)
NewInstanceGrant registers a new resource with the given unique name, arguments, and options.
type InstanceGrantArgs ¶
type InstanceGrantArgs struct { // The ID of the CEN. CenId pulumi.StringInput // The owner UID of the CEN which the child instance granted to. CenOwnerId pulumi.StringInput // The ID of the child instance to grant. ChildInstanceId pulumi.StringInput }
The set of arguments for constructing a InstanceGrant resource.
func (InstanceGrantArgs) ElementType ¶
func (InstanceGrantArgs) ElementType() reflect.Type
type InstanceGrantState ¶
type InstanceGrantState struct { // The ID of the CEN. CenId pulumi.StringPtrInput // The owner UID of the CEN which the child instance granted to. CenOwnerId pulumi.StringPtrInput // The ID of the child instance to grant. ChildInstanceId pulumi.StringPtrInput }
func (InstanceGrantState) ElementType ¶
func (InstanceGrantState) ElementType() reflect.Type
type InstanceState ¶
type InstanceState struct { // The description of the CEN instance. Defaults to null. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://. Description pulumi.StringPtrInput // The name of the CEN instance. Defaults to null. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://. Name pulumi.StringPtrInput // (Available in 1.76.0+) Indicates the allowed level of CIDR block overlapping. ProtectionLevel pulumi.StringPtrInput // The Cen Instance current status. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type RouteEntry ¶
type RouteEntry struct { pulumi.CustomResourceState // The destination CIDR block of the route entry to publish. CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"` // The ID of the CEN. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The route table of the attached VBR or VPC. RouteTableId pulumi.StringOutput `pulumi:"routeTableId"` }
Provides a CEN route entry resource. Cloud Enterprise Network (CEN) supports publishing and withdrawing route entries of attached networks. You can publish a route entry of an attached VPC or VBR to a CEN instance, then other attached networks can learn the route if there is no route conflict. You can withdraw a published route entry when CEN does not need it any more.
For information about CEN route entries publishment and how to use it, see [Manage network routes](https://www.alibabacloud.com/help/doc-detail/86980.htm).
func GetRouteEntry ¶
func GetRouteEntry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RouteEntryState, opts ...pulumi.ResourceOption) (*RouteEntry, error)
GetRouteEntry gets an existing RouteEntry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRouteEntry ¶
func NewRouteEntry(ctx *pulumi.Context, name string, args *RouteEntryArgs, opts ...pulumi.ResourceOption) (*RouteEntry, error)
NewRouteEntry registers a new resource with the given unique name, arguments, and options.
type RouteEntryArgs ¶
type RouteEntryArgs struct { // The destination CIDR block of the route entry to publish. CidrBlock pulumi.StringInput // The ID of the CEN. InstanceId pulumi.StringInput // The route table of the attached VBR or VPC. RouteTableId pulumi.StringInput }
The set of arguments for constructing a RouteEntry resource.
func (RouteEntryArgs) ElementType ¶
func (RouteEntryArgs) ElementType() reflect.Type
type RouteEntryState ¶
type RouteEntryState struct { // The destination CIDR block of the route entry to publish. CidrBlock pulumi.StringPtrInput // The ID of the CEN. InstanceId pulumi.StringPtrInput // The route table of the attached VBR or VPC. RouteTableId pulumi.StringPtrInput }
func (RouteEntryState) ElementType ¶
func (RouteEntryState) ElementType() reflect.Type