Documentation
¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Acl
- type AclArgs
- type AclArray
- type AclArrayInput
- type AclArrayOutput
- type AclAttachment
- type AclAttachmentArgs
- type AclAttachmentArray
- type AclAttachmentArrayInput
- type AclAttachmentArrayOutput
- func (AclAttachmentArrayOutput) ElementType() reflect.Type
- func (o AclAttachmentArrayOutput) Index(i pulumi.IntInput) AclAttachmentOutput
- func (o AclAttachmentArrayOutput) ToAclAttachmentArrayOutput() AclAttachmentArrayOutput
- func (o AclAttachmentArrayOutput) ToAclAttachmentArrayOutputWithContext(ctx context.Context) AclAttachmentArrayOutput
- type AclAttachmentInput
- type AclAttachmentMap
- type AclAttachmentMapInput
- type AclAttachmentMapOutput
- func (AclAttachmentMapOutput) ElementType() reflect.Type
- func (o AclAttachmentMapOutput) MapIndex(k pulumi.StringInput) AclAttachmentOutput
- func (o AclAttachmentMapOutput) ToAclAttachmentMapOutput() AclAttachmentMapOutput
- func (o AclAttachmentMapOutput) ToAclAttachmentMapOutputWithContext(ctx context.Context) AclAttachmentMapOutput
- type AclAttachmentOutput
- func (o AclAttachmentOutput) AclId() pulumi.StringOutput
- func (AclAttachmentOutput) ElementType() reflect.Type
- func (o AclAttachmentOutput) SubnetId() pulumi.StringOutput
- func (o AclAttachmentOutput) ToAclAttachmentOutput() AclAttachmentOutput
- func (o AclAttachmentOutput) ToAclAttachmentOutputWithContext(ctx context.Context) AclAttachmentOutput
- type AclAttachmentState
- type AclInput
- type AclMap
- type AclMapInput
- type AclMapOutput
- type AclOutput
- func (o AclOutput) CreateTime() pulumi.StringOutput
- func (o AclOutput) Egresses() pulumi.StringArrayOutput
- func (AclOutput) ElementType() reflect.Type
- func (o AclOutput) Ingresses() pulumi.StringArrayOutput
- func (o AclOutput) Name() pulumi.StringOutput
- func (o AclOutput) Tags() pulumi.MapOutput
- func (o AclOutput) ToAclOutput() AclOutput
- func (o AclOutput) ToAclOutputWithContext(ctx context.Context) AclOutput
- func (o AclOutput) VpcId() pulumi.StringOutput
- type AclState
- type BandwidthPackage
- type BandwidthPackageArgs
- type BandwidthPackageArray
- type BandwidthPackageArrayInput
- type BandwidthPackageArrayOutput
- func (BandwidthPackageArrayOutput) ElementType() reflect.Type
- func (o BandwidthPackageArrayOutput) Index(i pulumi.IntInput) BandwidthPackageOutput
- func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput
- func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackageArrayOutput
- type BandwidthPackageAttachment
- func (*BandwidthPackageAttachment) ElementType() reflect.Type
- func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput
- func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput
- type BandwidthPackageAttachmentArgs
- type BandwidthPackageAttachmentArray
- func (BandwidthPackageAttachmentArray) ElementType() reflect.Type
- func (i BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput
- func (i BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutputWithContext(ctx context.Context) BandwidthPackageAttachmentArrayOutput
- type BandwidthPackageAttachmentArrayInput
- type BandwidthPackageAttachmentArrayOutput
- func (BandwidthPackageAttachmentArrayOutput) ElementType() reflect.Type
- func (o BandwidthPackageAttachmentArrayOutput) Index(i pulumi.IntInput) BandwidthPackageAttachmentOutput
- func (o BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput
- func (o BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutputWithContext(ctx context.Context) BandwidthPackageAttachmentArrayOutput
- type BandwidthPackageAttachmentInput
- type BandwidthPackageAttachmentMap
- func (BandwidthPackageAttachmentMap) ElementType() reflect.Type
- func (i BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput
- func (i BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutputWithContext(ctx context.Context) BandwidthPackageAttachmentMapOutput
- type BandwidthPackageAttachmentMapInput
- type BandwidthPackageAttachmentMapOutput
- func (BandwidthPackageAttachmentMapOutput) ElementType() reflect.Type
- func (o BandwidthPackageAttachmentMapOutput) MapIndex(k pulumi.StringInput) BandwidthPackageAttachmentOutput
- func (o BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput
- func (o BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutputWithContext(ctx context.Context) BandwidthPackageAttachmentMapOutput
- type BandwidthPackageAttachmentOutput
- func (o BandwidthPackageAttachmentOutput) BandwidthPackageId() pulumi.StringOutput
- func (BandwidthPackageAttachmentOutput) ElementType() reflect.Type
- func (o BandwidthPackageAttachmentOutput) NetworkType() pulumi.StringPtrOutput
- func (o BandwidthPackageAttachmentOutput) Protocol() pulumi.StringPtrOutput
- func (o BandwidthPackageAttachmentOutput) ResourceId() pulumi.StringOutput
- func (o BandwidthPackageAttachmentOutput) ResourceType() pulumi.StringPtrOutput
- func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput
- func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput
- type BandwidthPackageAttachmentState
- type BandwidthPackageInput
- type BandwidthPackageMap
- type BandwidthPackageMapInput
- type BandwidthPackageMapOutput
- func (BandwidthPackageMapOutput) ElementType() reflect.Type
- func (o BandwidthPackageMapOutput) MapIndex(k pulumi.StringInput) BandwidthPackageOutput
- func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput
- func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutputWithContext(ctx context.Context) BandwidthPackageMapOutput
- type BandwidthPackageOutput
- func (o BandwidthPackageOutput) BandwidthPackageName() pulumi.StringPtrOutput
- func (o BandwidthPackageOutput) ChargeType() pulumi.StringPtrOutput
- func (BandwidthPackageOutput) ElementType() reflect.Type
- func (o BandwidthPackageOutput) InternetMaxBandwidth() pulumi.IntPtrOutput
- func (o BandwidthPackageOutput) NetworkType() pulumi.StringPtrOutput
- func (o BandwidthPackageOutput) Tags() pulumi.MapOutput
- func (o BandwidthPackageOutput) ToBandwidthPackageOutput() BandwidthPackageOutput
- func (o BandwidthPackageOutput) ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput
- type BandwidthPackageState
- type EndPoint
- type EndPointArgs
- type EndPointArray
- type EndPointArrayInput
- type EndPointArrayOutput
- type EndPointInput
- type EndPointMap
- type EndPointMapInput
- type EndPointMapOutput
- type EndPointOutput
- func (o EndPointOutput) CreateTime() pulumi.StringOutput
- func (EndPointOutput) ElementType() reflect.Type
- func (o EndPointOutput) EndPointName() pulumi.StringOutput
- func (o EndPointOutput) EndPointOwner() pulumi.StringOutput
- func (o EndPointOutput) EndPointServiceId() pulumi.StringOutput
- func (o EndPointOutput) EndPointVip() pulumi.StringPtrOutput
- func (o EndPointOutput) State() pulumi.StringOutput
- func (o EndPointOutput) SubnetId() pulumi.StringOutput
- func (o EndPointOutput) ToEndPointOutput() EndPointOutput
- func (o EndPointOutput) ToEndPointOutputWithContext(ctx context.Context) EndPointOutput
- func (o EndPointOutput) VpcId() pulumi.StringOutput
- type EndPointService
- type EndPointServiceArgs
- type EndPointServiceArray
- type EndPointServiceArrayInput
- type EndPointServiceArrayOutput
- func (EndPointServiceArrayOutput) ElementType() reflect.Type
- func (o EndPointServiceArrayOutput) Index(i pulumi.IntInput) EndPointServiceOutput
- func (o EndPointServiceArrayOutput) ToEndPointServiceArrayOutput() EndPointServiceArrayOutput
- func (o EndPointServiceArrayOutput) ToEndPointServiceArrayOutputWithContext(ctx context.Context) EndPointServiceArrayOutput
- type EndPointServiceInput
- type EndPointServiceMap
- type EndPointServiceMapInput
- type EndPointServiceMapOutput
- func (EndPointServiceMapOutput) ElementType() reflect.Type
- func (o EndPointServiceMapOutput) MapIndex(k pulumi.StringInput) EndPointServiceOutput
- func (o EndPointServiceMapOutput) ToEndPointServiceMapOutput() EndPointServiceMapOutput
- func (o EndPointServiceMapOutput) ToEndPointServiceMapOutputWithContext(ctx context.Context) EndPointServiceMapOutput
- type EndPointServiceOutput
- func (o EndPointServiceOutput) AutoAcceptFlag() pulumi.BoolOutput
- func (o EndPointServiceOutput) CreateTime() pulumi.StringOutput
- func (EndPointServiceOutput) ElementType() reflect.Type
- func (o EndPointServiceOutput) EndPointCount() pulumi.IntOutput
- func (o EndPointServiceOutput) EndPointServiceName() pulumi.StringOutput
- func (o EndPointServiceOutput) ServiceInstanceId() pulumi.StringOutput
- func (o EndPointServiceOutput) ServiceOwner() pulumi.StringOutput
- func (o EndPointServiceOutput) ServiceType() pulumi.StringOutput
- func (o EndPointServiceOutput) ServiceVip() pulumi.StringOutput
- func (o EndPointServiceOutput) ToEndPointServiceOutput() EndPointServiceOutput
- func (o EndPointServiceOutput) ToEndPointServiceOutputWithContext(ctx context.Context) EndPointServiceOutput
- func (o EndPointServiceOutput) VpcId() pulumi.StringOutput
- type EndPointServiceState
- type EndPointServiceWhiteList
- type EndPointServiceWhiteListArgs
- type EndPointServiceWhiteListArray
- func (EndPointServiceWhiteListArray) ElementType() reflect.Type
- func (i EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutput() EndPointServiceWhiteListArrayOutput
- func (i EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutputWithContext(ctx context.Context) EndPointServiceWhiteListArrayOutput
- type EndPointServiceWhiteListArrayInput
- type EndPointServiceWhiteListArrayOutput
- func (EndPointServiceWhiteListArrayOutput) ElementType() reflect.Type
- func (o EndPointServiceWhiteListArrayOutput) Index(i pulumi.IntInput) EndPointServiceWhiteListOutput
- func (o EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutput() EndPointServiceWhiteListArrayOutput
- func (o EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutputWithContext(ctx context.Context) EndPointServiceWhiteListArrayOutput
- type EndPointServiceWhiteListInput
- type EndPointServiceWhiteListMap
- func (EndPointServiceWhiteListMap) ElementType() reflect.Type
- func (i EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutput() EndPointServiceWhiteListMapOutput
- func (i EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutputWithContext(ctx context.Context) EndPointServiceWhiteListMapOutput
- type EndPointServiceWhiteListMapInput
- type EndPointServiceWhiteListMapOutput
- func (EndPointServiceWhiteListMapOutput) ElementType() reflect.Type
- func (o EndPointServiceWhiteListMapOutput) MapIndex(k pulumi.StringInput) EndPointServiceWhiteListOutput
- func (o EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutput() EndPointServiceWhiteListMapOutput
- func (o EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutputWithContext(ctx context.Context) EndPointServiceWhiteListMapOutput
- type EndPointServiceWhiteListOutput
- func (o EndPointServiceWhiteListOutput) CreateTime() pulumi.StringOutput
- func (o EndPointServiceWhiteListOutput) Description() pulumi.StringPtrOutput
- func (EndPointServiceWhiteListOutput) ElementType() reflect.Type
- func (o EndPointServiceWhiteListOutput) EndPointServiceId() pulumi.StringOutput
- func (o EndPointServiceWhiteListOutput) Owner() pulumi.StringOutput
- func (o EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutput() EndPointServiceWhiteListOutput
- func (o EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutputWithContext(ctx context.Context) EndPointServiceWhiteListOutput
- func (o EndPointServiceWhiteListOutput) UserUin() pulumi.StringOutput
- type EndPointServiceWhiteListState
- type EndPointState
- type FlowLog
- type FlowLogArgs
- type FlowLogArray
- type FlowLogArrayInput
- type FlowLogArrayOutput
- type FlowLogFlowLogStorage
- type FlowLogFlowLogStorageArgs
- func (FlowLogFlowLogStorageArgs) ElementType() reflect.Type
- func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutput() FlowLogFlowLogStorageOutput
- func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutputWithContext(ctx context.Context) FlowLogFlowLogStorageOutput
- func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput
- func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput
- type FlowLogFlowLogStorageInput
- type FlowLogFlowLogStorageOutput
- func (FlowLogFlowLogStorageOutput) ElementType() reflect.Type
- func (o FlowLogFlowLogStorageOutput) StorageId() pulumi.StringPtrOutput
- func (o FlowLogFlowLogStorageOutput) StorageTopic() pulumi.StringPtrOutput
- func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutput() FlowLogFlowLogStorageOutput
- func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutputWithContext(ctx context.Context) FlowLogFlowLogStorageOutput
- func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput
- func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput
- type FlowLogFlowLogStoragePtrInput
- type FlowLogFlowLogStoragePtrOutput
- func (o FlowLogFlowLogStoragePtrOutput) Elem() FlowLogFlowLogStorageOutput
- func (FlowLogFlowLogStoragePtrOutput) ElementType() reflect.Type
- func (o FlowLogFlowLogStoragePtrOutput) StorageId() pulumi.StringPtrOutput
- func (o FlowLogFlowLogStoragePtrOutput) StorageTopic() pulumi.StringPtrOutput
- func (o FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput
- func (o FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput
- type FlowLogInput
- type FlowLogMap
- type FlowLogMapInput
- type FlowLogMapOutput
- type FlowLogOutput
- func (o FlowLogOutput) CloudLogId() pulumi.StringPtrOutput
- func (o FlowLogOutput) CloudLogRegion() pulumi.StringOutput
- func (FlowLogOutput) ElementType() reflect.Type
- func (o FlowLogOutput) FlowLogDescription() pulumi.StringPtrOutput
- func (o FlowLogOutput) FlowLogName() pulumi.StringOutput
- func (o FlowLogOutput) FlowLogStorage() FlowLogFlowLogStorageOutput
- func (o FlowLogOutput) ResourceId() pulumi.StringOutput
- func (o FlowLogOutput) ResourceType() pulumi.StringOutput
- func (o FlowLogOutput) StorageType() pulumi.StringPtrOutput
- func (o FlowLogOutput) Tags() pulumi.MapOutput
- func (o FlowLogOutput) ToFlowLogOutput() FlowLogOutput
- func (o FlowLogOutput) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput
- func (o FlowLogOutput) TrafficType() pulumi.StringOutput
- func (o FlowLogOutput) VpcId() pulumi.StringPtrOutput
- type FlowLogState
- type GetAclsAclList
- type GetAclsAclListArgs
- type GetAclsAclListArray
- type GetAclsAclListArrayInput
- type GetAclsAclListArrayOutput
- func (GetAclsAclListArrayOutput) ElementType() reflect.Type
- func (o GetAclsAclListArrayOutput) Index(i pulumi.IntInput) GetAclsAclListOutput
- func (o GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutput() GetAclsAclListArrayOutput
- func (o GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutputWithContext(ctx context.Context) GetAclsAclListArrayOutput
- type GetAclsAclListEgress
- type GetAclsAclListEgressArgs
- type GetAclsAclListEgressArray
- type GetAclsAclListEgressArrayInput
- type GetAclsAclListEgressArrayOutput
- func (GetAclsAclListEgressArrayOutput) ElementType() reflect.Type
- func (o GetAclsAclListEgressArrayOutput) Index(i pulumi.IntInput) GetAclsAclListEgressOutput
- func (o GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutput() GetAclsAclListEgressArrayOutput
- func (o GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutputWithContext(ctx context.Context) GetAclsAclListEgressArrayOutput
- type GetAclsAclListEgressInput
- type GetAclsAclListEgressOutput
- func (o GetAclsAclListEgressOutput) CidrBlock() pulumi.StringOutput
- func (o GetAclsAclListEgressOutput) Description() pulumi.StringOutput
- func (GetAclsAclListEgressOutput) ElementType() reflect.Type
- func (o GetAclsAclListEgressOutput) Policy() pulumi.StringOutput
- func (o GetAclsAclListEgressOutput) Port() pulumi.StringOutput
- func (o GetAclsAclListEgressOutput) Protocol() pulumi.StringOutput
- func (o GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutput() GetAclsAclListEgressOutput
- func (o GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutputWithContext(ctx context.Context) GetAclsAclListEgressOutput
- type GetAclsAclListIngress
- type GetAclsAclListIngressArgs
- type GetAclsAclListIngressArray
- func (GetAclsAclListIngressArray) ElementType() reflect.Type
- func (i GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutput() GetAclsAclListIngressArrayOutput
- func (i GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutputWithContext(ctx context.Context) GetAclsAclListIngressArrayOutput
- type GetAclsAclListIngressArrayInput
- type GetAclsAclListIngressArrayOutput
- func (GetAclsAclListIngressArrayOutput) ElementType() reflect.Type
- func (o GetAclsAclListIngressArrayOutput) Index(i pulumi.IntInput) GetAclsAclListIngressOutput
- func (o GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutput() GetAclsAclListIngressArrayOutput
- func (o GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutputWithContext(ctx context.Context) GetAclsAclListIngressArrayOutput
- type GetAclsAclListIngressInput
- type GetAclsAclListIngressOutput
- func (o GetAclsAclListIngressOutput) CidrBlock() pulumi.StringOutput
- func (o GetAclsAclListIngressOutput) Description() pulumi.StringOutput
- func (GetAclsAclListIngressOutput) ElementType() reflect.Type
- func (o GetAclsAclListIngressOutput) Policy() pulumi.StringOutput
- func (o GetAclsAclListIngressOutput) Port() pulumi.StringOutput
- func (o GetAclsAclListIngressOutput) Protocol() pulumi.StringOutput
- func (o GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutput() GetAclsAclListIngressOutput
- func (o GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutputWithContext(ctx context.Context) GetAclsAclListIngressOutput
- type GetAclsAclListInput
- type GetAclsAclListOutput
- func (o GetAclsAclListOutput) CreateTime() pulumi.StringOutput
- func (o GetAclsAclListOutput) Egresses() GetAclsAclListEgressArrayOutput
- func (GetAclsAclListOutput) ElementType() reflect.Type
- func (o GetAclsAclListOutput) Id() pulumi.StringOutput
- func (o GetAclsAclListOutput) Ingresses() GetAclsAclListIngressArrayOutput
- func (o GetAclsAclListOutput) Name() pulumi.StringOutput
- func (o GetAclsAclListOutput) Subnets() GetAclsAclListSubnetArrayOutput
- func (o GetAclsAclListOutput) ToGetAclsAclListOutput() GetAclsAclListOutput
- func (o GetAclsAclListOutput) ToGetAclsAclListOutputWithContext(ctx context.Context) GetAclsAclListOutput
- func (o GetAclsAclListOutput) VpcId() pulumi.StringOutput
- type GetAclsAclListSubnet
- type GetAclsAclListSubnetArgs
- type GetAclsAclListSubnetArray
- type GetAclsAclListSubnetArrayInput
- type GetAclsAclListSubnetArrayOutput
- func (GetAclsAclListSubnetArrayOutput) ElementType() reflect.Type
- func (o GetAclsAclListSubnetArrayOutput) Index(i pulumi.IntInput) GetAclsAclListSubnetOutput
- func (o GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutput() GetAclsAclListSubnetArrayOutput
- func (o GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutputWithContext(ctx context.Context) GetAclsAclListSubnetArrayOutput
- type GetAclsAclListSubnetInput
- type GetAclsAclListSubnetOutput
- func (o GetAclsAclListSubnetOutput) CidrBlock() pulumi.StringOutput
- func (GetAclsAclListSubnetOutput) ElementType() reflect.Type
- func (o GetAclsAclListSubnetOutput) SubnetId() pulumi.StringOutput
- func (o GetAclsAclListSubnetOutput) SubnetName() pulumi.StringOutput
- func (o GetAclsAclListSubnetOutput) Tags() pulumi.MapOutput
- func (o GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutput() GetAclsAclListSubnetOutput
- func (o GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutputWithContext(ctx context.Context) GetAclsAclListSubnetOutput
- func (o GetAclsAclListSubnetOutput) VpcId() pulumi.StringOutput
- type GetAclsArgs
- type GetAclsOutputArgs
- type GetAclsResult
- type GetAclsResultOutput
- func (o GetAclsResultOutput) AclLists() GetAclsAclListArrayOutput
- func (GetAclsResultOutput) ElementType() reflect.Type
- func (o GetAclsResultOutput) Id() pulumi.StringPtrOutput
- func (o GetAclsResultOutput) Name() pulumi.StringPtrOutput
- func (o GetAclsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetAclsResultOutput) ToGetAclsResultOutput() GetAclsResultOutput
- func (o GetAclsResultOutput) ToGetAclsResultOutputWithContext(ctx context.Context) GetAclsResultOutput
- func (o GetAclsResultOutput) VpcId() pulumi.StringPtrOutput
- 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) CidrBlock() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) CreateTime() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) DnsServers() pulumi.StringArrayOutput
- func (GetInstancesInstanceListOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceListOutput) IsDefault() pulumi.BoolOutput
- func (o GetInstancesInstanceListOutput) IsMulticast() pulumi.BoolOutput
- func (o GetInstancesInstanceListOutput) Name() pulumi.StringOutput
- func (o GetInstancesInstanceListOutput) SubnetIds() pulumi.StringArrayOutput
- func (o GetInstancesInstanceListOutput) Tags() pulumi.MapOutput
- func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput
- func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext(ctx context.Context) GetInstancesInstanceListOutput
- func (o GetInstancesInstanceListOutput) VpcId() pulumi.StringOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (o GetInstancesResultOutput) CidrBlock() pulumi.StringPtrOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) InstanceLists() GetInstancesInstanceListArrayOutput
- func (o GetInstancesResultOutput) IsDefault() pulumi.BoolPtrOutput
- func (o GetInstancesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) TagKey() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Tags() pulumi.MapOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- func (o GetInstancesResultOutput) VpcId() pulumi.StringPtrOutput
- type GetRouteTablesArgs
- type GetRouteTablesInstanceList
- type GetRouteTablesInstanceListArgs
- func (GetRouteTablesInstanceListArgs) ElementType() reflect.Type
- func (i GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutput() GetRouteTablesInstanceListOutput
- func (i GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutputWithContext(ctx context.Context) GetRouteTablesInstanceListOutput
- type GetRouteTablesInstanceListArray
- func (GetRouteTablesInstanceListArray) ElementType() reflect.Type
- func (i GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutput() GetRouteTablesInstanceListArrayOutput
- func (i GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListArrayOutput
- type GetRouteTablesInstanceListArrayInput
- type GetRouteTablesInstanceListArrayOutput
- func (GetRouteTablesInstanceListArrayOutput) ElementType() reflect.Type
- func (o GetRouteTablesInstanceListArrayOutput) Index(i pulumi.IntInput) GetRouteTablesInstanceListOutput
- func (o GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutput() GetRouteTablesInstanceListArrayOutput
- func (o GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListArrayOutput
- type GetRouteTablesInstanceListInput
- type GetRouteTablesInstanceListOutput
- func (o GetRouteTablesInstanceListOutput) CreateTime() pulumi.StringOutput
- func (GetRouteTablesInstanceListOutput) ElementType() reflect.Type
- func (o GetRouteTablesInstanceListOutput) IsDefault() pulumi.BoolOutput
- func (o GetRouteTablesInstanceListOutput) Name() pulumi.StringOutput
- func (o GetRouteTablesInstanceListOutput) RouteEntryInfos() GetRouteTablesInstanceListRouteEntryInfoArrayOutput
- func (o GetRouteTablesInstanceListOutput) RouteTableId() pulumi.StringOutput
- func (o GetRouteTablesInstanceListOutput) SubnetIds() pulumi.StringArrayOutput
- func (o GetRouteTablesInstanceListOutput) Tags() pulumi.MapOutput
- func (o GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutput() GetRouteTablesInstanceListOutput
- func (o GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutputWithContext(ctx context.Context) GetRouteTablesInstanceListOutput
- func (o GetRouteTablesInstanceListOutput) VpcId() pulumi.StringOutput
- type GetRouteTablesInstanceListRouteEntryInfo
- type GetRouteTablesInstanceListRouteEntryInfoArgs
- func (GetRouteTablesInstanceListRouteEntryInfoArgs) ElementType() reflect.Type
- func (i GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutput() GetRouteTablesInstanceListRouteEntryInfoOutput
- func (i GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoOutput
- type GetRouteTablesInstanceListRouteEntryInfoArray
- func (GetRouteTablesInstanceListRouteEntryInfoArray) ElementType() reflect.Type
- func (i GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput() GetRouteTablesInstanceListRouteEntryInfoArrayOutput
- func (i GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoArrayOutput
- type GetRouteTablesInstanceListRouteEntryInfoArrayInput
- type GetRouteTablesInstanceListRouteEntryInfoArrayOutput
- func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ElementType() reflect.Type
- func (o GetRouteTablesInstanceListRouteEntryInfoArrayOutput) Index(i pulumi.IntInput) GetRouteTablesInstanceListRouteEntryInfoOutput
- func (o GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput() GetRouteTablesInstanceListRouteEntryInfoArrayOutput
- func (o GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoArrayOutput
- type GetRouteTablesInstanceListRouteEntryInfoInput
- type GetRouteTablesInstanceListRouteEntryInfoOutput
- func (o GetRouteTablesInstanceListRouteEntryInfoOutput) Description() pulumi.StringOutput
- func (o GetRouteTablesInstanceListRouteEntryInfoOutput) DestinationCidrBlock() pulumi.StringOutput
- func (GetRouteTablesInstanceListRouteEntryInfoOutput) ElementType() reflect.Type
- func (o GetRouteTablesInstanceListRouteEntryInfoOutput) NextHub() pulumi.StringOutput
- func (o GetRouteTablesInstanceListRouteEntryInfoOutput) NextType() pulumi.StringOutput
- func (o GetRouteTablesInstanceListRouteEntryInfoOutput) RouteEntryId() pulumi.StringOutput
- func (o GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutput() GetRouteTablesInstanceListRouteEntryInfoOutput
- func (o GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoOutput
- type GetRouteTablesOutputArgs
- type GetRouteTablesResult
- type GetRouteTablesResultOutput
- func (o GetRouteTablesResultOutput) AssociationMain() pulumi.BoolPtrOutput
- func (GetRouteTablesResultOutput) ElementType() reflect.Type
- func (o GetRouteTablesResultOutput) Id() pulumi.StringOutput
- func (o GetRouteTablesResultOutput) InstanceLists() GetRouteTablesInstanceListArrayOutput
- func (o GetRouteTablesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetRouteTablesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetRouteTablesResultOutput) RouteTableId() pulumi.StringPtrOutput
- func (o GetRouteTablesResultOutput) TagKey() pulumi.StringPtrOutput
- func (o GetRouteTablesResultOutput) Tags() pulumi.MapOutput
- func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutput() GetRouteTablesResultOutput
- func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext(ctx context.Context) GetRouteTablesResultOutput
- func (o GetRouteTablesResultOutput) VpcId() pulumi.StringPtrOutput
- type GetSubnetsArgs
- type GetSubnetsInstanceList
- type GetSubnetsInstanceListArgs
- type GetSubnetsInstanceListArray
- func (GetSubnetsInstanceListArray) ElementType() reflect.Type
- func (i GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutput() GetSubnetsInstanceListArrayOutput
- func (i GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutputWithContext(ctx context.Context) GetSubnetsInstanceListArrayOutput
- type GetSubnetsInstanceListArrayInput
- type GetSubnetsInstanceListArrayOutput
- func (GetSubnetsInstanceListArrayOutput) ElementType() reflect.Type
- func (o GetSubnetsInstanceListArrayOutput) Index(i pulumi.IntInput) GetSubnetsInstanceListOutput
- func (o GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutput() GetSubnetsInstanceListArrayOutput
- func (o GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutputWithContext(ctx context.Context) GetSubnetsInstanceListArrayOutput
- type GetSubnetsInstanceListInput
- type GetSubnetsInstanceListOutput
- func (o GetSubnetsInstanceListOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetSubnetsInstanceListOutput) AvailableIpCount() pulumi.IntOutput
- func (o GetSubnetsInstanceListOutput) CidrBlock() pulumi.StringOutput
- func (o GetSubnetsInstanceListOutput) CreateTime() pulumi.StringOutput
- func (GetSubnetsInstanceListOutput) ElementType() reflect.Type
- func (o GetSubnetsInstanceListOutput) IsDefault() pulumi.BoolOutput
- func (o GetSubnetsInstanceListOutput) IsMulticast() pulumi.BoolOutput
- func (o GetSubnetsInstanceListOutput) Name() pulumi.StringOutput
- func (o GetSubnetsInstanceListOutput) RouteTableId() pulumi.StringOutput
- func (o GetSubnetsInstanceListOutput) SubnetId() pulumi.StringOutput
- func (o GetSubnetsInstanceListOutput) Tags() pulumi.MapOutput
- func (o GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutput() GetSubnetsInstanceListOutput
- func (o GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutputWithContext(ctx context.Context) GetSubnetsInstanceListOutput
- func (o GetSubnetsInstanceListOutput) VpcId() pulumi.StringOutput
- type GetSubnetsOutputArgs
- type GetSubnetsResult
- type GetSubnetsResultOutput
- func (o GetSubnetsResultOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o GetSubnetsResultOutput) CidrBlock() pulumi.StringPtrOutput
- func (GetSubnetsResultOutput) ElementType() reflect.Type
- func (o GetSubnetsResultOutput) Id() pulumi.StringOutput
- func (o GetSubnetsResultOutput) InstanceLists() GetSubnetsInstanceListArrayOutput
- func (o GetSubnetsResultOutput) IsDefault() pulumi.BoolPtrOutput
- func (o GetSubnetsResultOutput) IsRemoteVpcSnat() pulumi.BoolPtrOutput
- func (o GetSubnetsResultOutput) Name() pulumi.StringPtrOutput
- func (o GetSubnetsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetSubnetsResultOutput) SubnetId() pulumi.StringPtrOutput
- func (o GetSubnetsResultOutput) TagKey() pulumi.StringPtrOutput
- func (o GetSubnetsResultOutput) Tags() pulumi.MapOutput
- func (o GetSubnetsResultOutput) ToGetSubnetsResultOutput() GetSubnetsResultOutput
- func (o GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext(ctx context.Context) GetSubnetsResultOutput
- func (o GetSubnetsResultOutput) VpcId() pulumi.StringPtrOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) AssistantCidrs() pulumi.StringArrayOutput
- func (o InstanceOutput) CidrBlock() pulumi.StringOutput
- func (o InstanceOutput) CreateTime() pulumi.StringOutput
- func (o InstanceOutput) DefaultRouteTableId() pulumi.StringOutput
- func (o InstanceOutput) DnsServers() pulumi.StringArrayOutput
- func (o InstanceOutput) DockerAssistantCidrs() pulumi.StringArrayOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) IsDefault() pulumi.BoolOutput
- func (o InstanceOutput) IsMulticast() pulumi.BoolPtrOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) Tags() pulumi.MapOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- type InstanceState
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 Acl ¶
type Acl struct { pulumi.CustomResourceState // Creation time of ACL. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Egress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`. Egresses pulumi.StringArrayOutput `pulumi:"egresses"` // Ingress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`. Ingresses pulumi.StringArrayOutput `pulumi:"ingresses"` // Name of the network ACL. Name pulumi.StringOutput `pulumi:"name"` // Tags of the vpc acl. Tags pulumi.MapOutput `pulumi:"tags"` // ID of the VPC instance. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provide a resource to create a VPC ACL instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := Vpc.GetInstances(ctx, nil, nil) if err != nil { return err } _, err = Vpc.NewAcl(ctx, "foo", &Vpc.AclArgs{ VpcId: pulumi.String(_default.InstanceLists[0].VpcId), Ingresses: pulumi.StringArray{ pulumi.String("ACCEPT#192.168.1.0/24#800#TCP"), pulumi.String("ACCEPT#192.168.1.0/24#800-900#TCP"), }, Egresses: pulumi.StringArray{ pulumi.String("ACCEPT#192.168.1.0/24#800#TCP"), pulumi.String("ACCEPT#192.168.1.0/24#800-900#TCP"), }, }) if err != nil { return err } return nil }) }
```
## Import
Vpc ACL can be imported, e.g.
```sh
$ pulumi import tencentcloud:Vpc/acl:Acl default acl-id
```
func GetAcl ¶
func GetAcl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)
GetAcl gets an existing Acl 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 NewAcl ¶
func NewAcl(ctx *pulumi.Context, name string, args *AclArgs, opts ...pulumi.ResourceOption) (*Acl, error)
NewAcl registers a new resource with the given unique name, arguments, and options.
func (*Acl) ElementType ¶
func (*Acl) ToAclOutput ¶
type AclArgs ¶
type AclArgs struct { // Egress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`. Egresses pulumi.StringArrayInput // Ingress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`. Ingresses pulumi.StringArrayInput // Name of the network ACL. Name pulumi.StringPtrInput // Tags of the vpc acl. Tags pulumi.MapInput // ID of the VPC instance. VpcId pulumi.StringInput }
The set of arguments for constructing a Acl resource.
func (AclArgs) ElementType ¶
type AclArray ¶
type AclArray []AclInput
func (AclArray) ElementType ¶
func (AclArray) ToAclArrayOutput ¶
func (i AclArray) ToAclArrayOutput() AclArrayOutput
func (AclArray) ToAclArrayOutputWithContext ¶
func (i AclArray) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput
type AclArrayInput ¶
type AclArrayInput interface { pulumi.Input ToAclArrayOutput() AclArrayOutput ToAclArrayOutputWithContext(context.Context) AclArrayOutput }
AclArrayInput is an input type that accepts AclArray and AclArrayOutput values. You can construct a concrete instance of `AclArrayInput` via:
AclArray{ AclArgs{...} }
type AclArrayOutput ¶
type AclArrayOutput struct{ *pulumi.OutputState }
func (AclArrayOutput) ElementType ¶
func (AclArrayOutput) ElementType() reflect.Type
func (AclArrayOutput) ToAclArrayOutput ¶
func (o AclArrayOutput) ToAclArrayOutput() AclArrayOutput
func (AclArrayOutput) ToAclArrayOutputWithContext ¶
func (o AclArrayOutput) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput
type AclAttachment ¶
type AclAttachment struct { pulumi.CustomResourceState // ID of the attached ACL. AclId pulumi.StringOutput `pulumi:"aclId"` // The Subnet instance ID. SubnetId pulumi.StringOutput `pulumi:"subnetId"` }
Provide a resource to attach an existing subnet to Network ACL.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { idInstances, err := Vpc.GetInstances(ctx, nil, nil) if err != nil { return err } foo, err := Vpc.NewAcl(ctx, "foo", &Vpc.AclArgs{ VpcId: pulumi.String(idInstances.InstanceLists[0].VpcId), Ingresses: pulumi.StringArray{ pulumi.String("ACCEPT#192.168.1.0/24#800#TCP"), pulumi.String("ACCEPT#192.168.1.0/24#800-900#TCP"), }, Egresses: pulumi.StringArray{ pulumi.String("ACCEPT#192.168.1.0/24#800#TCP"), pulumi.String("ACCEPT#192.168.1.0/24#800-900#TCP"), }, }) if err != nil { return err } _, err = Vpc.NewAclAttachment(ctx, "attachment", &Vpc.AclAttachmentArgs{ AclId: foo.ID(), SubnetId: pulumi.String(idInstances.InstanceLists[0].SubnetIds[0]), }) if err != nil { return err } return nil }) }
```
## Import
Acl attachment can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Vpc/aclAttachment:AclAttachment attachment acl-eotx5qsg#subnet-91x0geu6
```
func GetAclAttachment ¶
func GetAclAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclAttachmentState, opts ...pulumi.ResourceOption) (*AclAttachment, error)
GetAclAttachment gets an existing AclAttachment 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 NewAclAttachment ¶
func NewAclAttachment(ctx *pulumi.Context, name string, args *AclAttachmentArgs, opts ...pulumi.ResourceOption) (*AclAttachment, error)
NewAclAttachment registers a new resource with the given unique name, arguments, and options.
func (*AclAttachment) ElementType ¶
func (*AclAttachment) ElementType() reflect.Type
func (*AclAttachment) ToAclAttachmentOutput ¶
func (i *AclAttachment) ToAclAttachmentOutput() AclAttachmentOutput
func (*AclAttachment) ToAclAttachmentOutputWithContext ¶
func (i *AclAttachment) ToAclAttachmentOutputWithContext(ctx context.Context) AclAttachmentOutput
type AclAttachmentArgs ¶
type AclAttachmentArgs struct { // ID of the attached ACL. AclId pulumi.StringInput // The Subnet instance ID. SubnetId pulumi.StringInput }
The set of arguments for constructing a AclAttachment resource.
func (AclAttachmentArgs) ElementType ¶
func (AclAttachmentArgs) ElementType() reflect.Type
type AclAttachmentArray ¶
type AclAttachmentArray []AclAttachmentInput
func (AclAttachmentArray) ElementType ¶
func (AclAttachmentArray) ElementType() reflect.Type
func (AclAttachmentArray) ToAclAttachmentArrayOutput ¶
func (i AclAttachmentArray) ToAclAttachmentArrayOutput() AclAttachmentArrayOutput
func (AclAttachmentArray) ToAclAttachmentArrayOutputWithContext ¶
func (i AclAttachmentArray) ToAclAttachmentArrayOutputWithContext(ctx context.Context) AclAttachmentArrayOutput
type AclAttachmentArrayInput ¶
type AclAttachmentArrayInput interface { pulumi.Input ToAclAttachmentArrayOutput() AclAttachmentArrayOutput ToAclAttachmentArrayOutputWithContext(context.Context) AclAttachmentArrayOutput }
AclAttachmentArrayInput is an input type that accepts AclAttachmentArray and AclAttachmentArrayOutput values. You can construct a concrete instance of `AclAttachmentArrayInput` via:
AclAttachmentArray{ AclAttachmentArgs{...} }
type AclAttachmentArrayOutput ¶
type AclAttachmentArrayOutput struct{ *pulumi.OutputState }
func (AclAttachmentArrayOutput) ElementType ¶
func (AclAttachmentArrayOutput) ElementType() reflect.Type
func (AclAttachmentArrayOutput) Index ¶
func (o AclAttachmentArrayOutput) Index(i pulumi.IntInput) AclAttachmentOutput
func (AclAttachmentArrayOutput) ToAclAttachmentArrayOutput ¶
func (o AclAttachmentArrayOutput) ToAclAttachmentArrayOutput() AclAttachmentArrayOutput
func (AclAttachmentArrayOutput) ToAclAttachmentArrayOutputWithContext ¶
func (o AclAttachmentArrayOutput) ToAclAttachmentArrayOutputWithContext(ctx context.Context) AclAttachmentArrayOutput
type AclAttachmentInput ¶
type AclAttachmentInput interface { pulumi.Input ToAclAttachmentOutput() AclAttachmentOutput ToAclAttachmentOutputWithContext(ctx context.Context) AclAttachmentOutput }
type AclAttachmentMap ¶
type AclAttachmentMap map[string]AclAttachmentInput
func (AclAttachmentMap) ElementType ¶
func (AclAttachmentMap) ElementType() reflect.Type
func (AclAttachmentMap) ToAclAttachmentMapOutput ¶
func (i AclAttachmentMap) ToAclAttachmentMapOutput() AclAttachmentMapOutput
func (AclAttachmentMap) ToAclAttachmentMapOutputWithContext ¶
func (i AclAttachmentMap) ToAclAttachmentMapOutputWithContext(ctx context.Context) AclAttachmentMapOutput
type AclAttachmentMapInput ¶
type AclAttachmentMapInput interface { pulumi.Input ToAclAttachmentMapOutput() AclAttachmentMapOutput ToAclAttachmentMapOutputWithContext(context.Context) AclAttachmentMapOutput }
AclAttachmentMapInput is an input type that accepts AclAttachmentMap and AclAttachmentMapOutput values. You can construct a concrete instance of `AclAttachmentMapInput` via:
AclAttachmentMap{ "key": AclAttachmentArgs{...} }
type AclAttachmentMapOutput ¶
type AclAttachmentMapOutput struct{ *pulumi.OutputState }
func (AclAttachmentMapOutput) ElementType ¶
func (AclAttachmentMapOutput) ElementType() reflect.Type
func (AclAttachmentMapOutput) MapIndex ¶
func (o AclAttachmentMapOutput) MapIndex(k pulumi.StringInput) AclAttachmentOutput
func (AclAttachmentMapOutput) ToAclAttachmentMapOutput ¶
func (o AclAttachmentMapOutput) ToAclAttachmentMapOutput() AclAttachmentMapOutput
func (AclAttachmentMapOutput) ToAclAttachmentMapOutputWithContext ¶
func (o AclAttachmentMapOutput) ToAclAttachmentMapOutputWithContext(ctx context.Context) AclAttachmentMapOutput
type AclAttachmentOutput ¶
type AclAttachmentOutput struct{ *pulumi.OutputState }
func (AclAttachmentOutput) AclId ¶
func (o AclAttachmentOutput) AclId() pulumi.StringOutput
ID of the attached ACL.
func (AclAttachmentOutput) ElementType ¶
func (AclAttachmentOutput) ElementType() reflect.Type
func (AclAttachmentOutput) SubnetId ¶
func (o AclAttachmentOutput) SubnetId() pulumi.StringOutput
The Subnet instance ID.
func (AclAttachmentOutput) ToAclAttachmentOutput ¶
func (o AclAttachmentOutput) ToAclAttachmentOutput() AclAttachmentOutput
func (AclAttachmentOutput) ToAclAttachmentOutputWithContext ¶
func (o AclAttachmentOutput) ToAclAttachmentOutputWithContext(ctx context.Context) AclAttachmentOutput
type AclAttachmentState ¶
type AclAttachmentState struct { // ID of the attached ACL. AclId pulumi.StringPtrInput // The Subnet instance ID. SubnetId pulumi.StringPtrInput }
func (AclAttachmentState) ElementType ¶
func (AclAttachmentState) ElementType() reflect.Type
type AclMap ¶
func (AclMap) ElementType ¶
func (AclMap) ToAclMapOutput ¶
func (i AclMap) ToAclMapOutput() AclMapOutput
func (AclMap) ToAclMapOutputWithContext ¶
func (i AclMap) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput
type AclMapInput ¶
type AclMapInput interface { pulumi.Input ToAclMapOutput() AclMapOutput ToAclMapOutputWithContext(context.Context) AclMapOutput }
AclMapInput is an input type that accepts AclMap and AclMapOutput values. You can construct a concrete instance of `AclMapInput` via:
AclMap{ "key": AclArgs{...} }
type AclMapOutput ¶
type AclMapOutput struct{ *pulumi.OutputState }
func (AclMapOutput) ElementType ¶
func (AclMapOutput) ElementType() reflect.Type
func (AclMapOutput) MapIndex ¶
func (o AclMapOutput) MapIndex(k pulumi.StringInput) AclOutput
func (AclMapOutput) ToAclMapOutput ¶
func (o AclMapOutput) ToAclMapOutput() AclMapOutput
func (AclMapOutput) ToAclMapOutputWithContext ¶
func (o AclMapOutput) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput
type AclOutput ¶
type AclOutput struct{ *pulumi.OutputState }
func (AclOutput) CreateTime ¶
func (o AclOutput) CreateTime() pulumi.StringOutput
Creation time of ACL.
func (AclOutput) Egresses ¶
func (o AclOutput) Egresses() pulumi.StringArrayOutput
Egress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.
func (AclOutput) ElementType ¶
func (AclOutput) Ingresses ¶
func (o AclOutput) Ingresses() pulumi.StringArrayOutput
Ingress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`.
func (AclOutput) ToAclOutput ¶
func (AclOutput) ToAclOutputWithContext ¶
type AclState ¶
type AclState struct { // Creation time of ACL. CreateTime pulumi.StringPtrInput // Egress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`. Egresses pulumi.StringArrayInput // Ingress rules. A rule must match the following format: [action]#[cidrIp]#[port]#[protocol]. The available value of 'action' is `ACCEPT` and `DROP`. The 'cidr_ip' must be an IP address network or segment. The 'port' valid format is `80`, `80,443`, `80-90` or `ALL`. The available value of 'protocol' is `TCP`, `UDP`, `ICMP` and `ALL`. When 'protocol' is `ICMP` or `ALL`, the 'port' must be `ALL`. Ingresses pulumi.StringArrayInput // Name of the network ACL. Name pulumi.StringPtrInput // Tags of the vpc acl. Tags pulumi.MapInput // ID of the VPC instance. VpcId pulumi.StringPtrInput }
func (AclState) ElementType ¶
type BandwidthPackage ¶ added in v0.1.3
type BandwidthPackage struct { pulumi.CustomResourceState // Bandwidth package name. BandwidthPackageName pulumi.StringPtrOutput `pulumi:"bandwidthPackageName"` // Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH, optional value:- `TOP5_POSTPAID_BY_MONTH`: TOP5 billed by monthly postpaid- `PERCENT95_POSTPAID_BY_MONTH`: 95 billed monthly postpaid- `FIXED_PREPAID_BY_MONTH`: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction). ChargeType pulumi.StringPtrOutput `pulumi:"chargeType"` // Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit. InternetMaxBandwidth pulumi.IntPtrOutput `pulumi:"internetMaxBandwidth"` // Bandwidth packet type, default:BGP, optional:- `BGP`: common BGP shared bandwidth package- `HIGH_QUALITY_BGP`: Quality BGP Shared Bandwidth Package. NetworkType pulumi.StringPtrOutput `pulumi:"networkType"` // Tag description list. Tags pulumi.MapOutput `pulumi:"tags"` }
Provides a resource to create a vpc bandwidthPackage
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Vpc.NewBandwidthPackage(ctx, "bandwidthPackage", &Vpc.BandwidthPackageArgs{ BandwidthPackageName: pulumi.String("test-001"), ChargeType: pulumi.String("TOP5_POSTPAID_BY_MONTH"), NetworkType: pulumi.String("BGP"), Tags: pulumi.AnyMap{ "createdBy": pulumi.Any("terraform"), }, }) if err != nil { return err } return nil }) }
```
## Import
vpc bandwidth_package can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Vpc/bandwidthPackage:BandwidthPackage bandwidth_package bandwidthPackage_id
```
func GetBandwidthPackage ¶ added in v0.1.3
func GetBandwidthPackage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BandwidthPackageState, opts ...pulumi.ResourceOption) (*BandwidthPackage, error)
GetBandwidthPackage gets an existing BandwidthPackage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBandwidthPackage ¶ added in v0.1.3
func NewBandwidthPackage(ctx *pulumi.Context, name string, args *BandwidthPackageArgs, opts ...pulumi.ResourceOption) (*BandwidthPackage, error)
NewBandwidthPackage registers a new resource with the given unique name, arguments, and options.
func (*BandwidthPackage) ElementType ¶ added in v0.1.3
func (*BandwidthPackage) ElementType() reflect.Type
func (*BandwidthPackage) ToBandwidthPackageOutput ¶ added in v0.1.3
func (i *BandwidthPackage) ToBandwidthPackageOutput() BandwidthPackageOutput
func (*BandwidthPackage) ToBandwidthPackageOutputWithContext ¶ added in v0.1.3
func (i *BandwidthPackage) ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput
type BandwidthPackageArgs ¶ added in v0.1.3
type BandwidthPackageArgs struct { // Bandwidth package name. BandwidthPackageName pulumi.StringPtrInput // Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH, optional value:- `TOP5_POSTPAID_BY_MONTH`: TOP5 billed by monthly postpaid- `PERCENT95_POSTPAID_BY_MONTH`: 95 billed monthly postpaid- `FIXED_PREPAID_BY_MONTH`: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction). ChargeType pulumi.StringPtrInput // Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit. InternetMaxBandwidth pulumi.IntPtrInput // Bandwidth packet type, default:BGP, optional:- `BGP`: common BGP shared bandwidth package- `HIGH_QUALITY_BGP`: Quality BGP Shared Bandwidth Package. NetworkType pulumi.StringPtrInput // Tag description list. Tags pulumi.MapInput }
The set of arguments for constructing a BandwidthPackage resource.
func (BandwidthPackageArgs) ElementType ¶ added in v0.1.3
func (BandwidthPackageArgs) ElementType() reflect.Type
type BandwidthPackageArray ¶ added in v0.1.3
type BandwidthPackageArray []BandwidthPackageInput
func (BandwidthPackageArray) ElementType ¶ added in v0.1.3
func (BandwidthPackageArray) ElementType() reflect.Type
func (BandwidthPackageArray) ToBandwidthPackageArrayOutput ¶ added in v0.1.3
func (i BandwidthPackageArray) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput
func (BandwidthPackageArray) ToBandwidthPackageArrayOutputWithContext ¶ added in v0.1.3
func (i BandwidthPackageArray) ToBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackageArrayOutput
type BandwidthPackageArrayInput ¶ added in v0.1.3
type BandwidthPackageArrayInput interface { pulumi.Input ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput ToBandwidthPackageArrayOutputWithContext(context.Context) BandwidthPackageArrayOutput }
BandwidthPackageArrayInput is an input type that accepts BandwidthPackageArray and BandwidthPackageArrayOutput values. You can construct a concrete instance of `BandwidthPackageArrayInput` via:
BandwidthPackageArray{ BandwidthPackageArgs{...} }
type BandwidthPackageArrayOutput ¶ added in v0.1.3
type BandwidthPackageArrayOutput struct{ *pulumi.OutputState }
func (BandwidthPackageArrayOutput) ElementType ¶ added in v0.1.3
func (BandwidthPackageArrayOutput) ElementType() reflect.Type
func (BandwidthPackageArrayOutput) Index ¶ added in v0.1.3
func (o BandwidthPackageArrayOutput) Index(i pulumi.IntInput) BandwidthPackageOutput
func (BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput ¶ added in v0.1.3
func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput
func (BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutputWithContext ¶ added in v0.1.3
func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackageArrayOutput
type BandwidthPackageAttachment ¶ added in v0.1.3
type BandwidthPackageAttachment struct { pulumi.CustomResourceState // Bandwidth package unique ID, in the form of `bwp-xxxx`. BandwidthPackageId pulumi.StringOutput `pulumi:"bandwidthPackageId"` // Bandwidth packet type, currently supports `BGP` type, indicating that the internal resource is BGP IP. NetworkType pulumi.StringPtrOutput `pulumi:"networkType"` // Bandwidth packet protocol type. Currently `ipv4` and `ipv6` protocol types are supported. Protocol pulumi.StringPtrOutput `pulumi:"protocol"` // The unique ID of the resource, currently supports EIP resources and LB resources, such as `eip-xxxx`, `lb-xxxx`. ResourceId pulumi.StringOutput `pulumi:"resourceId"` // Resource types, including `Address`, `LoadBalance`. ResourceType pulumi.StringPtrOutput `pulumi:"resourceType"` }
Provides a resource to create a vpc bandwidthPackageAttachment
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Vpc.NewBandwidthPackageAttachment(ctx, "bandwidthPackageAttachment", &Vpc.BandwidthPackageAttachmentArgs{ BandwidthPackageId: pulumi.String("bwp-atmf0p9g"), NetworkType: pulumi.String("BGP"), Protocol: pulumi.String(""), ResourceId: pulumi.String("lb-dv1ai6ma"), ResourceType: pulumi.String("LoadBalance"), }) if err != nil { return err } return nil }) }
```
func GetBandwidthPackageAttachment ¶ added in v0.1.3
func GetBandwidthPackageAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BandwidthPackageAttachmentState, opts ...pulumi.ResourceOption) (*BandwidthPackageAttachment, error)
GetBandwidthPackageAttachment gets an existing BandwidthPackageAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBandwidthPackageAttachment ¶ added in v0.1.3
func NewBandwidthPackageAttachment(ctx *pulumi.Context, name string, args *BandwidthPackageAttachmentArgs, opts ...pulumi.ResourceOption) (*BandwidthPackageAttachment, error)
NewBandwidthPackageAttachment registers a new resource with the given unique name, arguments, and options.
func (*BandwidthPackageAttachment) ElementType ¶ added in v0.1.3
func (*BandwidthPackageAttachment) ElementType() reflect.Type
func (*BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutput ¶ added in v0.1.3
func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput
func (*BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutputWithContext ¶ added in v0.1.3
func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput
type BandwidthPackageAttachmentArgs ¶ added in v0.1.3
type BandwidthPackageAttachmentArgs struct { // Bandwidth package unique ID, in the form of `bwp-xxxx`. BandwidthPackageId pulumi.StringInput // Bandwidth packet type, currently supports `BGP` type, indicating that the internal resource is BGP IP. NetworkType pulumi.StringPtrInput // Bandwidth packet protocol type. Currently `ipv4` and `ipv6` protocol types are supported. Protocol pulumi.StringPtrInput // The unique ID of the resource, currently supports EIP resources and LB resources, such as `eip-xxxx`, `lb-xxxx`. ResourceId pulumi.StringInput // Resource types, including `Address`, `LoadBalance`. ResourceType pulumi.StringPtrInput }
The set of arguments for constructing a BandwidthPackageAttachment resource.
func (BandwidthPackageAttachmentArgs) ElementType ¶ added in v0.1.3
func (BandwidthPackageAttachmentArgs) ElementType() reflect.Type
type BandwidthPackageAttachmentArray ¶ added in v0.1.3
type BandwidthPackageAttachmentArray []BandwidthPackageAttachmentInput
func (BandwidthPackageAttachmentArray) ElementType ¶ added in v0.1.3
func (BandwidthPackageAttachmentArray) ElementType() reflect.Type
func (BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutput ¶ added in v0.1.3
func (i BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput
func (BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutputWithContext ¶ added in v0.1.3
func (i BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutputWithContext(ctx context.Context) BandwidthPackageAttachmentArrayOutput
type BandwidthPackageAttachmentArrayInput ¶ added in v0.1.3
type BandwidthPackageAttachmentArrayInput interface { pulumi.Input ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput ToBandwidthPackageAttachmentArrayOutputWithContext(context.Context) BandwidthPackageAttachmentArrayOutput }
BandwidthPackageAttachmentArrayInput is an input type that accepts BandwidthPackageAttachmentArray and BandwidthPackageAttachmentArrayOutput values. You can construct a concrete instance of `BandwidthPackageAttachmentArrayInput` via:
BandwidthPackageAttachmentArray{ BandwidthPackageAttachmentArgs{...} }
type BandwidthPackageAttachmentArrayOutput ¶ added in v0.1.3
type BandwidthPackageAttachmentArrayOutput struct{ *pulumi.OutputState }
func (BandwidthPackageAttachmentArrayOutput) ElementType ¶ added in v0.1.3
func (BandwidthPackageAttachmentArrayOutput) ElementType() reflect.Type
func (BandwidthPackageAttachmentArrayOutput) Index ¶ added in v0.1.3
func (o BandwidthPackageAttachmentArrayOutput) Index(i pulumi.IntInput) BandwidthPackageAttachmentOutput
func (BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutput ¶ added in v0.1.3
func (o BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput
func (BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutputWithContext ¶ added in v0.1.3
func (o BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutputWithContext(ctx context.Context) BandwidthPackageAttachmentArrayOutput
type BandwidthPackageAttachmentInput ¶ added in v0.1.3
type BandwidthPackageAttachmentInput interface { pulumi.Input ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput }
type BandwidthPackageAttachmentMap ¶ added in v0.1.3
type BandwidthPackageAttachmentMap map[string]BandwidthPackageAttachmentInput
func (BandwidthPackageAttachmentMap) ElementType ¶ added in v0.1.3
func (BandwidthPackageAttachmentMap) ElementType() reflect.Type
func (BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutput ¶ added in v0.1.3
func (i BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput
func (BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutputWithContext ¶ added in v0.1.3
func (i BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutputWithContext(ctx context.Context) BandwidthPackageAttachmentMapOutput
type BandwidthPackageAttachmentMapInput ¶ added in v0.1.3
type BandwidthPackageAttachmentMapInput interface { pulumi.Input ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput ToBandwidthPackageAttachmentMapOutputWithContext(context.Context) BandwidthPackageAttachmentMapOutput }
BandwidthPackageAttachmentMapInput is an input type that accepts BandwidthPackageAttachmentMap and BandwidthPackageAttachmentMapOutput values. You can construct a concrete instance of `BandwidthPackageAttachmentMapInput` via:
BandwidthPackageAttachmentMap{ "key": BandwidthPackageAttachmentArgs{...} }
type BandwidthPackageAttachmentMapOutput ¶ added in v0.1.3
type BandwidthPackageAttachmentMapOutput struct{ *pulumi.OutputState }
func (BandwidthPackageAttachmentMapOutput) ElementType ¶ added in v0.1.3
func (BandwidthPackageAttachmentMapOutput) ElementType() reflect.Type
func (BandwidthPackageAttachmentMapOutput) MapIndex ¶ added in v0.1.3
func (o BandwidthPackageAttachmentMapOutput) MapIndex(k pulumi.StringInput) BandwidthPackageAttachmentOutput
func (BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutput ¶ added in v0.1.3
func (o BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput
func (BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutputWithContext ¶ added in v0.1.3
func (o BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutputWithContext(ctx context.Context) BandwidthPackageAttachmentMapOutput
type BandwidthPackageAttachmentOutput ¶ added in v0.1.3
type BandwidthPackageAttachmentOutput struct{ *pulumi.OutputState }
func (BandwidthPackageAttachmentOutput) BandwidthPackageId ¶ added in v0.1.3
func (o BandwidthPackageAttachmentOutput) BandwidthPackageId() pulumi.StringOutput
Bandwidth package unique ID, in the form of `bwp-xxxx`.
func (BandwidthPackageAttachmentOutput) ElementType ¶ added in v0.1.3
func (BandwidthPackageAttachmentOutput) ElementType() reflect.Type
func (BandwidthPackageAttachmentOutput) NetworkType ¶ added in v0.1.3
func (o BandwidthPackageAttachmentOutput) NetworkType() pulumi.StringPtrOutput
Bandwidth packet type, currently supports `BGP` type, indicating that the internal resource is BGP IP.
func (BandwidthPackageAttachmentOutput) Protocol ¶ added in v0.1.3
func (o BandwidthPackageAttachmentOutput) Protocol() pulumi.StringPtrOutput
Bandwidth packet protocol type. Currently `ipv4` and `ipv6` protocol types are supported.
func (BandwidthPackageAttachmentOutput) ResourceId ¶ added in v0.1.3
func (o BandwidthPackageAttachmentOutput) ResourceId() pulumi.StringOutput
The unique ID of the resource, currently supports EIP resources and LB resources, such as `eip-xxxx`, `lb-xxxx`.
func (BandwidthPackageAttachmentOutput) ResourceType ¶ added in v0.1.3
func (o BandwidthPackageAttachmentOutput) ResourceType() pulumi.StringPtrOutput
Resource types, including `Address`, `LoadBalance`.
func (BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutput ¶ added in v0.1.3
func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput
func (BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutputWithContext ¶ added in v0.1.3
func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput
type BandwidthPackageAttachmentState ¶ added in v0.1.3
type BandwidthPackageAttachmentState struct { // Bandwidth package unique ID, in the form of `bwp-xxxx`. BandwidthPackageId pulumi.StringPtrInput // Bandwidth packet type, currently supports `BGP` type, indicating that the internal resource is BGP IP. NetworkType pulumi.StringPtrInput // Bandwidth packet protocol type. Currently `ipv4` and `ipv6` protocol types are supported. Protocol pulumi.StringPtrInput // The unique ID of the resource, currently supports EIP resources and LB resources, such as `eip-xxxx`, `lb-xxxx`. ResourceId pulumi.StringPtrInput // Resource types, including `Address`, `LoadBalance`. ResourceType pulumi.StringPtrInput }
func (BandwidthPackageAttachmentState) ElementType ¶ added in v0.1.3
func (BandwidthPackageAttachmentState) ElementType() reflect.Type
type BandwidthPackageInput ¶ added in v0.1.3
type BandwidthPackageInput interface { pulumi.Input ToBandwidthPackageOutput() BandwidthPackageOutput ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput }
type BandwidthPackageMap ¶ added in v0.1.3
type BandwidthPackageMap map[string]BandwidthPackageInput
func (BandwidthPackageMap) ElementType ¶ added in v0.1.3
func (BandwidthPackageMap) ElementType() reflect.Type
func (BandwidthPackageMap) ToBandwidthPackageMapOutput ¶ added in v0.1.3
func (i BandwidthPackageMap) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput
func (BandwidthPackageMap) ToBandwidthPackageMapOutputWithContext ¶ added in v0.1.3
func (i BandwidthPackageMap) ToBandwidthPackageMapOutputWithContext(ctx context.Context) BandwidthPackageMapOutput
type BandwidthPackageMapInput ¶ added in v0.1.3
type BandwidthPackageMapInput interface { pulumi.Input ToBandwidthPackageMapOutput() BandwidthPackageMapOutput ToBandwidthPackageMapOutputWithContext(context.Context) BandwidthPackageMapOutput }
BandwidthPackageMapInput is an input type that accepts BandwidthPackageMap and BandwidthPackageMapOutput values. You can construct a concrete instance of `BandwidthPackageMapInput` via:
BandwidthPackageMap{ "key": BandwidthPackageArgs{...} }
type BandwidthPackageMapOutput ¶ added in v0.1.3
type BandwidthPackageMapOutput struct{ *pulumi.OutputState }
func (BandwidthPackageMapOutput) ElementType ¶ added in v0.1.3
func (BandwidthPackageMapOutput) ElementType() reflect.Type
func (BandwidthPackageMapOutput) MapIndex ¶ added in v0.1.3
func (o BandwidthPackageMapOutput) MapIndex(k pulumi.StringInput) BandwidthPackageOutput
func (BandwidthPackageMapOutput) ToBandwidthPackageMapOutput ¶ added in v0.1.3
func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput
func (BandwidthPackageMapOutput) ToBandwidthPackageMapOutputWithContext ¶ added in v0.1.3
func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutputWithContext(ctx context.Context) BandwidthPackageMapOutput
type BandwidthPackageOutput ¶ added in v0.1.3
type BandwidthPackageOutput struct{ *pulumi.OutputState }
func (BandwidthPackageOutput) BandwidthPackageName ¶ added in v0.1.3
func (o BandwidthPackageOutput) BandwidthPackageName() pulumi.StringPtrOutput
Bandwidth package name.
func (BandwidthPackageOutput) ChargeType ¶ added in v0.1.3
func (o BandwidthPackageOutput) ChargeType() pulumi.StringPtrOutput
Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH, optional value:- `TOP5_POSTPAID_BY_MONTH`: TOP5 billed by monthly postpaid- `PERCENT95_POSTPAID_BY_MONTH`: 95 billed monthly postpaid- `FIXED_PREPAID_BY_MONTH`: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction).
func (BandwidthPackageOutput) ElementType ¶ added in v0.1.3
func (BandwidthPackageOutput) ElementType() reflect.Type
func (BandwidthPackageOutput) InternetMaxBandwidth ¶ added in v0.1.3
func (o BandwidthPackageOutput) InternetMaxBandwidth() pulumi.IntPtrOutput
Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit.
func (BandwidthPackageOutput) NetworkType ¶ added in v0.1.3
func (o BandwidthPackageOutput) NetworkType() pulumi.StringPtrOutput
Bandwidth packet type, default:BGP, optional:- `BGP`: common BGP shared bandwidth package- `HIGH_QUALITY_BGP`: Quality BGP Shared Bandwidth Package.
func (BandwidthPackageOutput) Tags ¶ added in v0.1.3
func (o BandwidthPackageOutput) Tags() pulumi.MapOutput
Tag description list.
func (BandwidthPackageOutput) ToBandwidthPackageOutput ¶ added in v0.1.3
func (o BandwidthPackageOutput) ToBandwidthPackageOutput() BandwidthPackageOutput
func (BandwidthPackageOutput) ToBandwidthPackageOutputWithContext ¶ added in v0.1.3
func (o BandwidthPackageOutput) ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput
type BandwidthPackageState ¶ added in v0.1.3
type BandwidthPackageState struct { // Bandwidth package name. BandwidthPackageName pulumi.StringPtrInput // Bandwidth package billing type, default: TOP5_POSTPAID_BY_MONTH, optional value:- `TOP5_POSTPAID_BY_MONTH`: TOP5 billed by monthly postpaid- `PERCENT95_POSTPAID_BY_MONTH`: 95 billed monthly postpaid- `FIXED_PREPAID_BY_MONTH`: Monthly prepaid billing (Type FIXED_PREPAID_BY_MONTH product API capability is under construction). ChargeType pulumi.StringPtrInput // Bandwidth packet speed limit size. Unit: Mbps, -1 means no speed limit. InternetMaxBandwidth pulumi.IntPtrInput // Bandwidth packet type, default:BGP, optional:- `BGP`: common BGP shared bandwidth package- `HIGH_QUALITY_BGP`: Quality BGP Shared Bandwidth Package. NetworkType pulumi.StringPtrInput // Tag description list. Tags pulumi.MapInput }
func (BandwidthPackageState) ElementType ¶ added in v0.1.3
func (BandwidthPackageState) ElementType() reflect.Type
type EndPoint ¶ added in v0.1.3
type EndPoint struct { pulumi.CustomResourceState // Create Time. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Name of endpoint. EndPointName pulumi.StringOutput `pulumi:"endPointName"` // APPID. EndPointOwner pulumi.StringOutput `pulumi:"endPointOwner"` // ID of endpoint service. EndPointServiceId pulumi.StringOutput `pulumi:"endPointServiceId"` // VIP of endpoint ip. EndPointVip pulumi.StringPtrOutput `pulumi:"endPointVip"` // state of end point. State pulumi.StringOutput `pulumi:"state"` // ID of subnet instance. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // ID of vpc instance. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provides a resource to create a vpc endPoint
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Vpc.NewEndPoint(ctx, "endPoint", &Vpc.EndPointArgs{ EndPointName: pulumi.String("terraform-test"), EndPointServiceId: pulumi.String("vpcsvc-69y13tdb"), EndPointVip: pulumi.String("10.0.2.1"), SubnetId: pulumi.String("subnet-ljyn7h30"), VpcId: pulumi.String("vpc-391sv4w3"), }) if err != nil { return err } return nil }) }
```
## Import
vpc end_point can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Vpc/endPoint:EndPoint end_point end_point_id
```
func GetEndPoint ¶ added in v0.1.3
func GetEndPoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndPointState, opts ...pulumi.ResourceOption) (*EndPoint, error)
GetEndPoint gets an existing EndPoint 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 NewEndPoint ¶ added in v0.1.3
func NewEndPoint(ctx *pulumi.Context, name string, args *EndPointArgs, opts ...pulumi.ResourceOption) (*EndPoint, error)
NewEndPoint registers a new resource with the given unique name, arguments, and options.
func (*EndPoint) ElementType ¶ added in v0.1.3
func (*EndPoint) ToEndPointOutput ¶ added in v0.1.3
func (i *EndPoint) ToEndPointOutput() EndPointOutput
func (*EndPoint) ToEndPointOutputWithContext ¶ added in v0.1.3
func (i *EndPoint) ToEndPointOutputWithContext(ctx context.Context) EndPointOutput
type EndPointArgs ¶ added in v0.1.3
type EndPointArgs struct { // Name of endpoint. EndPointName pulumi.StringInput // ID of endpoint service. EndPointServiceId pulumi.StringInput // VIP of endpoint ip. EndPointVip pulumi.StringPtrInput // ID of subnet instance. SubnetId pulumi.StringInput // ID of vpc instance. VpcId pulumi.StringInput }
The set of arguments for constructing a EndPoint resource.
func (EndPointArgs) ElementType ¶ added in v0.1.3
func (EndPointArgs) ElementType() reflect.Type
type EndPointArray ¶ added in v0.1.3
type EndPointArray []EndPointInput
func (EndPointArray) ElementType ¶ added in v0.1.3
func (EndPointArray) ElementType() reflect.Type
func (EndPointArray) ToEndPointArrayOutput ¶ added in v0.1.3
func (i EndPointArray) ToEndPointArrayOutput() EndPointArrayOutput
func (EndPointArray) ToEndPointArrayOutputWithContext ¶ added in v0.1.3
func (i EndPointArray) ToEndPointArrayOutputWithContext(ctx context.Context) EndPointArrayOutput
type EndPointArrayInput ¶ added in v0.1.3
type EndPointArrayInput interface { pulumi.Input ToEndPointArrayOutput() EndPointArrayOutput ToEndPointArrayOutputWithContext(context.Context) EndPointArrayOutput }
EndPointArrayInput is an input type that accepts EndPointArray and EndPointArrayOutput values. You can construct a concrete instance of `EndPointArrayInput` via:
EndPointArray{ EndPointArgs{...} }
type EndPointArrayOutput ¶ added in v0.1.3
type EndPointArrayOutput struct{ *pulumi.OutputState }
func (EndPointArrayOutput) ElementType ¶ added in v0.1.3
func (EndPointArrayOutput) ElementType() reflect.Type
func (EndPointArrayOutput) Index ¶ added in v0.1.3
func (o EndPointArrayOutput) Index(i pulumi.IntInput) EndPointOutput
func (EndPointArrayOutput) ToEndPointArrayOutput ¶ added in v0.1.3
func (o EndPointArrayOutput) ToEndPointArrayOutput() EndPointArrayOutput
func (EndPointArrayOutput) ToEndPointArrayOutputWithContext ¶ added in v0.1.3
func (o EndPointArrayOutput) ToEndPointArrayOutputWithContext(ctx context.Context) EndPointArrayOutput
type EndPointInput ¶ added in v0.1.3
type EndPointInput interface { pulumi.Input ToEndPointOutput() EndPointOutput ToEndPointOutputWithContext(ctx context.Context) EndPointOutput }
type EndPointMap ¶ added in v0.1.3
type EndPointMap map[string]EndPointInput
func (EndPointMap) ElementType ¶ added in v0.1.3
func (EndPointMap) ElementType() reflect.Type
func (EndPointMap) ToEndPointMapOutput ¶ added in v0.1.3
func (i EndPointMap) ToEndPointMapOutput() EndPointMapOutput
func (EndPointMap) ToEndPointMapOutputWithContext ¶ added in v0.1.3
func (i EndPointMap) ToEndPointMapOutputWithContext(ctx context.Context) EndPointMapOutput
type EndPointMapInput ¶ added in v0.1.3
type EndPointMapInput interface { pulumi.Input ToEndPointMapOutput() EndPointMapOutput ToEndPointMapOutputWithContext(context.Context) EndPointMapOutput }
EndPointMapInput is an input type that accepts EndPointMap and EndPointMapOutput values. You can construct a concrete instance of `EndPointMapInput` via:
EndPointMap{ "key": EndPointArgs{...} }
type EndPointMapOutput ¶ added in v0.1.3
type EndPointMapOutput struct{ *pulumi.OutputState }
func (EndPointMapOutput) ElementType ¶ added in v0.1.3
func (EndPointMapOutput) ElementType() reflect.Type
func (EndPointMapOutput) MapIndex ¶ added in v0.1.3
func (o EndPointMapOutput) MapIndex(k pulumi.StringInput) EndPointOutput
func (EndPointMapOutput) ToEndPointMapOutput ¶ added in v0.1.3
func (o EndPointMapOutput) ToEndPointMapOutput() EndPointMapOutput
func (EndPointMapOutput) ToEndPointMapOutputWithContext ¶ added in v0.1.3
func (o EndPointMapOutput) ToEndPointMapOutputWithContext(ctx context.Context) EndPointMapOutput
type EndPointOutput ¶ added in v0.1.3
type EndPointOutput struct{ *pulumi.OutputState }
func (EndPointOutput) CreateTime ¶ added in v0.1.3
func (o EndPointOutput) CreateTime() pulumi.StringOutput
Create Time.
func (EndPointOutput) ElementType ¶ added in v0.1.3
func (EndPointOutput) ElementType() reflect.Type
func (EndPointOutput) EndPointName ¶ added in v0.1.3
func (o EndPointOutput) EndPointName() pulumi.StringOutput
Name of endpoint.
func (EndPointOutput) EndPointOwner ¶ added in v0.1.3
func (o EndPointOutput) EndPointOwner() pulumi.StringOutput
APPID.
func (EndPointOutput) EndPointServiceId ¶ added in v0.1.3
func (o EndPointOutput) EndPointServiceId() pulumi.StringOutput
ID of endpoint service.
func (EndPointOutput) EndPointVip ¶ added in v0.1.3
func (o EndPointOutput) EndPointVip() pulumi.StringPtrOutput
VIP of endpoint ip.
func (EndPointOutput) State ¶ added in v0.1.3
func (o EndPointOutput) State() pulumi.StringOutput
state of end point.
func (EndPointOutput) SubnetId ¶ added in v0.1.3
func (o EndPointOutput) SubnetId() pulumi.StringOutput
ID of subnet instance.
func (EndPointOutput) ToEndPointOutput ¶ added in v0.1.3
func (o EndPointOutput) ToEndPointOutput() EndPointOutput
func (EndPointOutput) ToEndPointOutputWithContext ¶ added in v0.1.3
func (o EndPointOutput) ToEndPointOutputWithContext(ctx context.Context) EndPointOutput
func (EndPointOutput) VpcId ¶ added in v0.1.3
func (o EndPointOutput) VpcId() pulumi.StringOutput
ID of vpc instance.
type EndPointService ¶ added in v0.1.3
type EndPointService struct { pulumi.CustomResourceState // Whether to automatically accept. AutoAcceptFlag pulumi.BoolOutput `pulumi:"autoAcceptFlag"` // Create Time. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Count of end point. EndPointCount pulumi.IntOutput `pulumi:"endPointCount"` // Name of end point service. EndPointServiceName pulumi.StringOutput `pulumi:"endPointServiceName"` // Id of service instance, like lb-xxx. ServiceInstanceId pulumi.StringOutput `pulumi:"serviceInstanceId"` // APPID. ServiceOwner pulumi.StringOutput `pulumi:"serviceOwner"` // Type of service instance, like `CLB`, `CDB`, `CRS`, default is `CLB`. ServiceType pulumi.StringOutput `pulumi:"serviceType"` // VIP of backend service. ServiceVip pulumi.StringOutput `pulumi:"serviceVip"` // ID of vpc instance. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provides a resource to create a vpc endPointService
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Vpc.NewEndPointService(ctx, "endPointService", &Vpc.EndPointServiceArgs{ AutoAcceptFlag: pulumi.Bool(false), EndPointServiceName: pulumi.String("terraform-endpoint-service"), ServiceInstanceId: pulumi.String("lb-o5f6x7ke"), ServiceType: pulumi.String("CLB"), VpcId: pulumi.String("vpc-391sv4w3"), }) if err != nil { return err } return nil }) }
```
## Import
vpc end_point_service can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Vpc/endPointService:EndPointService end_point_service end_point_service_id
```
func GetEndPointService ¶ added in v0.1.3
func GetEndPointService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndPointServiceState, opts ...pulumi.ResourceOption) (*EndPointService, error)
GetEndPointService gets an existing EndPointService 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 NewEndPointService ¶ added in v0.1.3
func NewEndPointService(ctx *pulumi.Context, name string, args *EndPointServiceArgs, opts ...pulumi.ResourceOption) (*EndPointService, error)
NewEndPointService registers a new resource with the given unique name, arguments, and options.
func (*EndPointService) ElementType ¶ added in v0.1.3
func (*EndPointService) ElementType() reflect.Type
func (*EndPointService) ToEndPointServiceOutput ¶ added in v0.1.3
func (i *EndPointService) ToEndPointServiceOutput() EndPointServiceOutput
func (*EndPointService) ToEndPointServiceOutputWithContext ¶ added in v0.1.3
func (i *EndPointService) ToEndPointServiceOutputWithContext(ctx context.Context) EndPointServiceOutput
type EndPointServiceArgs ¶ added in v0.1.3
type EndPointServiceArgs struct { // Whether to automatically accept. AutoAcceptFlag pulumi.BoolInput // Name of end point service. EndPointServiceName pulumi.StringInput // Id of service instance, like lb-xxx. ServiceInstanceId pulumi.StringInput // Type of service instance, like `CLB`, `CDB`, `CRS`, default is `CLB`. ServiceType pulumi.StringPtrInput // ID of vpc instance. VpcId pulumi.StringInput }
The set of arguments for constructing a EndPointService resource.
func (EndPointServiceArgs) ElementType ¶ added in v0.1.3
func (EndPointServiceArgs) ElementType() reflect.Type
type EndPointServiceArray ¶ added in v0.1.3
type EndPointServiceArray []EndPointServiceInput
func (EndPointServiceArray) ElementType ¶ added in v0.1.3
func (EndPointServiceArray) ElementType() reflect.Type
func (EndPointServiceArray) ToEndPointServiceArrayOutput ¶ added in v0.1.3
func (i EndPointServiceArray) ToEndPointServiceArrayOutput() EndPointServiceArrayOutput
func (EndPointServiceArray) ToEndPointServiceArrayOutputWithContext ¶ added in v0.1.3
func (i EndPointServiceArray) ToEndPointServiceArrayOutputWithContext(ctx context.Context) EndPointServiceArrayOutput
type EndPointServiceArrayInput ¶ added in v0.1.3
type EndPointServiceArrayInput interface { pulumi.Input ToEndPointServiceArrayOutput() EndPointServiceArrayOutput ToEndPointServiceArrayOutputWithContext(context.Context) EndPointServiceArrayOutput }
EndPointServiceArrayInput is an input type that accepts EndPointServiceArray and EndPointServiceArrayOutput values. You can construct a concrete instance of `EndPointServiceArrayInput` via:
EndPointServiceArray{ EndPointServiceArgs{...} }
type EndPointServiceArrayOutput ¶ added in v0.1.3
type EndPointServiceArrayOutput struct{ *pulumi.OutputState }
func (EndPointServiceArrayOutput) ElementType ¶ added in v0.1.3
func (EndPointServiceArrayOutput) ElementType() reflect.Type
func (EndPointServiceArrayOutput) Index ¶ added in v0.1.3
func (o EndPointServiceArrayOutput) Index(i pulumi.IntInput) EndPointServiceOutput
func (EndPointServiceArrayOutput) ToEndPointServiceArrayOutput ¶ added in v0.1.3
func (o EndPointServiceArrayOutput) ToEndPointServiceArrayOutput() EndPointServiceArrayOutput
func (EndPointServiceArrayOutput) ToEndPointServiceArrayOutputWithContext ¶ added in v0.1.3
func (o EndPointServiceArrayOutput) ToEndPointServiceArrayOutputWithContext(ctx context.Context) EndPointServiceArrayOutput
type EndPointServiceInput ¶ added in v0.1.3
type EndPointServiceInput interface { pulumi.Input ToEndPointServiceOutput() EndPointServiceOutput ToEndPointServiceOutputWithContext(ctx context.Context) EndPointServiceOutput }
type EndPointServiceMap ¶ added in v0.1.3
type EndPointServiceMap map[string]EndPointServiceInput
func (EndPointServiceMap) ElementType ¶ added in v0.1.3
func (EndPointServiceMap) ElementType() reflect.Type
func (EndPointServiceMap) ToEndPointServiceMapOutput ¶ added in v0.1.3
func (i EndPointServiceMap) ToEndPointServiceMapOutput() EndPointServiceMapOutput
func (EndPointServiceMap) ToEndPointServiceMapOutputWithContext ¶ added in v0.1.3
func (i EndPointServiceMap) ToEndPointServiceMapOutputWithContext(ctx context.Context) EndPointServiceMapOutput
type EndPointServiceMapInput ¶ added in v0.1.3
type EndPointServiceMapInput interface { pulumi.Input ToEndPointServiceMapOutput() EndPointServiceMapOutput ToEndPointServiceMapOutputWithContext(context.Context) EndPointServiceMapOutput }
EndPointServiceMapInput is an input type that accepts EndPointServiceMap and EndPointServiceMapOutput values. You can construct a concrete instance of `EndPointServiceMapInput` via:
EndPointServiceMap{ "key": EndPointServiceArgs{...} }
type EndPointServiceMapOutput ¶ added in v0.1.3
type EndPointServiceMapOutput struct{ *pulumi.OutputState }
func (EndPointServiceMapOutput) ElementType ¶ added in v0.1.3
func (EndPointServiceMapOutput) ElementType() reflect.Type
func (EndPointServiceMapOutput) MapIndex ¶ added in v0.1.3
func (o EndPointServiceMapOutput) MapIndex(k pulumi.StringInput) EndPointServiceOutput
func (EndPointServiceMapOutput) ToEndPointServiceMapOutput ¶ added in v0.1.3
func (o EndPointServiceMapOutput) ToEndPointServiceMapOutput() EndPointServiceMapOutput
func (EndPointServiceMapOutput) ToEndPointServiceMapOutputWithContext ¶ added in v0.1.3
func (o EndPointServiceMapOutput) ToEndPointServiceMapOutputWithContext(ctx context.Context) EndPointServiceMapOutput
type EndPointServiceOutput ¶ added in v0.1.3
type EndPointServiceOutput struct{ *pulumi.OutputState }
func (EndPointServiceOutput) AutoAcceptFlag ¶ added in v0.1.3
func (o EndPointServiceOutput) AutoAcceptFlag() pulumi.BoolOutput
Whether to automatically accept.
func (EndPointServiceOutput) CreateTime ¶ added in v0.1.3
func (o EndPointServiceOutput) CreateTime() pulumi.StringOutput
Create Time.
func (EndPointServiceOutput) ElementType ¶ added in v0.1.3
func (EndPointServiceOutput) ElementType() reflect.Type
func (EndPointServiceOutput) EndPointCount ¶ added in v0.1.3
func (o EndPointServiceOutput) EndPointCount() pulumi.IntOutput
Count of end point.
func (EndPointServiceOutput) EndPointServiceName ¶ added in v0.1.3
func (o EndPointServiceOutput) EndPointServiceName() pulumi.StringOutput
Name of end point service.
func (EndPointServiceOutput) ServiceInstanceId ¶ added in v0.1.3
func (o EndPointServiceOutput) ServiceInstanceId() pulumi.StringOutput
Id of service instance, like lb-xxx.
func (EndPointServiceOutput) ServiceOwner ¶ added in v0.1.3
func (o EndPointServiceOutput) ServiceOwner() pulumi.StringOutput
APPID.
func (EndPointServiceOutput) ServiceType ¶ added in v0.1.3
func (o EndPointServiceOutput) ServiceType() pulumi.StringOutput
Type of service instance, like `CLB`, `CDB`, `CRS`, default is `CLB`.
func (EndPointServiceOutput) ServiceVip ¶ added in v0.1.3
func (o EndPointServiceOutput) ServiceVip() pulumi.StringOutput
VIP of backend service.
func (EndPointServiceOutput) ToEndPointServiceOutput ¶ added in v0.1.3
func (o EndPointServiceOutput) ToEndPointServiceOutput() EndPointServiceOutput
func (EndPointServiceOutput) ToEndPointServiceOutputWithContext ¶ added in v0.1.3
func (o EndPointServiceOutput) ToEndPointServiceOutputWithContext(ctx context.Context) EndPointServiceOutput
func (EndPointServiceOutput) VpcId ¶ added in v0.1.3
func (o EndPointServiceOutput) VpcId() pulumi.StringOutput
ID of vpc instance.
type EndPointServiceState ¶ added in v0.1.3
type EndPointServiceState struct { // Whether to automatically accept. AutoAcceptFlag pulumi.BoolPtrInput // Create Time. CreateTime pulumi.StringPtrInput // Count of end point. EndPointCount pulumi.IntPtrInput // Name of end point service. EndPointServiceName pulumi.StringPtrInput // Id of service instance, like lb-xxx. ServiceInstanceId pulumi.StringPtrInput // APPID. ServiceOwner pulumi.StringPtrInput // Type of service instance, like `CLB`, `CDB`, `CRS`, default is `CLB`. ServiceType pulumi.StringPtrInput // VIP of backend service. ServiceVip pulumi.StringPtrInput // ID of vpc instance. VpcId pulumi.StringPtrInput }
func (EndPointServiceState) ElementType ¶ added in v0.1.3
func (EndPointServiceState) ElementType() reflect.Type
type EndPointServiceWhiteList ¶ added in v0.1.3
type EndPointServiceWhiteList struct { pulumi.CustomResourceState // Create Time. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Description of white list. Description pulumi.StringPtrOutput `pulumi:"description"` // ID of endpoint service. EndPointServiceId pulumi.StringOutput `pulumi:"endPointServiceId"` // APPID. Owner pulumi.StringOutput `pulumi:"owner"` // UIN. UserUin pulumi.StringOutput `pulumi:"userUin"` }
Provides a resource to create a vpc endPointServiceWhiteList
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Vpc.NewEndPointServiceWhiteList(ctx, "endPointServiceWhiteList", &Vpc.EndPointServiceWhiteListArgs{ Description: pulumi.String("terraform for test"), EndPointServiceId: pulumi.String("vpcsvc-69y13tdb"), UserUin: pulumi.String("100020512675"), }) if err != nil { return err } return nil }) }
```
## Import
vpc end_point_service_white_list can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Vpc/endPointServiceWhiteList:EndPointServiceWhiteList end_point_service_white_list end_point_service_white_list_id
```
func GetEndPointServiceWhiteList ¶ added in v0.1.3
func GetEndPointServiceWhiteList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndPointServiceWhiteListState, opts ...pulumi.ResourceOption) (*EndPointServiceWhiteList, error)
GetEndPointServiceWhiteList gets an existing EndPointServiceWhiteList 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 NewEndPointServiceWhiteList ¶ added in v0.1.3
func NewEndPointServiceWhiteList(ctx *pulumi.Context, name string, args *EndPointServiceWhiteListArgs, opts ...pulumi.ResourceOption) (*EndPointServiceWhiteList, error)
NewEndPointServiceWhiteList registers a new resource with the given unique name, arguments, and options.
func (*EndPointServiceWhiteList) ElementType ¶ added in v0.1.3
func (*EndPointServiceWhiteList) ElementType() reflect.Type
func (*EndPointServiceWhiteList) ToEndPointServiceWhiteListOutput ¶ added in v0.1.3
func (i *EndPointServiceWhiteList) ToEndPointServiceWhiteListOutput() EndPointServiceWhiteListOutput
func (*EndPointServiceWhiteList) ToEndPointServiceWhiteListOutputWithContext ¶ added in v0.1.3
func (i *EndPointServiceWhiteList) ToEndPointServiceWhiteListOutputWithContext(ctx context.Context) EndPointServiceWhiteListOutput
type EndPointServiceWhiteListArgs ¶ added in v0.1.3
type EndPointServiceWhiteListArgs struct { // Description of white list. Description pulumi.StringPtrInput // ID of endpoint service. EndPointServiceId pulumi.StringInput // UIN. UserUin pulumi.StringInput }
The set of arguments for constructing a EndPointServiceWhiteList resource.
func (EndPointServiceWhiteListArgs) ElementType ¶ added in v0.1.3
func (EndPointServiceWhiteListArgs) ElementType() reflect.Type
type EndPointServiceWhiteListArray ¶ added in v0.1.3
type EndPointServiceWhiteListArray []EndPointServiceWhiteListInput
func (EndPointServiceWhiteListArray) ElementType ¶ added in v0.1.3
func (EndPointServiceWhiteListArray) ElementType() reflect.Type
func (EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutput ¶ added in v0.1.3
func (i EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutput() EndPointServiceWhiteListArrayOutput
func (EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutputWithContext ¶ added in v0.1.3
func (i EndPointServiceWhiteListArray) ToEndPointServiceWhiteListArrayOutputWithContext(ctx context.Context) EndPointServiceWhiteListArrayOutput
type EndPointServiceWhiteListArrayInput ¶ added in v0.1.3
type EndPointServiceWhiteListArrayInput interface { pulumi.Input ToEndPointServiceWhiteListArrayOutput() EndPointServiceWhiteListArrayOutput ToEndPointServiceWhiteListArrayOutputWithContext(context.Context) EndPointServiceWhiteListArrayOutput }
EndPointServiceWhiteListArrayInput is an input type that accepts EndPointServiceWhiteListArray and EndPointServiceWhiteListArrayOutput values. You can construct a concrete instance of `EndPointServiceWhiteListArrayInput` via:
EndPointServiceWhiteListArray{ EndPointServiceWhiteListArgs{...} }
type EndPointServiceWhiteListArrayOutput ¶ added in v0.1.3
type EndPointServiceWhiteListArrayOutput struct{ *pulumi.OutputState }
func (EndPointServiceWhiteListArrayOutput) ElementType ¶ added in v0.1.3
func (EndPointServiceWhiteListArrayOutput) ElementType() reflect.Type
func (EndPointServiceWhiteListArrayOutput) Index ¶ added in v0.1.3
func (o EndPointServiceWhiteListArrayOutput) Index(i pulumi.IntInput) EndPointServiceWhiteListOutput
func (EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutput ¶ added in v0.1.3
func (o EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutput() EndPointServiceWhiteListArrayOutput
func (EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutputWithContext ¶ added in v0.1.3
func (o EndPointServiceWhiteListArrayOutput) ToEndPointServiceWhiteListArrayOutputWithContext(ctx context.Context) EndPointServiceWhiteListArrayOutput
type EndPointServiceWhiteListInput ¶ added in v0.1.3
type EndPointServiceWhiteListInput interface { pulumi.Input ToEndPointServiceWhiteListOutput() EndPointServiceWhiteListOutput ToEndPointServiceWhiteListOutputWithContext(ctx context.Context) EndPointServiceWhiteListOutput }
type EndPointServiceWhiteListMap ¶ added in v0.1.3
type EndPointServiceWhiteListMap map[string]EndPointServiceWhiteListInput
func (EndPointServiceWhiteListMap) ElementType ¶ added in v0.1.3
func (EndPointServiceWhiteListMap) ElementType() reflect.Type
func (EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutput ¶ added in v0.1.3
func (i EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutput() EndPointServiceWhiteListMapOutput
func (EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutputWithContext ¶ added in v0.1.3
func (i EndPointServiceWhiteListMap) ToEndPointServiceWhiteListMapOutputWithContext(ctx context.Context) EndPointServiceWhiteListMapOutput
type EndPointServiceWhiteListMapInput ¶ added in v0.1.3
type EndPointServiceWhiteListMapInput interface { pulumi.Input ToEndPointServiceWhiteListMapOutput() EndPointServiceWhiteListMapOutput ToEndPointServiceWhiteListMapOutputWithContext(context.Context) EndPointServiceWhiteListMapOutput }
EndPointServiceWhiteListMapInput is an input type that accepts EndPointServiceWhiteListMap and EndPointServiceWhiteListMapOutput values. You can construct a concrete instance of `EndPointServiceWhiteListMapInput` via:
EndPointServiceWhiteListMap{ "key": EndPointServiceWhiteListArgs{...} }
type EndPointServiceWhiteListMapOutput ¶ added in v0.1.3
type EndPointServiceWhiteListMapOutput struct{ *pulumi.OutputState }
func (EndPointServiceWhiteListMapOutput) ElementType ¶ added in v0.1.3
func (EndPointServiceWhiteListMapOutput) ElementType() reflect.Type
func (EndPointServiceWhiteListMapOutput) MapIndex ¶ added in v0.1.3
func (o EndPointServiceWhiteListMapOutput) MapIndex(k pulumi.StringInput) EndPointServiceWhiteListOutput
func (EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutput ¶ added in v0.1.3
func (o EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutput() EndPointServiceWhiteListMapOutput
func (EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutputWithContext ¶ added in v0.1.3
func (o EndPointServiceWhiteListMapOutput) ToEndPointServiceWhiteListMapOutputWithContext(ctx context.Context) EndPointServiceWhiteListMapOutput
type EndPointServiceWhiteListOutput ¶ added in v0.1.3
type EndPointServiceWhiteListOutput struct{ *pulumi.OutputState }
func (EndPointServiceWhiteListOutput) CreateTime ¶ added in v0.1.3
func (o EndPointServiceWhiteListOutput) CreateTime() pulumi.StringOutput
Create Time.
func (EndPointServiceWhiteListOutput) Description ¶ added in v0.1.3
func (o EndPointServiceWhiteListOutput) Description() pulumi.StringPtrOutput
Description of white list.
func (EndPointServiceWhiteListOutput) ElementType ¶ added in v0.1.3
func (EndPointServiceWhiteListOutput) ElementType() reflect.Type
func (EndPointServiceWhiteListOutput) EndPointServiceId ¶ added in v0.1.3
func (o EndPointServiceWhiteListOutput) EndPointServiceId() pulumi.StringOutput
ID of endpoint service.
func (EndPointServiceWhiteListOutput) Owner ¶ added in v0.1.3
func (o EndPointServiceWhiteListOutput) Owner() pulumi.StringOutput
APPID.
func (EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutput ¶ added in v0.1.3
func (o EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutput() EndPointServiceWhiteListOutput
func (EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutputWithContext ¶ added in v0.1.3
func (o EndPointServiceWhiteListOutput) ToEndPointServiceWhiteListOutputWithContext(ctx context.Context) EndPointServiceWhiteListOutput
func (EndPointServiceWhiteListOutput) UserUin ¶ added in v0.1.3
func (o EndPointServiceWhiteListOutput) UserUin() pulumi.StringOutput
UIN.
type EndPointServiceWhiteListState ¶ added in v0.1.3
type EndPointServiceWhiteListState struct { // Create Time. CreateTime pulumi.StringPtrInput // Description of white list. Description pulumi.StringPtrInput // ID of endpoint service. EndPointServiceId pulumi.StringPtrInput // APPID. Owner pulumi.StringPtrInput // UIN. UserUin pulumi.StringPtrInput }
func (EndPointServiceWhiteListState) ElementType ¶ added in v0.1.3
func (EndPointServiceWhiteListState) ElementType() reflect.Type
type EndPointState ¶ added in v0.1.3
type EndPointState struct { // Create Time. CreateTime pulumi.StringPtrInput // Name of endpoint. EndPointName pulumi.StringPtrInput // APPID. EndPointOwner pulumi.StringPtrInput // ID of endpoint service. EndPointServiceId pulumi.StringPtrInput // VIP of endpoint ip. EndPointVip pulumi.StringPtrInput // state of end point. State pulumi.StringPtrInput // ID of subnet instance. SubnetId pulumi.StringPtrInput // ID of vpc instance. VpcId pulumi.StringPtrInput }
func (EndPointState) ElementType ¶ added in v0.1.3
func (EndPointState) ElementType() reflect.Type
type FlowLog ¶ added in v0.1.3
type FlowLog struct { pulumi.CustomResourceState // Specify flow log storage id. CloudLogId pulumi.StringPtrOutput `pulumi:"cloudLogId"` // Specify flow log storage region, default using current. CloudLogRegion pulumi.StringOutput `pulumi:"cloudLogRegion"` // Specify flow Log description. FlowLogDescription pulumi.StringPtrOutput `pulumi:"flowLogDescription"` // Specify flow log name. FlowLogName pulumi.StringOutput `pulumi:"flowLogName"` // Specify consumer detail, required while `storageType` is `ckafka`. FlowLogStorage FlowLogFlowLogStorageOutput `pulumi:"flowLogStorage"` // Specify resource unique Id of `resourceType` configured. ResourceId pulumi.StringOutput `pulumi:"resourceId"` // Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`. ResourceType pulumi.StringOutput `pulumi:"resourceType"` // Specify consumer type, values: `cls`, `ckafka`. StorageType pulumi.StringPtrOutput `pulumi:"storageType"` // Tag description list. Tags pulumi.MapOutput `pulumi:"tags"` // Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`. TrafficType pulumi.StringOutput `pulumi:"trafficType"` // Specify vpc Id, ignore while `resourceType` is `CCN` (unsupported) but required while other types. VpcId pulumi.StringPtrOutput `pulumi:"vpcId"` }
Provides a resource to create a vpc flowLog
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Vpc.NewFlowLog(ctx, "flowLog", &Vpc.FlowLogArgs{ CloudLogId: pulumi.String("a1b2c3d4-e5f6a7b8-c9d0e1f2-a3b4c5d6"), FlowLogDescription: pulumi.String("My testing log"), FlowLogName: pulumi.String("foo"), ResourceId: pulumi.String("eni-xxxxxxxx"), ResourceType: pulumi.String("NETWORKINTERFACE"), StorageType: pulumi.String("cls"), Tags: pulumi.AnyMap{ "createdBy": pulumi.Any("terraform"), }, TrafficType: pulumi.String("ALL"), VpcId: pulumi.String("vpc-xxxxxxxx"), }) if err != nil { return err } return nil }) }
```
## Import
vpc flow_log can be imported using the flow log Id combine vpc Id, e.g.
```sh
$ pulumi import tencentcloud:Vpc/flowLog:FlowLog flow_log flow_log_id fl-xxxx1234#vpc-yyyy5678
```
func GetFlowLog ¶ added in v0.1.3
func GetFlowLog(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FlowLogState, opts ...pulumi.ResourceOption) (*FlowLog, error)
GetFlowLog gets an existing FlowLog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFlowLog ¶ added in v0.1.3
func NewFlowLog(ctx *pulumi.Context, name string, args *FlowLogArgs, opts ...pulumi.ResourceOption) (*FlowLog, error)
NewFlowLog registers a new resource with the given unique name, arguments, and options.
func (*FlowLog) ElementType ¶ added in v0.1.3
func (*FlowLog) ToFlowLogOutput ¶ added in v0.1.3
func (i *FlowLog) ToFlowLogOutput() FlowLogOutput
func (*FlowLog) ToFlowLogOutputWithContext ¶ added in v0.1.3
func (i *FlowLog) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput
type FlowLogArgs ¶ added in v0.1.3
type FlowLogArgs struct { // Specify flow log storage id. CloudLogId pulumi.StringPtrInput // Specify flow log storage region, default using current. CloudLogRegion pulumi.StringPtrInput // Specify flow Log description. FlowLogDescription pulumi.StringPtrInput // Specify flow log name. FlowLogName pulumi.StringInput // Specify consumer detail, required while `storageType` is `ckafka`. FlowLogStorage FlowLogFlowLogStoragePtrInput // Specify resource unique Id of `resourceType` configured. ResourceId pulumi.StringInput // Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`. ResourceType pulumi.StringInput // Specify consumer type, values: `cls`, `ckafka`. StorageType pulumi.StringPtrInput // Tag description list. Tags pulumi.MapInput // Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`. TrafficType pulumi.StringInput // Specify vpc Id, ignore while `resourceType` is `CCN` (unsupported) but required while other types. VpcId pulumi.StringPtrInput }
The set of arguments for constructing a FlowLog resource.
func (FlowLogArgs) ElementType ¶ added in v0.1.3
func (FlowLogArgs) ElementType() reflect.Type
type FlowLogArray ¶ added in v0.1.3
type FlowLogArray []FlowLogInput
func (FlowLogArray) ElementType ¶ added in v0.1.3
func (FlowLogArray) ElementType() reflect.Type
func (FlowLogArray) ToFlowLogArrayOutput ¶ added in v0.1.3
func (i FlowLogArray) ToFlowLogArrayOutput() FlowLogArrayOutput
func (FlowLogArray) ToFlowLogArrayOutputWithContext ¶ added in v0.1.3
func (i FlowLogArray) ToFlowLogArrayOutputWithContext(ctx context.Context) FlowLogArrayOutput
type FlowLogArrayInput ¶ added in v0.1.3
type FlowLogArrayInput interface { pulumi.Input ToFlowLogArrayOutput() FlowLogArrayOutput ToFlowLogArrayOutputWithContext(context.Context) FlowLogArrayOutput }
FlowLogArrayInput is an input type that accepts FlowLogArray and FlowLogArrayOutput values. You can construct a concrete instance of `FlowLogArrayInput` via:
FlowLogArray{ FlowLogArgs{...} }
type FlowLogArrayOutput ¶ added in v0.1.3
type FlowLogArrayOutput struct{ *pulumi.OutputState }
func (FlowLogArrayOutput) ElementType ¶ added in v0.1.3
func (FlowLogArrayOutput) ElementType() reflect.Type
func (FlowLogArrayOutput) Index ¶ added in v0.1.3
func (o FlowLogArrayOutput) Index(i pulumi.IntInput) FlowLogOutput
func (FlowLogArrayOutput) ToFlowLogArrayOutput ¶ added in v0.1.3
func (o FlowLogArrayOutput) ToFlowLogArrayOutput() FlowLogArrayOutput
func (FlowLogArrayOutput) ToFlowLogArrayOutputWithContext ¶ added in v0.1.3
func (o FlowLogArrayOutput) ToFlowLogArrayOutputWithContext(ctx context.Context) FlowLogArrayOutput
type FlowLogFlowLogStorage ¶ added in v0.1.3
type FlowLogFlowLogStorageArgs ¶ added in v0.1.3
type FlowLogFlowLogStorageArgs struct { // Specify storage instance id, required while `storageType` is `ckafka`. StorageId pulumi.StringPtrInput `pulumi:"storageId"` // Specify storage topic id, required while `storageType` is `ckafka`. StorageTopic pulumi.StringPtrInput `pulumi:"storageTopic"` }
func (FlowLogFlowLogStorageArgs) ElementType ¶ added in v0.1.3
func (FlowLogFlowLogStorageArgs) ElementType() reflect.Type
func (FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutput ¶ added in v0.1.3
func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutput() FlowLogFlowLogStorageOutput
func (FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutputWithContext ¶ added in v0.1.3
func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStorageOutputWithContext(ctx context.Context) FlowLogFlowLogStorageOutput
func (FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutput ¶ added in v0.1.3
func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput
func (FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutputWithContext ¶ added in v0.1.3
func (i FlowLogFlowLogStorageArgs) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput
type FlowLogFlowLogStorageInput ¶ added in v0.1.3
type FlowLogFlowLogStorageInput interface { pulumi.Input ToFlowLogFlowLogStorageOutput() FlowLogFlowLogStorageOutput ToFlowLogFlowLogStorageOutputWithContext(context.Context) FlowLogFlowLogStorageOutput }
FlowLogFlowLogStorageInput is an input type that accepts FlowLogFlowLogStorageArgs and FlowLogFlowLogStorageOutput values. You can construct a concrete instance of `FlowLogFlowLogStorageInput` via:
FlowLogFlowLogStorageArgs{...}
type FlowLogFlowLogStorageOutput ¶ added in v0.1.3
type FlowLogFlowLogStorageOutput struct{ *pulumi.OutputState }
func (FlowLogFlowLogStorageOutput) ElementType ¶ added in v0.1.3
func (FlowLogFlowLogStorageOutput) ElementType() reflect.Type
func (FlowLogFlowLogStorageOutput) StorageId ¶ added in v0.1.3
func (o FlowLogFlowLogStorageOutput) StorageId() pulumi.StringPtrOutput
Specify storage instance id, required while `storageType` is `ckafka`.
func (FlowLogFlowLogStorageOutput) StorageTopic ¶ added in v0.1.3
func (o FlowLogFlowLogStorageOutput) StorageTopic() pulumi.StringPtrOutput
Specify storage topic id, required while `storageType` is `ckafka`.
func (FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutput ¶ added in v0.1.3
func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutput() FlowLogFlowLogStorageOutput
func (FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutputWithContext ¶ added in v0.1.3
func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStorageOutputWithContext(ctx context.Context) FlowLogFlowLogStorageOutput
func (FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutput ¶ added in v0.1.3
func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput
func (FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutputWithContext ¶ added in v0.1.3
func (o FlowLogFlowLogStorageOutput) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput
type FlowLogFlowLogStoragePtrInput ¶ added in v0.1.3
type FlowLogFlowLogStoragePtrInput interface { pulumi.Input ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput ToFlowLogFlowLogStoragePtrOutputWithContext(context.Context) FlowLogFlowLogStoragePtrOutput }
FlowLogFlowLogStoragePtrInput is an input type that accepts FlowLogFlowLogStorageArgs, FlowLogFlowLogStoragePtr and FlowLogFlowLogStoragePtrOutput values. You can construct a concrete instance of `FlowLogFlowLogStoragePtrInput` via:
FlowLogFlowLogStorageArgs{...} or: nil
func FlowLogFlowLogStoragePtr ¶ added in v0.1.3
func FlowLogFlowLogStoragePtr(v *FlowLogFlowLogStorageArgs) FlowLogFlowLogStoragePtrInput
type FlowLogFlowLogStoragePtrOutput ¶ added in v0.1.3
type FlowLogFlowLogStoragePtrOutput struct{ *pulumi.OutputState }
func (FlowLogFlowLogStoragePtrOutput) Elem ¶ added in v0.1.3
func (o FlowLogFlowLogStoragePtrOutput) Elem() FlowLogFlowLogStorageOutput
func (FlowLogFlowLogStoragePtrOutput) ElementType ¶ added in v0.1.3
func (FlowLogFlowLogStoragePtrOutput) ElementType() reflect.Type
func (FlowLogFlowLogStoragePtrOutput) StorageId ¶ added in v0.1.3
func (o FlowLogFlowLogStoragePtrOutput) StorageId() pulumi.StringPtrOutput
Specify storage instance id, required while `storageType` is `ckafka`.
func (FlowLogFlowLogStoragePtrOutput) StorageTopic ¶ added in v0.1.3
func (o FlowLogFlowLogStoragePtrOutput) StorageTopic() pulumi.StringPtrOutput
Specify storage topic id, required while `storageType` is `ckafka`.
func (FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutput ¶ added in v0.1.3
func (o FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutput() FlowLogFlowLogStoragePtrOutput
func (FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutputWithContext ¶ added in v0.1.3
func (o FlowLogFlowLogStoragePtrOutput) ToFlowLogFlowLogStoragePtrOutputWithContext(ctx context.Context) FlowLogFlowLogStoragePtrOutput
type FlowLogInput ¶ added in v0.1.3
type FlowLogInput interface { pulumi.Input ToFlowLogOutput() FlowLogOutput ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput }
type FlowLogMap ¶ added in v0.1.3
type FlowLogMap map[string]FlowLogInput
func (FlowLogMap) ElementType ¶ added in v0.1.3
func (FlowLogMap) ElementType() reflect.Type
func (FlowLogMap) ToFlowLogMapOutput ¶ added in v0.1.3
func (i FlowLogMap) ToFlowLogMapOutput() FlowLogMapOutput
func (FlowLogMap) ToFlowLogMapOutputWithContext ¶ added in v0.1.3
func (i FlowLogMap) ToFlowLogMapOutputWithContext(ctx context.Context) FlowLogMapOutput
type FlowLogMapInput ¶ added in v0.1.3
type FlowLogMapInput interface { pulumi.Input ToFlowLogMapOutput() FlowLogMapOutput ToFlowLogMapOutputWithContext(context.Context) FlowLogMapOutput }
FlowLogMapInput is an input type that accepts FlowLogMap and FlowLogMapOutput values. You can construct a concrete instance of `FlowLogMapInput` via:
FlowLogMap{ "key": FlowLogArgs{...} }
type FlowLogMapOutput ¶ added in v0.1.3
type FlowLogMapOutput struct{ *pulumi.OutputState }
func (FlowLogMapOutput) ElementType ¶ added in v0.1.3
func (FlowLogMapOutput) ElementType() reflect.Type
func (FlowLogMapOutput) MapIndex ¶ added in v0.1.3
func (o FlowLogMapOutput) MapIndex(k pulumi.StringInput) FlowLogOutput
func (FlowLogMapOutput) ToFlowLogMapOutput ¶ added in v0.1.3
func (o FlowLogMapOutput) ToFlowLogMapOutput() FlowLogMapOutput
func (FlowLogMapOutput) ToFlowLogMapOutputWithContext ¶ added in v0.1.3
func (o FlowLogMapOutput) ToFlowLogMapOutputWithContext(ctx context.Context) FlowLogMapOutput
type FlowLogOutput ¶ added in v0.1.3
type FlowLogOutput struct{ *pulumi.OutputState }
func (FlowLogOutput) CloudLogId ¶ added in v0.1.3
func (o FlowLogOutput) CloudLogId() pulumi.StringPtrOutput
Specify flow log storage id.
func (FlowLogOutput) CloudLogRegion ¶ added in v0.1.3
func (o FlowLogOutput) CloudLogRegion() pulumi.StringOutput
Specify flow log storage region, default using current.
func (FlowLogOutput) ElementType ¶ added in v0.1.3
func (FlowLogOutput) ElementType() reflect.Type
func (FlowLogOutput) FlowLogDescription ¶ added in v0.1.3
func (o FlowLogOutput) FlowLogDescription() pulumi.StringPtrOutput
Specify flow Log description.
func (FlowLogOutput) FlowLogName ¶ added in v0.1.3
func (o FlowLogOutput) FlowLogName() pulumi.StringOutput
Specify flow log name.
func (FlowLogOutput) FlowLogStorage ¶ added in v0.1.3
func (o FlowLogOutput) FlowLogStorage() FlowLogFlowLogStorageOutput
Specify consumer detail, required while `storageType` is `ckafka`.
func (FlowLogOutput) ResourceId ¶ added in v0.1.3
func (o FlowLogOutput) ResourceId() pulumi.StringOutput
Specify resource unique Id of `resourceType` configured.
func (FlowLogOutput) ResourceType ¶ added in v0.1.3
func (o FlowLogOutput) ResourceType() pulumi.StringOutput
Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`.
func (FlowLogOutput) StorageType ¶ added in v0.1.3
func (o FlowLogOutput) StorageType() pulumi.StringPtrOutput
Specify consumer type, values: `cls`, `ckafka`.
func (FlowLogOutput) Tags ¶ added in v0.1.3
func (o FlowLogOutput) Tags() pulumi.MapOutput
Tag description list.
func (FlowLogOutput) ToFlowLogOutput ¶ added in v0.1.3
func (o FlowLogOutput) ToFlowLogOutput() FlowLogOutput
func (FlowLogOutput) ToFlowLogOutputWithContext ¶ added in v0.1.3
func (o FlowLogOutput) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput
func (FlowLogOutput) TrafficType ¶ added in v0.1.3
func (o FlowLogOutput) TrafficType() pulumi.StringOutput
Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`.
func (FlowLogOutput) VpcId ¶ added in v0.1.3
func (o FlowLogOutput) VpcId() pulumi.StringPtrOutput
Specify vpc Id, ignore while `resourceType` is `CCN` (unsupported) but required while other types.
type FlowLogState ¶ added in v0.1.3
type FlowLogState struct { // Specify flow log storage id. CloudLogId pulumi.StringPtrInput // Specify flow log storage region, default using current. CloudLogRegion pulumi.StringPtrInput // Specify flow Log description. FlowLogDescription pulumi.StringPtrInput // Specify flow log name. FlowLogName pulumi.StringPtrInput // Specify consumer detail, required while `storageType` is `ckafka`. FlowLogStorage FlowLogFlowLogStoragePtrInput // Specify resource unique Id of `resourceType` configured. ResourceId pulumi.StringPtrInput // Specify resource type. NOTE: Only support `NETWORKINTERFACE` for now. Values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, `DCG`. ResourceType pulumi.StringPtrInput // Specify consumer type, values: `cls`, `ckafka`. StorageType pulumi.StringPtrInput // Tag description list. Tags pulumi.MapInput // Specify log traffic type, values: `ACCEPT`, `REJECT`, `ALL`. TrafficType pulumi.StringPtrInput // Specify vpc Id, ignore while `resourceType` is `CCN` (unsupported) but required while other types. VpcId pulumi.StringPtrInput }
func (FlowLogState) ElementType ¶ added in v0.1.3
func (FlowLogState) ElementType() reflect.Type
type GetAclsAclList ¶
type GetAclsAclList struct { // Creation time. CreateTime string `pulumi:"createTime"` // Outbound rules of the network ACL. Egresses []GetAclsAclListEgress `pulumi:"egresses"` // ID of the network ACL instance. Id string `pulumi:"id"` // Inbound rules of the network ACL. Ingresses []GetAclsAclListIngress `pulumi:"ingresses"` // Name of the network ACL. Name string `pulumi:"name"` // Subnets associated with the network ACL. Subnets []GetAclsAclListSubnet `pulumi:"subnets"` // ID of the VPC instance. VpcId string `pulumi:"vpcId"` }
type GetAclsAclListArgs ¶
type GetAclsAclListArgs struct { // Creation time. CreateTime pulumi.StringInput `pulumi:"createTime"` // Outbound rules of the network ACL. Egresses GetAclsAclListEgressArrayInput `pulumi:"egresses"` // ID of the network ACL instance. Id pulumi.StringInput `pulumi:"id"` // Inbound rules of the network ACL. Ingresses GetAclsAclListIngressArrayInput `pulumi:"ingresses"` // Name of the network ACL. Name pulumi.StringInput `pulumi:"name"` // Subnets associated with the network ACL. Subnets GetAclsAclListSubnetArrayInput `pulumi:"subnets"` // ID of the VPC instance. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetAclsAclListArgs) ElementType ¶
func (GetAclsAclListArgs) ElementType() reflect.Type
func (GetAclsAclListArgs) ToGetAclsAclListOutput ¶
func (i GetAclsAclListArgs) ToGetAclsAclListOutput() GetAclsAclListOutput
func (GetAclsAclListArgs) ToGetAclsAclListOutputWithContext ¶
func (i GetAclsAclListArgs) ToGetAclsAclListOutputWithContext(ctx context.Context) GetAclsAclListOutput
type GetAclsAclListArray ¶
type GetAclsAclListArray []GetAclsAclListInput
func (GetAclsAclListArray) ElementType ¶
func (GetAclsAclListArray) ElementType() reflect.Type
func (GetAclsAclListArray) ToGetAclsAclListArrayOutput ¶
func (i GetAclsAclListArray) ToGetAclsAclListArrayOutput() GetAclsAclListArrayOutput
func (GetAclsAclListArray) ToGetAclsAclListArrayOutputWithContext ¶
func (i GetAclsAclListArray) ToGetAclsAclListArrayOutputWithContext(ctx context.Context) GetAclsAclListArrayOutput
type GetAclsAclListArrayInput ¶
type GetAclsAclListArrayInput interface { pulumi.Input ToGetAclsAclListArrayOutput() GetAclsAclListArrayOutput ToGetAclsAclListArrayOutputWithContext(context.Context) GetAclsAclListArrayOutput }
GetAclsAclListArrayInput is an input type that accepts GetAclsAclListArray and GetAclsAclListArrayOutput values. You can construct a concrete instance of `GetAclsAclListArrayInput` via:
GetAclsAclListArray{ GetAclsAclListArgs{...} }
type GetAclsAclListArrayOutput ¶
type GetAclsAclListArrayOutput struct{ *pulumi.OutputState }
func (GetAclsAclListArrayOutput) ElementType ¶
func (GetAclsAclListArrayOutput) ElementType() reflect.Type
func (GetAclsAclListArrayOutput) Index ¶
func (o GetAclsAclListArrayOutput) Index(i pulumi.IntInput) GetAclsAclListOutput
func (GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutput ¶
func (o GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutput() GetAclsAclListArrayOutput
func (GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutputWithContext ¶
func (o GetAclsAclListArrayOutput) ToGetAclsAclListArrayOutputWithContext(ctx context.Context) GetAclsAclListArrayOutput
type GetAclsAclListEgress ¶
type GetAclsAclListEgress struct { // The IPv4 CIDR of the subnet. CidrBlock string `pulumi:"cidrBlock"` // Rule description. Description string `pulumi:"description"` // Rule policy of Network ACL. Policy string `pulumi:"policy"` // Range of the port. Port string `pulumi:"port"` // Type of IP protocol. Protocol string `pulumi:"protocol"` }
type GetAclsAclListEgressArgs ¶
type GetAclsAclListEgressArgs struct { // The IPv4 CIDR of the subnet. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // Rule description. Description pulumi.StringInput `pulumi:"description"` // Rule policy of Network ACL. Policy pulumi.StringInput `pulumi:"policy"` // Range of the port. Port pulumi.StringInput `pulumi:"port"` // Type of IP protocol. Protocol pulumi.StringInput `pulumi:"protocol"` }
func (GetAclsAclListEgressArgs) ElementType ¶
func (GetAclsAclListEgressArgs) ElementType() reflect.Type
func (GetAclsAclListEgressArgs) ToGetAclsAclListEgressOutput ¶
func (i GetAclsAclListEgressArgs) ToGetAclsAclListEgressOutput() GetAclsAclListEgressOutput
func (GetAclsAclListEgressArgs) ToGetAclsAclListEgressOutputWithContext ¶
func (i GetAclsAclListEgressArgs) ToGetAclsAclListEgressOutputWithContext(ctx context.Context) GetAclsAclListEgressOutput
type GetAclsAclListEgressArray ¶
type GetAclsAclListEgressArray []GetAclsAclListEgressInput
func (GetAclsAclListEgressArray) ElementType ¶
func (GetAclsAclListEgressArray) ElementType() reflect.Type
func (GetAclsAclListEgressArray) ToGetAclsAclListEgressArrayOutput ¶
func (i GetAclsAclListEgressArray) ToGetAclsAclListEgressArrayOutput() GetAclsAclListEgressArrayOutput
func (GetAclsAclListEgressArray) ToGetAclsAclListEgressArrayOutputWithContext ¶
func (i GetAclsAclListEgressArray) ToGetAclsAclListEgressArrayOutputWithContext(ctx context.Context) GetAclsAclListEgressArrayOutput
type GetAclsAclListEgressArrayInput ¶
type GetAclsAclListEgressArrayInput interface { pulumi.Input ToGetAclsAclListEgressArrayOutput() GetAclsAclListEgressArrayOutput ToGetAclsAclListEgressArrayOutputWithContext(context.Context) GetAclsAclListEgressArrayOutput }
GetAclsAclListEgressArrayInput is an input type that accepts GetAclsAclListEgressArray and GetAclsAclListEgressArrayOutput values. You can construct a concrete instance of `GetAclsAclListEgressArrayInput` via:
GetAclsAclListEgressArray{ GetAclsAclListEgressArgs{...} }
type GetAclsAclListEgressArrayOutput ¶
type GetAclsAclListEgressArrayOutput struct{ *pulumi.OutputState }
func (GetAclsAclListEgressArrayOutput) ElementType ¶
func (GetAclsAclListEgressArrayOutput) ElementType() reflect.Type
func (GetAclsAclListEgressArrayOutput) Index ¶
func (o GetAclsAclListEgressArrayOutput) Index(i pulumi.IntInput) GetAclsAclListEgressOutput
func (GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutput ¶
func (o GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutput() GetAclsAclListEgressArrayOutput
func (GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutputWithContext ¶
func (o GetAclsAclListEgressArrayOutput) ToGetAclsAclListEgressArrayOutputWithContext(ctx context.Context) GetAclsAclListEgressArrayOutput
type GetAclsAclListEgressInput ¶
type GetAclsAclListEgressInput interface { pulumi.Input ToGetAclsAclListEgressOutput() GetAclsAclListEgressOutput ToGetAclsAclListEgressOutputWithContext(context.Context) GetAclsAclListEgressOutput }
GetAclsAclListEgressInput is an input type that accepts GetAclsAclListEgressArgs and GetAclsAclListEgressOutput values. You can construct a concrete instance of `GetAclsAclListEgressInput` via:
GetAclsAclListEgressArgs{...}
type GetAclsAclListEgressOutput ¶
type GetAclsAclListEgressOutput struct{ *pulumi.OutputState }
func (GetAclsAclListEgressOutput) CidrBlock ¶
func (o GetAclsAclListEgressOutput) CidrBlock() pulumi.StringOutput
The IPv4 CIDR of the subnet.
func (GetAclsAclListEgressOutput) Description ¶
func (o GetAclsAclListEgressOutput) Description() pulumi.StringOutput
Rule description.
func (GetAclsAclListEgressOutput) ElementType ¶
func (GetAclsAclListEgressOutput) ElementType() reflect.Type
func (GetAclsAclListEgressOutput) Policy ¶
func (o GetAclsAclListEgressOutput) Policy() pulumi.StringOutput
Rule policy of Network ACL.
func (GetAclsAclListEgressOutput) Port ¶
func (o GetAclsAclListEgressOutput) Port() pulumi.StringOutput
Range of the port.
func (GetAclsAclListEgressOutput) Protocol ¶
func (o GetAclsAclListEgressOutput) Protocol() pulumi.StringOutput
Type of IP protocol.
func (GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutput ¶
func (o GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutput() GetAclsAclListEgressOutput
func (GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutputWithContext ¶
func (o GetAclsAclListEgressOutput) ToGetAclsAclListEgressOutputWithContext(ctx context.Context) GetAclsAclListEgressOutput
type GetAclsAclListIngress ¶
type GetAclsAclListIngress struct { // The IPv4 CIDR of the subnet. CidrBlock string `pulumi:"cidrBlock"` // Rule description. Description string `pulumi:"description"` // Rule policy of Network ACL. Policy string `pulumi:"policy"` // Range of the port. Port string `pulumi:"port"` // Type of IP protocol. Protocol string `pulumi:"protocol"` }
type GetAclsAclListIngressArgs ¶
type GetAclsAclListIngressArgs struct { // The IPv4 CIDR of the subnet. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // Rule description. Description pulumi.StringInput `pulumi:"description"` // Rule policy of Network ACL. Policy pulumi.StringInput `pulumi:"policy"` // Range of the port. Port pulumi.StringInput `pulumi:"port"` // Type of IP protocol. Protocol pulumi.StringInput `pulumi:"protocol"` }
func (GetAclsAclListIngressArgs) ElementType ¶
func (GetAclsAclListIngressArgs) ElementType() reflect.Type
func (GetAclsAclListIngressArgs) ToGetAclsAclListIngressOutput ¶
func (i GetAclsAclListIngressArgs) ToGetAclsAclListIngressOutput() GetAclsAclListIngressOutput
func (GetAclsAclListIngressArgs) ToGetAclsAclListIngressOutputWithContext ¶
func (i GetAclsAclListIngressArgs) ToGetAclsAclListIngressOutputWithContext(ctx context.Context) GetAclsAclListIngressOutput
type GetAclsAclListIngressArray ¶
type GetAclsAclListIngressArray []GetAclsAclListIngressInput
func (GetAclsAclListIngressArray) ElementType ¶
func (GetAclsAclListIngressArray) ElementType() reflect.Type
func (GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutput ¶
func (i GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutput() GetAclsAclListIngressArrayOutput
func (GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutputWithContext ¶
func (i GetAclsAclListIngressArray) ToGetAclsAclListIngressArrayOutputWithContext(ctx context.Context) GetAclsAclListIngressArrayOutput
type GetAclsAclListIngressArrayInput ¶
type GetAclsAclListIngressArrayInput interface { pulumi.Input ToGetAclsAclListIngressArrayOutput() GetAclsAclListIngressArrayOutput ToGetAclsAclListIngressArrayOutputWithContext(context.Context) GetAclsAclListIngressArrayOutput }
GetAclsAclListIngressArrayInput is an input type that accepts GetAclsAclListIngressArray and GetAclsAclListIngressArrayOutput values. You can construct a concrete instance of `GetAclsAclListIngressArrayInput` via:
GetAclsAclListIngressArray{ GetAclsAclListIngressArgs{...} }
type GetAclsAclListIngressArrayOutput ¶
type GetAclsAclListIngressArrayOutput struct{ *pulumi.OutputState }
func (GetAclsAclListIngressArrayOutput) ElementType ¶
func (GetAclsAclListIngressArrayOutput) ElementType() reflect.Type
func (GetAclsAclListIngressArrayOutput) Index ¶
func (o GetAclsAclListIngressArrayOutput) Index(i pulumi.IntInput) GetAclsAclListIngressOutput
func (GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutput ¶
func (o GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutput() GetAclsAclListIngressArrayOutput
func (GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutputWithContext ¶
func (o GetAclsAclListIngressArrayOutput) ToGetAclsAclListIngressArrayOutputWithContext(ctx context.Context) GetAclsAclListIngressArrayOutput
type GetAclsAclListIngressInput ¶
type GetAclsAclListIngressInput interface { pulumi.Input ToGetAclsAclListIngressOutput() GetAclsAclListIngressOutput ToGetAclsAclListIngressOutputWithContext(context.Context) GetAclsAclListIngressOutput }
GetAclsAclListIngressInput is an input type that accepts GetAclsAclListIngressArgs and GetAclsAclListIngressOutput values. You can construct a concrete instance of `GetAclsAclListIngressInput` via:
GetAclsAclListIngressArgs{...}
type GetAclsAclListIngressOutput ¶
type GetAclsAclListIngressOutput struct{ *pulumi.OutputState }
func (GetAclsAclListIngressOutput) CidrBlock ¶
func (o GetAclsAclListIngressOutput) CidrBlock() pulumi.StringOutput
The IPv4 CIDR of the subnet.
func (GetAclsAclListIngressOutput) Description ¶
func (o GetAclsAclListIngressOutput) Description() pulumi.StringOutput
Rule description.
func (GetAclsAclListIngressOutput) ElementType ¶
func (GetAclsAclListIngressOutput) ElementType() reflect.Type
func (GetAclsAclListIngressOutput) Policy ¶
func (o GetAclsAclListIngressOutput) Policy() pulumi.StringOutput
Rule policy of Network ACL.
func (GetAclsAclListIngressOutput) Port ¶
func (o GetAclsAclListIngressOutput) Port() pulumi.StringOutput
Range of the port.
func (GetAclsAclListIngressOutput) Protocol ¶
func (o GetAclsAclListIngressOutput) Protocol() pulumi.StringOutput
Type of IP protocol.
func (GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutput ¶
func (o GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutput() GetAclsAclListIngressOutput
func (GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutputWithContext ¶
func (o GetAclsAclListIngressOutput) ToGetAclsAclListIngressOutputWithContext(ctx context.Context) GetAclsAclListIngressOutput
type GetAclsAclListInput ¶
type GetAclsAclListInput interface { pulumi.Input ToGetAclsAclListOutput() GetAclsAclListOutput ToGetAclsAclListOutputWithContext(context.Context) GetAclsAclListOutput }
GetAclsAclListInput is an input type that accepts GetAclsAclListArgs and GetAclsAclListOutput values. You can construct a concrete instance of `GetAclsAclListInput` via:
GetAclsAclListArgs{...}
type GetAclsAclListOutput ¶
type GetAclsAclListOutput struct{ *pulumi.OutputState }
func (GetAclsAclListOutput) CreateTime ¶
func (o GetAclsAclListOutput) CreateTime() pulumi.StringOutput
Creation time.
func (GetAclsAclListOutput) Egresses ¶
func (o GetAclsAclListOutput) Egresses() GetAclsAclListEgressArrayOutput
Outbound rules of the network ACL.
func (GetAclsAclListOutput) ElementType ¶
func (GetAclsAclListOutput) ElementType() reflect.Type
func (GetAclsAclListOutput) Id ¶
func (o GetAclsAclListOutput) Id() pulumi.StringOutput
ID of the network ACL instance.
func (GetAclsAclListOutput) Ingresses ¶
func (o GetAclsAclListOutput) Ingresses() GetAclsAclListIngressArrayOutput
Inbound rules of the network ACL.
func (GetAclsAclListOutput) Name ¶
func (o GetAclsAclListOutput) Name() pulumi.StringOutput
Name of the network ACL.
func (GetAclsAclListOutput) Subnets ¶
func (o GetAclsAclListOutput) Subnets() GetAclsAclListSubnetArrayOutput
Subnets associated with the network ACL.
func (GetAclsAclListOutput) ToGetAclsAclListOutput ¶
func (o GetAclsAclListOutput) ToGetAclsAclListOutput() GetAclsAclListOutput
func (GetAclsAclListOutput) ToGetAclsAclListOutputWithContext ¶
func (o GetAclsAclListOutput) ToGetAclsAclListOutputWithContext(ctx context.Context) GetAclsAclListOutput
func (GetAclsAclListOutput) VpcId ¶
func (o GetAclsAclListOutput) VpcId() pulumi.StringOutput
ID of the VPC instance.
type GetAclsAclListSubnet ¶
type GetAclsAclListSubnet struct { // The IPv4 CIDR of the subnet. CidrBlock string `pulumi:"cidrBlock"` // Subnet instance ID. SubnetId string `pulumi:"subnetId"` // Subnet name. SubnetName string `pulumi:"subnetName"` // Tags of the subnet. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC instance. VpcId string `pulumi:"vpcId"` }
type GetAclsAclListSubnetArgs ¶
type GetAclsAclListSubnetArgs struct { // The IPv4 CIDR of the subnet. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // Subnet instance ID. SubnetId pulumi.StringInput `pulumi:"subnetId"` // Subnet name. SubnetName pulumi.StringInput `pulumi:"subnetName"` // Tags of the subnet. Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC instance. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetAclsAclListSubnetArgs) ElementType ¶
func (GetAclsAclListSubnetArgs) ElementType() reflect.Type
func (GetAclsAclListSubnetArgs) ToGetAclsAclListSubnetOutput ¶
func (i GetAclsAclListSubnetArgs) ToGetAclsAclListSubnetOutput() GetAclsAclListSubnetOutput
func (GetAclsAclListSubnetArgs) ToGetAclsAclListSubnetOutputWithContext ¶
func (i GetAclsAclListSubnetArgs) ToGetAclsAclListSubnetOutputWithContext(ctx context.Context) GetAclsAclListSubnetOutput
type GetAclsAclListSubnetArray ¶
type GetAclsAclListSubnetArray []GetAclsAclListSubnetInput
func (GetAclsAclListSubnetArray) ElementType ¶
func (GetAclsAclListSubnetArray) ElementType() reflect.Type
func (GetAclsAclListSubnetArray) ToGetAclsAclListSubnetArrayOutput ¶
func (i GetAclsAclListSubnetArray) ToGetAclsAclListSubnetArrayOutput() GetAclsAclListSubnetArrayOutput
func (GetAclsAclListSubnetArray) ToGetAclsAclListSubnetArrayOutputWithContext ¶
func (i GetAclsAclListSubnetArray) ToGetAclsAclListSubnetArrayOutputWithContext(ctx context.Context) GetAclsAclListSubnetArrayOutput
type GetAclsAclListSubnetArrayInput ¶
type GetAclsAclListSubnetArrayInput interface { pulumi.Input ToGetAclsAclListSubnetArrayOutput() GetAclsAclListSubnetArrayOutput ToGetAclsAclListSubnetArrayOutputWithContext(context.Context) GetAclsAclListSubnetArrayOutput }
GetAclsAclListSubnetArrayInput is an input type that accepts GetAclsAclListSubnetArray and GetAclsAclListSubnetArrayOutput values. You can construct a concrete instance of `GetAclsAclListSubnetArrayInput` via:
GetAclsAclListSubnetArray{ GetAclsAclListSubnetArgs{...} }
type GetAclsAclListSubnetArrayOutput ¶
type GetAclsAclListSubnetArrayOutput struct{ *pulumi.OutputState }
func (GetAclsAclListSubnetArrayOutput) ElementType ¶
func (GetAclsAclListSubnetArrayOutput) ElementType() reflect.Type
func (GetAclsAclListSubnetArrayOutput) Index ¶
func (o GetAclsAclListSubnetArrayOutput) Index(i pulumi.IntInput) GetAclsAclListSubnetOutput
func (GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutput ¶
func (o GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutput() GetAclsAclListSubnetArrayOutput
func (GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutputWithContext ¶
func (o GetAclsAclListSubnetArrayOutput) ToGetAclsAclListSubnetArrayOutputWithContext(ctx context.Context) GetAclsAclListSubnetArrayOutput
type GetAclsAclListSubnetInput ¶
type GetAclsAclListSubnetInput interface { pulumi.Input ToGetAclsAclListSubnetOutput() GetAclsAclListSubnetOutput ToGetAclsAclListSubnetOutputWithContext(context.Context) GetAclsAclListSubnetOutput }
GetAclsAclListSubnetInput is an input type that accepts GetAclsAclListSubnetArgs and GetAclsAclListSubnetOutput values. You can construct a concrete instance of `GetAclsAclListSubnetInput` via:
GetAclsAclListSubnetArgs{...}
type GetAclsAclListSubnetOutput ¶
type GetAclsAclListSubnetOutput struct{ *pulumi.OutputState }
func (GetAclsAclListSubnetOutput) CidrBlock ¶
func (o GetAclsAclListSubnetOutput) CidrBlock() pulumi.StringOutput
The IPv4 CIDR of the subnet.
func (GetAclsAclListSubnetOutput) ElementType ¶
func (GetAclsAclListSubnetOutput) ElementType() reflect.Type
func (GetAclsAclListSubnetOutput) SubnetId ¶
func (o GetAclsAclListSubnetOutput) SubnetId() pulumi.StringOutput
Subnet instance ID.
func (GetAclsAclListSubnetOutput) SubnetName ¶
func (o GetAclsAclListSubnetOutput) SubnetName() pulumi.StringOutput
Subnet name.
func (GetAclsAclListSubnetOutput) Tags ¶
func (o GetAclsAclListSubnetOutput) Tags() pulumi.MapOutput
Tags of the subnet.
func (GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutput ¶
func (o GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutput() GetAclsAclListSubnetOutput
func (GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutputWithContext ¶
func (o GetAclsAclListSubnetOutput) ToGetAclsAclListSubnetOutputWithContext(ctx context.Context) GetAclsAclListSubnetOutput
func (GetAclsAclListSubnetOutput) VpcId ¶
func (o GetAclsAclListSubnetOutput) VpcId() pulumi.StringOutput
ID of the VPC instance.
type GetAclsArgs ¶
type GetAclsArgs struct { // ID of the network ACL instance. Id *string `pulumi:"id"` // Name of the network ACL. Name *string `pulumi:"name"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // ID of the VPC instance. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getAcls.
type GetAclsOutputArgs ¶
type GetAclsOutputArgs struct { // ID of the network ACL instance. Id pulumi.StringPtrInput `pulumi:"id"` // Name of the network ACL. Name pulumi.StringPtrInput `pulumi:"name"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // ID of the VPC instance. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getAcls.
func (GetAclsOutputArgs) ElementType ¶
func (GetAclsOutputArgs) ElementType() reflect.Type
type GetAclsResult ¶
type GetAclsResult struct { // The information list of the VPC. Each element contains the following attributes: AclLists []GetAclsAclList `pulumi:"aclLists"` // ID of the network ACL instance. Id *string `pulumi:"id"` // Name of the network ACL. Name *string `pulumi:"name"` ResultOutputFile *string `pulumi:"resultOutputFile"` // ID of the VPC instance. VpcId *string `pulumi:"vpcId"` }
A collection of values returned by getAcls.
func GetAcls ¶
func GetAcls(ctx *pulumi.Context, args *GetAclsArgs, opts ...pulumi.InvokeOption) (*GetAclsResult, error)
Use this data source to query VPC Network ACL information.
type GetAclsResultOutput ¶
type GetAclsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAcls.
func GetAclsOutput ¶
func GetAclsOutput(ctx *pulumi.Context, args GetAclsOutputArgs, opts ...pulumi.InvokeOption) GetAclsResultOutput
func (GetAclsResultOutput) AclLists ¶
func (o GetAclsResultOutput) AclLists() GetAclsAclListArrayOutput
The information list of the VPC. Each element contains the following attributes:
func (GetAclsResultOutput) ElementType ¶
func (GetAclsResultOutput) ElementType() reflect.Type
func (GetAclsResultOutput) Id ¶
func (o GetAclsResultOutput) Id() pulumi.StringPtrOutput
ID of the network ACL instance.
func (GetAclsResultOutput) Name ¶
func (o GetAclsResultOutput) Name() pulumi.StringPtrOutput
Name of the network ACL.
func (GetAclsResultOutput) ResultOutputFile ¶
func (o GetAclsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetAclsResultOutput) ToGetAclsResultOutput ¶
func (o GetAclsResultOutput) ToGetAclsResultOutput() GetAclsResultOutput
func (GetAclsResultOutput) ToGetAclsResultOutputWithContext ¶
func (o GetAclsResultOutput) ToGetAclsResultOutputWithContext(ctx context.Context) GetAclsResultOutput
func (GetAclsResultOutput) VpcId ¶
func (o GetAclsResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC instance.
type GetInstancesArgs ¶
type GetInstancesArgs struct { // Filter VPC with this CIDR. CidrBlock *string `pulumi:"cidrBlock"` // Filter default or no default VPC. IsDefault *bool `pulumi:"isDefault"` // Name of the VPC to be queried. Name *string `pulumi:"name"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // Filter if VPC has this tag. TagKey *string `pulumi:"tagKey"` // Tags of the VPC to be queried. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC to be queried. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getInstances.
type GetInstancesInstanceList ¶
type GetInstancesInstanceList struct { // Filter VPC with this CIDR. CidrBlock string `pulumi:"cidrBlock"` // Creation time of VPC. CreateTime string `pulumi:"createTime"` // A list of DNS servers which can be used within the VPC. DnsServers []string `pulumi:"dnsServers"` // Filter default or no default VPC. IsDefault bool `pulumi:"isDefault"` // Indicates whether VPC multicast is enabled. IsMulticast bool `pulumi:"isMulticast"` // Name of the VPC to be queried. Name string `pulumi:"name"` // A ID list of subnets within this VPC. SubnetIds []string `pulumi:"subnetIds"` // Tags of the VPC to be queried. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC to be queried. VpcId string `pulumi:"vpcId"` }
type GetInstancesInstanceListArgs ¶
type GetInstancesInstanceListArgs struct { // Filter VPC with this CIDR. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // Creation time of VPC. CreateTime pulumi.StringInput `pulumi:"createTime"` // A list of DNS servers which can be used within the VPC. DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"` // Filter default or no default VPC. IsDefault pulumi.BoolInput `pulumi:"isDefault"` // Indicates whether VPC multicast is enabled. IsMulticast pulumi.BoolInput `pulumi:"isMulticast"` // Name of the VPC to be queried. Name pulumi.StringInput `pulumi:"name"` // A ID list of subnets within this VPC. SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` // Tags of the VPC to be queried. Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC to be queried. VpcId pulumi.StringInput `pulumi:"vpcId"` }
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) CidrBlock ¶
func (o GetInstancesInstanceListOutput) CidrBlock() pulumi.StringOutput
Filter VPC with this CIDR.
func (GetInstancesInstanceListOutput) CreateTime ¶
func (o GetInstancesInstanceListOutput) CreateTime() pulumi.StringOutput
Creation time of VPC.
func (GetInstancesInstanceListOutput) DnsServers ¶
func (o GetInstancesInstanceListOutput) DnsServers() pulumi.StringArrayOutput
A list of DNS servers which can be used within the VPC.
func (GetInstancesInstanceListOutput) ElementType ¶
func (GetInstancesInstanceListOutput) ElementType() reflect.Type
func (GetInstancesInstanceListOutput) IsDefault ¶
func (o GetInstancesInstanceListOutput) IsDefault() pulumi.BoolOutput
Filter default or no default VPC.
func (GetInstancesInstanceListOutput) IsMulticast ¶
func (o GetInstancesInstanceListOutput) IsMulticast() pulumi.BoolOutput
Indicates whether VPC multicast is enabled.
func (GetInstancesInstanceListOutput) Name ¶
func (o GetInstancesInstanceListOutput) Name() pulumi.StringOutput
Name of the VPC to be queried.
func (GetInstancesInstanceListOutput) SubnetIds ¶
func (o GetInstancesInstanceListOutput) SubnetIds() pulumi.StringArrayOutput
A ID list of subnets within this VPC.
func (GetInstancesInstanceListOutput) Tags ¶
func (o GetInstancesInstanceListOutput) Tags() pulumi.MapOutput
Tags of the VPC to be queried.
func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput ¶
func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutput() GetInstancesInstanceListOutput
func (GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext ¶
func (o GetInstancesInstanceListOutput) ToGetInstancesInstanceListOutputWithContext(ctx context.Context) GetInstancesInstanceListOutput
func (GetInstancesInstanceListOutput) VpcId ¶
func (o GetInstancesInstanceListOutput) VpcId() pulumi.StringOutput
ID of the VPC to be queried.
type GetInstancesOutputArgs ¶
type GetInstancesOutputArgs struct { // Filter VPC with this CIDR. CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"` // Filter default or no default VPC. IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` // Name of the VPC to be queried. Name pulumi.StringPtrInput `pulumi:"name"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // Filter if VPC has this tag. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Tags of the VPC to be queried. Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC to be queried. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶
type GetInstancesResult struct { // A network address block of a VPC CIDR. CidrBlock *string `pulumi:"cidrBlock"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The information list of the VPC. InstanceLists []GetInstancesInstanceList `pulumi:"instanceLists"` // Indicates whether it is the default VPC for this region. IsDefault *bool `pulumi:"isDefault"` // Name of the VPC. Name *string `pulumi:"name"` ResultOutputFile *string `pulumi:"resultOutputFile"` TagKey *string `pulumi:"tagKey"` // Tags of the VPC. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC. VpcId *string `pulumi:"vpcId"` }
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 vpc instances' information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { foo, err := Vpc.NewInstance(ctx, "foo", &Vpc.InstanceArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } _ = Vpc.GetInstancesOutput(ctx, vpc.GetInstancesOutputArgs{ VpcId: foo.ID(), }, nil) _ = Vpc.GetInstancesOutput(ctx, vpc.GetInstancesOutputArgs{ Name: foo.Name, }, nil) 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) CidrBlock ¶
func (o GetInstancesResultOutput) CidrBlock() pulumi.StringPtrOutput
A network address block of a VPC CIDR.
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
The information list of the VPC.
func (GetInstancesResultOutput) IsDefault ¶
func (o GetInstancesResultOutput) IsDefault() pulumi.BoolPtrOutput
Indicates whether it is the default VPC for this region.
func (GetInstancesResultOutput) Name ¶
func (o GetInstancesResultOutput) Name() pulumi.StringPtrOutput
Name of the VPC.
func (GetInstancesResultOutput) ResultOutputFile ¶
func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetInstancesResultOutput) TagKey ¶
func (o GetInstancesResultOutput) TagKey() pulumi.StringPtrOutput
func (GetInstancesResultOutput) Tags ¶
func (o GetInstancesResultOutput) Tags() pulumi.MapOutput
Tags of the VPC.
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
func (GetInstancesResultOutput) VpcId ¶
func (o GetInstancesResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC.
type GetRouteTablesArgs ¶
type GetRouteTablesArgs struct { // Filter the main routing table. AssociationMain *bool `pulumi:"associationMain"` // Name of the routing table to be queried. Name *string `pulumi:"name"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // ID of the routing table to be queried. RouteTableId *string `pulumi:"routeTableId"` // Filter if routing table has this tag. TagKey *string `pulumi:"tagKey"` // Tags of the routing table to be queried. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC to be queried. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getRouteTables.
type GetRouteTablesInstanceList ¶
type GetRouteTablesInstanceList struct { // Creation time of the routing table. CreateTime string `pulumi:"createTime"` // Indicates whether it is the default routing table. IsDefault bool `pulumi:"isDefault"` // Name of the routing table to be queried. Name string `pulumi:"name"` // Detailed information of each entry of the route table. RouteEntryInfos []GetRouteTablesInstanceListRouteEntryInfo `pulumi:"routeEntryInfos"` // ID of the routing table to be queried. RouteTableId string `pulumi:"routeTableId"` // List of subnet IDs bound to the route table. SubnetIds []string `pulumi:"subnetIds"` // Tags of the routing table to be queried. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC to be queried. VpcId string `pulumi:"vpcId"` }
type GetRouteTablesInstanceListArgs ¶
type GetRouteTablesInstanceListArgs struct { // Creation time of the routing table. CreateTime pulumi.StringInput `pulumi:"createTime"` // Indicates whether it is the default routing table. IsDefault pulumi.BoolInput `pulumi:"isDefault"` // Name of the routing table to be queried. Name pulumi.StringInput `pulumi:"name"` // Detailed information of each entry of the route table. RouteEntryInfos GetRouteTablesInstanceListRouteEntryInfoArrayInput `pulumi:"routeEntryInfos"` // ID of the routing table to be queried. RouteTableId pulumi.StringInput `pulumi:"routeTableId"` // List of subnet IDs bound to the route table. SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` // Tags of the routing table to be queried. Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC to be queried. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetRouteTablesInstanceListArgs) ElementType ¶
func (GetRouteTablesInstanceListArgs) ElementType() reflect.Type
func (GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutput ¶
func (i GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutput() GetRouteTablesInstanceListOutput
func (GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutputWithContext ¶
func (i GetRouteTablesInstanceListArgs) ToGetRouteTablesInstanceListOutputWithContext(ctx context.Context) GetRouteTablesInstanceListOutput
type GetRouteTablesInstanceListArray ¶
type GetRouteTablesInstanceListArray []GetRouteTablesInstanceListInput
func (GetRouteTablesInstanceListArray) ElementType ¶
func (GetRouteTablesInstanceListArray) ElementType() reflect.Type
func (GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutput ¶
func (i GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutput() GetRouteTablesInstanceListArrayOutput
func (GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutputWithContext ¶
func (i GetRouteTablesInstanceListArray) ToGetRouteTablesInstanceListArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListArrayOutput
type GetRouteTablesInstanceListArrayInput ¶
type GetRouteTablesInstanceListArrayInput interface { pulumi.Input ToGetRouteTablesInstanceListArrayOutput() GetRouteTablesInstanceListArrayOutput ToGetRouteTablesInstanceListArrayOutputWithContext(context.Context) GetRouteTablesInstanceListArrayOutput }
GetRouteTablesInstanceListArrayInput is an input type that accepts GetRouteTablesInstanceListArray and GetRouteTablesInstanceListArrayOutput values. You can construct a concrete instance of `GetRouteTablesInstanceListArrayInput` via:
GetRouteTablesInstanceListArray{ GetRouteTablesInstanceListArgs{...} }
type GetRouteTablesInstanceListArrayOutput ¶
type GetRouteTablesInstanceListArrayOutput struct{ *pulumi.OutputState }
func (GetRouteTablesInstanceListArrayOutput) ElementType ¶
func (GetRouteTablesInstanceListArrayOutput) ElementType() reflect.Type
func (GetRouteTablesInstanceListArrayOutput) Index ¶
func (o GetRouteTablesInstanceListArrayOutput) Index(i pulumi.IntInput) GetRouteTablesInstanceListOutput
func (GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutput ¶
func (o GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutput() GetRouteTablesInstanceListArrayOutput
func (GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutputWithContext ¶
func (o GetRouteTablesInstanceListArrayOutput) ToGetRouteTablesInstanceListArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListArrayOutput
type GetRouteTablesInstanceListInput ¶
type GetRouteTablesInstanceListInput interface { pulumi.Input ToGetRouteTablesInstanceListOutput() GetRouteTablesInstanceListOutput ToGetRouteTablesInstanceListOutputWithContext(context.Context) GetRouteTablesInstanceListOutput }
GetRouteTablesInstanceListInput is an input type that accepts GetRouteTablesInstanceListArgs and GetRouteTablesInstanceListOutput values. You can construct a concrete instance of `GetRouteTablesInstanceListInput` via:
GetRouteTablesInstanceListArgs{...}
type GetRouteTablesInstanceListOutput ¶
type GetRouteTablesInstanceListOutput struct{ *pulumi.OutputState }
func (GetRouteTablesInstanceListOutput) CreateTime ¶
func (o GetRouteTablesInstanceListOutput) CreateTime() pulumi.StringOutput
Creation time of the routing table.
func (GetRouteTablesInstanceListOutput) ElementType ¶
func (GetRouteTablesInstanceListOutput) ElementType() reflect.Type
func (GetRouteTablesInstanceListOutput) IsDefault ¶
func (o GetRouteTablesInstanceListOutput) IsDefault() pulumi.BoolOutput
Indicates whether it is the default routing table.
func (GetRouteTablesInstanceListOutput) Name ¶
func (o GetRouteTablesInstanceListOutput) Name() pulumi.StringOutput
Name of the routing table to be queried.
func (GetRouteTablesInstanceListOutput) RouteEntryInfos ¶
func (o GetRouteTablesInstanceListOutput) RouteEntryInfos() GetRouteTablesInstanceListRouteEntryInfoArrayOutput
Detailed information of each entry of the route table.
func (GetRouteTablesInstanceListOutput) RouteTableId ¶
func (o GetRouteTablesInstanceListOutput) RouteTableId() pulumi.StringOutput
ID of the routing table to be queried.
func (GetRouteTablesInstanceListOutput) SubnetIds ¶
func (o GetRouteTablesInstanceListOutput) SubnetIds() pulumi.StringArrayOutput
List of subnet IDs bound to the route table.
func (GetRouteTablesInstanceListOutput) Tags ¶
func (o GetRouteTablesInstanceListOutput) Tags() pulumi.MapOutput
Tags of the routing table to be queried.
func (GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutput ¶
func (o GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutput() GetRouteTablesInstanceListOutput
func (GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutputWithContext ¶
func (o GetRouteTablesInstanceListOutput) ToGetRouteTablesInstanceListOutputWithContext(ctx context.Context) GetRouteTablesInstanceListOutput
func (GetRouteTablesInstanceListOutput) VpcId ¶
func (o GetRouteTablesInstanceListOutput) VpcId() pulumi.StringOutput
ID of the VPC to be queried.
type GetRouteTablesInstanceListRouteEntryInfo ¶
type GetRouteTablesInstanceListRouteEntryInfo struct { // Description information user defined for a route table rule. Description string `pulumi:"description"` // The destination address block. DestinationCidrBlock string `pulumi:"destinationCidrBlock"` // ID of next-hop gateway. Note: when 'next_type' is EIP, GatewayId will fix the value `0`. NextHub string `pulumi:"nextHub"` // Type of next-hop, and available values include `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `SSLVPN`, `NAT`, `NORMAL_CVM`, `EIP` and `CCN`. NextType string `pulumi:"nextType"` // ID of a route table entry. RouteEntryId string `pulumi:"routeEntryId"` }
type GetRouteTablesInstanceListRouteEntryInfoArgs ¶
type GetRouteTablesInstanceListRouteEntryInfoArgs struct { // Description information user defined for a route table rule. Description pulumi.StringInput `pulumi:"description"` // The destination address block. DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"` // ID of next-hop gateway. Note: when 'next_type' is EIP, GatewayId will fix the value `0`. NextHub pulumi.StringInput `pulumi:"nextHub"` // Type of next-hop, and available values include `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `SSLVPN`, `NAT`, `NORMAL_CVM`, `EIP` and `CCN`. NextType pulumi.StringInput `pulumi:"nextType"` // ID of a route table entry. RouteEntryId pulumi.StringInput `pulumi:"routeEntryId"` }
func (GetRouteTablesInstanceListRouteEntryInfoArgs) ElementType ¶
func (GetRouteTablesInstanceListRouteEntryInfoArgs) ElementType() reflect.Type
func (GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutput ¶
func (i GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutput() GetRouteTablesInstanceListRouteEntryInfoOutput
func (GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext ¶
func (i GetRouteTablesInstanceListRouteEntryInfoArgs) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoOutput
type GetRouteTablesInstanceListRouteEntryInfoArray ¶
type GetRouteTablesInstanceListRouteEntryInfoArray []GetRouteTablesInstanceListRouteEntryInfoInput
func (GetRouteTablesInstanceListRouteEntryInfoArray) ElementType ¶
func (GetRouteTablesInstanceListRouteEntryInfoArray) ElementType() reflect.Type
func (GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput ¶
func (i GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput() GetRouteTablesInstanceListRouteEntryInfoArrayOutput
func (GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext ¶
func (i GetRouteTablesInstanceListRouteEntryInfoArray) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoArrayOutput
type GetRouteTablesInstanceListRouteEntryInfoArrayInput ¶
type GetRouteTablesInstanceListRouteEntryInfoArrayInput interface { pulumi.Input ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput() GetRouteTablesInstanceListRouteEntryInfoArrayOutput ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext(context.Context) GetRouteTablesInstanceListRouteEntryInfoArrayOutput }
GetRouteTablesInstanceListRouteEntryInfoArrayInput is an input type that accepts GetRouteTablesInstanceListRouteEntryInfoArray and GetRouteTablesInstanceListRouteEntryInfoArrayOutput values. You can construct a concrete instance of `GetRouteTablesInstanceListRouteEntryInfoArrayInput` via:
GetRouteTablesInstanceListRouteEntryInfoArray{ GetRouteTablesInstanceListRouteEntryInfoArgs{...} }
type GetRouteTablesInstanceListRouteEntryInfoArrayOutput ¶
type GetRouteTablesInstanceListRouteEntryInfoArrayOutput struct{ *pulumi.OutputState }
func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ElementType ¶
func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ElementType() reflect.Type
func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput ¶
func (o GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutput() GetRouteTablesInstanceListRouteEntryInfoArrayOutput
func (GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext ¶
func (o GetRouteTablesInstanceListRouteEntryInfoArrayOutput) ToGetRouteTablesInstanceListRouteEntryInfoArrayOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoArrayOutput
type GetRouteTablesInstanceListRouteEntryInfoInput ¶
type GetRouteTablesInstanceListRouteEntryInfoInput interface { pulumi.Input ToGetRouteTablesInstanceListRouteEntryInfoOutput() GetRouteTablesInstanceListRouteEntryInfoOutput ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext(context.Context) GetRouteTablesInstanceListRouteEntryInfoOutput }
GetRouteTablesInstanceListRouteEntryInfoInput is an input type that accepts GetRouteTablesInstanceListRouteEntryInfoArgs and GetRouteTablesInstanceListRouteEntryInfoOutput values. You can construct a concrete instance of `GetRouteTablesInstanceListRouteEntryInfoInput` via:
GetRouteTablesInstanceListRouteEntryInfoArgs{...}
type GetRouteTablesInstanceListRouteEntryInfoOutput ¶
type GetRouteTablesInstanceListRouteEntryInfoOutput struct{ *pulumi.OutputState }
func (GetRouteTablesInstanceListRouteEntryInfoOutput) Description ¶
func (o GetRouteTablesInstanceListRouteEntryInfoOutput) Description() pulumi.StringOutput
Description information user defined for a route table rule.
func (GetRouteTablesInstanceListRouteEntryInfoOutput) DestinationCidrBlock ¶
func (o GetRouteTablesInstanceListRouteEntryInfoOutput) DestinationCidrBlock() pulumi.StringOutput
The destination address block.
func (GetRouteTablesInstanceListRouteEntryInfoOutput) ElementType ¶
func (GetRouteTablesInstanceListRouteEntryInfoOutput) ElementType() reflect.Type
func (GetRouteTablesInstanceListRouteEntryInfoOutput) NextHub ¶
func (o GetRouteTablesInstanceListRouteEntryInfoOutput) NextHub() pulumi.StringOutput
ID of next-hop gateway. Note: when 'next_type' is EIP, GatewayId will fix the value `0`.
func (GetRouteTablesInstanceListRouteEntryInfoOutput) NextType ¶
func (o GetRouteTablesInstanceListRouteEntryInfoOutput) NextType() pulumi.StringOutput
Type of next-hop, and available values include `CVM`, `VPN`, `DIRECTCONNECT`, `PEERCONNECTION`, `SSLVPN`, `NAT`, `NORMAL_CVM`, `EIP` and `CCN`.
func (GetRouteTablesInstanceListRouteEntryInfoOutput) RouteEntryId ¶
func (o GetRouteTablesInstanceListRouteEntryInfoOutput) RouteEntryId() pulumi.StringOutput
ID of a route table entry.
func (GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutput ¶
func (o GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutput() GetRouteTablesInstanceListRouteEntryInfoOutput
func (GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext ¶
func (o GetRouteTablesInstanceListRouteEntryInfoOutput) ToGetRouteTablesInstanceListRouteEntryInfoOutputWithContext(ctx context.Context) GetRouteTablesInstanceListRouteEntryInfoOutput
type GetRouteTablesOutputArgs ¶
type GetRouteTablesOutputArgs struct { // Filter the main routing table. AssociationMain pulumi.BoolPtrInput `pulumi:"associationMain"` // Name of the routing table to be queried. Name pulumi.StringPtrInput `pulumi:"name"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // ID of the routing table to be queried. RouteTableId pulumi.StringPtrInput `pulumi:"routeTableId"` // Filter if routing table has this tag. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Tags of the routing table to be queried. Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC to be queried. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getRouteTables.
func (GetRouteTablesOutputArgs) ElementType ¶
func (GetRouteTablesOutputArgs) ElementType() reflect.Type
type GetRouteTablesResult ¶
type GetRouteTablesResult struct { AssociationMain *bool `pulumi:"associationMain"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The information list of the VPC route table. InstanceLists []GetRouteTablesInstanceList `pulumi:"instanceLists"` // Name of the routing table. Name *string `pulumi:"name"` ResultOutputFile *string `pulumi:"resultOutputFile"` // ID of the routing table. RouteTableId *string `pulumi:"routeTableId"` TagKey *string `pulumi:"tagKey"` // Tags of the routing table. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC. VpcId *string `pulumi:"vpcId"` }
A collection of values returned by getRouteTables.
func GetRouteTables ¶
func GetRouteTables(ctx *pulumi.Context, args *GetRouteTablesArgs, opts ...pulumi.InvokeOption) (*GetRouteTablesResult, error)
Use this data source to query vpc route tables information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Route" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := "ap-guangzhou-3" if param := cfg.Get("availabilityZone"); param != "" { availabilityZone = param } foo, err := Vpc.NewInstance(ctx, "foo", &Vpc.InstanceArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } routeTable, err := Route.NewTable(ctx, "routeTable", &Route.TableArgs{ VpcId: foo.ID(), Tags: pulumi.AnyMap{ "test": pulumi.Any("test"), }, }) if err != nil { return err } _ = Vpc.GetRouteTablesOutput(ctx, vpc.GetRouteTablesOutputArgs{ RouteTableId: routeTable.ID(), }, nil) _ = Vpc.GetRouteTablesOutput(ctx, vpc.GetRouteTablesOutputArgs{ Name: routeTable.Name, }, nil) _ = Vpc.GetRouteTablesOutput(ctx, vpc.GetRouteTablesOutputArgs{ VpcId: foo.ID(), AssociationMain: pulumi.Bool(true), }, nil) return nil }) }
```
type GetRouteTablesResultOutput ¶
type GetRouteTablesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRouteTables.
func GetRouteTablesOutput ¶
func GetRouteTablesOutput(ctx *pulumi.Context, args GetRouteTablesOutputArgs, opts ...pulumi.InvokeOption) GetRouteTablesResultOutput
func (GetRouteTablesResultOutput) AssociationMain ¶
func (o GetRouteTablesResultOutput) AssociationMain() pulumi.BoolPtrOutput
func (GetRouteTablesResultOutput) ElementType ¶
func (GetRouteTablesResultOutput) ElementType() reflect.Type
func (GetRouteTablesResultOutput) Id ¶
func (o GetRouteTablesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRouteTablesResultOutput) InstanceLists ¶
func (o GetRouteTablesResultOutput) InstanceLists() GetRouteTablesInstanceListArrayOutput
The information list of the VPC route table.
func (GetRouteTablesResultOutput) Name ¶
func (o GetRouteTablesResultOutput) Name() pulumi.StringPtrOutput
Name of the routing table.
func (GetRouteTablesResultOutput) ResultOutputFile ¶
func (o GetRouteTablesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetRouteTablesResultOutput) RouteTableId ¶
func (o GetRouteTablesResultOutput) RouteTableId() pulumi.StringPtrOutput
ID of the routing table.
func (GetRouteTablesResultOutput) TagKey ¶
func (o GetRouteTablesResultOutput) TagKey() pulumi.StringPtrOutput
func (GetRouteTablesResultOutput) Tags ¶
func (o GetRouteTablesResultOutput) Tags() pulumi.MapOutput
Tags of the routing table.
func (GetRouteTablesResultOutput) ToGetRouteTablesResultOutput ¶
func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutput() GetRouteTablesResultOutput
func (GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext ¶
func (o GetRouteTablesResultOutput) ToGetRouteTablesResultOutputWithContext(ctx context.Context) GetRouteTablesResultOutput
func (GetRouteTablesResultOutput) VpcId ¶
func (o GetRouteTablesResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC.
type GetSubnetsArgs ¶
type GetSubnetsArgs struct { // Zone of the subnet to be queried. AvailabilityZone *string `pulumi:"availabilityZone"` // Filter subnet with this CIDR. CidrBlock *string `pulumi:"cidrBlock"` // Filter default or no default subnets. IsDefault *bool `pulumi:"isDefault"` // Filter the VPC SNAT address pool subnet. IsRemoteVpcSnat *bool `pulumi:"isRemoteVpcSnat"` // Name of the subnet to be queried. Name *string `pulumi:"name"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // ID of the subnet to be queried. SubnetId *string `pulumi:"subnetId"` // Filter if subnet has this tag. TagKey *string `pulumi:"tagKey"` // Tags of the subnet to be queried. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC to be queried. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getSubnets.
type GetSubnetsInstanceList ¶
type GetSubnetsInstanceList struct { // Zone of the subnet to be queried. AvailabilityZone string `pulumi:"availabilityZone"` // The number of available IPs. AvailableIpCount int `pulumi:"availableIpCount"` // Filter subnet with this CIDR. CidrBlock string `pulumi:"cidrBlock"` // Creation time of the subnet resource. CreateTime string `pulumi:"createTime"` // Filter default or no default subnets. IsDefault bool `pulumi:"isDefault"` // Indicates whether multicast is enabled. IsMulticast bool `pulumi:"isMulticast"` // Name of the subnet to be queried. Name string `pulumi:"name"` // ID of the routing table. RouteTableId string `pulumi:"routeTableId"` // ID of the subnet to be queried. SubnetId string `pulumi:"subnetId"` // Tags of the subnet to be queried. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC to be queried. VpcId string `pulumi:"vpcId"` }
type GetSubnetsInstanceListArgs ¶
type GetSubnetsInstanceListArgs struct { // Zone of the subnet to be queried. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // The number of available IPs. AvailableIpCount pulumi.IntInput `pulumi:"availableIpCount"` // Filter subnet with this CIDR. CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` // Creation time of the subnet resource. CreateTime pulumi.StringInput `pulumi:"createTime"` // Filter default or no default subnets. IsDefault pulumi.BoolInput `pulumi:"isDefault"` // Indicates whether multicast is enabled. IsMulticast pulumi.BoolInput `pulumi:"isMulticast"` // Name of the subnet to be queried. Name pulumi.StringInput `pulumi:"name"` // ID of the routing table. RouteTableId pulumi.StringInput `pulumi:"routeTableId"` // ID of the subnet to be queried. SubnetId pulumi.StringInput `pulumi:"subnetId"` // Tags of the subnet to be queried. Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC to be queried. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetSubnetsInstanceListArgs) ElementType ¶
func (GetSubnetsInstanceListArgs) ElementType() reflect.Type
func (GetSubnetsInstanceListArgs) ToGetSubnetsInstanceListOutput ¶
func (i GetSubnetsInstanceListArgs) ToGetSubnetsInstanceListOutput() GetSubnetsInstanceListOutput
func (GetSubnetsInstanceListArgs) ToGetSubnetsInstanceListOutputWithContext ¶
func (i GetSubnetsInstanceListArgs) ToGetSubnetsInstanceListOutputWithContext(ctx context.Context) GetSubnetsInstanceListOutput
type GetSubnetsInstanceListArray ¶
type GetSubnetsInstanceListArray []GetSubnetsInstanceListInput
func (GetSubnetsInstanceListArray) ElementType ¶
func (GetSubnetsInstanceListArray) ElementType() reflect.Type
func (GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutput ¶
func (i GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutput() GetSubnetsInstanceListArrayOutput
func (GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutputWithContext ¶
func (i GetSubnetsInstanceListArray) ToGetSubnetsInstanceListArrayOutputWithContext(ctx context.Context) GetSubnetsInstanceListArrayOutput
type GetSubnetsInstanceListArrayInput ¶
type GetSubnetsInstanceListArrayInput interface { pulumi.Input ToGetSubnetsInstanceListArrayOutput() GetSubnetsInstanceListArrayOutput ToGetSubnetsInstanceListArrayOutputWithContext(context.Context) GetSubnetsInstanceListArrayOutput }
GetSubnetsInstanceListArrayInput is an input type that accepts GetSubnetsInstanceListArray and GetSubnetsInstanceListArrayOutput values. You can construct a concrete instance of `GetSubnetsInstanceListArrayInput` via:
GetSubnetsInstanceListArray{ GetSubnetsInstanceListArgs{...} }
type GetSubnetsInstanceListArrayOutput ¶
type GetSubnetsInstanceListArrayOutput struct{ *pulumi.OutputState }
func (GetSubnetsInstanceListArrayOutput) ElementType ¶
func (GetSubnetsInstanceListArrayOutput) ElementType() reflect.Type
func (GetSubnetsInstanceListArrayOutput) Index ¶
func (o GetSubnetsInstanceListArrayOutput) Index(i pulumi.IntInput) GetSubnetsInstanceListOutput
func (GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutput ¶
func (o GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutput() GetSubnetsInstanceListArrayOutput
func (GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutputWithContext ¶
func (o GetSubnetsInstanceListArrayOutput) ToGetSubnetsInstanceListArrayOutputWithContext(ctx context.Context) GetSubnetsInstanceListArrayOutput
type GetSubnetsInstanceListInput ¶
type GetSubnetsInstanceListInput interface { pulumi.Input ToGetSubnetsInstanceListOutput() GetSubnetsInstanceListOutput ToGetSubnetsInstanceListOutputWithContext(context.Context) GetSubnetsInstanceListOutput }
GetSubnetsInstanceListInput is an input type that accepts GetSubnetsInstanceListArgs and GetSubnetsInstanceListOutput values. You can construct a concrete instance of `GetSubnetsInstanceListInput` via:
GetSubnetsInstanceListArgs{...}
type GetSubnetsInstanceListOutput ¶
type GetSubnetsInstanceListOutput struct{ *pulumi.OutputState }
func (GetSubnetsInstanceListOutput) AvailabilityZone ¶
func (o GetSubnetsInstanceListOutput) AvailabilityZone() pulumi.StringOutput
Zone of the subnet to be queried.
func (GetSubnetsInstanceListOutput) AvailableIpCount ¶
func (o GetSubnetsInstanceListOutput) AvailableIpCount() pulumi.IntOutput
The number of available IPs.
func (GetSubnetsInstanceListOutput) CidrBlock ¶
func (o GetSubnetsInstanceListOutput) CidrBlock() pulumi.StringOutput
Filter subnet with this CIDR.
func (GetSubnetsInstanceListOutput) CreateTime ¶
func (o GetSubnetsInstanceListOutput) CreateTime() pulumi.StringOutput
Creation time of the subnet resource.
func (GetSubnetsInstanceListOutput) ElementType ¶
func (GetSubnetsInstanceListOutput) ElementType() reflect.Type
func (GetSubnetsInstanceListOutput) IsDefault ¶
func (o GetSubnetsInstanceListOutput) IsDefault() pulumi.BoolOutput
Filter default or no default subnets.
func (GetSubnetsInstanceListOutput) IsMulticast ¶
func (o GetSubnetsInstanceListOutput) IsMulticast() pulumi.BoolOutput
Indicates whether multicast is enabled.
func (GetSubnetsInstanceListOutput) Name ¶
func (o GetSubnetsInstanceListOutput) Name() pulumi.StringOutput
Name of the subnet to be queried.
func (GetSubnetsInstanceListOutput) RouteTableId ¶
func (o GetSubnetsInstanceListOutput) RouteTableId() pulumi.StringOutput
ID of the routing table.
func (GetSubnetsInstanceListOutput) SubnetId ¶
func (o GetSubnetsInstanceListOutput) SubnetId() pulumi.StringOutput
ID of the subnet to be queried.
func (GetSubnetsInstanceListOutput) Tags ¶
func (o GetSubnetsInstanceListOutput) Tags() pulumi.MapOutput
Tags of the subnet to be queried.
func (GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutput ¶
func (o GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutput() GetSubnetsInstanceListOutput
func (GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutputWithContext ¶
func (o GetSubnetsInstanceListOutput) ToGetSubnetsInstanceListOutputWithContext(ctx context.Context) GetSubnetsInstanceListOutput
func (GetSubnetsInstanceListOutput) VpcId ¶
func (o GetSubnetsInstanceListOutput) VpcId() pulumi.StringOutput
ID of the VPC to be queried.
type GetSubnetsOutputArgs ¶
type GetSubnetsOutputArgs struct { // Zone of the subnet to be queried. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // Filter subnet with this CIDR. CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"` // Filter default or no default subnets. IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` // Filter the VPC SNAT address pool subnet. IsRemoteVpcSnat pulumi.BoolPtrInput `pulumi:"isRemoteVpcSnat"` // Name of the subnet to be queried. Name pulumi.StringPtrInput `pulumi:"name"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // ID of the subnet to be queried. SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` // Filter if subnet has this tag. TagKey pulumi.StringPtrInput `pulumi:"tagKey"` // Tags of the subnet to be queried. Tags pulumi.MapInput `pulumi:"tags"` // ID of the VPC to be queried. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getSubnets.
func (GetSubnetsOutputArgs) ElementType ¶
func (GetSubnetsOutputArgs) ElementType() reflect.Type
type GetSubnetsResult ¶
type GetSubnetsResult struct { // The availability zone of the subnet. AvailabilityZone *string `pulumi:"availabilityZone"` // A network address block of the subnet. CidrBlock *string `pulumi:"cidrBlock"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of subnets. InstanceLists []GetSubnetsInstanceList `pulumi:"instanceLists"` // Indicates whether it is the default subnet of the VPC for this region. IsDefault *bool `pulumi:"isDefault"` IsRemoteVpcSnat *bool `pulumi:"isRemoteVpcSnat"` // Name of the subnet. Name *string `pulumi:"name"` ResultOutputFile *string `pulumi:"resultOutputFile"` // ID of the subnet. SubnetId *string `pulumi:"subnetId"` TagKey *string `pulumi:"tagKey"` // Tags of the subnet resource. Tags map[string]interface{} `pulumi:"tags"` // ID of the VPC. VpcId *string `pulumi:"vpcId"` }
A collection of values returned by getSubnets.
func GetSubnets ¶
func GetSubnets(ctx *pulumi.Context, args *GetSubnetsArgs, opts ...pulumi.InvokeOption) (*GetSubnetsResult, error)
Use this data source to query vpc subnets information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Subnet" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := "ap-guangzhou-3" if param := cfg.Get("availabilityZone"); param != "" { availabilityZone = param } foo, err := Vpc.NewInstance(ctx, "foo", &Vpc.InstanceArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } subnet, err := Subnet.NewInstance(ctx, "subnet", &Subnet.InstanceArgs{ AvailabilityZone: pulumi.String(availabilityZone), VpcId: foo.ID(), CidrBlock: pulumi.String("10.0.20.0/28"), IsMulticast: pulumi.Bool(false), Tags: pulumi.AnyMap{ "test": pulumi.Any("test"), }, }) if err != nil { return err } _ = Vpc.GetSubnetsOutput(ctx, vpc.GetSubnetsOutputArgs{ SubnetId: subnet.ID(), }, nil) _ = Vpc.GetSubnetsOutput(ctx, vpc.GetSubnetsOutputArgs{ Name: subnet.Name, }, nil) return nil }) }
```
type GetSubnetsResultOutput ¶
type GetSubnetsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubnets.
func GetSubnetsOutput ¶
func GetSubnetsOutput(ctx *pulumi.Context, args GetSubnetsOutputArgs, opts ...pulumi.InvokeOption) GetSubnetsResultOutput
func (GetSubnetsResultOutput) AvailabilityZone ¶
func (o GetSubnetsResultOutput) AvailabilityZone() pulumi.StringPtrOutput
The availability zone of the subnet.
func (GetSubnetsResultOutput) CidrBlock ¶
func (o GetSubnetsResultOutput) CidrBlock() pulumi.StringPtrOutput
A network address block of the subnet.
func (GetSubnetsResultOutput) ElementType ¶
func (GetSubnetsResultOutput) ElementType() reflect.Type
func (GetSubnetsResultOutput) Id ¶
func (o GetSubnetsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSubnetsResultOutput) InstanceLists ¶
func (o GetSubnetsResultOutput) InstanceLists() GetSubnetsInstanceListArrayOutput
List of subnets.
func (GetSubnetsResultOutput) IsDefault ¶
func (o GetSubnetsResultOutput) IsDefault() pulumi.BoolPtrOutput
Indicates whether it is the default subnet of the VPC for this region.
func (GetSubnetsResultOutput) IsRemoteVpcSnat ¶
func (o GetSubnetsResultOutput) IsRemoteVpcSnat() pulumi.BoolPtrOutput
func (GetSubnetsResultOutput) Name ¶
func (o GetSubnetsResultOutput) Name() pulumi.StringPtrOutput
Name of the subnet.
func (GetSubnetsResultOutput) ResultOutputFile ¶
func (o GetSubnetsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetSubnetsResultOutput) SubnetId ¶
func (o GetSubnetsResultOutput) SubnetId() pulumi.StringPtrOutput
ID of the subnet.
func (GetSubnetsResultOutput) TagKey ¶
func (o GetSubnetsResultOutput) TagKey() pulumi.StringPtrOutput
func (GetSubnetsResultOutput) Tags ¶
func (o GetSubnetsResultOutput) Tags() pulumi.MapOutput
Tags of the subnet resource.
func (GetSubnetsResultOutput) ToGetSubnetsResultOutput ¶
func (o GetSubnetsResultOutput) ToGetSubnetsResultOutput() GetSubnetsResultOutput
func (GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext ¶
func (o GetSubnetsResultOutput) ToGetSubnetsResultOutputWithContext(ctx context.Context) GetSubnetsResultOutput
func (GetSubnetsResultOutput) VpcId ¶
func (o GetSubnetsResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC.
type Instance ¶
type Instance struct { pulumi.CustomResourceState // List of Assistant CIDR, NOTE: Only `NORMAL` typed CIDRs included, check the Docker CIDR by readonly `assistantDockerCidrs`. AssistantCidrs pulumi.StringArrayOutput `pulumi:"assistantCidrs"` // A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16). CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"` // Creation time of VPC. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Default route table id, which created automatically after VPC create. DefaultRouteTableId pulumi.StringOutput `pulumi:"defaultRouteTableId"` // The DNS server list of the VPC. And you can specify 0 to 5 servers to this list. DnsServers pulumi.StringArrayOutput `pulumi:"dnsServers"` // List of Docker Assistant CIDR. DockerAssistantCidrs pulumi.StringArrayOutput `pulumi:"dockerAssistantCidrs"` // Indicates whether it is the default VPC for this region. IsDefault pulumi.BoolOutput `pulumi:"isDefault"` // Indicates whether VPC multicast is enabled. The default value is 'true'. IsMulticast pulumi.BoolPtrOutput `pulumi:"isMulticast"` // The name of the VPC. Name pulumi.StringOutput `pulumi:"name"` // Tags of the VPC. Tags pulumi.MapOutput `pulumi:"tags"` }
Provide a resource to create a VPC.
## Import
Vpc instance can be imported, e.g.
```sh
$ pulumi import tencentcloud:Vpc/instance:Instance test vpc-id
```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // List of Assistant CIDR, NOTE: Only `NORMAL` typed CIDRs included, check the Docker CIDR by readonly `assistantDockerCidrs`. AssistantCidrs pulumi.StringArrayInput // A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16). CidrBlock pulumi.StringInput // The DNS server list of the VPC. And you can specify 0 to 5 servers to this list. DnsServers pulumi.StringArrayInput // Indicates whether VPC multicast is enabled. The default value is 'true'. IsMulticast pulumi.BoolPtrInput // The name of the VPC. Name pulumi.StringPtrInput // Tags of the VPC. Tags pulumi.MapInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
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 ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
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 ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AssistantCidrs ¶
func (o InstanceOutput) AssistantCidrs() pulumi.StringArrayOutput
List of Assistant CIDR, NOTE: Only `NORMAL` typed CIDRs included, check the Docker CIDR by readonly `assistantDockerCidrs`.
func (InstanceOutput) CidrBlock ¶
func (o InstanceOutput) CidrBlock() pulumi.StringOutput
A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
func (InstanceOutput) CreateTime ¶
func (o InstanceOutput) CreateTime() pulumi.StringOutput
Creation time of VPC.
func (InstanceOutput) DefaultRouteTableId ¶
func (o InstanceOutput) DefaultRouteTableId() pulumi.StringOutput
Default route table id, which created automatically after VPC create.
func (InstanceOutput) DnsServers ¶
func (o InstanceOutput) DnsServers() pulumi.StringArrayOutput
The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
func (InstanceOutput) DockerAssistantCidrs ¶ added in v0.1.3
func (o InstanceOutput) DockerAssistantCidrs() pulumi.StringArrayOutput
List of Docker Assistant CIDR.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) IsDefault ¶
func (o InstanceOutput) IsDefault() pulumi.BoolOutput
Indicates whether it is the default VPC for this region.
func (InstanceOutput) IsMulticast ¶
func (o InstanceOutput) IsMulticast() pulumi.BoolPtrOutput
Indicates whether VPC multicast is enabled. The default value is 'true'.
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
The name of the VPC.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceState ¶
type InstanceState struct { // List of Assistant CIDR, NOTE: Only `NORMAL` typed CIDRs included, check the Docker CIDR by readonly `assistantDockerCidrs`. AssistantCidrs pulumi.StringArrayInput // A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16). CidrBlock pulumi.StringPtrInput // Creation time of VPC. CreateTime pulumi.StringPtrInput // Default route table id, which created automatically after VPC create. DefaultRouteTableId pulumi.StringPtrInput // The DNS server list of the VPC. And you can specify 0 to 5 servers to this list. DnsServers pulumi.StringArrayInput // List of Docker Assistant CIDR. DockerAssistantCidrs pulumi.StringArrayInput // Indicates whether it is the default VPC for this region. IsDefault pulumi.BoolPtrInput // Indicates whether VPC multicast is enabled. The default value is 'true'. IsMulticast pulumi.BoolPtrInput // The name of the VPC. Name pulumi.StringPtrInput // Tags of the VPC. Tags pulumi.MapInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type