Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Gateway
- type GatewayArgs
- type GatewayArray
- type GatewayArrayInput
- type GatewayArrayOutput
- type GatewayAttachment
- type GatewayAttachmentArgs
- type GatewayAttachmentArray
- type GatewayAttachmentArrayInput
- type GatewayAttachmentArrayOutput
- func (GatewayAttachmentArrayOutput) ElementType() reflect.Type
- func (o GatewayAttachmentArrayOutput) Index(i pulumi.IntInput) GatewayAttachmentOutput
- func (o GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutput() GatewayAttachmentArrayOutput
- func (o GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutputWithContext(ctx context.Context) GatewayAttachmentArrayOutput
- type GatewayAttachmentInput
- type GatewayAttachmentMap
- type GatewayAttachmentMapInput
- type GatewayAttachmentMapOutput
- func (GatewayAttachmentMapOutput) ElementType() reflect.Type
- func (o GatewayAttachmentMapOutput) MapIndex(k pulumi.StringInput) GatewayAttachmentOutput
- func (o GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutput() GatewayAttachmentMapOutput
- func (o GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutputWithContext(ctx context.Context) GatewayAttachmentMapOutput
- type GatewayAttachmentOutput
- func (o GatewayAttachmentOutput) DirectConnectGatewayId() pulumi.StringOutput
- func (GatewayAttachmentOutput) ElementType() reflect.Type
- func (o GatewayAttachmentOutput) NatGatewayId() pulumi.StringOutput
- func (o GatewayAttachmentOutput) ToGatewayAttachmentOutput() GatewayAttachmentOutput
- func (o GatewayAttachmentOutput) ToGatewayAttachmentOutputWithContext(ctx context.Context) GatewayAttachmentOutput
- func (o GatewayAttachmentOutput) VpcId() pulumi.StringOutput
- type GatewayAttachmentState
- type GatewayCcnRoute
- type GatewayCcnRouteArgs
- type GatewayCcnRouteArray
- type GatewayCcnRouteArrayInput
- type GatewayCcnRouteArrayOutput
- func (GatewayCcnRouteArrayOutput) ElementType() reflect.Type
- func (o GatewayCcnRouteArrayOutput) Index(i pulumi.IntInput) GatewayCcnRouteOutput
- func (o GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutput() GatewayCcnRouteArrayOutput
- func (o GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutputWithContext(ctx context.Context) GatewayCcnRouteArrayOutput
- type GatewayCcnRouteInput
- type GatewayCcnRouteMap
- type GatewayCcnRouteMapInput
- type GatewayCcnRouteMapOutput
- func (GatewayCcnRouteMapOutput) ElementType() reflect.Type
- func (o GatewayCcnRouteMapOutput) MapIndex(k pulumi.StringInput) GatewayCcnRouteOutput
- func (o GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutput() GatewayCcnRouteMapOutput
- func (o GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutputWithContext(ctx context.Context) GatewayCcnRouteMapOutput
- type GatewayCcnRouteOutput
- func (o GatewayCcnRouteOutput) AsPaths() pulumi.StringArrayOutput
- func (o GatewayCcnRouteOutput) CidrBlock() pulumi.StringOutput
- func (o GatewayCcnRouteOutput) DcgId() pulumi.StringOutput
- func (GatewayCcnRouteOutput) ElementType() reflect.Type
- func (o GatewayCcnRouteOutput) ToGatewayCcnRouteOutput() GatewayCcnRouteOutput
- func (o GatewayCcnRouteOutput) ToGatewayCcnRouteOutputWithContext(ctx context.Context) GatewayCcnRouteOutput
- type GatewayCcnRouteState
- type GatewayInput
- type GatewayMap
- type GatewayMapInput
- type GatewayMapOutput
- type GatewayOutput
- func (o GatewayOutput) CnnRouteType() pulumi.StringOutput
- func (o GatewayOutput) CreateTime() pulumi.StringOutput
- func (GatewayOutput) ElementType() reflect.Type
- func (o GatewayOutput) EnableBgp() pulumi.BoolOutput
- func (o GatewayOutput) GatewayType() pulumi.StringPtrOutput
- func (o GatewayOutput) Name() pulumi.StringOutput
- func (o GatewayOutput) NetworkInstanceId() pulumi.StringOutput
- func (o GatewayOutput) NetworkType() pulumi.StringOutput
- func (o GatewayOutput) ToGatewayOutput() GatewayOutput
- func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
- type GatewayState
- type GetAccessPointsAccessPointSet
- type GetAccessPointsAccessPointSetArgs
- func (GetAccessPointsAccessPointSetArgs) ElementType() reflect.Type
- func (i GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutput() GetAccessPointsAccessPointSetOutput
- func (i GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetOutput
- type GetAccessPointsAccessPointSetArray
- func (GetAccessPointsAccessPointSetArray) ElementType() reflect.Type
- func (i GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutput() GetAccessPointsAccessPointSetArrayOutput
- func (i GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetArrayOutput
- type GetAccessPointsAccessPointSetArrayInput
- type GetAccessPointsAccessPointSetArrayOutput
- func (GetAccessPointsAccessPointSetArrayOutput) ElementType() reflect.Type
- func (o GetAccessPointsAccessPointSetArrayOutput) Index(i pulumi.IntInput) GetAccessPointsAccessPointSetOutput
- func (o GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutput() GetAccessPointsAccessPointSetArrayOutput
- func (o GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetArrayOutput
- type GetAccessPointsAccessPointSetCoordinate
- type GetAccessPointsAccessPointSetCoordinateArgs
- func (GetAccessPointsAccessPointSetCoordinateArgs) ElementType() reflect.Type
- func (i GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutput() GetAccessPointsAccessPointSetCoordinateOutput
- func (i GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateOutput
- type GetAccessPointsAccessPointSetCoordinateArray
- func (GetAccessPointsAccessPointSetCoordinateArray) ElementType() reflect.Type
- func (i GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutput() GetAccessPointsAccessPointSetCoordinateArrayOutput
- func (i GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateArrayOutput
- type GetAccessPointsAccessPointSetCoordinateArrayInput
- type GetAccessPointsAccessPointSetCoordinateArrayOutput
- func (GetAccessPointsAccessPointSetCoordinateArrayOutput) ElementType() reflect.Type
- func (o GetAccessPointsAccessPointSetCoordinateArrayOutput) Index(i pulumi.IntInput) GetAccessPointsAccessPointSetCoordinateOutput
- func (o GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutput() GetAccessPointsAccessPointSetCoordinateArrayOutput
- func (o GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateArrayOutput
- type GetAccessPointsAccessPointSetCoordinateInput
- type GetAccessPointsAccessPointSetCoordinateOutput
- func (GetAccessPointsAccessPointSetCoordinateOutput) ElementType() reflect.Type
- func (o GetAccessPointsAccessPointSetCoordinateOutput) Lat() pulumi.Float64Output
- func (o GetAccessPointsAccessPointSetCoordinateOutput) Lng() pulumi.Float64Output
- func (o GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutput() GetAccessPointsAccessPointSetCoordinateOutput
- func (o GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateOutput
- type GetAccessPointsAccessPointSetInput
- type GetAccessPointsAccessPointSetOutput
- func (o GetAccessPointsAccessPointSetOutput) AccessPointId() pulumi.StringOutput
- func (o GetAccessPointsAccessPointSetOutput) AccessPointName() pulumi.StringOutput
- func (o GetAccessPointsAccessPointSetOutput) AccessPointType() pulumi.StringOutput
- func (o GetAccessPointsAccessPointSetOutput) Area() pulumi.StringOutput
- func (o GetAccessPointsAccessPointSetOutput) AvailablePortTypes() pulumi.StringArrayOutput
- func (o GetAccessPointsAccessPointSetOutput) City() pulumi.StringOutput
- func (o GetAccessPointsAccessPointSetOutput) Coordinates() GetAccessPointsAccessPointSetCoordinateArrayOutput
- func (GetAccessPointsAccessPointSetOutput) ElementType() reflect.Type
- func (o GetAccessPointsAccessPointSetOutput) LineOperators() pulumi.StringArrayOutput
- func (o GetAccessPointsAccessPointSetOutput) Location() pulumi.StringOutput
- func (o GetAccessPointsAccessPointSetOutput) RegionId() pulumi.StringOutput
- func (o GetAccessPointsAccessPointSetOutput) State() pulumi.StringOutput
- func (o GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutput() GetAccessPointsAccessPointSetOutput
- func (o GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetOutput
- type GetAccessPointsArgs
- type GetAccessPointsOutputArgs
- type GetAccessPointsResult
- type GetAccessPointsResultOutput
- func (o GetAccessPointsResultOutput) AccessPointSets() GetAccessPointsAccessPointSetArrayOutput
- func (GetAccessPointsResultOutput) ElementType() reflect.Type
- func (o GetAccessPointsResultOutput) Id() pulumi.StringOutput
- func (o GetAccessPointsResultOutput) RegionId() pulumi.StringPtrOutput
- func (o GetAccessPointsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetAccessPointsResultOutput) ToGetAccessPointsResultOutput() GetAccessPointsResultOutput
- func (o GetAccessPointsResultOutput) ToGetAccessPointsResultOutputWithContext(ctx context.Context) GetAccessPointsResultOutput
- type GetGatewayCcnRoutesArgs
- type GetGatewayCcnRoutesInstanceList
- type GetGatewayCcnRoutesInstanceListArgs
- func (GetGatewayCcnRoutesInstanceListArgs) ElementType() reflect.Type
- func (i GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutput() GetGatewayCcnRoutesInstanceListOutput
- func (i GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListOutput
- type GetGatewayCcnRoutesInstanceListArray
- func (GetGatewayCcnRoutesInstanceListArray) ElementType() reflect.Type
- func (i GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutput() GetGatewayCcnRoutesInstanceListArrayOutput
- func (i GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListArrayOutput
- type GetGatewayCcnRoutesInstanceListArrayInput
- type GetGatewayCcnRoutesInstanceListArrayOutput
- func (GetGatewayCcnRoutesInstanceListArrayOutput) ElementType() reflect.Type
- func (o GetGatewayCcnRoutesInstanceListArrayOutput) Index(i pulumi.IntInput) GetGatewayCcnRoutesInstanceListOutput
- func (o GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutput() GetGatewayCcnRoutesInstanceListArrayOutput
- func (o GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListArrayOutput
- type GetGatewayCcnRoutesInstanceListInput
- type GetGatewayCcnRoutesInstanceListOutput
- func (o GetGatewayCcnRoutesInstanceListOutput) AsPaths() pulumi.StringArrayOutput
- func (o GetGatewayCcnRoutesInstanceListOutput) CidrBlock() pulumi.StringOutput
- func (o GetGatewayCcnRoutesInstanceListOutput) DcgId() pulumi.StringOutput
- func (GetGatewayCcnRoutesInstanceListOutput) ElementType() reflect.Type
- func (o GetGatewayCcnRoutesInstanceListOutput) RouteId() pulumi.StringOutput
- func (o GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutput() GetGatewayCcnRoutesInstanceListOutput
- func (o GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListOutput
- type GetGatewayCcnRoutesOutputArgs
- type GetGatewayCcnRoutesResult
- type GetGatewayCcnRoutesResultOutput
- func (o GetGatewayCcnRoutesResultOutput) DcgId() pulumi.StringOutput
- func (GetGatewayCcnRoutesResultOutput) ElementType() reflect.Type
- func (o GetGatewayCcnRoutesResultOutput) Id() pulumi.StringOutput
- func (o GetGatewayCcnRoutesResultOutput) InstanceLists() GetGatewayCcnRoutesInstanceListArrayOutput
- func (o GetGatewayCcnRoutesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutput() GetGatewayCcnRoutesResultOutput
- func (o GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutputWithContext(ctx context.Context) GetGatewayCcnRoutesResultOutput
- type GetGatewayInstancesArgs
- type GetGatewayInstancesInstanceList
- type GetGatewayInstancesInstanceListArgs
- func (GetGatewayInstancesInstanceListArgs) ElementType() reflect.Type
- func (i GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutput() GetGatewayInstancesInstanceListOutput
- func (i GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListOutput
- type GetGatewayInstancesInstanceListArray
- func (GetGatewayInstancesInstanceListArray) ElementType() reflect.Type
- func (i GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutput() GetGatewayInstancesInstanceListArrayOutput
- func (i GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListArrayOutput
- type GetGatewayInstancesInstanceListArrayInput
- type GetGatewayInstancesInstanceListArrayOutput
- func (GetGatewayInstancesInstanceListArrayOutput) ElementType() reflect.Type
- func (o GetGatewayInstancesInstanceListArrayOutput) Index(i pulumi.IntInput) GetGatewayInstancesInstanceListOutput
- func (o GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutput() GetGatewayInstancesInstanceListArrayOutput
- func (o GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListArrayOutput
- type GetGatewayInstancesInstanceListInput
- type GetGatewayInstancesInstanceListOutput
- func (o GetGatewayInstancesInstanceListOutput) CnnRouteType() pulumi.StringOutput
- func (o GetGatewayInstancesInstanceListOutput) CreateTime() pulumi.StringOutput
- func (o GetGatewayInstancesInstanceListOutput) DcgId() pulumi.StringOutput
- func (o GetGatewayInstancesInstanceListOutput) DcgIp() pulumi.StringOutput
- func (GetGatewayInstancesInstanceListOutput) ElementType() reflect.Type
- func (o GetGatewayInstancesInstanceListOutput) EnableBgp() pulumi.BoolOutput
- func (o GetGatewayInstancesInstanceListOutput) GatewayType() pulumi.StringOutput
- func (o GetGatewayInstancesInstanceListOutput) Name() pulumi.StringOutput
- func (o GetGatewayInstancesInstanceListOutput) NetworkInstanceId() pulumi.StringOutput
- func (o GetGatewayInstancesInstanceListOutput) NetworkType() pulumi.StringOutput
- func (o GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutput() GetGatewayInstancesInstanceListOutput
- func (o GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListOutput
- type GetGatewayInstancesOutputArgs
- type GetGatewayInstancesResult
- type GetGatewayInstancesResultOutput
- func (o GetGatewayInstancesResultOutput) DcgId() pulumi.StringPtrOutput
- func (GetGatewayInstancesResultOutput) ElementType() reflect.Type
- func (o GetGatewayInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetGatewayInstancesResultOutput) InstanceLists() GetGatewayInstancesInstanceListArrayOutput
- func (o GetGatewayInstancesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetGatewayInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutput() GetGatewayInstancesResultOutput
- func (o GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutputWithContext(ctx context.Context) GetGatewayInstancesResultOutput
- type GetInstancesArgs
- type GetInstancesInstanceList
- type GetInstancesInstanceListArgs
- func (GetInstancesInstanceListArgs) ElementType() reflect.Type
- func (i GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput
- func (i GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutputWithContext(ctx context.Context) GetInstancesInstanceListOutput
- type GetInstancesInstanceListArray
- func (GetInstancesInstanceListArray) ElementType() reflect.Type
- func (i GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput
- func (i GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceListArrayOutput
- type GetInstancesInstanceListArrayInput
- type GetInstancesInstanceListArrayOutput
- func (GetInstancesInstanceListArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceListArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceListOutput
- func (o GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput
- func (o GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceListArrayOutput
- type GetInstancesInstanceListInput
- type GetInstancesInstanceListOutput
- func (o GetInstancesInstanceListOutput) AccessPointId() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) Bandwidth() pulumi.IntOutput
- func (o GetInstancesInstanceListOutput) CircuitCode() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) CreateTime() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) CustomerAddress() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) CustomerEmail() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) CustomerName() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) CustomerPhone() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) DcId() pulumi.StringOutput
- func (GetInstancesInstanceListOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceListOutput) EnabledTime() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) ExpiredTime() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) FaultReportContactPerson() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) FaultReportContactPhone() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) LineOperator() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) Location() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) Name() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) PortType() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) RedundantDcId() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) State() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) TencentAddress() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput
- func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext(ctx context.Context) GetInstancesInstanceListOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (o GetInstancesResultOutput) DcId() pulumi.StringPtrOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) InstanceLists() GetInstancesInstanceListArrayOutput
- func (o GetInstancesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- type GetInternetAddressQuotaArgs
- type GetInternetAddressQuotaOutputArgs
- type GetInternetAddressQuotaResult
- type GetInternetAddressQuotaResultOutput
- func (GetInternetAddressQuotaResultOutput) ElementType() reflect.Type
- func (o GetInternetAddressQuotaResultOutput) Id() pulumi.StringOutput
- func (o GetInternetAddressQuotaResultOutput) Ipv4BgpNum() pulumi.IntOutput
- func (o GetInternetAddressQuotaResultOutput) Ipv4BgpQuota() pulumi.IntOutput
- func (o GetInternetAddressQuotaResultOutput) Ipv4OtherNum() pulumi.IntOutput
- func (o GetInternetAddressQuotaResultOutput) Ipv4OtherQuota() pulumi.IntOutput
- func (o GetInternetAddressQuotaResultOutput) Ipv6PrefixLen() pulumi.IntOutput
- func (o GetInternetAddressQuotaResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutput() GetInternetAddressQuotaResultOutput
- func (o GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutputWithContext(ctx context.Context) GetInternetAddressQuotaResultOutput
- type GetInternetAddressStatisticsArgs
- type GetInternetAddressStatisticsInternetAddressStatistic
- type GetInternetAddressStatisticsInternetAddressStatisticArgs
- func (GetInternetAddressStatisticsInternetAddressStatisticArgs) ElementType() reflect.Type
- func (i GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutput() GetInternetAddressStatisticsInternetAddressStatisticOutput
- func (i GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticOutput
- type GetInternetAddressStatisticsInternetAddressStatisticArray
- func (GetInternetAddressStatisticsInternetAddressStatisticArray) ElementType() reflect.Type
- func (i GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
- func (i GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
- type GetInternetAddressStatisticsInternetAddressStatisticArrayInput
- type GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
- func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ElementType() reflect.Type
- func (o GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) Index(i pulumi.IntInput) GetInternetAddressStatisticsInternetAddressStatisticOutput
- func (o GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
- func (o GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
- type GetInternetAddressStatisticsInternetAddressStatisticInput
- type GetInternetAddressStatisticsInternetAddressStatisticOutput
- func (GetInternetAddressStatisticsInternetAddressStatisticOutput) ElementType() reflect.Type
- func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) Region() pulumi.StringOutput
- func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) SubnetNum() pulumi.IntOutput
- func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutput() GetInternetAddressStatisticsInternetAddressStatisticOutput
- func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticOutput
- type GetInternetAddressStatisticsOutputArgs
- type GetInternetAddressStatisticsResult
- type GetInternetAddressStatisticsResultOutput
- func (GetInternetAddressStatisticsResultOutput) ElementType() reflect.Type
- func (o GetInternetAddressStatisticsResultOutput) Id() pulumi.StringOutput
- func (o GetInternetAddressStatisticsResultOutput) InternetAddressStatistics() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
- func (o GetInternetAddressStatisticsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutput() GetInternetAddressStatisticsResultOutput
- func (o GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutputWithContext(ctx context.Context) GetInternetAddressStatisticsResultOutput
- type GetPublicDirectConnectTunnelRoutesArgs
- type GetPublicDirectConnectTunnelRoutesFilter
- type GetPublicDirectConnectTunnelRoutesFilterArgs
- func (GetPublicDirectConnectTunnelRoutesFilterArgs) ElementType() reflect.Type
- func (i GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutput() GetPublicDirectConnectTunnelRoutesFilterOutput
- func (i GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterOutput
- type GetPublicDirectConnectTunnelRoutesFilterArray
- func (GetPublicDirectConnectTunnelRoutesFilterArray) ElementType() reflect.Type
- func (i GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput() GetPublicDirectConnectTunnelRoutesFilterArrayOutput
- func (i GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterArrayOutput
- type GetPublicDirectConnectTunnelRoutesFilterArrayInput
- type GetPublicDirectConnectTunnelRoutesFilterArrayOutput
- func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ElementType() reflect.Type
- func (o GetPublicDirectConnectTunnelRoutesFilterArrayOutput) Index(i pulumi.IntInput) GetPublicDirectConnectTunnelRoutesFilterOutput
- func (o GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput() GetPublicDirectConnectTunnelRoutesFilterArrayOutput
- func (o GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterArrayOutput
- type GetPublicDirectConnectTunnelRoutesFilterInput
- type GetPublicDirectConnectTunnelRoutesFilterOutput
- func (GetPublicDirectConnectTunnelRoutesFilterOutput) ElementType() reflect.Type
- func (o GetPublicDirectConnectTunnelRoutesFilterOutput) Name() pulumi.StringOutput
- func (o GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutput() GetPublicDirectConnectTunnelRoutesFilterOutput
- func (o GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterOutput
- func (o GetPublicDirectConnectTunnelRoutesFilterOutput) Values() pulumi.StringArrayOutput
- type GetPublicDirectConnectTunnelRoutesOutputArgs
- type GetPublicDirectConnectTunnelRoutesResult
- type GetPublicDirectConnectTunnelRoutesResultOutput
- func (o GetPublicDirectConnectTunnelRoutesResultOutput) DirectConnectTunnelId() pulumi.StringOutput
- func (GetPublicDirectConnectTunnelRoutesResultOutput) ElementType() reflect.Type
- func (o GetPublicDirectConnectTunnelRoutesResultOutput) Filters() GetPublicDirectConnectTunnelRoutesFilterArrayOutput
- func (o GetPublicDirectConnectTunnelRoutesResultOutput) Id() pulumi.StringOutput
- func (o GetPublicDirectConnectTunnelRoutesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetPublicDirectConnectTunnelRoutesResultOutput) Routes() GetPublicDirectConnectTunnelRoutesRouteArrayOutput
- func (o GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutput() GetPublicDirectConnectTunnelRoutesResultOutput
- func (o GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesResultOutput
- type GetPublicDirectConnectTunnelRoutesRoute
- type GetPublicDirectConnectTunnelRoutesRouteArgs
- func (GetPublicDirectConnectTunnelRoutesRouteArgs) ElementType() reflect.Type
- func (i GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutput() GetPublicDirectConnectTunnelRoutesRouteOutput
- func (i GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteOutput
- type GetPublicDirectConnectTunnelRoutesRouteArray
- func (GetPublicDirectConnectTunnelRoutesRouteArray) ElementType() reflect.Type
- func (i GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput() GetPublicDirectConnectTunnelRoutesRouteArrayOutput
- func (i GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteArrayOutput
- type GetPublicDirectConnectTunnelRoutesRouteArrayInput
- type GetPublicDirectConnectTunnelRoutesRouteArrayOutput
- func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ElementType() reflect.Type
- func (o GetPublicDirectConnectTunnelRoutesRouteArrayOutput) Index(i pulumi.IntInput) GetPublicDirectConnectTunnelRoutesRouteOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput() GetPublicDirectConnectTunnelRoutesRouteArrayOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteArrayOutput
- type GetPublicDirectConnectTunnelRoutesRouteInput
- type GetPublicDirectConnectTunnelRoutesRouteOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteOutput) AsPaths() pulumi.StringArrayOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteOutput) DestinationCidrBlock() pulumi.StringOutput
- func (GetPublicDirectConnectTunnelRoutesRouteOutput) ElementType() reflect.Type
- func (o GetPublicDirectConnectTunnelRoutesRouteOutput) NextHop() pulumi.StringOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteOutput) RouteId() pulumi.StringOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteOutput) RouteType() pulumi.StringOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteOutput) Status() pulumi.StringOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutput() GetPublicDirectConnectTunnelRoutesRouteOutput
- func (o GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) AccessPointId() pulumi.StringOutput
- func (o InstanceOutput) Bandwidth() pulumi.IntPtrOutput
- func (o InstanceOutput) CircuitCode() pulumi.StringPtrOutput
- func (o InstanceOutput) CustomerAddress() pulumi.StringPtrOutput
- func (o InstanceOutput) CustomerContactMail() pulumi.StringPtrOutput
- func (o InstanceOutput) CustomerContactNumber() pulumi.StringPtrOutput
- func (o InstanceOutput) CustomerName() pulumi.StringPtrOutput
- func (o InstanceOutput) DirectConnectName() pulumi.StringOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) FaultReportContactNumber() pulumi.StringPtrOutput
- func (o InstanceOutput) FaultReportContactPerson() pulumi.StringPtrOutput
- func (o InstanceOutput) LineOperator() pulumi.StringOutput
- func (o InstanceOutput) Location() pulumi.StringPtrOutput
- func (o InstanceOutput) PortType() pulumi.StringOutput
- func (o InstanceOutput) RedundantDirectConnectId() pulumi.StringPtrOutput
- func (o InstanceOutput) SignLaw() pulumi.BoolPtrOutput
- func (o InstanceOutput) TencentAddress() pulumi.StringPtrOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) Vlan() pulumi.IntPtrOutput
- type InstanceState
- type InternetAddress
- type InternetAddressArgs
- type InternetAddressArray
- type InternetAddressArrayInput
- type InternetAddressArrayOutput
- func (InternetAddressArrayOutput) ElementType() reflect.Type
- func (o InternetAddressArrayOutput) Index(i pulumi.IntInput) InternetAddressOutput
- func (o InternetAddressArrayOutput) ToInternetAddressArrayOutput() InternetAddressArrayOutput
- func (o InternetAddressArrayOutput) ToInternetAddressArrayOutputWithContext(ctx context.Context) InternetAddressArrayOutput
- type InternetAddressConfig
- type InternetAddressConfigArgs
- type InternetAddressConfigArray
- func (InternetAddressConfigArray) ElementType() reflect.Type
- func (i InternetAddressConfigArray) ToInternetAddressConfigArrayOutput() InternetAddressConfigArrayOutput
- func (i InternetAddressConfigArray) ToInternetAddressConfigArrayOutputWithContext(ctx context.Context) InternetAddressConfigArrayOutput
- type InternetAddressConfigArrayInput
- type InternetAddressConfigArrayOutput
- func (InternetAddressConfigArrayOutput) ElementType() reflect.Type
- func (o InternetAddressConfigArrayOutput) Index(i pulumi.IntInput) InternetAddressConfigOutput
- func (o InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutput() InternetAddressConfigArrayOutput
- func (o InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutputWithContext(ctx context.Context) InternetAddressConfigArrayOutput
- type InternetAddressConfigInput
- type InternetAddressConfigMap
- type InternetAddressConfigMapInput
- type InternetAddressConfigMapOutput
- func (InternetAddressConfigMapOutput) ElementType() reflect.Type
- func (o InternetAddressConfigMapOutput) MapIndex(k pulumi.StringInput) InternetAddressConfigOutput
- func (o InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutput() InternetAddressConfigMapOutput
- func (o InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutputWithContext(ctx context.Context) InternetAddressConfigMapOutput
- type InternetAddressConfigOutput
- func (InternetAddressConfigOutput) ElementType() reflect.Type
- func (o InternetAddressConfigOutput) Enable() pulumi.BoolOutput
- func (o InternetAddressConfigOutput) InstanceId() pulumi.StringOutput
- func (o InternetAddressConfigOutput) ToInternetAddressConfigOutput() InternetAddressConfigOutput
- func (o InternetAddressConfigOutput) ToInternetAddressConfigOutputWithContext(ctx context.Context) InternetAddressConfigOutput
- type InternetAddressConfigState
- type InternetAddressInput
- type InternetAddressMap
- type InternetAddressMapInput
- type InternetAddressMapOutput
- func (InternetAddressMapOutput) ElementType() reflect.Type
- func (o InternetAddressMapOutput) MapIndex(k pulumi.StringInput) InternetAddressOutput
- func (o InternetAddressMapOutput) ToInternetAddressMapOutput() InternetAddressMapOutput
- func (o InternetAddressMapOutput) ToInternetAddressMapOutputWithContext(ctx context.Context) InternetAddressMapOutput
- type InternetAddressOutput
- func (o InternetAddressOutput) AddrProto() pulumi.IntOutput
- func (o InternetAddressOutput) AddrType() pulumi.IntOutput
- func (InternetAddressOutput) ElementType() reflect.Type
- func (o InternetAddressOutput) MaskLen() pulumi.IntOutput
- func (o InternetAddressOutput) ToInternetAddressOutput() InternetAddressOutput
- func (o InternetAddressOutput) ToInternetAddressOutputWithContext(ctx context.Context) InternetAddressOutput
- type InternetAddressState
- type ShareDcxConfig
- type ShareDcxConfigArgs
- type ShareDcxConfigArray
- type ShareDcxConfigArrayInput
- type ShareDcxConfigArrayOutput
- func (ShareDcxConfigArrayOutput) ElementType() reflect.Type
- func (o ShareDcxConfigArrayOutput) Index(i pulumi.IntInput) ShareDcxConfigOutput
- func (o ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutput() ShareDcxConfigArrayOutput
- func (o ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutputWithContext(ctx context.Context) ShareDcxConfigArrayOutput
- type ShareDcxConfigInput
- type ShareDcxConfigMap
- type ShareDcxConfigMapInput
- type ShareDcxConfigMapOutput
- func (ShareDcxConfigMapOutput) ElementType() reflect.Type
- func (o ShareDcxConfigMapOutput) MapIndex(k pulumi.StringInput) ShareDcxConfigOutput
- func (o ShareDcxConfigMapOutput) ToShareDcxConfigMapOutput() ShareDcxConfigMapOutput
- func (o ShareDcxConfigMapOutput) ToShareDcxConfigMapOutputWithContext(ctx context.Context) ShareDcxConfigMapOutput
- type ShareDcxConfigOutput
- func (o ShareDcxConfigOutput) DirectConnectTunnelId() pulumi.StringOutput
- func (ShareDcxConfigOutput) ElementType() reflect.Type
- func (o ShareDcxConfigOutput) Enable() pulumi.BoolOutput
- func (o ShareDcxConfigOutput) ToShareDcxConfigOutput() ShareDcxConfigOutput
- func (o ShareDcxConfigOutput) ToShareDcxConfigOutputWithContext(ctx context.Context) ShareDcxConfigOutput
- type ShareDcxConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.5
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Gateway ¶
type Gateway struct { pulumi.CustomResourceState // Type of CCN route. Valid value: `BGP` and `STATIC`. The property is available when the DCG type is CCN gateway and BGP enabled. CnnRouteType pulumi.StringOutput `pulumi:"cnnRouteType"` // Creation time of resource. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Indicates whether the BGP is enabled. EnableBgp pulumi.BoolOutput `pulumi:"enableBgp"` // Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type. GatewayType pulumi.StringPtrOutput `pulumi:"gatewayType"` // Name of the DCG. Name pulumi.StringOutput `pulumi:"name"` // If the `networkType` value is `VPC`, the available value is VPC ID. But when the `networkType` value is `CCN`, the available value is CCN instance ID. NetworkInstanceId pulumi.StringOutput `pulumi:"networkInstanceId"` // Type of associated network. Valid value: `VPC` and `CCN`. NetworkType pulumi.StringOutput `pulumi:"networkType"` }
Provides a resource to creating direct connect gateway instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := Vpc.NewInstance(ctx, "main", &Vpc.InstanceArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } _, err = Dc.NewGateway(ctx, "vpcMain", &Dc.GatewayArgs{ NetworkInstanceId: main.ID(), NetworkType: pulumi.String("VPC"), GatewayType: pulumi.String("NAT"), }) if err != nil { return err } return nil }) }
```
## Import
Direct connect gateway instance can be imported, e.g.
```sh
$ pulumi import tencentcloud:Dc/gateway:Gateway instance dcg-id
```
func GetGateway ¶
func GetGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)
GetGateway gets an existing Gateway 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 NewGateway ¶
func NewGateway(ctx *pulumi.Context, name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)
NewGateway registers a new resource with the given unique name, arguments, and options.
func (*Gateway) ElementType ¶
func (*Gateway) ToGatewayOutput ¶
func (i *Gateway) ToGatewayOutput() GatewayOutput
func (*Gateway) ToGatewayOutputWithContext ¶
func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayArgs ¶
type GatewayArgs struct { // Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type. GatewayType pulumi.StringPtrInput // Name of the DCG. Name pulumi.StringPtrInput // If the `networkType` value is `VPC`, the available value is VPC ID. But when the `networkType` value is `CCN`, the available value is CCN instance ID. NetworkInstanceId pulumi.StringInput // Type of associated network. Valid value: `VPC` and `CCN`. NetworkType pulumi.StringInput }
The set of arguments for constructing a Gateway resource.
func (GatewayArgs) ElementType ¶
func (GatewayArgs) ElementType() reflect.Type
type GatewayArray ¶
type GatewayArray []GatewayInput
func (GatewayArray) ElementType ¶
func (GatewayArray) ElementType() reflect.Type
func (GatewayArray) ToGatewayArrayOutput ¶
func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArray) ToGatewayArrayOutputWithContext ¶
func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayArrayInput ¶
type GatewayArrayInput interface { pulumi.Input ToGatewayArrayOutput() GatewayArrayOutput ToGatewayArrayOutputWithContext(context.Context) GatewayArrayOutput }
GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. You can construct a concrete instance of `GatewayArrayInput` via:
GatewayArray{ GatewayArgs{...} }
type GatewayArrayOutput ¶
type GatewayArrayOutput struct{ *pulumi.OutputState }
func (GatewayArrayOutput) ElementType ¶
func (GatewayArrayOutput) ElementType() reflect.Type
func (GatewayArrayOutput) Index ¶
func (o GatewayArrayOutput) Index(i pulumi.IntInput) GatewayOutput
func (GatewayArrayOutput) ToGatewayArrayOutput ¶
func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArrayOutput) ToGatewayArrayOutputWithContext ¶
func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayAttachment ¶ added in v0.1.5
type GatewayAttachment struct { pulumi.CustomResourceState // DirectConnectGatewayId. DirectConnectGatewayId pulumi.StringOutput `pulumi:"directConnectGatewayId"` // NatGatewayId. NatGatewayId pulumi.StringOutput `pulumi:"natGatewayId"` // vpc id. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provides a resource to create a dcGatewayAttachment
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.NewGatewayAttachment(ctx, "dcGatewayAttachment", &Dc.GatewayAttachmentArgs{ DirectConnectGatewayId: pulumi.String("dcg-dmbhf7jf"), NatGatewayId: pulumi.String("nat-7kanjc6y"), VpcId: pulumi.String("vpc-4h9v4mo3"), }) if err != nil { return err } return nil }) }
```
## Import
dc_gateway_attachment can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dc/gatewayAttachment:GatewayAttachment dc_gateway_attachment vpcId#dcgId#ngId
```
func GetGatewayAttachment ¶ added in v0.1.5
func GetGatewayAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayAttachmentState, opts ...pulumi.ResourceOption) (*GatewayAttachment, error)
GetGatewayAttachment gets an existing GatewayAttachment 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 NewGatewayAttachment ¶ added in v0.1.5
func NewGatewayAttachment(ctx *pulumi.Context, name string, args *GatewayAttachmentArgs, opts ...pulumi.ResourceOption) (*GatewayAttachment, error)
NewGatewayAttachment registers a new resource with the given unique name, arguments, and options.
func (*GatewayAttachment) ElementType ¶ added in v0.1.5
func (*GatewayAttachment) ElementType() reflect.Type
func (*GatewayAttachment) ToGatewayAttachmentOutput ¶ added in v0.1.5
func (i *GatewayAttachment) ToGatewayAttachmentOutput() GatewayAttachmentOutput
func (*GatewayAttachment) ToGatewayAttachmentOutputWithContext ¶ added in v0.1.5
func (i *GatewayAttachment) ToGatewayAttachmentOutputWithContext(ctx context.Context) GatewayAttachmentOutput
type GatewayAttachmentArgs ¶ added in v0.1.5
type GatewayAttachmentArgs struct { // DirectConnectGatewayId. DirectConnectGatewayId pulumi.StringInput // NatGatewayId. NatGatewayId pulumi.StringInput // vpc id. VpcId pulumi.StringInput }
The set of arguments for constructing a GatewayAttachment resource.
func (GatewayAttachmentArgs) ElementType ¶ added in v0.1.5
func (GatewayAttachmentArgs) ElementType() reflect.Type
type GatewayAttachmentArray ¶ added in v0.1.5
type GatewayAttachmentArray []GatewayAttachmentInput
func (GatewayAttachmentArray) ElementType ¶ added in v0.1.5
func (GatewayAttachmentArray) ElementType() reflect.Type
func (GatewayAttachmentArray) ToGatewayAttachmentArrayOutput ¶ added in v0.1.5
func (i GatewayAttachmentArray) ToGatewayAttachmentArrayOutput() GatewayAttachmentArrayOutput
func (GatewayAttachmentArray) ToGatewayAttachmentArrayOutputWithContext ¶ added in v0.1.5
func (i GatewayAttachmentArray) ToGatewayAttachmentArrayOutputWithContext(ctx context.Context) GatewayAttachmentArrayOutput
type GatewayAttachmentArrayInput ¶ added in v0.1.5
type GatewayAttachmentArrayInput interface { pulumi.Input ToGatewayAttachmentArrayOutput() GatewayAttachmentArrayOutput ToGatewayAttachmentArrayOutputWithContext(context.Context) GatewayAttachmentArrayOutput }
GatewayAttachmentArrayInput is an input type that accepts GatewayAttachmentArray and GatewayAttachmentArrayOutput values. You can construct a concrete instance of `GatewayAttachmentArrayInput` via:
GatewayAttachmentArray{ GatewayAttachmentArgs{...} }
type GatewayAttachmentArrayOutput ¶ added in v0.1.5
type GatewayAttachmentArrayOutput struct{ *pulumi.OutputState }
func (GatewayAttachmentArrayOutput) ElementType ¶ added in v0.1.5
func (GatewayAttachmentArrayOutput) ElementType() reflect.Type
func (GatewayAttachmentArrayOutput) Index ¶ added in v0.1.5
func (o GatewayAttachmentArrayOutput) Index(i pulumi.IntInput) GatewayAttachmentOutput
func (GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutput ¶ added in v0.1.5
func (o GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutput() GatewayAttachmentArrayOutput
func (GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutputWithContext ¶ added in v0.1.5
func (o GatewayAttachmentArrayOutput) ToGatewayAttachmentArrayOutputWithContext(ctx context.Context) GatewayAttachmentArrayOutput
type GatewayAttachmentInput ¶ added in v0.1.5
type GatewayAttachmentInput interface { pulumi.Input ToGatewayAttachmentOutput() GatewayAttachmentOutput ToGatewayAttachmentOutputWithContext(ctx context.Context) GatewayAttachmentOutput }
type GatewayAttachmentMap ¶ added in v0.1.5
type GatewayAttachmentMap map[string]GatewayAttachmentInput
func (GatewayAttachmentMap) ElementType ¶ added in v0.1.5
func (GatewayAttachmentMap) ElementType() reflect.Type
func (GatewayAttachmentMap) ToGatewayAttachmentMapOutput ¶ added in v0.1.5
func (i GatewayAttachmentMap) ToGatewayAttachmentMapOutput() GatewayAttachmentMapOutput
func (GatewayAttachmentMap) ToGatewayAttachmentMapOutputWithContext ¶ added in v0.1.5
func (i GatewayAttachmentMap) ToGatewayAttachmentMapOutputWithContext(ctx context.Context) GatewayAttachmentMapOutput
type GatewayAttachmentMapInput ¶ added in v0.1.5
type GatewayAttachmentMapInput interface { pulumi.Input ToGatewayAttachmentMapOutput() GatewayAttachmentMapOutput ToGatewayAttachmentMapOutputWithContext(context.Context) GatewayAttachmentMapOutput }
GatewayAttachmentMapInput is an input type that accepts GatewayAttachmentMap and GatewayAttachmentMapOutput values. You can construct a concrete instance of `GatewayAttachmentMapInput` via:
GatewayAttachmentMap{ "key": GatewayAttachmentArgs{...} }
type GatewayAttachmentMapOutput ¶ added in v0.1.5
type GatewayAttachmentMapOutput struct{ *pulumi.OutputState }
func (GatewayAttachmentMapOutput) ElementType ¶ added in v0.1.5
func (GatewayAttachmentMapOutput) ElementType() reflect.Type
func (GatewayAttachmentMapOutput) MapIndex ¶ added in v0.1.5
func (o GatewayAttachmentMapOutput) MapIndex(k pulumi.StringInput) GatewayAttachmentOutput
func (GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutput ¶ added in v0.1.5
func (o GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutput() GatewayAttachmentMapOutput
func (GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutputWithContext ¶ added in v0.1.5
func (o GatewayAttachmentMapOutput) ToGatewayAttachmentMapOutputWithContext(ctx context.Context) GatewayAttachmentMapOutput
type GatewayAttachmentOutput ¶ added in v0.1.5
type GatewayAttachmentOutput struct{ *pulumi.OutputState }
func (GatewayAttachmentOutput) DirectConnectGatewayId ¶ added in v0.1.5
func (o GatewayAttachmentOutput) DirectConnectGatewayId() pulumi.StringOutput
DirectConnectGatewayId.
func (GatewayAttachmentOutput) ElementType ¶ added in v0.1.5
func (GatewayAttachmentOutput) ElementType() reflect.Type
func (GatewayAttachmentOutput) NatGatewayId ¶ added in v0.1.5
func (o GatewayAttachmentOutput) NatGatewayId() pulumi.StringOutput
NatGatewayId.
func (GatewayAttachmentOutput) ToGatewayAttachmentOutput ¶ added in v0.1.5
func (o GatewayAttachmentOutput) ToGatewayAttachmentOutput() GatewayAttachmentOutput
func (GatewayAttachmentOutput) ToGatewayAttachmentOutputWithContext ¶ added in v0.1.5
func (o GatewayAttachmentOutput) ToGatewayAttachmentOutputWithContext(ctx context.Context) GatewayAttachmentOutput
func (GatewayAttachmentOutput) VpcId ¶ added in v0.1.5
func (o GatewayAttachmentOutput) VpcId() pulumi.StringOutput
vpc id.
type GatewayAttachmentState ¶ added in v0.1.5
type GatewayAttachmentState struct { // DirectConnectGatewayId. DirectConnectGatewayId pulumi.StringPtrInput // NatGatewayId. NatGatewayId pulumi.StringPtrInput // vpc id. VpcId pulumi.StringPtrInput }
func (GatewayAttachmentState) ElementType ¶ added in v0.1.5
func (GatewayAttachmentState) ElementType() reflect.Type
type GatewayCcnRoute ¶
type GatewayCcnRoute struct { pulumi.CustomResourceState // As path list of the BGP. AsPaths pulumi.StringArrayOutput `pulumi:"asPaths"` // A network address segment of IDC. CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"` // ID of the DCG. DcgId pulumi.StringOutput `pulumi:"dcgId"` }
Provides a resource to creating direct connect gateway route entry.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ccn" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := Ccn.NewInstance(ctx, "main", &Ccn.InstanceArgs{ Description: pulumi.String("ci-temp-test-ccn-des"), Qos: pulumi.String("AG"), }) if err != nil { return err } ccnMain, err := Dc.NewGateway(ctx, "ccnMain", &Dc.GatewayArgs{ NetworkInstanceId: main.ID(), NetworkType: pulumi.String("CCN"), GatewayType: pulumi.String("NORMAL"), }) if err != nil { return err } _, err = Dc.NewGatewayCcnRoute(ctx, "route1", &Dc.GatewayCcnRouteArgs{ DcgId: ccnMain.ID(), CidrBlock: pulumi.String("10.1.1.0/32"), }) if err != nil { return err } _, err = Dc.NewGatewayCcnRoute(ctx, "route2", &Dc.GatewayCcnRouteArgs{ DcgId: ccnMain.ID(), CidrBlock: pulumi.String("192.1.1.0/32"), }) if err != nil { return err } return nil }) }
```
func GetGatewayCcnRoute ¶
func GetGatewayCcnRoute(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayCcnRouteState, opts ...pulumi.ResourceOption) (*GatewayCcnRoute, error)
GetGatewayCcnRoute gets an existing GatewayCcnRoute 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 NewGatewayCcnRoute ¶
func NewGatewayCcnRoute(ctx *pulumi.Context, name string, args *GatewayCcnRouteArgs, opts ...pulumi.ResourceOption) (*GatewayCcnRoute, error)
NewGatewayCcnRoute registers a new resource with the given unique name, arguments, and options.
func (*GatewayCcnRoute) ElementType ¶
func (*GatewayCcnRoute) ElementType() reflect.Type
func (*GatewayCcnRoute) ToGatewayCcnRouteOutput ¶
func (i *GatewayCcnRoute) ToGatewayCcnRouteOutput() GatewayCcnRouteOutput
func (*GatewayCcnRoute) ToGatewayCcnRouteOutputWithContext ¶
func (i *GatewayCcnRoute) ToGatewayCcnRouteOutputWithContext(ctx context.Context) GatewayCcnRouteOutput
type GatewayCcnRouteArgs ¶
type GatewayCcnRouteArgs struct { // A network address segment of IDC. CidrBlock pulumi.StringInput // ID of the DCG. DcgId pulumi.StringInput }
The set of arguments for constructing a GatewayCcnRoute resource.
func (GatewayCcnRouteArgs) ElementType ¶
func (GatewayCcnRouteArgs) ElementType() reflect.Type
type GatewayCcnRouteArray ¶
type GatewayCcnRouteArray []GatewayCcnRouteInput
func (GatewayCcnRouteArray) ElementType ¶
func (GatewayCcnRouteArray) ElementType() reflect.Type
func (GatewayCcnRouteArray) ToGatewayCcnRouteArrayOutput ¶
func (i GatewayCcnRouteArray) ToGatewayCcnRouteArrayOutput() GatewayCcnRouteArrayOutput
func (GatewayCcnRouteArray) ToGatewayCcnRouteArrayOutputWithContext ¶
func (i GatewayCcnRouteArray) ToGatewayCcnRouteArrayOutputWithContext(ctx context.Context) GatewayCcnRouteArrayOutput
type GatewayCcnRouteArrayInput ¶
type GatewayCcnRouteArrayInput interface { pulumi.Input ToGatewayCcnRouteArrayOutput() GatewayCcnRouteArrayOutput ToGatewayCcnRouteArrayOutputWithContext(context.Context) GatewayCcnRouteArrayOutput }
GatewayCcnRouteArrayInput is an input type that accepts GatewayCcnRouteArray and GatewayCcnRouteArrayOutput values. You can construct a concrete instance of `GatewayCcnRouteArrayInput` via:
GatewayCcnRouteArray{ GatewayCcnRouteArgs{...} }
type GatewayCcnRouteArrayOutput ¶
type GatewayCcnRouteArrayOutput struct{ *pulumi.OutputState }
func (GatewayCcnRouteArrayOutput) ElementType ¶
func (GatewayCcnRouteArrayOutput) ElementType() reflect.Type
func (GatewayCcnRouteArrayOutput) Index ¶
func (o GatewayCcnRouteArrayOutput) Index(i pulumi.IntInput) GatewayCcnRouteOutput
func (GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutput ¶
func (o GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutput() GatewayCcnRouteArrayOutput
func (GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutputWithContext ¶
func (o GatewayCcnRouteArrayOutput) ToGatewayCcnRouteArrayOutputWithContext(ctx context.Context) GatewayCcnRouteArrayOutput
type GatewayCcnRouteInput ¶
type GatewayCcnRouteInput interface { pulumi.Input ToGatewayCcnRouteOutput() GatewayCcnRouteOutput ToGatewayCcnRouteOutputWithContext(ctx context.Context) GatewayCcnRouteOutput }
type GatewayCcnRouteMap ¶
type GatewayCcnRouteMap map[string]GatewayCcnRouteInput
func (GatewayCcnRouteMap) ElementType ¶
func (GatewayCcnRouteMap) ElementType() reflect.Type
func (GatewayCcnRouteMap) ToGatewayCcnRouteMapOutput ¶
func (i GatewayCcnRouteMap) ToGatewayCcnRouteMapOutput() GatewayCcnRouteMapOutput
func (GatewayCcnRouteMap) ToGatewayCcnRouteMapOutputWithContext ¶
func (i GatewayCcnRouteMap) ToGatewayCcnRouteMapOutputWithContext(ctx context.Context) GatewayCcnRouteMapOutput
type GatewayCcnRouteMapInput ¶
type GatewayCcnRouteMapInput interface { pulumi.Input ToGatewayCcnRouteMapOutput() GatewayCcnRouteMapOutput ToGatewayCcnRouteMapOutputWithContext(context.Context) GatewayCcnRouteMapOutput }
GatewayCcnRouteMapInput is an input type that accepts GatewayCcnRouteMap and GatewayCcnRouteMapOutput values. You can construct a concrete instance of `GatewayCcnRouteMapInput` via:
GatewayCcnRouteMap{ "key": GatewayCcnRouteArgs{...} }
type GatewayCcnRouteMapOutput ¶
type GatewayCcnRouteMapOutput struct{ *pulumi.OutputState }
func (GatewayCcnRouteMapOutput) ElementType ¶
func (GatewayCcnRouteMapOutput) ElementType() reflect.Type
func (GatewayCcnRouteMapOutput) MapIndex ¶
func (o GatewayCcnRouteMapOutput) MapIndex(k pulumi.StringInput) GatewayCcnRouteOutput
func (GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutput ¶
func (o GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutput() GatewayCcnRouteMapOutput
func (GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutputWithContext ¶
func (o GatewayCcnRouteMapOutput) ToGatewayCcnRouteMapOutputWithContext(ctx context.Context) GatewayCcnRouteMapOutput
type GatewayCcnRouteOutput ¶
type GatewayCcnRouteOutput struct{ *pulumi.OutputState }
func (GatewayCcnRouteOutput) AsPaths ¶
func (o GatewayCcnRouteOutput) AsPaths() pulumi.StringArrayOutput
As path list of the BGP.
func (GatewayCcnRouteOutput) CidrBlock ¶
func (o GatewayCcnRouteOutput) CidrBlock() pulumi.StringOutput
A network address segment of IDC.
func (GatewayCcnRouteOutput) DcgId ¶
func (o GatewayCcnRouteOutput) DcgId() pulumi.StringOutput
ID of the DCG.
func (GatewayCcnRouteOutput) ElementType ¶
func (GatewayCcnRouteOutput) ElementType() reflect.Type
func (GatewayCcnRouteOutput) ToGatewayCcnRouteOutput ¶
func (o GatewayCcnRouteOutput) ToGatewayCcnRouteOutput() GatewayCcnRouteOutput
func (GatewayCcnRouteOutput) ToGatewayCcnRouteOutputWithContext ¶
func (o GatewayCcnRouteOutput) ToGatewayCcnRouteOutputWithContext(ctx context.Context) GatewayCcnRouteOutput
type GatewayCcnRouteState ¶
type GatewayCcnRouteState struct { // As path list of the BGP. AsPaths pulumi.StringArrayInput // A network address segment of IDC. CidrBlock pulumi.StringPtrInput // ID of the DCG. DcgId pulumi.StringPtrInput }
func (GatewayCcnRouteState) ElementType ¶
func (GatewayCcnRouteState) ElementType() reflect.Type
type GatewayInput ¶
type GatewayInput interface { pulumi.Input ToGatewayOutput() GatewayOutput ToGatewayOutputWithContext(ctx context.Context) GatewayOutput }
type GatewayMap ¶
type GatewayMap map[string]GatewayInput
func (GatewayMap) ElementType ¶
func (GatewayMap) ElementType() reflect.Type
func (GatewayMap) ToGatewayMapOutput ¶
func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMap) ToGatewayMapOutputWithContext ¶
func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayMapInput ¶
type GatewayMapInput interface { pulumi.Input ToGatewayMapOutput() GatewayMapOutput ToGatewayMapOutputWithContext(context.Context) GatewayMapOutput }
GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. You can construct a concrete instance of `GatewayMapInput` via:
GatewayMap{ "key": GatewayArgs{...} }
type GatewayMapOutput ¶
type GatewayMapOutput struct{ *pulumi.OutputState }
func (GatewayMapOutput) ElementType ¶
func (GatewayMapOutput) ElementType() reflect.Type
func (GatewayMapOutput) MapIndex ¶
func (o GatewayMapOutput) MapIndex(k pulumi.StringInput) GatewayOutput
func (GatewayMapOutput) ToGatewayMapOutput ¶
func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMapOutput) ToGatewayMapOutputWithContext ¶
func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayOutput ¶
type GatewayOutput struct{ *pulumi.OutputState }
func (GatewayOutput) CnnRouteType ¶
func (o GatewayOutput) CnnRouteType() pulumi.StringOutput
Type of CCN route. Valid value: `BGP` and `STATIC`. The property is available when the DCG type is CCN gateway and BGP enabled.
func (GatewayOutput) CreateTime ¶
func (o GatewayOutput) CreateTime() pulumi.StringOutput
Creation time of resource.
func (GatewayOutput) ElementType ¶
func (GatewayOutput) ElementType() reflect.Type
func (GatewayOutput) EnableBgp ¶
func (o GatewayOutput) EnableBgp() pulumi.BoolOutput
Indicates whether the BGP is enabled.
func (GatewayOutput) GatewayType ¶
func (o GatewayOutput) GatewayType() pulumi.StringPtrOutput
Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type.
func (GatewayOutput) NetworkInstanceId ¶
func (o GatewayOutput) NetworkInstanceId() pulumi.StringOutput
If the `networkType` value is `VPC`, the available value is VPC ID. But when the `networkType` value is `CCN`, the available value is CCN instance ID.
func (GatewayOutput) NetworkType ¶
func (o GatewayOutput) NetworkType() pulumi.StringOutput
Type of associated network. Valid value: `VPC` and `CCN`.
func (GatewayOutput) ToGatewayOutput ¶
func (o GatewayOutput) ToGatewayOutput() GatewayOutput
func (GatewayOutput) ToGatewayOutputWithContext ¶
func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayState ¶
type GatewayState struct { // Type of CCN route. Valid value: `BGP` and `STATIC`. The property is available when the DCG type is CCN gateway and BGP enabled. CnnRouteType pulumi.StringPtrInput // Creation time of resource. CreateTime pulumi.StringPtrInput // Indicates whether the BGP is enabled. EnableBgp pulumi.BoolPtrInput // Type of the gateway. Valid value: `NORMAL` and `NAT`. Default is `NORMAL`. NOTES: CCN only supports `NORMAL` and a VPC can create two DCGs, the one is NAT type and the other is non-NAT type. GatewayType pulumi.StringPtrInput // Name of the DCG. Name pulumi.StringPtrInput // If the `networkType` value is `VPC`, the available value is VPC ID. But when the `networkType` value is `CCN`, the available value is CCN instance ID. NetworkInstanceId pulumi.StringPtrInput // Type of associated network. Valid value: `VPC` and `CCN`. NetworkType pulumi.StringPtrInput }
func (GatewayState) ElementType ¶
func (GatewayState) ElementType() reflect.Type
type GetAccessPointsAccessPointSet ¶ added in v0.1.5
type GetAccessPointsAccessPointSet struct { // Unique access point ID. AccessPointId string `pulumi:"accessPointId"` // Access point name. AccessPointName string `pulumi:"accessPointName"` // Access point type. Valid values: `VXLAN`, `QCPL`, and `QCAR`.Note: this field may return `null`, indicating that no valid values can be obtained. AccessPointType string `pulumi:"accessPointType"` // Access point regionNote: this field may return `null`, indicating that no valid values can be obtained. Area string `pulumi:"area"` // Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return `null`, indicating that no valid value is obtained. AvailablePortTypes []string `pulumi:"availablePortTypes"` // City where the access point is locatedNote: this field may return `null`, indicating that no valid values can be obtained. City string `pulumi:"city"` // Latitude and longitude of the access pointNote: this field may return `null`, indicating that no valid values can be obtained. Coordinates []GetAccessPointsAccessPointSetCoordinate `pulumi:"coordinates"` // List of ISPs supported by access point. LineOperators []string `pulumi:"lineOperators"` // Access point location. Location string `pulumi:"location"` // Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID. RegionId string `pulumi:"regionId"` // Access point status. Valid values: available, unavailable. State string `pulumi:"state"` }
type GetAccessPointsAccessPointSetArgs ¶ added in v0.1.5
type GetAccessPointsAccessPointSetArgs struct { // Unique access point ID. AccessPointId pulumi.StringInput `pulumi:"accessPointId"` // Access point name. AccessPointName pulumi.StringInput `pulumi:"accessPointName"` // Access point type. Valid values: `VXLAN`, `QCPL`, and `QCAR`.Note: this field may return `null`, indicating that no valid values can be obtained. AccessPointType pulumi.StringInput `pulumi:"accessPointType"` // Access point regionNote: this field may return `null`, indicating that no valid values can be obtained. Area pulumi.StringInput `pulumi:"area"` // Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return `null`, indicating that no valid value is obtained. AvailablePortTypes pulumi.StringArrayInput `pulumi:"availablePortTypes"` // City where the access point is locatedNote: this field may return `null`, indicating that no valid values can be obtained. City pulumi.StringInput `pulumi:"city"` // Latitude and longitude of the access pointNote: this field may return `null`, indicating that no valid values can be obtained. Coordinates GetAccessPointsAccessPointSetCoordinateArrayInput `pulumi:"coordinates"` // List of ISPs supported by access point. LineOperators pulumi.StringArrayInput `pulumi:"lineOperators"` // Access point location. Location pulumi.StringInput `pulumi:"location"` // Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID. RegionId pulumi.StringInput `pulumi:"regionId"` // Access point status. Valid values: available, unavailable. State pulumi.StringInput `pulumi:"state"` }
func (GetAccessPointsAccessPointSetArgs) ElementType ¶ added in v0.1.5
func (GetAccessPointsAccessPointSetArgs) ElementType() reflect.Type
func (GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutput ¶ added in v0.1.5
func (i GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutput() GetAccessPointsAccessPointSetOutput
func (GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutputWithContext ¶ added in v0.1.5
func (i GetAccessPointsAccessPointSetArgs) ToGetAccessPointsAccessPointSetOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetOutput
type GetAccessPointsAccessPointSetArray ¶ added in v0.1.5
type GetAccessPointsAccessPointSetArray []GetAccessPointsAccessPointSetInput
func (GetAccessPointsAccessPointSetArray) ElementType ¶ added in v0.1.5
func (GetAccessPointsAccessPointSetArray) ElementType() reflect.Type
func (GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutput ¶ added in v0.1.5
func (i GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutput() GetAccessPointsAccessPointSetArrayOutput
func (GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutputWithContext ¶ added in v0.1.5
func (i GetAccessPointsAccessPointSetArray) ToGetAccessPointsAccessPointSetArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetArrayOutput
type GetAccessPointsAccessPointSetArrayInput ¶ added in v0.1.5
type GetAccessPointsAccessPointSetArrayInput interface { pulumi.Input ToGetAccessPointsAccessPointSetArrayOutput() GetAccessPointsAccessPointSetArrayOutput ToGetAccessPointsAccessPointSetArrayOutputWithContext(context.Context) GetAccessPointsAccessPointSetArrayOutput }
GetAccessPointsAccessPointSetArrayInput is an input type that accepts GetAccessPointsAccessPointSetArray and GetAccessPointsAccessPointSetArrayOutput values. You can construct a concrete instance of `GetAccessPointsAccessPointSetArrayInput` via:
GetAccessPointsAccessPointSetArray{ GetAccessPointsAccessPointSetArgs{...} }
type GetAccessPointsAccessPointSetArrayOutput ¶ added in v0.1.5
type GetAccessPointsAccessPointSetArrayOutput struct{ *pulumi.OutputState }
func (GetAccessPointsAccessPointSetArrayOutput) ElementType ¶ added in v0.1.5
func (GetAccessPointsAccessPointSetArrayOutput) ElementType() reflect.Type
func (GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutput ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutput() GetAccessPointsAccessPointSetArrayOutput
func (GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutputWithContext ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetArrayOutput) ToGetAccessPointsAccessPointSetArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetArrayOutput
type GetAccessPointsAccessPointSetCoordinate ¶ added in v0.1.5
type GetAccessPointsAccessPointSetCoordinateArgs ¶ added in v0.1.5
type GetAccessPointsAccessPointSetCoordinateArgs struct { // Latitude. Lat pulumi.Float64Input `pulumi:"lat"` // Longitude. Lng pulumi.Float64Input `pulumi:"lng"` }
func (GetAccessPointsAccessPointSetCoordinateArgs) ElementType ¶ added in v0.1.5
func (GetAccessPointsAccessPointSetCoordinateArgs) ElementType() reflect.Type
func (GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutput ¶ added in v0.1.5
func (i GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutput() GetAccessPointsAccessPointSetCoordinateOutput
func (GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext ¶ added in v0.1.5
func (i GetAccessPointsAccessPointSetCoordinateArgs) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateOutput
type GetAccessPointsAccessPointSetCoordinateArray ¶ added in v0.1.5
type GetAccessPointsAccessPointSetCoordinateArray []GetAccessPointsAccessPointSetCoordinateInput
func (GetAccessPointsAccessPointSetCoordinateArray) ElementType ¶ added in v0.1.5
func (GetAccessPointsAccessPointSetCoordinateArray) ElementType() reflect.Type
func (GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutput ¶ added in v0.1.5
func (i GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutput() GetAccessPointsAccessPointSetCoordinateArrayOutput
func (GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext ¶ added in v0.1.5
func (i GetAccessPointsAccessPointSetCoordinateArray) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateArrayOutput
type GetAccessPointsAccessPointSetCoordinateArrayInput ¶ added in v0.1.5
type GetAccessPointsAccessPointSetCoordinateArrayInput interface { pulumi.Input ToGetAccessPointsAccessPointSetCoordinateArrayOutput() GetAccessPointsAccessPointSetCoordinateArrayOutput ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext(context.Context) GetAccessPointsAccessPointSetCoordinateArrayOutput }
GetAccessPointsAccessPointSetCoordinateArrayInput is an input type that accepts GetAccessPointsAccessPointSetCoordinateArray and GetAccessPointsAccessPointSetCoordinateArrayOutput values. You can construct a concrete instance of `GetAccessPointsAccessPointSetCoordinateArrayInput` via:
GetAccessPointsAccessPointSetCoordinateArray{ GetAccessPointsAccessPointSetCoordinateArgs{...} }
type GetAccessPointsAccessPointSetCoordinateArrayOutput ¶ added in v0.1.5
type GetAccessPointsAccessPointSetCoordinateArrayOutput struct{ *pulumi.OutputState }
func (GetAccessPointsAccessPointSetCoordinateArrayOutput) ElementType ¶ added in v0.1.5
func (GetAccessPointsAccessPointSetCoordinateArrayOutput) ElementType() reflect.Type
func (GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutput ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutput() GetAccessPointsAccessPointSetCoordinateArrayOutput
func (GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetCoordinateArrayOutput) ToGetAccessPointsAccessPointSetCoordinateArrayOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateArrayOutput
type GetAccessPointsAccessPointSetCoordinateInput ¶ added in v0.1.5
type GetAccessPointsAccessPointSetCoordinateInput interface { pulumi.Input ToGetAccessPointsAccessPointSetCoordinateOutput() GetAccessPointsAccessPointSetCoordinateOutput ToGetAccessPointsAccessPointSetCoordinateOutputWithContext(context.Context) GetAccessPointsAccessPointSetCoordinateOutput }
GetAccessPointsAccessPointSetCoordinateInput is an input type that accepts GetAccessPointsAccessPointSetCoordinateArgs and GetAccessPointsAccessPointSetCoordinateOutput values. You can construct a concrete instance of `GetAccessPointsAccessPointSetCoordinateInput` via:
GetAccessPointsAccessPointSetCoordinateArgs{...}
type GetAccessPointsAccessPointSetCoordinateOutput ¶ added in v0.1.5
type GetAccessPointsAccessPointSetCoordinateOutput struct{ *pulumi.OutputState }
func (GetAccessPointsAccessPointSetCoordinateOutput) ElementType ¶ added in v0.1.5
func (GetAccessPointsAccessPointSetCoordinateOutput) ElementType() reflect.Type
func (GetAccessPointsAccessPointSetCoordinateOutput) Lat ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetCoordinateOutput) Lat() pulumi.Float64Output
Latitude.
func (GetAccessPointsAccessPointSetCoordinateOutput) Lng ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetCoordinateOutput) Lng() pulumi.Float64Output
Longitude.
func (GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutput ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutput() GetAccessPointsAccessPointSetCoordinateOutput
func (GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetCoordinateOutput) ToGetAccessPointsAccessPointSetCoordinateOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetCoordinateOutput
type GetAccessPointsAccessPointSetInput ¶ added in v0.1.5
type GetAccessPointsAccessPointSetInput interface { pulumi.Input ToGetAccessPointsAccessPointSetOutput() GetAccessPointsAccessPointSetOutput ToGetAccessPointsAccessPointSetOutputWithContext(context.Context) GetAccessPointsAccessPointSetOutput }
GetAccessPointsAccessPointSetInput is an input type that accepts GetAccessPointsAccessPointSetArgs and GetAccessPointsAccessPointSetOutput values. You can construct a concrete instance of `GetAccessPointsAccessPointSetInput` via:
GetAccessPointsAccessPointSetArgs{...}
type GetAccessPointsAccessPointSetOutput ¶ added in v0.1.5
type GetAccessPointsAccessPointSetOutput struct{ *pulumi.OutputState }
func (GetAccessPointsAccessPointSetOutput) AccessPointId ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) AccessPointId() pulumi.StringOutput
Unique access point ID.
func (GetAccessPointsAccessPointSetOutput) AccessPointName ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) AccessPointName() pulumi.StringOutput
Access point name.
func (GetAccessPointsAccessPointSetOutput) AccessPointType ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) AccessPointType() pulumi.StringOutput
Access point type. Valid values: `VXLAN`, `QCPL`, and `QCAR`.Note: this field may return `null`, indicating that no valid values can be obtained.
func (GetAccessPointsAccessPointSetOutput) Area ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) Area() pulumi.StringOutput
Access point regionNote: this field may return `null`, indicating that no valid values can be obtained.
func (GetAccessPointsAccessPointSetOutput) AvailablePortTypes ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) AvailablePortTypes() pulumi.StringArrayOutput
Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return `null`, indicating that no valid value is obtained.
func (GetAccessPointsAccessPointSetOutput) City ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) City() pulumi.StringOutput
City where the access point is locatedNote: this field may return `null`, indicating that no valid values can be obtained.
func (GetAccessPointsAccessPointSetOutput) Coordinates ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) Coordinates() GetAccessPointsAccessPointSetCoordinateArrayOutput
Latitude and longitude of the access pointNote: this field may return `null`, indicating that no valid values can be obtained.
func (GetAccessPointsAccessPointSetOutput) ElementType ¶ added in v0.1.5
func (GetAccessPointsAccessPointSetOutput) ElementType() reflect.Type
func (GetAccessPointsAccessPointSetOutput) LineOperators ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) LineOperators() pulumi.StringArrayOutput
List of ISPs supported by access point.
func (GetAccessPointsAccessPointSetOutput) Location ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) Location() pulumi.StringOutput
Access point location.
func (GetAccessPointsAccessPointSetOutput) RegionId ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) RegionId() pulumi.StringOutput
Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID.
func (GetAccessPointsAccessPointSetOutput) State ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) State() pulumi.StringOutput
Access point status. Valid values: available, unavailable.
func (GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutput ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutput() GetAccessPointsAccessPointSetOutput
func (GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutputWithContext ¶ added in v0.1.5
func (o GetAccessPointsAccessPointSetOutput) ToGetAccessPointsAccessPointSetOutputWithContext(ctx context.Context) GetAccessPointsAccessPointSetOutput
type GetAccessPointsArgs ¶ added in v0.1.5
type GetAccessPointsArgs struct { // Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID. RegionId *string `pulumi:"regionId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getAccessPoints.
type GetAccessPointsOutputArgs ¶ added in v0.1.5
type GetAccessPointsOutputArgs struct { // Access point region, which can be queried through `DescribeRegions`.You can call `DescribeRegions` to get the region ID. RegionId pulumi.StringPtrInput `pulumi:"regionId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getAccessPoints.
func (GetAccessPointsOutputArgs) ElementType ¶ added in v0.1.5
func (GetAccessPointsOutputArgs) ElementType() reflect.Type
type GetAccessPointsResult ¶ added in v0.1.5
type GetAccessPointsResult struct { // Access point information. AccessPointSets []GetAccessPointsAccessPointSet `pulumi:"accessPointSets"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ID of the region that manages the access point. RegionId *string `pulumi:"regionId"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getAccessPoints.
func GetAccessPoints ¶ added in v0.1.5
func GetAccessPoints(ctx *pulumi.Context, args *GetAccessPointsArgs, opts ...pulumi.InvokeOption) (*GetAccessPointsResult, error)
Use this data source to query detailed information of dc accessPoints
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.GetAccessPoints(ctx, &dc.GetAccessPointsArgs{ RegionId: pulumi.StringRef("ap-guangzhou"), }, nil) if err != nil { return err } return nil }) }
```
type GetAccessPointsResultOutput ¶ added in v0.1.5
type GetAccessPointsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAccessPoints.
func GetAccessPointsOutput ¶ added in v0.1.5
func GetAccessPointsOutput(ctx *pulumi.Context, args GetAccessPointsOutputArgs, opts ...pulumi.InvokeOption) GetAccessPointsResultOutput
func (GetAccessPointsResultOutput) AccessPointSets ¶ added in v0.1.5
func (o GetAccessPointsResultOutput) AccessPointSets() GetAccessPointsAccessPointSetArrayOutput
Access point information.
func (GetAccessPointsResultOutput) ElementType ¶ added in v0.1.5
func (GetAccessPointsResultOutput) ElementType() reflect.Type
func (GetAccessPointsResultOutput) Id ¶ added in v0.1.5
func (o GetAccessPointsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAccessPointsResultOutput) RegionId ¶ added in v0.1.5
func (o GetAccessPointsResultOutput) RegionId() pulumi.StringPtrOutput
ID of the region that manages the access point.
func (GetAccessPointsResultOutput) ResultOutputFile ¶ added in v0.1.5
func (o GetAccessPointsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetAccessPointsResultOutput) ToGetAccessPointsResultOutput ¶ added in v0.1.5
func (o GetAccessPointsResultOutput) ToGetAccessPointsResultOutput() GetAccessPointsResultOutput
func (GetAccessPointsResultOutput) ToGetAccessPointsResultOutputWithContext ¶ added in v0.1.5
func (o GetAccessPointsResultOutput) ToGetAccessPointsResultOutputWithContext(ctx context.Context) GetAccessPointsResultOutput
type GetGatewayCcnRoutesArgs ¶
type GetGatewayCcnRoutesArgs struct { // ID of the DCG to be queried. DcgId string `pulumi:"dcgId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getGatewayCcnRoutes.
type GetGatewayCcnRoutesInstanceList ¶
type GetGatewayCcnRoutesInstanceList struct { // As path list of the BGP. AsPaths []string `pulumi:"asPaths"` // A network address segment of IDC. CidrBlock string `pulumi:"cidrBlock"` // ID of the DCG to be queried. DcgId string `pulumi:"dcgId"` // ID of the DCG route. RouteId string `pulumi:"routeId"` }
type GetGatewayCcnRoutesInstanceListArgs ¶
type GetGatewayCcnRoutesInstanceListArgs struct { // As path list of the BGP. AsPaths pulumi.StringArrayInput `pulumi:"asPaths"` // A network address segment of IDC. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // ID of the DCG to be queried. DcgId pulumi.StringInput `pulumi:"dcgId"` // ID of the DCG route. RouteId pulumi.StringInput `pulumi:"routeId"` }
func (GetGatewayCcnRoutesInstanceListArgs) ElementType ¶
func (GetGatewayCcnRoutesInstanceListArgs) ElementType() reflect.Type
func (GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutput ¶
func (i GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutput() GetGatewayCcnRoutesInstanceListOutput
func (GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutputWithContext ¶
func (i GetGatewayCcnRoutesInstanceListArgs) ToGetGatewayCcnRoutesInstanceListOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListOutput
type GetGatewayCcnRoutesInstanceListArray ¶
type GetGatewayCcnRoutesInstanceListArray []GetGatewayCcnRoutesInstanceListInput
func (GetGatewayCcnRoutesInstanceListArray) ElementType ¶
func (GetGatewayCcnRoutesInstanceListArray) ElementType() reflect.Type
func (GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutput ¶
func (i GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutput() GetGatewayCcnRoutesInstanceListArrayOutput
func (GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext ¶
func (i GetGatewayCcnRoutesInstanceListArray) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListArrayOutput
type GetGatewayCcnRoutesInstanceListArrayInput ¶
type GetGatewayCcnRoutesInstanceListArrayInput interface { pulumi.Input ToGetGatewayCcnRoutesInstanceListArrayOutput() GetGatewayCcnRoutesInstanceListArrayOutput ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext(context.Context) GetGatewayCcnRoutesInstanceListArrayOutput }
GetGatewayCcnRoutesInstanceListArrayInput is an input type that accepts GetGatewayCcnRoutesInstanceListArray and GetGatewayCcnRoutesInstanceListArrayOutput values. You can construct a concrete instance of `GetGatewayCcnRoutesInstanceListArrayInput` via:
GetGatewayCcnRoutesInstanceListArray{ GetGatewayCcnRoutesInstanceListArgs{...} }
type GetGatewayCcnRoutesInstanceListArrayOutput ¶
type GetGatewayCcnRoutesInstanceListArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayCcnRoutesInstanceListArrayOutput) ElementType ¶
func (GetGatewayCcnRoutesInstanceListArrayOutput) ElementType() reflect.Type
func (GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutput ¶
func (o GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutput() GetGatewayCcnRoutesInstanceListArrayOutput
func (GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext ¶
func (o GetGatewayCcnRoutesInstanceListArrayOutput) ToGetGatewayCcnRoutesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListArrayOutput
type GetGatewayCcnRoutesInstanceListInput ¶
type GetGatewayCcnRoutesInstanceListInput interface { pulumi.Input ToGetGatewayCcnRoutesInstanceListOutput() GetGatewayCcnRoutesInstanceListOutput ToGetGatewayCcnRoutesInstanceListOutputWithContext(context.Context) GetGatewayCcnRoutesInstanceListOutput }
GetGatewayCcnRoutesInstanceListInput is an input type that accepts GetGatewayCcnRoutesInstanceListArgs and GetGatewayCcnRoutesInstanceListOutput values. You can construct a concrete instance of `GetGatewayCcnRoutesInstanceListInput` via:
GetGatewayCcnRoutesInstanceListArgs{...}
type GetGatewayCcnRoutesInstanceListOutput ¶
type GetGatewayCcnRoutesInstanceListOutput struct{ *pulumi.OutputState }
func (GetGatewayCcnRoutesInstanceListOutput) AsPaths ¶
func (o GetGatewayCcnRoutesInstanceListOutput) AsPaths() pulumi.StringArrayOutput
As path list of the BGP.
func (GetGatewayCcnRoutesInstanceListOutput) CidrBlock ¶
func (o GetGatewayCcnRoutesInstanceListOutput) CidrBlock() pulumi.StringOutput
A network address segment of IDC.
func (GetGatewayCcnRoutesInstanceListOutput) DcgId ¶
func (o GetGatewayCcnRoutesInstanceListOutput) DcgId() pulumi.StringOutput
ID of the DCG to be queried.
func (GetGatewayCcnRoutesInstanceListOutput) ElementType ¶
func (GetGatewayCcnRoutesInstanceListOutput) ElementType() reflect.Type
func (GetGatewayCcnRoutesInstanceListOutput) RouteId ¶
func (o GetGatewayCcnRoutesInstanceListOutput) RouteId() pulumi.StringOutput
ID of the DCG route.
func (GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutput ¶
func (o GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutput() GetGatewayCcnRoutesInstanceListOutput
func (GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutputWithContext ¶
func (o GetGatewayCcnRoutesInstanceListOutput) ToGetGatewayCcnRoutesInstanceListOutputWithContext(ctx context.Context) GetGatewayCcnRoutesInstanceListOutput
type GetGatewayCcnRoutesOutputArgs ¶
type GetGatewayCcnRoutesOutputArgs struct { // ID of the DCG to be queried. DcgId pulumi.StringInput `pulumi:"dcgId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getGatewayCcnRoutes.
func (GetGatewayCcnRoutesOutputArgs) ElementType ¶
func (GetGatewayCcnRoutesOutputArgs) ElementType() reflect.Type
type GetGatewayCcnRoutesResult ¶
type GetGatewayCcnRoutesResult struct { // ID of the DCG. DcgId string `pulumi:"dcgId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Information list of the DCG route entries. InstanceLists []GetGatewayCcnRoutesInstanceList `pulumi:"instanceLists"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getGatewayCcnRoutes.
func GetGatewayCcnRoutes ¶
func GetGatewayCcnRoutes(ctx *pulumi.Context, args *GetGatewayCcnRoutesArgs, opts ...pulumi.InvokeOption) (*GetGatewayCcnRoutesResult, error)
Use this data source to query detailed information of direct connect gateway route entries.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ccn" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := Ccn.NewInstance(ctx, "main", &Ccn.InstanceArgs{ Description: pulumi.String("ci-temp-test-ccn-des"), Qos: pulumi.String("AG"), }) if err != nil { return err } ccnMain, err := Dc.NewGateway(ctx, "ccnMain", &Dc.GatewayArgs{ NetworkInstanceId: main.ID(), NetworkType: pulumi.String("CCN"), GatewayType: pulumi.String("NORMAL"), }) if err != nil { return err } _, err = Dc.NewGatewayCcnRoute(ctx, "route1", &Dc.GatewayCcnRouteArgs{ DcgId: ccnMain.ID(), CidrBlock: pulumi.String("10.1.1.0/32"), }) if err != nil { return err } _, err = Dc.NewGatewayCcnRoute(ctx, "route2", &Dc.GatewayCcnRouteArgs{ DcgId: ccnMain.ID(), CidrBlock: pulumi.String("192.1.1.0/32"), }) if err != nil { return err } _ = Dc.GetGatewayCcnRoutesOutput(ctx, dc.GetGatewayCcnRoutesOutputArgs{ DcgId: ccnMain.ID(), }, nil) return nil }) }
```
type GetGatewayCcnRoutesResultOutput ¶
type GetGatewayCcnRoutesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGatewayCcnRoutes.
func GetGatewayCcnRoutesOutput ¶
func GetGatewayCcnRoutesOutput(ctx *pulumi.Context, args GetGatewayCcnRoutesOutputArgs, opts ...pulumi.InvokeOption) GetGatewayCcnRoutesResultOutput
func (GetGatewayCcnRoutesResultOutput) DcgId ¶
func (o GetGatewayCcnRoutesResultOutput) DcgId() pulumi.StringOutput
ID of the DCG.
func (GetGatewayCcnRoutesResultOutput) ElementType ¶
func (GetGatewayCcnRoutesResultOutput) ElementType() reflect.Type
func (GetGatewayCcnRoutesResultOutput) Id ¶
func (o GetGatewayCcnRoutesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewayCcnRoutesResultOutput) InstanceLists ¶
func (o GetGatewayCcnRoutesResultOutput) InstanceLists() GetGatewayCcnRoutesInstanceListArrayOutput
Information list of the DCG route entries.
func (GetGatewayCcnRoutesResultOutput) ResultOutputFile ¶
func (o GetGatewayCcnRoutesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutput ¶
func (o GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutput() GetGatewayCcnRoutesResultOutput
func (GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutputWithContext ¶
func (o GetGatewayCcnRoutesResultOutput) ToGetGatewayCcnRoutesResultOutputWithContext(ctx context.Context) GetGatewayCcnRoutesResultOutput
type GetGatewayInstancesArgs ¶
type GetGatewayInstancesArgs struct { // ID of the DCG to be queried. DcgId *string `pulumi:"dcgId"` // Name of the DCG to be queried. Name *string `pulumi:"name"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getGatewayInstances.
type GetGatewayInstancesInstanceList ¶
type GetGatewayInstancesInstanceList struct { // Type of CCN route. Valid values: `BGP` and `STATIC`. CnnRouteType string `pulumi:"cnnRouteType"` // Creation time of resource. CreateTime string `pulumi:"createTime"` // ID of the DCG to be queried. DcgId string `pulumi:"dcgId"` // IP of the DCG. DcgIp string `pulumi:"dcgIp"` // Indicates whether the BGP is enabled. EnableBgp bool `pulumi:"enableBgp"` // Type of the gateway. Valid values: `NORMAL` and `NAT`. Default is `NORMAL`. GatewayType string `pulumi:"gatewayType"` // Name of the DCG to be queried. Name string `pulumi:"name"` // Type of associated network. Valid values: `VPC` and `CCN`. NetworkInstanceId string `pulumi:"networkInstanceId"` // IP of the DCG. NetworkType string `pulumi:"networkType"` }
type GetGatewayInstancesInstanceListArgs ¶
type GetGatewayInstancesInstanceListArgs struct { // Type of CCN route. Valid values: `BGP` and `STATIC`. CnnRouteType pulumi.StringInput `pulumi:"cnnRouteType"` // Creation time of resource. CreateTime pulumi.StringInput `pulumi:"createTime"` // ID of the DCG to be queried. DcgId pulumi.StringInput `pulumi:"dcgId"` // IP of the DCG. DcgIp pulumi.StringInput `pulumi:"dcgIp"` // Indicates whether the BGP is enabled. EnableBgp pulumi.BoolInput `pulumi:"enableBgp"` // Type of the gateway. Valid values: `NORMAL` and `NAT`. Default is `NORMAL`. GatewayType pulumi.StringInput `pulumi:"gatewayType"` // Name of the DCG to be queried. Name pulumi.StringInput `pulumi:"name"` // Type of associated network. Valid values: `VPC` and `CCN`. NetworkInstanceId pulumi.StringInput `pulumi:"networkInstanceId"` // IP of the DCG. NetworkType pulumi.StringInput `pulumi:"networkType"` }
func (GetGatewayInstancesInstanceListArgs) ElementType ¶
func (GetGatewayInstancesInstanceListArgs) ElementType() reflect.Type
func (GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutput ¶
func (i GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutput() GetGatewayInstancesInstanceListOutput
func (GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutputWithContext ¶
func (i GetGatewayInstancesInstanceListArgs) ToGetGatewayInstancesInstanceListOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListOutput
type GetGatewayInstancesInstanceListArray ¶
type GetGatewayInstancesInstanceListArray []GetGatewayInstancesInstanceListInput
func (GetGatewayInstancesInstanceListArray) ElementType ¶
func (GetGatewayInstancesInstanceListArray) ElementType() reflect.Type
func (GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutput ¶
func (i GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutput() GetGatewayInstancesInstanceListArrayOutput
func (GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutputWithContext ¶
func (i GetGatewayInstancesInstanceListArray) ToGetGatewayInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListArrayOutput
type GetGatewayInstancesInstanceListArrayInput ¶
type GetGatewayInstancesInstanceListArrayInput interface { pulumi.Input ToGetGatewayInstancesInstanceListArrayOutput() GetGatewayInstancesInstanceListArrayOutput ToGetGatewayInstancesInstanceListArrayOutputWithContext(context.Context) GetGatewayInstancesInstanceListArrayOutput }
GetGatewayInstancesInstanceListArrayInput is an input type that accepts GetGatewayInstancesInstanceListArray and GetGatewayInstancesInstanceListArrayOutput values. You can construct a concrete instance of `GetGatewayInstancesInstanceListArrayInput` via:
GetGatewayInstancesInstanceListArray{ GetGatewayInstancesInstanceListArgs{...} }
type GetGatewayInstancesInstanceListArrayOutput ¶
type GetGatewayInstancesInstanceListArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayInstancesInstanceListArrayOutput) ElementType ¶
func (GetGatewayInstancesInstanceListArrayOutput) ElementType() reflect.Type
func (GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutput ¶
func (o GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutput() GetGatewayInstancesInstanceListArrayOutput
func (GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutputWithContext ¶
func (o GetGatewayInstancesInstanceListArrayOutput) ToGetGatewayInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListArrayOutput
type GetGatewayInstancesInstanceListInput ¶
type GetGatewayInstancesInstanceListInput interface { pulumi.Input ToGetGatewayInstancesInstanceListOutput() GetGatewayInstancesInstanceListOutput ToGetGatewayInstancesInstanceListOutputWithContext(context.Context) GetGatewayInstancesInstanceListOutput }
GetGatewayInstancesInstanceListInput is an input type that accepts GetGatewayInstancesInstanceListArgs and GetGatewayInstancesInstanceListOutput values. You can construct a concrete instance of `GetGatewayInstancesInstanceListInput` via:
GetGatewayInstancesInstanceListArgs{...}
type GetGatewayInstancesInstanceListOutput ¶
type GetGatewayInstancesInstanceListOutput struct{ *pulumi.OutputState }
func (GetGatewayInstancesInstanceListOutput) CnnRouteType ¶
func (o GetGatewayInstancesInstanceListOutput) CnnRouteType() pulumi.StringOutput
Type of CCN route. Valid values: `BGP` and `STATIC`.
func (GetGatewayInstancesInstanceListOutput) CreateTime ¶
func (o GetGatewayInstancesInstanceListOutput) CreateTime() pulumi.StringOutput
Creation time of resource.
func (GetGatewayInstancesInstanceListOutput) DcgId ¶
func (o GetGatewayInstancesInstanceListOutput) DcgId() pulumi.StringOutput
ID of the DCG to be queried.
func (GetGatewayInstancesInstanceListOutput) DcgIp ¶
func (o GetGatewayInstancesInstanceListOutput) DcgIp() pulumi.StringOutput
IP of the DCG.
func (GetGatewayInstancesInstanceListOutput) ElementType ¶
func (GetGatewayInstancesInstanceListOutput) ElementType() reflect.Type
func (GetGatewayInstancesInstanceListOutput) EnableBgp ¶
func (o GetGatewayInstancesInstanceListOutput) EnableBgp() pulumi.BoolOutput
Indicates whether the BGP is enabled.
func (GetGatewayInstancesInstanceListOutput) GatewayType ¶
func (o GetGatewayInstancesInstanceListOutput) GatewayType() pulumi.StringOutput
Type of the gateway. Valid values: `NORMAL` and `NAT`. Default is `NORMAL`.
func (GetGatewayInstancesInstanceListOutput) Name ¶
func (o GetGatewayInstancesInstanceListOutput) Name() pulumi.StringOutput
Name of the DCG to be queried.
func (GetGatewayInstancesInstanceListOutput) NetworkInstanceId ¶
func (o GetGatewayInstancesInstanceListOutput) NetworkInstanceId() pulumi.StringOutput
Type of associated network. Valid values: `VPC` and `CCN`.
func (GetGatewayInstancesInstanceListOutput) NetworkType ¶
func (o GetGatewayInstancesInstanceListOutput) NetworkType() pulumi.StringOutput
IP of the DCG.
func (GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutput ¶
func (o GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutput() GetGatewayInstancesInstanceListOutput
func (GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutputWithContext ¶
func (o GetGatewayInstancesInstanceListOutput) ToGetGatewayInstancesInstanceListOutputWithContext(ctx context.Context) GetGatewayInstancesInstanceListOutput
type GetGatewayInstancesOutputArgs ¶
type GetGatewayInstancesOutputArgs struct { // ID of the DCG to be queried. DcgId pulumi.StringPtrInput `pulumi:"dcgId"` // Name of the DCG to be queried. Name pulumi.StringPtrInput `pulumi:"name"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getGatewayInstances.
func (GetGatewayInstancesOutputArgs) ElementType ¶
func (GetGatewayInstancesOutputArgs) ElementType() reflect.Type
type GetGatewayInstancesResult ¶
type GetGatewayInstancesResult struct { // ID of the DCG. DcgId *string `pulumi:"dcgId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Information list of the DCG. InstanceLists []GetGatewayInstancesInstanceList `pulumi:"instanceLists"` // Name of the DCG. Name *string `pulumi:"name"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getGatewayInstances.
func GetGatewayInstances ¶
func GetGatewayInstances(ctx *pulumi.Context, args *GetGatewayInstancesArgs, opts ...pulumi.InvokeOption) (*GetGatewayInstancesResult, error)
Use this data source to query detailed information of direct connect gateway instances.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ccn" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := Ccn.NewInstance(ctx, "main", &Ccn.InstanceArgs{ Description: pulumi.String("ci-temp-test-ccn-des"), Qos: pulumi.String("AG"), }) if err != nil { return err } ccnMain, err := Dc.NewGateway(ctx, "ccnMain", &Dc.GatewayArgs{ NetworkInstanceId: main.ID(), NetworkType: pulumi.String("CCN"), GatewayType: pulumi.String("NORMAL"), }) if err != nil { return err } _ = Dc.GetGatewayInstancesOutput(ctx, dc.GetGatewayInstancesOutputArgs{ Name: ccnMain.Name, }, nil) _ = Dc.GetGatewayInstancesOutput(ctx, dc.GetGatewayInstancesOutputArgs{ DcgId: ccnMain.ID(), }, nil) return nil }) }
```
type GetGatewayInstancesResultOutput ¶
type GetGatewayInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGatewayInstances.
func GetGatewayInstancesOutput ¶
func GetGatewayInstancesOutput(ctx *pulumi.Context, args GetGatewayInstancesOutputArgs, opts ...pulumi.InvokeOption) GetGatewayInstancesResultOutput
func (GetGatewayInstancesResultOutput) DcgId ¶
func (o GetGatewayInstancesResultOutput) DcgId() pulumi.StringPtrOutput
ID of the DCG.
func (GetGatewayInstancesResultOutput) ElementType ¶
func (GetGatewayInstancesResultOutput) ElementType() reflect.Type
func (GetGatewayInstancesResultOutput) Id ¶
func (o GetGatewayInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewayInstancesResultOutput) InstanceLists ¶
func (o GetGatewayInstancesResultOutput) InstanceLists() GetGatewayInstancesInstanceListArrayOutput
Information list of the DCG.
func (GetGatewayInstancesResultOutput) Name ¶
func (o GetGatewayInstancesResultOutput) Name() pulumi.StringPtrOutput
Name of the DCG.
func (GetGatewayInstancesResultOutput) ResultOutputFile ¶
func (o GetGatewayInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutput ¶
func (o GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutput() GetGatewayInstancesResultOutput
func (GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutputWithContext ¶
func (o GetGatewayInstancesResultOutput) ToGetGatewayInstancesResultOutputWithContext(ctx context.Context) GetGatewayInstancesResultOutput
type GetInstancesArgs ¶
type GetInstancesArgs struct { // ID of the DC to be queried. DcId *string `pulumi:"dcId"` // Name of the DC to be queried. Name *string `pulumi:"name"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getInstances.
type GetInstancesInstanceList ¶
type GetInstancesInstanceList struct { // Access point ID of tne DC. AccessPointId string `pulumi:"accessPointId"` // Bandwidth of the DC. Bandwidth int `pulumi:"bandwidth"` // The circuit code provided by the operator for the DC. CircuitCode string `pulumi:"circuitCode"` // Creation time of resource. CreateTime string `pulumi:"createTime"` // Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken. CustomerAddress string `pulumi:"customerAddress"` // Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken. CustomerEmail string `pulumi:"customerEmail"` // Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken. CustomerName string `pulumi:"customerName"` // Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken. CustomerPhone string `pulumi:"customerPhone"` // ID of the DC to be queried. DcId string `pulumi:"dcId"` // Enable time of resource. EnabledTime string `pulumi:"enabledTime"` // Expire date of resource. ExpiredTime string `pulumi:"expiredTime"` // Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken. FaultReportContactPerson string `pulumi:"faultReportContactPerson"` // Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken. FaultReportContactPhone string `pulumi:"faultReportContactPhone"` // Operator of the DC, and available values include `ChinaTelecom`, `ChinaMobile`, `ChinaUnicom`, `In-houseWiring`, `ChinaOther` and `InternationalOperator`. LineOperator string `pulumi:"lineOperator"` // The DC location where the connection is located. Location string `pulumi:"location"` // Name of the DC to be queried. Name string `pulumi:"name"` // Port type of the DC in client, and available values include `100Base-T`, `1000Base-T`, `1000Base-LX`, `10GBase-T` and `10GBase-LR`. The default value is `1000Base-LX`. PortType string `pulumi:"portType"` // ID of the redundant DC. RedundantDcId string `pulumi:"redundantDcId"` // State of the DC, and available values include `REJECTED`, `TOPAY`, `PAID`, `ALLOCATED`, `AVAILABLE`, `DELETING` and `DELETED`. State string `pulumi:"state"` // Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken. TencentAddress string `pulumi:"tencentAddress"` }
type GetInstancesInstanceListArgs ¶
type GetInstancesInstanceListArgs struct { // Access point ID of tne DC. AccessPointId pulumi.StringInput `pulumi:"accessPointId"` // Bandwidth of the DC. Bandwidth pulumi.IntInput `pulumi:"bandwidth"` // The circuit code provided by the operator for the DC. CircuitCode pulumi.StringInput `pulumi:"circuitCode"` // Creation time of resource. CreateTime pulumi.StringInput `pulumi:"createTime"` // Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken. CustomerAddress pulumi.StringInput `pulumi:"customerAddress"` // Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken. CustomerEmail pulumi.StringInput `pulumi:"customerEmail"` // Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken. CustomerName pulumi.StringInput `pulumi:"customerName"` // Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken. CustomerPhone pulumi.StringInput `pulumi:"customerPhone"` // ID of the DC to be queried. DcId pulumi.StringInput `pulumi:"dcId"` // Enable time of resource. EnabledTime pulumi.StringInput `pulumi:"enabledTime"` // Expire date of resource. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken. FaultReportContactPerson pulumi.StringInput `pulumi:"faultReportContactPerson"` // Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken. FaultReportContactPhone pulumi.StringInput `pulumi:"faultReportContactPhone"` // Operator of the DC, and available values include `ChinaTelecom`, `ChinaMobile`, `ChinaUnicom`, `In-houseWiring`, `ChinaOther` and `InternationalOperator`. LineOperator pulumi.StringInput `pulumi:"lineOperator"` // The DC location where the connection is located. Location pulumi.StringInput `pulumi:"location"` // Name of the DC to be queried. Name pulumi.StringInput `pulumi:"name"` // Port type of the DC in client, and available values include `100Base-T`, `1000Base-T`, `1000Base-LX`, `10GBase-T` and `10GBase-LR`. The default value is `1000Base-LX`. PortType pulumi.StringInput `pulumi:"portType"` // ID of the redundant DC. RedundantDcId pulumi.StringInput `pulumi:"redundantDcId"` // State of the DC, and available values include `REJECTED`, `TOPAY`, `PAID`, `ALLOCATED`, `AVAILABLE`, `DELETING` and `DELETED`. State pulumi.StringInput `pulumi:"state"` // Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken. TencentAddress pulumi.StringInput `pulumi:"tencentAddress"` }
func (GetInstancesInstanceListArgs) ElementType ¶
func (GetInstancesInstanceListArgs) ElementType() reflect.Type
func (GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutput ¶
func (i GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput
func (GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutputWithContext ¶
func (i GetInstancesInstanceListArgs) ToGetInstancesInstanceListOutputWithContext(ctx context.Context) GetInstancesInstanceListOutput
type GetInstancesInstanceListArray ¶
type GetInstancesInstanceListArray []GetInstancesInstanceListInput
func (GetInstancesInstanceListArray) ElementType ¶
func (GetInstancesInstanceListArray) ElementType() reflect.Type
func (GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutput ¶
func (i GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput
func (GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutputWithContext ¶
func (i GetInstancesInstanceListArray) ToGetInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceListArrayOutput
type GetInstancesInstanceListArrayInput ¶
type GetInstancesInstanceListArrayInput interface { pulumi.Input ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput ToGetInstancesInstanceListArrayOutputWithContext(context.Context) GetInstancesInstanceListArrayOutput }
GetInstancesInstanceListArrayInput is an input type that accepts GetInstancesInstanceListArray and GetInstancesInstanceListArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceListArrayInput` via:
GetInstancesInstanceListArray{ GetInstancesInstanceListArgs{...} }
type GetInstancesInstanceListArrayOutput ¶
type GetInstancesInstanceListArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceListArrayOutput) ElementType ¶
func (GetInstancesInstanceListArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceListArrayOutput) Index ¶
func (o GetInstancesInstanceListArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceListOutput
func (GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutput ¶
func (o GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutput() GetInstancesInstanceListArrayOutput
func (GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutputWithContext ¶
func (o GetInstancesInstanceListArrayOutput) ToGetInstancesInstanceListArrayOutputWithContext(ctx context.Context) GetInstancesInstanceListArrayOutput
type GetInstancesInstanceListInput ¶
type GetInstancesInstanceListInput interface { pulumi.Input ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput ToGetInstancesInstanceListOutputWithContext(context.Context) GetInstancesInstanceListOutput }
GetInstancesInstanceListInput is an input type that accepts GetInstancesInstanceListArgs and GetInstancesInstanceListOutput values. You can construct a concrete instance of `GetInstancesInstanceListInput` via:
GetInstancesInstanceListArgs{...}
type GetInstancesInstanceListOutput ¶
type GetInstancesInstanceListOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceListOutput) AccessPointId ¶
func (o GetInstancesInstanceListOutput) AccessPointId() pulumi.StringOutput
Access point ID of tne DC.
func (GetInstancesInstanceListOutput) Bandwidth ¶
func (o GetInstancesInstanceListOutput) Bandwidth() pulumi.IntOutput
Bandwidth of the DC.
func (GetInstancesInstanceListOutput) CircuitCode ¶
func (o GetInstancesInstanceListOutput) CircuitCode() pulumi.StringOutput
The circuit code provided by the operator for the DC.
func (GetInstancesInstanceListOutput) CreateTime ¶
func (o GetInstancesInstanceListOutput) CreateTime() pulumi.StringOutput
Creation time of resource.
func (GetInstancesInstanceListOutput) CustomerAddress ¶
func (o GetInstancesInstanceListOutput) CustomerAddress() pulumi.StringOutput
Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
func (GetInstancesInstanceListOutput) CustomerEmail ¶
func (o GetInstancesInstanceListOutput) CustomerEmail() pulumi.StringOutput
Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
func (GetInstancesInstanceListOutput) CustomerName ¶
func (o GetInstancesInstanceListOutput) CustomerName() pulumi.StringOutput
Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
func (GetInstancesInstanceListOutput) CustomerPhone ¶
func (o GetInstancesInstanceListOutput) CustomerPhone() pulumi.StringOutput
Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
func (GetInstancesInstanceListOutput) DcId ¶
func (o GetInstancesInstanceListOutput) DcId() pulumi.StringOutput
ID of the DC to be queried.
func (GetInstancesInstanceListOutput) ElementType ¶
func (GetInstancesInstanceListOutput) ElementType() reflect.Type
func (GetInstancesInstanceListOutput) EnabledTime ¶
func (o GetInstancesInstanceListOutput) EnabledTime() pulumi.StringOutput
Enable time of resource.
func (GetInstancesInstanceListOutput) ExpiredTime ¶
func (o GetInstancesInstanceListOutput) ExpiredTime() pulumi.StringOutput
Expire date of resource.
func (GetInstancesInstanceListOutput) FaultReportContactPerson ¶
func (o GetInstancesInstanceListOutput) FaultReportContactPerson() pulumi.StringOutput
Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
func (GetInstancesInstanceListOutput) FaultReportContactPhone ¶
func (o GetInstancesInstanceListOutput) FaultReportContactPhone() pulumi.StringOutput
Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
func (GetInstancesInstanceListOutput) LineOperator ¶
func (o GetInstancesInstanceListOutput) LineOperator() pulumi.StringOutput
Operator of the DC, and available values include `ChinaTelecom`, `ChinaMobile`, `ChinaUnicom`, `In-houseWiring`, `ChinaOther` and `InternationalOperator`.
func (GetInstancesInstanceListOutput) Location ¶
func (o GetInstancesInstanceListOutput) Location() pulumi.StringOutput
The DC location where the connection is located.
func (GetInstancesInstanceListOutput) Name ¶
func (o GetInstancesInstanceListOutput) Name() pulumi.StringOutput
Name of the DC to be queried.
func (GetInstancesInstanceListOutput) PortType ¶
func (o GetInstancesInstanceListOutput) PortType() pulumi.StringOutput
Port type of the DC in client, and available values include `100Base-T`, `1000Base-T`, `1000Base-LX`, `10GBase-T` and `10GBase-LR`. The default value is `1000Base-LX`.
func (GetInstancesInstanceListOutput) RedundantDcId ¶
func (o GetInstancesInstanceListOutput) RedundantDcId() pulumi.StringOutput
ID of the redundant DC.
func (GetInstancesInstanceListOutput) State ¶
func (o GetInstancesInstanceListOutput) State() pulumi.StringOutput
State of the DC, and available values include `REJECTED`, `TOPAY`, `PAID`, `ALLOCATED`, `AVAILABLE`, `DELETING` and `DELETED`.
func (GetInstancesInstanceListOutput) TencentAddress ¶
func (o GetInstancesInstanceListOutput) TencentAddress() pulumi.StringOutput
Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput ¶
func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput
func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext ¶
func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext(ctx context.Context) GetInstancesInstanceListOutput
type GetInstancesOutputArgs ¶
type GetInstancesOutputArgs struct { // ID of the DC to be queried. DcId pulumi.StringPtrInput `pulumi:"dcId"` // Name of the DC to be queried. Name pulumi.StringPtrInput `pulumi:"name"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶
type GetInstancesResult struct { // ID of the DC. DcId *string `pulumi:"dcId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Information list of the DC. InstanceLists []GetInstancesInstanceList `pulumi:"instanceLists"` // Name of the DC. Name *string `pulumi:"name"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
Use this data source to query detailed information of DC instances.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.GetInstances(ctx, &dc.GetInstancesArgs{ Name: pulumi.StringRef("t"), }, nil) if err != nil { return err } _, err = Dc.GetInstances(ctx, &dc.GetInstancesArgs{ DcxId: "dc-kax48sg7", }, nil) if err != nil { return err } return nil }) }
```
type GetInstancesResultOutput ¶
type GetInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstances.
func GetInstancesOutput ¶
func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput
func (GetInstancesResultOutput) DcId ¶
func (o GetInstancesResultOutput) DcId() pulumi.StringPtrOutput
ID of the DC.
func (GetInstancesResultOutput) ElementType ¶
func (GetInstancesResultOutput) ElementType() reflect.Type
func (GetInstancesResultOutput) Id ¶
func (o GetInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstancesResultOutput) InstanceLists ¶
func (o GetInstancesResultOutput) InstanceLists() GetInstancesInstanceListArrayOutput
Information list of the DC.
func (GetInstancesResultOutput) Name ¶
func (o GetInstancesResultOutput) Name() pulumi.StringPtrOutput
Name of the DC.
func (GetInstancesResultOutput) ResultOutputFile ¶
func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
type GetInternetAddressQuotaArgs ¶ added in v0.1.5
type GetInternetAddressQuotaArgs struct { // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getInternetAddressQuota.
type GetInternetAddressQuotaOutputArgs ¶ added in v0.1.5
type GetInternetAddressQuotaOutputArgs struct { // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getInternetAddressQuota.
func (GetInternetAddressQuotaOutputArgs) ElementType ¶ added in v0.1.5
func (GetInternetAddressQuotaOutputArgs) ElementType() reflect.Type
type GetInternetAddressQuotaResult ¶ added in v0.1.5
type GetInternetAddressQuotaResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Number of used BGP type IPv4 Internet addresses. Ipv4BgpNum int `pulumi:"ipv4BgpNum"` // BGP type IPv4 Internet address quota. Ipv4BgpQuota int `pulumi:"ipv4BgpQuota"` // The number of non-BGP Internet addresses used. Ipv4OtherNum int `pulumi:"ipv4OtherNum"` // Non-BGP type IPv4 Internet address quota. Ipv4OtherQuota int `pulumi:"ipv4OtherQuota"` // The minimum prefix length allowed on the IPv6 Internet public network. Ipv6PrefixLen int `pulumi:"ipv6PrefixLen"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getInternetAddressQuota.
func GetInternetAddressQuota ¶ added in v0.1.5
func GetInternetAddressQuota(ctx *pulumi.Context, args *GetInternetAddressQuotaArgs, opts ...pulumi.InvokeOption) (*GetInternetAddressQuotaResult, error)
Use this data source to query detailed information of dc internetAddressQuota
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.GetInternetAddressQuota(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetInternetAddressQuotaResultOutput ¶ added in v0.1.5
type GetInternetAddressQuotaResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInternetAddressQuota.
func GetInternetAddressQuotaOutput ¶ added in v0.1.5
func GetInternetAddressQuotaOutput(ctx *pulumi.Context, args GetInternetAddressQuotaOutputArgs, opts ...pulumi.InvokeOption) GetInternetAddressQuotaResultOutput
func (GetInternetAddressQuotaResultOutput) ElementType ¶ added in v0.1.5
func (GetInternetAddressQuotaResultOutput) ElementType() reflect.Type
func (GetInternetAddressQuotaResultOutput) Id ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInternetAddressQuotaResultOutput) Ipv4BgpNum ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) Ipv4BgpNum() pulumi.IntOutput
Number of used BGP type IPv4 Internet addresses.
func (GetInternetAddressQuotaResultOutput) Ipv4BgpQuota ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) Ipv4BgpQuota() pulumi.IntOutput
BGP type IPv4 Internet address quota.
func (GetInternetAddressQuotaResultOutput) Ipv4OtherNum ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) Ipv4OtherNum() pulumi.IntOutput
The number of non-BGP Internet addresses used.
func (GetInternetAddressQuotaResultOutput) Ipv4OtherQuota ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) Ipv4OtherQuota() pulumi.IntOutput
Non-BGP type IPv4 Internet address quota.
func (GetInternetAddressQuotaResultOutput) Ipv6PrefixLen ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) Ipv6PrefixLen() pulumi.IntOutput
The minimum prefix length allowed on the IPv6 Internet public network.
func (GetInternetAddressQuotaResultOutput) ResultOutputFile ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutput ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutput() GetInternetAddressQuotaResultOutput
func (GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutputWithContext ¶ added in v0.1.5
func (o GetInternetAddressQuotaResultOutput) ToGetInternetAddressQuotaResultOutputWithContext(ctx context.Context) GetInternetAddressQuotaResultOutput
type GetInternetAddressStatisticsArgs ¶ added in v0.1.5
type GetInternetAddressStatisticsArgs struct { // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getInternetAddressStatistics.
type GetInternetAddressStatisticsInternetAddressStatistic ¶ added in v0.1.5
type GetInternetAddressStatisticsInternetAddressStatisticArgs ¶ added in v0.1.5
type GetInternetAddressStatisticsInternetAddressStatisticArgs struct { // region. Region pulumi.StringInput `pulumi:"region"` // Number of Internet public network addresses. SubnetNum pulumi.IntInput `pulumi:"subnetNum"` }
func (GetInternetAddressStatisticsInternetAddressStatisticArgs) ElementType ¶ added in v0.1.5
func (GetInternetAddressStatisticsInternetAddressStatisticArgs) ElementType() reflect.Type
func (GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutput ¶ added in v0.1.5
func (i GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutput() GetInternetAddressStatisticsInternetAddressStatisticOutput
func (GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext ¶ added in v0.1.5
func (i GetInternetAddressStatisticsInternetAddressStatisticArgs) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticOutput
type GetInternetAddressStatisticsInternetAddressStatisticArray ¶ added in v0.1.5
type GetInternetAddressStatisticsInternetAddressStatisticArray []GetInternetAddressStatisticsInternetAddressStatisticInput
func (GetInternetAddressStatisticsInternetAddressStatisticArray) ElementType ¶ added in v0.1.5
func (GetInternetAddressStatisticsInternetAddressStatisticArray) ElementType() reflect.Type
func (GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput ¶ added in v0.1.5
func (i GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
func (GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext ¶ added in v0.1.5
func (i GetInternetAddressStatisticsInternetAddressStatisticArray) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
type GetInternetAddressStatisticsInternetAddressStatisticArrayInput ¶ added in v0.1.5
type GetInternetAddressStatisticsInternetAddressStatisticArrayInput interface { pulumi.Input ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext(context.Context) GetInternetAddressStatisticsInternetAddressStatisticArrayOutput }
GetInternetAddressStatisticsInternetAddressStatisticArrayInput is an input type that accepts GetInternetAddressStatisticsInternetAddressStatisticArray and GetInternetAddressStatisticsInternetAddressStatisticArrayOutput values. You can construct a concrete instance of `GetInternetAddressStatisticsInternetAddressStatisticArrayInput` via:
GetInternetAddressStatisticsInternetAddressStatisticArray{ GetInternetAddressStatisticsInternetAddressStatisticArgs{...} }
type GetInternetAddressStatisticsInternetAddressStatisticArrayOutput ¶ added in v0.1.5
type GetInternetAddressStatisticsInternetAddressStatisticArrayOutput struct{ *pulumi.OutputState }
func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ElementType ¶ added in v0.1.5
func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ElementType() reflect.Type
func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput ¶ added in v0.1.5
func (o GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutput() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
func (GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext ¶ added in v0.1.5
func (o GetInternetAddressStatisticsInternetAddressStatisticArrayOutput) ToGetInternetAddressStatisticsInternetAddressStatisticArrayOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
type GetInternetAddressStatisticsInternetAddressStatisticInput ¶ added in v0.1.5
type GetInternetAddressStatisticsInternetAddressStatisticInput interface { pulumi.Input ToGetInternetAddressStatisticsInternetAddressStatisticOutput() GetInternetAddressStatisticsInternetAddressStatisticOutput ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext(context.Context) GetInternetAddressStatisticsInternetAddressStatisticOutput }
GetInternetAddressStatisticsInternetAddressStatisticInput is an input type that accepts GetInternetAddressStatisticsInternetAddressStatisticArgs and GetInternetAddressStatisticsInternetAddressStatisticOutput values. You can construct a concrete instance of `GetInternetAddressStatisticsInternetAddressStatisticInput` via:
GetInternetAddressStatisticsInternetAddressStatisticArgs{...}
type GetInternetAddressStatisticsInternetAddressStatisticOutput ¶ added in v0.1.5
type GetInternetAddressStatisticsInternetAddressStatisticOutput struct{ *pulumi.OutputState }
func (GetInternetAddressStatisticsInternetAddressStatisticOutput) ElementType ¶ added in v0.1.5
func (GetInternetAddressStatisticsInternetAddressStatisticOutput) ElementType() reflect.Type
func (GetInternetAddressStatisticsInternetAddressStatisticOutput) Region ¶ added in v0.1.5
func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) Region() pulumi.StringOutput
region.
func (GetInternetAddressStatisticsInternetAddressStatisticOutput) SubnetNum ¶ added in v0.1.5
func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) SubnetNum() pulumi.IntOutput
Number of Internet public network addresses.
func (GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutput ¶ added in v0.1.5
func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutput() GetInternetAddressStatisticsInternetAddressStatisticOutput
func (GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext ¶ added in v0.1.5
func (o GetInternetAddressStatisticsInternetAddressStatisticOutput) ToGetInternetAddressStatisticsInternetAddressStatisticOutputWithContext(ctx context.Context) GetInternetAddressStatisticsInternetAddressStatisticOutput
type GetInternetAddressStatisticsOutputArgs ¶ added in v0.1.5
type GetInternetAddressStatisticsOutputArgs struct { // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getInternetAddressStatistics.
func (GetInternetAddressStatisticsOutputArgs) ElementType ¶ added in v0.1.5
func (GetInternetAddressStatisticsOutputArgs) ElementType() reflect.Type
type GetInternetAddressStatisticsResult ¶ added in v0.1.5
type GetInternetAddressStatisticsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Statistical Information List of Internet Public Network Addresses. InternetAddressStatistics []GetInternetAddressStatisticsInternetAddressStatistic `pulumi:"internetAddressStatistics"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getInternetAddressStatistics.
func GetInternetAddressStatistics ¶ added in v0.1.5
func GetInternetAddressStatistics(ctx *pulumi.Context, args *GetInternetAddressStatisticsArgs, opts ...pulumi.InvokeOption) (*GetInternetAddressStatisticsResult, error)
Use this data source to query detailed information of dc internetAddressStatistics
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.GetInternetAddressStatistics(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetInternetAddressStatisticsResultOutput ¶ added in v0.1.5
type GetInternetAddressStatisticsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInternetAddressStatistics.
func GetInternetAddressStatisticsOutput ¶ added in v0.1.5
func GetInternetAddressStatisticsOutput(ctx *pulumi.Context, args GetInternetAddressStatisticsOutputArgs, opts ...pulumi.InvokeOption) GetInternetAddressStatisticsResultOutput
func (GetInternetAddressStatisticsResultOutput) ElementType ¶ added in v0.1.5
func (GetInternetAddressStatisticsResultOutput) ElementType() reflect.Type
func (GetInternetAddressStatisticsResultOutput) Id ¶ added in v0.1.5
func (o GetInternetAddressStatisticsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInternetAddressStatisticsResultOutput) InternetAddressStatistics ¶ added in v0.1.5
func (o GetInternetAddressStatisticsResultOutput) InternetAddressStatistics() GetInternetAddressStatisticsInternetAddressStatisticArrayOutput
Statistical Information List of Internet Public Network Addresses.
func (GetInternetAddressStatisticsResultOutput) ResultOutputFile ¶ added in v0.1.5
func (o GetInternetAddressStatisticsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutput ¶ added in v0.1.5
func (o GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutput() GetInternetAddressStatisticsResultOutput
func (GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutputWithContext ¶ added in v0.1.5
func (o GetInternetAddressStatisticsResultOutput) ToGetInternetAddressStatisticsResultOutputWithContext(ctx context.Context) GetInternetAddressStatisticsResultOutput
type GetPublicDirectConnectTunnelRoutesArgs ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesArgs struct { // direct connect tunnel id. DirectConnectTunnelId string `pulumi:"directConnectTunnelId"` // filter condition: route-type: route type, value: BGP/STATIC route-subnet: route cidr, value such as: 192.68.1.0/24. Filters []GetPublicDirectConnectTunnelRoutesFilter `pulumi:"filters"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getPublicDirectConnectTunnelRoutes.
type GetPublicDirectConnectTunnelRoutesFilter ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesFilterArgs ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesFilterArgs struct { // Fields to be filtered. Name pulumi.StringInput `pulumi:"name"` // filter value of the field. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetPublicDirectConnectTunnelRoutesFilterArgs) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesFilterArgs) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutput ¶ added in v0.1.5
func (i GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutput() GetPublicDirectConnectTunnelRoutesFilterOutput
func (GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext ¶ added in v0.1.5
func (i GetPublicDirectConnectTunnelRoutesFilterArgs) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterOutput
type GetPublicDirectConnectTunnelRoutesFilterArray ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesFilterArray []GetPublicDirectConnectTunnelRoutesFilterInput
func (GetPublicDirectConnectTunnelRoutesFilterArray) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesFilterArray) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput ¶ added in v0.1.5
func (i GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput() GetPublicDirectConnectTunnelRoutesFilterArrayOutput
func (GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext ¶ added in v0.1.5
func (i GetPublicDirectConnectTunnelRoutesFilterArray) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterArrayOutput
type GetPublicDirectConnectTunnelRoutesFilterArrayInput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesFilterArrayInput interface { pulumi.Input ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput() GetPublicDirectConnectTunnelRoutesFilterArrayOutput ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext(context.Context) GetPublicDirectConnectTunnelRoutesFilterArrayOutput }
GetPublicDirectConnectTunnelRoutesFilterArrayInput is an input type that accepts GetPublicDirectConnectTunnelRoutesFilterArray and GetPublicDirectConnectTunnelRoutesFilterArrayOutput values. You can construct a concrete instance of `GetPublicDirectConnectTunnelRoutesFilterArrayInput` via:
GetPublicDirectConnectTunnelRoutesFilterArray{ GetPublicDirectConnectTunnelRoutesFilterArgs{...} }
type GetPublicDirectConnectTunnelRoutesFilterArrayOutput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutput() GetPublicDirectConnectTunnelRoutesFilterArrayOutput
func (GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesFilterArrayOutput) ToGetPublicDirectConnectTunnelRoutesFilterArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterArrayOutput
type GetPublicDirectConnectTunnelRoutesFilterInput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesFilterInput interface { pulumi.Input ToGetPublicDirectConnectTunnelRoutesFilterOutput() GetPublicDirectConnectTunnelRoutesFilterOutput ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext(context.Context) GetPublicDirectConnectTunnelRoutesFilterOutput }
GetPublicDirectConnectTunnelRoutesFilterInput is an input type that accepts GetPublicDirectConnectTunnelRoutesFilterArgs and GetPublicDirectConnectTunnelRoutesFilterOutput values. You can construct a concrete instance of `GetPublicDirectConnectTunnelRoutesFilterInput` via:
GetPublicDirectConnectTunnelRoutesFilterArgs{...}
type GetPublicDirectConnectTunnelRoutesFilterOutput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesFilterOutput struct{ *pulumi.OutputState }
func (GetPublicDirectConnectTunnelRoutesFilterOutput) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesFilterOutput) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesFilterOutput) Name ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesFilterOutput) Name() pulumi.StringOutput
Fields to be filtered.
func (GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutput ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutput() GetPublicDirectConnectTunnelRoutesFilterOutput
func (GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesFilterOutput) ToGetPublicDirectConnectTunnelRoutesFilterOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesFilterOutput
func (GetPublicDirectConnectTunnelRoutesFilterOutput) Values ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesFilterOutput) Values() pulumi.StringArrayOutput
filter value of the field.
type GetPublicDirectConnectTunnelRoutesOutputArgs ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesOutputArgs struct { // direct connect tunnel id. DirectConnectTunnelId pulumi.StringInput `pulumi:"directConnectTunnelId"` // filter condition: route-type: route type, value: BGP/STATIC route-subnet: route cidr, value such as: 192.68.1.0/24. Filters GetPublicDirectConnectTunnelRoutesFilterArrayInput `pulumi:"filters"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getPublicDirectConnectTunnelRoutes.
func (GetPublicDirectConnectTunnelRoutesOutputArgs) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesOutputArgs) ElementType() reflect.Type
type GetPublicDirectConnectTunnelRoutesResult ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesResult struct { DirectConnectTunnelId string `pulumi:"directConnectTunnelId"` Filters []GetPublicDirectConnectTunnelRoutesFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ResultOutputFile *string `pulumi:"resultOutputFile"` // Internet tunnel route list. Routes []GetPublicDirectConnectTunnelRoutesRoute `pulumi:"routes"` }
A collection of values returned by getPublicDirectConnectTunnelRoutes.
func GetPublicDirectConnectTunnelRoutes ¶ added in v0.1.5
func GetPublicDirectConnectTunnelRoutes(ctx *pulumi.Context, args *GetPublicDirectConnectTunnelRoutesArgs, opts ...pulumi.InvokeOption) (*GetPublicDirectConnectTunnelRoutesResult, error)
Use this data source to query detailed information of dc publicDirectConnectTunnelRoutes
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.GetPublicDirectConnectTunnelRoutes(ctx, &dc.GetPublicDirectConnectTunnelRoutesArgs{ DirectConnectTunnelId: "dcx-4z49tnws", }, nil) if err != nil { return err } return nil }) }
```
type GetPublicDirectConnectTunnelRoutesResultOutput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPublicDirectConnectTunnelRoutes.
func GetPublicDirectConnectTunnelRoutesOutput ¶ added in v0.1.5
func GetPublicDirectConnectTunnelRoutesOutput(ctx *pulumi.Context, args GetPublicDirectConnectTunnelRoutesOutputArgs, opts ...pulumi.InvokeOption) GetPublicDirectConnectTunnelRoutesResultOutput
func (GetPublicDirectConnectTunnelRoutesResultOutput) DirectConnectTunnelId ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesResultOutput) DirectConnectTunnelId() pulumi.StringOutput
func (GetPublicDirectConnectTunnelRoutesResultOutput) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesResultOutput) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesResultOutput) Id ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPublicDirectConnectTunnelRoutesResultOutput) ResultOutputFile ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetPublicDirectConnectTunnelRoutesResultOutput) Routes ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesResultOutput) Routes() GetPublicDirectConnectTunnelRoutesRouteArrayOutput
Internet tunnel route list.
func (GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutput ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutput() GetPublicDirectConnectTunnelRoutesResultOutput
func (GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutputWithContext ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesResultOutput) ToGetPublicDirectConnectTunnelRoutesResultOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesResultOutput
type GetPublicDirectConnectTunnelRoutesRoute ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesRoute struct { // ASPath info. AsPaths []string `pulumi:"asPaths"` // Network CIDR. DestinationCidrBlock string `pulumi:"destinationCidrBlock"` // Route next hop ip. NextHop string `pulumi:"nextHop"` // direct connect tunnel route id. RouteId string `pulumi:"routeId"` // Route type: BGP/STATIC route. RouteType string `pulumi:"routeType"` // ENABLE: routing is enabled, DISABLE: routing is disabled. Status string `pulumi:"status"` }
type GetPublicDirectConnectTunnelRoutesRouteArgs ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesRouteArgs struct { // ASPath info. AsPaths pulumi.StringArrayInput `pulumi:"asPaths"` // Network CIDR. DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"` // Route next hop ip. NextHop pulumi.StringInput `pulumi:"nextHop"` // direct connect tunnel route id. RouteId pulumi.StringInput `pulumi:"routeId"` // Route type: BGP/STATIC route. RouteType pulumi.StringInput `pulumi:"routeType"` // ENABLE: routing is enabled, DISABLE: routing is disabled. Status pulumi.StringInput `pulumi:"status"` }
func (GetPublicDirectConnectTunnelRoutesRouteArgs) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesRouteArgs) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutput ¶ added in v0.1.5
func (i GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutput() GetPublicDirectConnectTunnelRoutesRouteOutput
func (GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext ¶ added in v0.1.5
func (i GetPublicDirectConnectTunnelRoutesRouteArgs) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteOutput
type GetPublicDirectConnectTunnelRoutesRouteArray ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesRouteArray []GetPublicDirectConnectTunnelRoutesRouteInput
func (GetPublicDirectConnectTunnelRoutesRouteArray) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesRouteArray) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput ¶ added in v0.1.5
func (i GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput() GetPublicDirectConnectTunnelRoutesRouteArrayOutput
func (GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext ¶ added in v0.1.5
func (i GetPublicDirectConnectTunnelRoutesRouteArray) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteArrayOutput
type GetPublicDirectConnectTunnelRoutesRouteArrayInput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesRouteArrayInput interface { pulumi.Input ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput() GetPublicDirectConnectTunnelRoutesRouteArrayOutput ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext(context.Context) GetPublicDirectConnectTunnelRoutesRouteArrayOutput }
GetPublicDirectConnectTunnelRoutesRouteArrayInput is an input type that accepts GetPublicDirectConnectTunnelRoutesRouteArray and GetPublicDirectConnectTunnelRoutesRouteArrayOutput values. You can construct a concrete instance of `GetPublicDirectConnectTunnelRoutesRouteArrayInput` via:
GetPublicDirectConnectTunnelRoutesRouteArray{ GetPublicDirectConnectTunnelRoutesRouteArgs{...} }
type GetPublicDirectConnectTunnelRoutesRouteArrayOutput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesRouteArrayOutput struct{ *pulumi.OutputState }
func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutput() GetPublicDirectConnectTunnelRoutesRouteArrayOutput
func (GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteArrayOutput) ToGetPublicDirectConnectTunnelRoutesRouteArrayOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteArrayOutput
type GetPublicDirectConnectTunnelRoutesRouteInput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesRouteInput interface { pulumi.Input ToGetPublicDirectConnectTunnelRoutesRouteOutput() GetPublicDirectConnectTunnelRoutesRouteOutput ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext(context.Context) GetPublicDirectConnectTunnelRoutesRouteOutput }
GetPublicDirectConnectTunnelRoutesRouteInput is an input type that accepts GetPublicDirectConnectTunnelRoutesRouteArgs and GetPublicDirectConnectTunnelRoutesRouteOutput values. You can construct a concrete instance of `GetPublicDirectConnectTunnelRoutesRouteInput` via:
GetPublicDirectConnectTunnelRoutesRouteArgs{...}
type GetPublicDirectConnectTunnelRoutesRouteOutput ¶ added in v0.1.5
type GetPublicDirectConnectTunnelRoutesRouteOutput struct{ *pulumi.OutputState }
func (GetPublicDirectConnectTunnelRoutesRouteOutput) AsPaths ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteOutput) AsPaths() pulumi.StringArrayOutput
ASPath info.
func (GetPublicDirectConnectTunnelRoutesRouteOutput) DestinationCidrBlock ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteOutput) DestinationCidrBlock() pulumi.StringOutput
Network CIDR.
func (GetPublicDirectConnectTunnelRoutesRouteOutput) ElementType ¶ added in v0.1.5
func (GetPublicDirectConnectTunnelRoutesRouteOutput) ElementType() reflect.Type
func (GetPublicDirectConnectTunnelRoutesRouteOutput) NextHop ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteOutput) NextHop() pulumi.StringOutput
Route next hop ip.
func (GetPublicDirectConnectTunnelRoutesRouteOutput) RouteId ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteOutput) RouteId() pulumi.StringOutput
direct connect tunnel route id.
func (GetPublicDirectConnectTunnelRoutesRouteOutput) RouteType ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteOutput) RouteType() pulumi.StringOutput
Route type: BGP/STATIC route.
func (GetPublicDirectConnectTunnelRoutesRouteOutput) Status ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteOutput) Status() pulumi.StringOutput
ENABLE: routing is enabled, DISABLE: routing is disabled.
func (GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutput ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutput() GetPublicDirectConnectTunnelRoutesRouteOutput
func (GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext ¶ added in v0.1.5
func (o GetPublicDirectConnectTunnelRoutesRouteOutput) ToGetPublicDirectConnectTunnelRoutesRouteOutputWithContext(ctx context.Context) GetPublicDirectConnectTunnelRoutesRouteOutput
type Instance ¶ added in v0.1.5
type Instance struct { pulumi.CustomResourceState // Access point of connection.You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available. AccessPointId pulumi.StringOutput `pulumi:"accessPointId"` // Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000. Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"` // Circuit code of a connection, which is provided by the ISP or connection provider. CircuitCode pulumi.StringPtrOutput `pulumi:"circuitCode"` // User-side IP address for connection debugging, which is automatically assigned by default. CustomerAddress pulumi.StringPtrOutput `pulumi:"customerAddress"` // Email address of connection applicant, which is obtained from the account system by default. CustomerContactMail pulumi.StringPtrOutput `pulumi:"customerContactMail"` // Contact number of connection applicant, which is obtained from the account system by default. CustomerContactNumber pulumi.StringPtrOutput `pulumi:"customerContactNumber"` // Name of connection applicant, which is obtained from the account system by default. CustomerName pulumi.StringPtrOutput `pulumi:"customerName"` // Connection name. DirectConnectName pulumi.StringOutput `pulumi:"directConnectName"` // Fault reporting contact number. FaultReportContactNumber pulumi.StringPtrOutput `pulumi:"faultReportContactNumber"` // Fault reporting contact person. FaultReportContactPerson pulumi.StringPtrOutput `pulumi:"faultReportContactPerson"` // ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs). LineOperator pulumi.StringOutput `pulumi:"lineOperator"` // Local IDC location. Location pulumi.StringPtrOutput `pulumi:"location"` // Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX. PortType pulumi.StringOutput `pulumi:"portType"` // ID of redundant connection. RedundantDirectConnectId pulumi.StringPtrOutput `pulumi:"redundantDirectConnectId"` // Whether the connection applicant has signed the service agreement. Default value: true. SignLaw pulumi.BoolPtrOutput `pulumi:"signLaw"` // Tencent-side IP address for connection debugging, which is automatically assigned by default. TencentAddress pulumi.StringPtrOutput `pulumi:"tencentAddress"` // VLAN for connection debugging, which is enabled and automatically assigned by default. Vlan pulumi.IntPtrOutput `pulumi:"vlan"` }
Provides a resource to create a dc instance
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.NewInstance(ctx, "instance", &Dc.InstanceArgs{ AccessPointId: pulumi.String("ap-shenzhen-b-ft"), Bandwidth: pulumi.Int(10), CustomerContactNumber: pulumi.String("0"), DirectConnectName: pulumi.String("terraform-for-test"), LineOperator: pulumi.String("In-houseWiring"), PortType: pulumi.String("10GBase-LR"), SignLaw: pulumi.Bool(true), Vlan: -1, }) if err != nil { return err } return nil }) }
```
## Import
dc instance can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dc/instance:Instance instance dc_id
```
func GetInstance ¶ added in v0.1.5
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 ¶ added in v0.1.5
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.
func (*Instance) ElementType ¶ added in v0.1.5
func (*Instance) ToInstanceOutput ¶ added in v0.1.5
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶ added in v0.1.5
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶ added in v0.1.5
type InstanceArgs struct { // Access point of connection.You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available. AccessPointId pulumi.StringInput // Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000. Bandwidth pulumi.IntPtrInput // Circuit code of a connection, which is provided by the ISP or connection provider. CircuitCode pulumi.StringPtrInput // User-side IP address for connection debugging, which is automatically assigned by default. CustomerAddress pulumi.StringPtrInput // Email address of connection applicant, which is obtained from the account system by default. CustomerContactMail pulumi.StringPtrInput // Contact number of connection applicant, which is obtained from the account system by default. CustomerContactNumber pulumi.StringPtrInput // Name of connection applicant, which is obtained from the account system by default. CustomerName pulumi.StringPtrInput // Connection name. DirectConnectName pulumi.StringInput // Fault reporting contact number. FaultReportContactNumber pulumi.StringPtrInput // Fault reporting contact person. FaultReportContactPerson pulumi.StringPtrInput // ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs). LineOperator pulumi.StringInput // Local IDC location. Location pulumi.StringPtrInput // Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX. PortType pulumi.StringInput // ID of redundant connection. RedundantDirectConnectId pulumi.StringPtrInput // Whether the connection applicant has signed the service agreement. Default value: true. SignLaw pulumi.BoolPtrInput // Tencent-side IP address for connection debugging, which is automatically assigned by default. TencentAddress pulumi.StringPtrInput // VLAN for connection debugging, which is enabled and automatically assigned by default. Vlan pulumi.IntPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶ added in v0.1.5
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶ added in v0.1.5
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶ added in v0.1.5
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶ added in v0.1.5
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶ added in v0.1.5
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶ added in v0.1.5
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶ added in v0.1.5
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶ added in v0.1.5
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶ added in v0.1.5
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶ added in v0.1.5
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶ added in v0.1.5
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶ added in v0.1.5
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶ added in v0.1.5
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶ added in v0.1.5
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶ added in v0.1.5
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶ added in v0.1.5
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶ added in v0.1.5
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶ added in v0.1.5
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶ added in v0.1.5
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶ added in v0.1.5
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶ added in v0.1.5
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶ added in v0.1.5
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶ added in v0.1.5
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AccessPointId ¶ added in v0.1.5
func (o InstanceOutput) AccessPointId() pulumi.StringOutput
Access point of connection.You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available.
func (InstanceOutput) Bandwidth ¶ added in v0.1.5
func (o InstanceOutput) Bandwidth() pulumi.IntPtrOutput
Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
func (InstanceOutput) CircuitCode ¶ added in v0.1.5
func (o InstanceOutput) CircuitCode() pulumi.StringPtrOutput
Circuit code of a connection, which is provided by the ISP or connection provider.
func (InstanceOutput) CustomerAddress ¶ added in v0.1.5
func (o InstanceOutput) CustomerAddress() pulumi.StringPtrOutput
User-side IP address for connection debugging, which is automatically assigned by default.
func (InstanceOutput) CustomerContactMail ¶ added in v0.1.5
func (o InstanceOutput) CustomerContactMail() pulumi.StringPtrOutput
Email address of connection applicant, which is obtained from the account system by default.
func (InstanceOutput) CustomerContactNumber ¶ added in v0.1.5
func (o InstanceOutput) CustomerContactNumber() pulumi.StringPtrOutput
Contact number of connection applicant, which is obtained from the account system by default.
func (InstanceOutput) CustomerName ¶ added in v0.1.5
func (o InstanceOutput) CustomerName() pulumi.StringPtrOutput
Name of connection applicant, which is obtained from the account system by default.
func (InstanceOutput) DirectConnectName ¶ added in v0.1.5
func (o InstanceOutput) DirectConnectName() pulumi.StringOutput
Connection name.
func (InstanceOutput) ElementType ¶ added in v0.1.5
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) FaultReportContactNumber ¶ added in v0.1.5
func (o InstanceOutput) FaultReportContactNumber() pulumi.StringPtrOutput
Fault reporting contact number.
func (InstanceOutput) FaultReportContactPerson ¶ added in v0.1.5
func (o InstanceOutput) FaultReportContactPerson() pulumi.StringPtrOutput
Fault reporting contact person.
func (InstanceOutput) LineOperator ¶ added in v0.1.5
func (o InstanceOutput) LineOperator() pulumi.StringOutput
ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
func (InstanceOutput) Location ¶ added in v0.1.5
func (o InstanceOutput) Location() pulumi.StringPtrOutput
Local IDC location.
func (InstanceOutput) PortType ¶ added in v0.1.5
func (o InstanceOutput) PortType() pulumi.StringOutput
Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
func (InstanceOutput) RedundantDirectConnectId ¶ added in v0.1.5
func (o InstanceOutput) RedundantDirectConnectId() pulumi.StringPtrOutput
ID of redundant connection.
func (InstanceOutput) SignLaw ¶ added in v0.1.5
func (o InstanceOutput) SignLaw() pulumi.BoolPtrOutput
Whether the connection applicant has signed the service agreement. Default value: true.
func (InstanceOutput) TencentAddress ¶ added in v0.1.5
func (o InstanceOutput) TencentAddress() pulumi.StringPtrOutput
Tencent-side IP address for connection debugging, which is automatically assigned by default.
func (InstanceOutput) ToInstanceOutput ¶ added in v0.1.5
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶ added in v0.1.5
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) Vlan ¶ added in v0.1.5
func (o InstanceOutput) Vlan() pulumi.IntPtrOutput
VLAN for connection debugging, which is enabled and automatically assigned by default.
type InstanceState ¶ added in v0.1.5
type InstanceState struct { // Access point of connection.You can call `DescribeAccessPoints` to get the region ID. The selected access point must exist and be available. AccessPointId pulumi.StringPtrInput // Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000. Bandwidth pulumi.IntPtrInput // Circuit code of a connection, which is provided by the ISP or connection provider. CircuitCode pulumi.StringPtrInput // User-side IP address for connection debugging, which is automatically assigned by default. CustomerAddress pulumi.StringPtrInput // Email address of connection applicant, which is obtained from the account system by default. CustomerContactMail pulumi.StringPtrInput // Contact number of connection applicant, which is obtained from the account system by default. CustomerContactNumber pulumi.StringPtrInput // Name of connection applicant, which is obtained from the account system by default. CustomerName pulumi.StringPtrInput // Connection name. DirectConnectName pulumi.StringPtrInput // Fault reporting contact number. FaultReportContactNumber pulumi.StringPtrInput // Fault reporting contact person. FaultReportContactPerson pulumi.StringPtrInput // ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs). LineOperator pulumi.StringPtrInput // Local IDC location. Location pulumi.StringPtrInput // Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX. PortType pulumi.StringPtrInput // ID of redundant connection. RedundantDirectConnectId pulumi.StringPtrInput // Whether the connection applicant has signed the service agreement. Default value: true. SignLaw pulumi.BoolPtrInput // Tencent-side IP address for connection debugging, which is automatically assigned by default. TencentAddress pulumi.StringPtrInput // VLAN for connection debugging, which is enabled and automatically assigned by default. Vlan pulumi.IntPtrInput }
func (InstanceState) ElementType ¶ added in v0.1.5
func (InstanceState) ElementType() reflect.Type
type InternetAddress ¶ added in v0.1.5
type InternetAddress struct { pulumi.CustomResourceState // 0: IPv4, 1: IPv6. AddrProto pulumi.IntOutput `pulumi:"addrProto"` // 0: BGP, 1: china telecom, 2: china mobile, 3: china unicom. AddrType pulumi.IntOutput `pulumi:"addrType"` // CIDR address mask. MaskLen pulumi.IntOutput `pulumi:"maskLen"` }
Provides a resource to create a dc internetAddress
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.NewInternetAddress(ctx, "internetAddress", &Dc.InternetAddressArgs{ AddrProto: pulumi.Int(0), AddrType: pulumi.Int(2), MaskLen: pulumi.Int(30), }) if err != nil { return err } return nil }) }
```
## Import
dc internet_address can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dc/internetAddress:InternetAddress internet_address internet_address_id
```
func GetInternetAddress ¶ added in v0.1.5
func GetInternetAddress(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InternetAddressState, opts ...pulumi.ResourceOption) (*InternetAddress, error)
GetInternetAddress gets an existing InternetAddress 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 NewInternetAddress ¶ added in v0.1.5
func NewInternetAddress(ctx *pulumi.Context, name string, args *InternetAddressArgs, opts ...pulumi.ResourceOption) (*InternetAddress, error)
NewInternetAddress registers a new resource with the given unique name, arguments, and options.
func (*InternetAddress) ElementType ¶ added in v0.1.5
func (*InternetAddress) ElementType() reflect.Type
func (*InternetAddress) ToInternetAddressOutput ¶ added in v0.1.5
func (i *InternetAddress) ToInternetAddressOutput() InternetAddressOutput
func (*InternetAddress) ToInternetAddressOutputWithContext ¶ added in v0.1.5
func (i *InternetAddress) ToInternetAddressOutputWithContext(ctx context.Context) InternetAddressOutput
type InternetAddressArgs ¶ added in v0.1.5
type InternetAddressArgs struct { // 0: IPv4, 1: IPv6. AddrProto pulumi.IntInput // 0: BGP, 1: china telecom, 2: china mobile, 3: china unicom. AddrType pulumi.IntInput // CIDR address mask. MaskLen pulumi.IntInput }
The set of arguments for constructing a InternetAddress resource.
func (InternetAddressArgs) ElementType ¶ added in v0.1.5
func (InternetAddressArgs) ElementType() reflect.Type
type InternetAddressArray ¶ added in v0.1.5
type InternetAddressArray []InternetAddressInput
func (InternetAddressArray) ElementType ¶ added in v0.1.5
func (InternetAddressArray) ElementType() reflect.Type
func (InternetAddressArray) ToInternetAddressArrayOutput ¶ added in v0.1.5
func (i InternetAddressArray) ToInternetAddressArrayOutput() InternetAddressArrayOutput
func (InternetAddressArray) ToInternetAddressArrayOutputWithContext ¶ added in v0.1.5
func (i InternetAddressArray) ToInternetAddressArrayOutputWithContext(ctx context.Context) InternetAddressArrayOutput
type InternetAddressArrayInput ¶ added in v0.1.5
type InternetAddressArrayInput interface { pulumi.Input ToInternetAddressArrayOutput() InternetAddressArrayOutput ToInternetAddressArrayOutputWithContext(context.Context) InternetAddressArrayOutput }
InternetAddressArrayInput is an input type that accepts InternetAddressArray and InternetAddressArrayOutput values. You can construct a concrete instance of `InternetAddressArrayInput` via:
InternetAddressArray{ InternetAddressArgs{...} }
type InternetAddressArrayOutput ¶ added in v0.1.5
type InternetAddressArrayOutput struct{ *pulumi.OutputState }
func (InternetAddressArrayOutput) ElementType ¶ added in v0.1.5
func (InternetAddressArrayOutput) ElementType() reflect.Type
func (InternetAddressArrayOutput) Index ¶ added in v0.1.5
func (o InternetAddressArrayOutput) Index(i pulumi.IntInput) InternetAddressOutput
func (InternetAddressArrayOutput) ToInternetAddressArrayOutput ¶ added in v0.1.5
func (o InternetAddressArrayOutput) ToInternetAddressArrayOutput() InternetAddressArrayOutput
func (InternetAddressArrayOutput) ToInternetAddressArrayOutputWithContext ¶ added in v0.1.5
func (o InternetAddressArrayOutput) ToInternetAddressArrayOutputWithContext(ctx context.Context) InternetAddressArrayOutput
type InternetAddressConfig ¶ added in v0.1.5
type InternetAddressConfig struct { pulumi.CustomResourceState // whether enable internet address. Enable pulumi.BoolOutput `pulumi:"enable"` // internet public address id. InstanceId pulumi.StringOutput `pulumi:"instanceId"` }
Provides a resource to create a dc internetAddressConfig
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { internetAddress, err := Dc.NewInternetAddress(ctx, "internetAddress", &Dc.InternetAddressArgs{ MaskLen: pulumi.Int(30), AddrType: pulumi.Int(2), AddrProto: pulumi.Int(0), }) if err != nil { return err } _, err = Dc.NewInternetAddressConfig(ctx, "internetAddressConfig", &Dc.InternetAddressConfigArgs{ InstanceId: internetAddress.ID(), Enable: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
dc internet_address_config can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dc/internetAddressConfig:InternetAddressConfig internet_address_config internet_address_id
```
func GetInternetAddressConfig ¶ added in v0.1.5
func GetInternetAddressConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InternetAddressConfigState, opts ...pulumi.ResourceOption) (*InternetAddressConfig, error)
GetInternetAddressConfig gets an existing InternetAddressConfig 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 NewInternetAddressConfig ¶ added in v0.1.5
func NewInternetAddressConfig(ctx *pulumi.Context, name string, args *InternetAddressConfigArgs, opts ...pulumi.ResourceOption) (*InternetAddressConfig, error)
NewInternetAddressConfig registers a new resource with the given unique name, arguments, and options.
func (*InternetAddressConfig) ElementType ¶ added in v0.1.5
func (*InternetAddressConfig) ElementType() reflect.Type
func (*InternetAddressConfig) ToInternetAddressConfigOutput ¶ added in v0.1.5
func (i *InternetAddressConfig) ToInternetAddressConfigOutput() InternetAddressConfigOutput
func (*InternetAddressConfig) ToInternetAddressConfigOutputWithContext ¶ added in v0.1.5
func (i *InternetAddressConfig) ToInternetAddressConfigOutputWithContext(ctx context.Context) InternetAddressConfigOutput
type InternetAddressConfigArgs ¶ added in v0.1.5
type InternetAddressConfigArgs struct { // whether enable internet address. Enable pulumi.BoolInput // internet public address id. InstanceId pulumi.StringInput }
The set of arguments for constructing a InternetAddressConfig resource.
func (InternetAddressConfigArgs) ElementType ¶ added in v0.1.5
func (InternetAddressConfigArgs) ElementType() reflect.Type
type InternetAddressConfigArray ¶ added in v0.1.5
type InternetAddressConfigArray []InternetAddressConfigInput
func (InternetAddressConfigArray) ElementType ¶ added in v0.1.5
func (InternetAddressConfigArray) ElementType() reflect.Type
func (InternetAddressConfigArray) ToInternetAddressConfigArrayOutput ¶ added in v0.1.5
func (i InternetAddressConfigArray) ToInternetAddressConfigArrayOutput() InternetAddressConfigArrayOutput
func (InternetAddressConfigArray) ToInternetAddressConfigArrayOutputWithContext ¶ added in v0.1.5
func (i InternetAddressConfigArray) ToInternetAddressConfigArrayOutputWithContext(ctx context.Context) InternetAddressConfigArrayOutput
type InternetAddressConfigArrayInput ¶ added in v0.1.5
type InternetAddressConfigArrayInput interface { pulumi.Input ToInternetAddressConfigArrayOutput() InternetAddressConfigArrayOutput ToInternetAddressConfigArrayOutputWithContext(context.Context) InternetAddressConfigArrayOutput }
InternetAddressConfigArrayInput is an input type that accepts InternetAddressConfigArray and InternetAddressConfigArrayOutput values. You can construct a concrete instance of `InternetAddressConfigArrayInput` via:
InternetAddressConfigArray{ InternetAddressConfigArgs{...} }
type InternetAddressConfigArrayOutput ¶ added in v0.1.5
type InternetAddressConfigArrayOutput struct{ *pulumi.OutputState }
func (InternetAddressConfigArrayOutput) ElementType ¶ added in v0.1.5
func (InternetAddressConfigArrayOutput) ElementType() reflect.Type
func (InternetAddressConfigArrayOutput) Index ¶ added in v0.1.5
func (o InternetAddressConfigArrayOutput) Index(i pulumi.IntInput) InternetAddressConfigOutput
func (InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutput ¶ added in v0.1.5
func (o InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutput() InternetAddressConfigArrayOutput
func (InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutputWithContext ¶ added in v0.1.5
func (o InternetAddressConfigArrayOutput) ToInternetAddressConfigArrayOutputWithContext(ctx context.Context) InternetAddressConfigArrayOutput
type InternetAddressConfigInput ¶ added in v0.1.5
type InternetAddressConfigInput interface { pulumi.Input ToInternetAddressConfigOutput() InternetAddressConfigOutput ToInternetAddressConfigOutputWithContext(ctx context.Context) InternetAddressConfigOutput }
type InternetAddressConfigMap ¶ added in v0.1.5
type InternetAddressConfigMap map[string]InternetAddressConfigInput
func (InternetAddressConfigMap) ElementType ¶ added in v0.1.5
func (InternetAddressConfigMap) ElementType() reflect.Type
func (InternetAddressConfigMap) ToInternetAddressConfigMapOutput ¶ added in v0.1.5
func (i InternetAddressConfigMap) ToInternetAddressConfigMapOutput() InternetAddressConfigMapOutput
func (InternetAddressConfigMap) ToInternetAddressConfigMapOutputWithContext ¶ added in v0.1.5
func (i InternetAddressConfigMap) ToInternetAddressConfigMapOutputWithContext(ctx context.Context) InternetAddressConfigMapOutput
type InternetAddressConfigMapInput ¶ added in v0.1.5
type InternetAddressConfigMapInput interface { pulumi.Input ToInternetAddressConfigMapOutput() InternetAddressConfigMapOutput ToInternetAddressConfigMapOutputWithContext(context.Context) InternetAddressConfigMapOutput }
InternetAddressConfigMapInput is an input type that accepts InternetAddressConfigMap and InternetAddressConfigMapOutput values. You can construct a concrete instance of `InternetAddressConfigMapInput` via:
InternetAddressConfigMap{ "key": InternetAddressConfigArgs{...} }
type InternetAddressConfigMapOutput ¶ added in v0.1.5
type InternetAddressConfigMapOutput struct{ *pulumi.OutputState }
func (InternetAddressConfigMapOutput) ElementType ¶ added in v0.1.5
func (InternetAddressConfigMapOutput) ElementType() reflect.Type
func (InternetAddressConfigMapOutput) MapIndex ¶ added in v0.1.5
func (o InternetAddressConfigMapOutput) MapIndex(k pulumi.StringInput) InternetAddressConfigOutput
func (InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutput ¶ added in v0.1.5
func (o InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutput() InternetAddressConfigMapOutput
func (InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutputWithContext ¶ added in v0.1.5
func (o InternetAddressConfigMapOutput) ToInternetAddressConfigMapOutputWithContext(ctx context.Context) InternetAddressConfigMapOutput
type InternetAddressConfigOutput ¶ added in v0.1.5
type InternetAddressConfigOutput struct{ *pulumi.OutputState }
func (InternetAddressConfigOutput) ElementType ¶ added in v0.1.5
func (InternetAddressConfigOutput) ElementType() reflect.Type
func (InternetAddressConfigOutput) Enable ¶ added in v0.1.5
func (o InternetAddressConfigOutput) Enable() pulumi.BoolOutput
whether enable internet address.
func (InternetAddressConfigOutput) InstanceId ¶ added in v0.1.5
func (o InternetAddressConfigOutput) InstanceId() pulumi.StringOutput
internet public address id.
func (InternetAddressConfigOutput) ToInternetAddressConfigOutput ¶ added in v0.1.5
func (o InternetAddressConfigOutput) ToInternetAddressConfigOutput() InternetAddressConfigOutput
func (InternetAddressConfigOutput) ToInternetAddressConfigOutputWithContext ¶ added in v0.1.5
func (o InternetAddressConfigOutput) ToInternetAddressConfigOutputWithContext(ctx context.Context) InternetAddressConfigOutput
type InternetAddressConfigState ¶ added in v0.1.5
type InternetAddressConfigState struct { // whether enable internet address. Enable pulumi.BoolPtrInput // internet public address id. InstanceId pulumi.StringPtrInput }
func (InternetAddressConfigState) ElementType ¶ added in v0.1.5
func (InternetAddressConfigState) ElementType() reflect.Type
type InternetAddressInput ¶ added in v0.1.5
type InternetAddressInput interface { pulumi.Input ToInternetAddressOutput() InternetAddressOutput ToInternetAddressOutputWithContext(ctx context.Context) InternetAddressOutput }
type InternetAddressMap ¶ added in v0.1.5
type InternetAddressMap map[string]InternetAddressInput
func (InternetAddressMap) ElementType ¶ added in v0.1.5
func (InternetAddressMap) ElementType() reflect.Type
func (InternetAddressMap) ToInternetAddressMapOutput ¶ added in v0.1.5
func (i InternetAddressMap) ToInternetAddressMapOutput() InternetAddressMapOutput
func (InternetAddressMap) ToInternetAddressMapOutputWithContext ¶ added in v0.1.5
func (i InternetAddressMap) ToInternetAddressMapOutputWithContext(ctx context.Context) InternetAddressMapOutput
type InternetAddressMapInput ¶ added in v0.1.5
type InternetAddressMapInput interface { pulumi.Input ToInternetAddressMapOutput() InternetAddressMapOutput ToInternetAddressMapOutputWithContext(context.Context) InternetAddressMapOutput }
InternetAddressMapInput is an input type that accepts InternetAddressMap and InternetAddressMapOutput values. You can construct a concrete instance of `InternetAddressMapInput` via:
InternetAddressMap{ "key": InternetAddressArgs{...} }
type InternetAddressMapOutput ¶ added in v0.1.5
type InternetAddressMapOutput struct{ *pulumi.OutputState }
func (InternetAddressMapOutput) ElementType ¶ added in v0.1.5
func (InternetAddressMapOutput) ElementType() reflect.Type
func (InternetAddressMapOutput) MapIndex ¶ added in v0.1.5
func (o InternetAddressMapOutput) MapIndex(k pulumi.StringInput) InternetAddressOutput
func (InternetAddressMapOutput) ToInternetAddressMapOutput ¶ added in v0.1.5
func (o InternetAddressMapOutput) ToInternetAddressMapOutput() InternetAddressMapOutput
func (InternetAddressMapOutput) ToInternetAddressMapOutputWithContext ¶ added in v0.1.5
func (o InternetAddressMapOutput) ToInternetAddressMapOutputWithContext(ctx context.Context) InternetAddressMapOutput
type InternetAddressOutput ¶ added in v0.1.5
type InternetAddressOutput struct{ *pulumi.OutputState }
func (InternetAddressOutput) AddrProto ¶ added in v0.1.5
func (o InternetAddressOutput) AddrProto() pulumi.IntOutput
0: IPv4, 1: IPv6.
func (InternetAddressOutput) AddrType ¶ added in v0.1.5
func (o InternetAddressOutput) AddrType() pulumi.IntOutput
0: BGP, 1: china telecom, 2: china mobile, 3: china unicom.
func (InternetAddressOutput) ElementType ¶ added in v0.1.5
func (InternetAddressOutput) ElementType() reflect.Type
func (InternetAddressOutput) MaskLen ¶ added in v0.1.5
func (o InternetAddressOutput) MaskLen() pulumi.IntOutput
CIDR address mask.
func (InternetAddressOutput) ToInternetAddressOutput ¶ added in v0.1.5
func (o InternetAddressOutput) ToInternetAddressOutput() InternetAddressOutput
func (InternetAddressOutput) ToInternetAddressOutputWithContext ¶ added in v0.1.5
func (o InternetAddressOutput) ToInternetAddressOutputWithContext(ctx context.Context) InternetAddressOutput
type InternetAddressState ¶ added in v0.1.5
type InternetAddressState struct { // 0: IPv4, 1: IPv6. AddrProto pulumi.IntPtrInput // 0: BGP, 1: china telecom, 2: china mobile, 3: china unicom. AddrType pulumi.IntPtrInput // CIDR address mask. MaskLen pulumi.IntPtrInput }
func (InternetAddressState) ElementType ¶ added in v0.1.5
func (InternetAddressState) ElementType() reflect.Type
type ShareDcxConfig ¶ added in v0.1.5
type ShareDcxConfig struct { pulumi.StringOutput `pulumi:"directConnectTunnelId"` Enable pulumi.BoolOutput `pulumi:"enable"` }DirectConnectTunnelId
Provides a resource to create a dc shareDcxConfig
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dc.NewShareDcxConfig(ctx, "shareDcxConfig", &Dc.ShareDcxConfigArgs{ DirectConnectTunnelId: pulumi.String("dcx-4z49tnws"), Enable: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
dc share_dcx_config can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dc/shareDcxConfig:ShareDcxConfig share_dcx_config dcx_id
```
func GetShareDcxConfig ¶ added in v0.1.5
func GetShareDcxConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ShareDcxConfigState, opts ...pulumi.ResourceOption) (*ShareDcxConfig, error)
GetShareDcxConfig gets an existing ShareDcxConfig 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 NewShareDcxConfig ¶ added in v0.1.5
func NewShareDcxConfig(ctx *pulumi.Context, name string, args *ShareDcxConfigArgs, opts ...pulumi.ResourceOption) (*ShareDcxConfig, error)
NewShareDcxConfig registers a new resource with the given unique name, arguments, and options.
func (*ShareDcxConfig) ElementType ¶ added in v0.1.5
func (*ShareDcxConfig) ElementType() reflect.Type
func (*ShareDcxConfig) ToShareDcxConfigOutput ¶ added in v0.1.5
func (i *ShareDcxConfig) ToShareDcxConfigOutput() ShareDcxConfigOutput
func (*ShareDcxConfig) ToShareDcxConfigOutputWithContext ¶ added in v0.1.5
func (i *ShareDcxConfig) ToShareDcxConfigOutputWithContext(ctx context.Context) ShareDcxConfigOutput
type ShareDcxConfigArgs ¶ added in v0.1.5
type ShareDcxConfigArgs struct { pulumi.StringInput Enable pulumi.BoolInput }DirectConnectTunnelId
The set of arguments for constructing a ShareDcxConfig resource.
func (ShareDcxConfigArgs) ElementType ¶ added in v0.1.5
func (ShareDcxConfigArgs) ElementType() reflect.Type
type ShareDcxConfigArray ¶ added in v0.1.5
type ShareDcxConfigArray []ShareDcxConfigInput
func (ShareDcxConfigArray) ElementType ¶ added in v0.1.5
func (ShareDcxConfigArray) ElementType() reflect.Type
func (ShareDcxConfigArray) ToShareDcxConfigArrayOutput ¶ added in v0.1.5
func (i ShareDcxConfigArray) ToShareDcxConfigArrayOutput() ShareDcxConfigArrayOutput
func (ShareDcxConfigArray) ToShareDcxConfigArrayOutputWithContext ¶ added in v0.1.5
func (i ShareDcxConfigArray) ToShareDcxConfigArrayOutputWithContext(ctx context.Context) ShareDcxConfigArrayOutput
type ShareDcxConfigArrayInput ¶ added in v0.1.5
ShareDcxConfigArrayInput is an input type that accepts ShareDcxConfigArray and ShareDcxConfigArrayOutput values. You can construct a concrete instance of `ShareDcxConfigArrayInput` via:
ShareDcxConfigArray{ ShareDcxConfigArgs{...} }
type ShareDcxConfigArrayOutput ¶ added in v0.1.5
func (ShareDcxConfigArrayOutput) ElementType ¶ added in v0.1.5
func (ShareDcxConfigArrayOutput) ElementType() reflect.Type
func (ShareDcxConfigArrayOutput) Index ¶ added in v0.1.5
func (o ShareDcxConfigArrayOutput) Index(i pulumi.IntInput) ShareDcxConfigOutput
func (ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutput ¶ added in v0.1.5
func (o ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutput() ShareDcxConfigArrayOutput
func (ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutputWithContext ¶ added in v0.1.5
func (o ShareDcxConfigArrayOutput) ToShareDcxConfigArrayOutputWithContext(ctx context.Context) ShareDcxConfigArrayOutput
type ShareDcxConfigInput ¶ added in v0.1.5
type ShareDcxConfigMap ¶ added in v0.1.5
type ShareDcxConfigMap map[string]ShareDcxConfigInput
func (ShareDcxConfigMap) ElementType ¶ added in v0.1.5
func (ShareDcxConfigMap) ElementType() reflect.Type
func (ShareDcxConfigMap) ToShareDcxConfigMapOutput ¶ added in v0.1.5
func (i ShareDcxConfigMap) ToShareDcxConfigMapOutput() ShareDcxConfigMapOutput
func (ShareDcxConfigMap) ToShareDcxConfigMapOutputWithContext ¶ added in v0.1.5
func (i ShareDcxConfigMap) ToShareDcxConfigMapOutputWithContext(ctx context.Context) ShareDcxConfigMapOutput
type ShareDcxConfigMapInput ¶ added in v0.1.5
ShareDcxConfigMapInput is an input type that accepts ShareDcxConfigMap and ShareDcxConfigMapOutput values. You can construct a concrete instance of `ShareDcxConfigMapInput` via:
ShareDcxConfigMap{ "key": ShareDcxConfigArgs{...} }
type ShareDcxConfigMapOutput ¶ added in v0.1.5
func (ShareDcxConfigMapOutput) ElementType ¶ added in v0.1.5
func (ShareDcxConfigMapOutput) ElementType() reflect.Type
func (ShareDcxConfigMapOutput) MapIndex ¶ added in v0.1.5
func (o ShareDcxConfigMapOutput) MapIndex(k pulumi.StringInput) ShareDcxConfigOutput
func (ShareDcxConfigMapOutput) ToShareDcxConfigMapOutput ¶ added in v0.1.5
func (o ShareDcxConfigMapOutput) ToShareDcxConfigMapOutput() ShareDcxConfigMapOutput
func (ShareDcxConfigMapOutput) ToShareDcxConfigMapOutputWithContext ¶ added in v0.1.5
func (o ShareDcxConfigMapOutput) ToShareDcxConfigMapOutputWithContext(ctx context.Context) ShareDcxConfigMapOutput
type ShareDcxConfigOutput ¶ added in v0.1.5
func (ShareDcxConfigOutput) DirectConnectTunnelId ¶ added in v0.1.5
func (o ShareDcxConfigOutput) DirectConnectTunnelId() pulumi.StringOutput
the direct connect owner accept or reject the apply of direct connect tunnel.
func (ShareDcxConfigOutput) ElementType ¶ added in v0.1.5
func (ShareDcxConfigOutput) ElementType() reflect.Type
func (ShareDcxConfigOutput) Enable ¶ added in v0.1.5
func (o ShareDcxConfigOutput) Enable() pulumi.BoolOutput
if accept or reject direct connect tunnel.
func (ShareDcxConfigOutput) ToShareDcxConfigOutput ¶ added in v0.1.5
func (o ShareDcxConfigOutput) ToShareDcxConfigOutput() ShareDcxConfigOutput
func (ShareDcxConfigOutput) ToShareDcxConfigOutputWithContext ¶ added in v0.1.5
func (o ShareDcxConfigOutput) ToShareDcxConfigOutputWithContext(ctx context.Context) ShareDcxConfigOutput
type ShareDcxConfigState ¶ added in v0.1.5
type ShareDcxConfigState struct { pulumi.StringPtrInput Enable pulumi.BoolPtrInput }DirectConnectTunnelId
func (ShareDcxConfigState) ElementType ¶ added in v0.1.5
func (ShareDcxConfigState) ElementType() reflect.Type
Source Files ¶
- gateway.go
- gatewayAttachment.go
- gatewayCcnRoute.go
- getAccessPoints.go
- getGatewayCcnRoutes.go
- getGatewayInstances.go
- getInstances.go
- getInternetAddressQuota.go
- getInternetAddressStatistics.go
- getPublicDirectConnectTunnelRoutes.go
- init.go
- instance.go
- internetAddress.go
- internetAddressConfig.go
- pulumiTypes.go
- pulumiUtilities.go
- shareDcxConfig.go