Documentation
¶
Overview ¶
A Pulumi package for creating and managing Civo cloud resources.
Index ¶
- type Database
- type DatabaseArgs
- type DatabaseArray
- type DatabaseArrayInput
- type DatabaseArrayOutput
- type DatabaseInput
- type DatabaseMap
- type DatabaseMapInput
- type DatabaseMapOutput
- type DatabaseOutput
- func (o DatabaseOutput) DnsEndpoint() pulumi.StringOutput
- func (DatabaseOutput) ElementType() reflect.Type
- func (o DatabaseOutput) Endpoint() pulumi.StringOutput
- func (o DatabaseOutput) Engine() pulumi.StringOutput
- func (o DatabaseOutput) FirewallId() pulumi.StringOutput
- func (o DatabaseOutput) Name() pulumi.StringOutput
- func (o DatabaseOutput) NetworkId() pulumi.StringOutput
- func (o DatabaseOutput) Nodes() pulumi.IntOutput
- func (o DatabaseOutput) Password() pulumi.StringOutput
- func (o DatabaseOutput) Port() pulumi.IntOutput
- func (o DatabaseOutput) PrivateIpv4() pulumi.StringOutput
- func (o DatabaseOutput) Region() pulumi.StringOutput
- func (o DatabaseOutput) Size() pulumi.StringOutput
- func (o DatabaseOutput) Status() pulumi.StringOutput
- func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
- func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (o DatabaseOutput) Username() pulumi.StringOutput
- func (o DatabaseOutput) Version() pulumi.StringOutput
- type DatabaseState
- type DnsDomainName
- type DnsDomainNameArgs
- type DnsDomainNameArray
- type DnsDomainNameArrayInput
- type DnsDomainNameArrayOutput
- func (DnsDomainNameArrayOutput) ElementType() reflect.Type
- func (o DnsDomainNameArrayOutput) Index(i pulumi.IntInput) DnsDomainNameOutput
- func (o DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput
- func (o DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutputWithContext(ctx context.Context) DnsDomainNameArrayOutput
- type DnsDomainNameInput
- type DnsDomainNameMap
- type DnsDomainNameMapInput
- type DnsDomainNameMapOutput
- func (DnsDomainNameMapOutput) ElementType() reflect.Type
- func (o DnsDomainNameMapOutput) MapIndex(k pulumi.StringInput) DnsDomainNameOutput
- func (o DnsDomainNameMapOutput) ToDnsDomainNameMapOutput() DnsDomainNameMapOutput
- func (o DnsDomainNameMapOutput) ToDnsDomainNameMapOutputWithContext(ctx context.Context) DnsDomainNameMapOutput
- type DnsDomainNameOutput
- func (o DnsDomainNameOutput) AccountId() pulumi.StringOutput
- func (DnsDomainNameOutput) ElementType() reflect.Type
- func (o DnsDomainNameOutput) Name() pulumi.StringOutput
- func (o DnsDomainNameOutput) ToDnsDomainNameOutput() DnsDomainNameOutput
- func (o DnsDomainNameOutput) ToDnsDomainNameOutputWithContext(ctx context.Context) DnsDomainNameOutput
- type DnsDomainNameState
- type DnsDomainRecord
- type DnsDomainRecordArgs
- type DnsDomainRecordArray
- type DnsDomainRecordArrayInput
- type DnsDomainRecordArrayOutput
- func (DnsDomainRecordArrayOutput) ElementType() reflect.Type
- func (o DnsDomainRecordArrayOutput) Index(i pulumi.IntInput) DnsDomainRecordOutput
- func (o DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput
- func (o DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutputWithContext(ctx context.Context) DnsDomainRecordArrayOutput
- type DnsDomainRecordInput
- type DnsDomainRecordMap
- type DnsDomainRecordMapInput
- type DnsDomainRecordMapOutput
- func (DnsDomainRecordMapOutput) ElementType() reflect.Type
- func (o DnsDomainRecordMapOutput) MapIndex(k pulumi.StringInput) DnsDomainRecordOutput
- func (o DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput
- func (o DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutputWithContext(ctx context.Context) DnsDomainRecordMapOutput
- type DnsDomainRecordOutput
- func (o DnsDomainRecordOutput) AccountId() pulumi.StringOutput
- func (o DnsDomainRecordOutput) CreatedAt() pulumi.StringOutput
- func (o DnsDomainRecordOutput) DomainId() pulumi.StringOutput
- func (DnsDomainRecordOutput) ElementType() reflect.Type
- func (o DnsDomainRecordOutput) Name() pulumi.StringOutput
- func (o DnsDomainRecordOutput) Priority() pulumi.IntPtrOutput
- func (o DnsDomainRecordOutput) ToDnsDomainRecordOutput() DnsDomainRecordOutput
- func (o DnsDomainRecordOutput) ToDnsDomainRecordOutputWithContext(ctx context.Context) DnsDomainRecordOutput
- func (o DnsDomainRecordOutput) Ttl() pulumi.IntOutput
- func (o DnsDomainRecordOutput) Type() pulumi.StringOutput
- func (o DnsDomainRecordOutput) UpdatedAt() pulumi.StringOutput
- func (o DnsDomainRecordOutput) Value() pulumi.StringOutput
- type DnsDomainRecordState
- type Firewall
- type FirewallArgs
- type FirewallArray
- type FirewallArrayInput
- type FirewallArrayOutput
- type FirewallEgressRule
- type FirewallEgressRuleArgs
- type FirewallEgressRuleArray
- type FirewallEgressRuleArrayInput
- type FirewallEgressRuleArrayOutput
- func (FirewallEgressRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallEgressRuleArrayOutput) Index(i pulumi.IntInput) FirewallEgressRuleOutput
- func (o FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutput() FirewallEgressRuleArrayOutput
- func (o FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutputWithContext(ctx context.Context) FirewallEgressRuleArrayOutput
- type FirewallEgressRuleInput
- type FirewallEgressRuleOutput
- func (o FirewallEgressRuleOutput) Action() pulumi.StringOutput
- func (o FirewallEgressRuleOutput) Cidrs() pulumi.StringArrayOutput
- func (FirewallEgressRuleOutput) ElementType() reflect.Type
- func (o FirewallEgressRuleOutput) Id() pulumi.StringPtrOutput
- func (o FirewallEgressRuleOutput) Label() pulumi.StringPtrOutput
- func (o FirewallEgressRuleOutput) PortRange() pulumi.StringPtrOutput
- func (o FirewallEgressRuleOutput) Protocol() pulumi.StringPtrOutput
- func (o FirewallEgressRuleOutput) ToFirewallEgressRuleOutput() FirewallEgressRuleOutput
- func (o FirewallEgressRuleOutput) ToFirewallEgressRuleOutputWithContext(ctx context.Context) FirewallEgressRuleOutput
- type FirewallIngressRule
- type FirewallIngressRuleArgs
- type FirewallIngressRuleArray
- type FirewallIngressRuleArrayInput
- type FirewallIngressRuleArrayOutput
- func (FirewallIngressRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallIngressRuleArrayOutput) Index(i pulumi.IntInput) FirewallIngressRuleOutput
- func (o FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutput() FirewallIngressRuleArrayOutput
- func (o FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutputWithContext(ctx context.Context) FirewallIngressRuleArrayOutput
- type FirewallIngressRuleInput
- type FirewallIngressRuleOutput
- func (o FirewallIngressRuleOutput) Action() pulumi.StringOutput
- func (o FirewallIngressRuleOutput) Cidrs() pulumi.StringArrayOutput
- func (FirewallIngressRuleOutput) ElementType() reflect.Type
- func (o FirewallIngressRuleOutput) Id() pulumi.StringPtrOutput
- func (o FirewallIngressRuleOutput) Label() pulumi.StringPtrOutput
- func (o FirewallIngressRuleOutput) PortRange() pulumi.StringPtrOutput
- func (o FirewallIngressRuleOutput) Protocol() pulumi.StringPtrOutput
- func (o FirewallIngressRuleOutput) ToFirewallIngressRuleOutput() FirewallIngressRuleOutput
- func (o FirewallIngressRuleOutput) ToFirewallIngressRuleOutputWithContext(ctx context.Context) FirewallIngressRuleOutput
- type FirewallInput
- type FirewallMap
- type FirewallMapInput
- type FirewallMapOutput
- type FirewallOutput
- func (o FirewallOutput) CreateDefaultRules() pulumi.BoolPtrOutput
- func (o FirewallOutput) EgressRules() FirewallEgressRuleArrayOutput
- func (FirewallOutput) ElementType() reflect.Type
- func (o FirewallOutput) IngressRules() FirewallIngressRuleArrayOutput
- func (o FirewallOutput) Name() pulumi.StringOutput
- func (o FirewallOutput) NetworkId() pulumi.StringOutput
- func (o FirewallOutput) Region() pulumi.StringOutput
- func (o FirewallOutput) ToFirewallOutput() FirewallOutput
- func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
- type FirewallState
- type GetDatabaseVersionArgs
- type GetDatabaseVersionFilter
- type GetDatabaseVersionFilterArgs
- func (GetDatabaseVersionFilterArgs) ElementType() reflect.Type
- func (i GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutput() GetDatabaseVersionFilterOutput
- func (i GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutputWithContext(ctx context.Context) GetDatabaseVersionFilterOutput
- type GetDatabaseVersionFilterArray
- func (GetDatabaseVersionFilterArray) ElementType() reflect.Type
- func (i GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutput() GetDatabaseVersionFilterArrayOutput
- func (i GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutputWithContext(ctx context.Context) GetDatabaseVersionFilterArrayOutput
- type GetDatabaseVersionFilterArrayInput
- type GetDatabaseVersionFilterArrayOutput
- func (GetDatabaseVersionFilterArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseVersionFilterArrayOutput) Index(i pulumi.IntInput) GetDatabaseVersionFilterOutput
- func (o GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutput() GetDatabaseVersionFilterArrayOutput
- func (o GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutputWithContext(ctx context.Context) GetDatabaseVersionFilterArrayOutput
- type GetDatabaseVersionFilterInput
- type GetDatabaseVersionFilterOutput
- func (o GetDatabaseVersionFilterOutput) All() pulumi.BoolPtrOutput
- func (GetDatabaseVersionFilterOutput) ElementType() reflect.Type
- func (o GetDatabaseVersionFilterOutput) Key() pulumi.StringOutput
- func (o GetDatabaseVersionFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutput() GetDatabaseVersionFilterOutput
- func (o GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutputWithContext(ctx context.Context) GetDatabaseVersionFilterOutput
- func (o GetDatabaseVersionFilterOutput) Values() pulumi.StringArrayOutput
- type GetDatabaseVersionOutputArgs
- type GetDatabaseVersionResult
- type GetDatabaseVersionResultOutput
- func (GetDatabaseVersionResultOutput) ElementType() reflect.Type
- func (o GetDatabaseVersionResultOutput) Filters() GetDatabaseVersionFilterArrayOutput
- func (o GetDatabaseVersionResultOutput) Id() pulumi.StringOutput
- func (o GetDatabaseVersionResultOutput) Sorts() GetDatabaseVersionSortArrayOutput
- func (o GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutput() GetDatabaseVersionResultOutput
- func (o GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutputWithContext(ctx context.Context) GetDatabaseVersionResultOutput
- func (o GetDatabaseVersionResultOutput) Versions() GetDatabaseVersionVersionArrayOutput
- type GetDatabaseVersionSort
- type GetDatabaseVersionSortArgs
- type GetDatabaseVersionSortArray
- func (GetDatabaseVersionSortArray) ElementType() reflect.Type
- func (i GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutput() GetDatabaseVersionSortArrayOutput
- func (i GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutputWithContext(ctx context.Context) GetDatabaseVersionSortArrayOutput
- type GetDatabaseVersionSortArrayInput
- type GetDatabaseVersionSortArrayOutput
- func (GetDatabaseVersionSortArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseVersionSortArrayOutput) Index(i pulumi.IntInput) GetDatabaseVersionSortOutput
- func (o GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutput() GetDatabaseVersionSortArrayOutput
- func (o GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutputWithContext(ctx context.Context) GetDatabaseVersionSortArrayOutput
- type GetDatabaseVersionSortInput
- type GetDatabaseVersionSortOutput
- func (o GetDatabaseVersionSortOutput) Direction() pulumi.StringPtrOutput
- func (GetDatabaseVersionSortOutput) ElementType() reflect.Type
- func (o GetDatabaseVersionSortOutput) Key() pulumi.StringOutput
- func (o GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutput() GetDatabaseVersionSortOutput
- func (o GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutputWithContext(ctx context.Context) GetDatabaseVersionSortOutput
- type GetDatabaseVersionVersion
- type GetDatabaseVersionVersionArgs
- func (GetDatabaseVersionVersionArgs) ElementType() reflect.Type
- func (i GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutput() GetDatabaseVersionVersionOutput
- func (i GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutputWithContext(ctx context.Context) GetDatabaseVersionVersionOutput
- type GetDatabaseVersionVersionArray
- func (GetDatabaseVersionVersionArray) ElementType() reflect.Type
- func (i GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutput() GetDatabaseVersionVersionArrayOutput
- func (i GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutputWithContext(ctx context.Context) GetDatabaseVersionVersionArrayOutput
- type GetDatabaseVersionVersionArrayInput
- type GetDatabaseVersionVersionArrayOutput
- func (GetDatabaseVersionVersionArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseVersionVersionArrayOutput) Index(i pulumi.IntInput) GetDatabaseVersionVersionOutput
- func (o GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutput() GetDatabaseVersionVersionArrayOutput
- func (o GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutputWithContext(ctx context.Context) GetDatabaseVersionVersionArrayOutput
- type GetDatabaseVersionVersionInput
- type GetDatabaseVersionVersionOutput
- func (o GetDatabaseVersionVersionOutput) Default() pulumi.BoolOutput
- func (GetDatabaseVersionVersionOutput) ElementType() reflect.Type
- func (o GetDatabaseVersionVersionOutput) Engine() pulumi.StringOutput
- func (o GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutput() GetDatabaseVersionVersionOutput
- func (o GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutputWithContext(ctx context.Context) GetDatabaseVersionVersionOutput
- func (o GetDatabaseVersionVersionOutput) Version() pulumi.StringOutput
- type GetDiskImageArgs
- type GetDiskImageDiskimage
- type GetDiskImageDiskimageArgs
- type GetDiskImageDiskimageArray
- func (GetDiskImageDiskimageArray) ElementType() reflect.Type
- func (i GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutput() GetDiskImageDiskimageArrayOutput
- func (i GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutputWithContext(ctx context.Context) GetDiskImageDiskimageArrayOutput
- type GetDiskImageDiskimageArrayInput
- type GetDiskImageDiskimageArrayOutput
- func (GetDiskImageDiskimageArrayOutput) ElementType() reflect.Type
- func (o GetDiskImageDiskimageArrayOutput) Index(i pulumi.IntInput) GetDiskImageDiskimageOutput
- func (o GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutput() GetDiskImageDiskimageArrayOutput
- func (o GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutputWithContext(ctx context.Context) GetDiskImageDiskimageArrayOutput
- type GetDiskImageDiskimageInput
- type GetDiskImageDiskimageOutput
- func (GetDiskImageDiskimageOutput) ElementType() reflect.Type
- func (o GetDiskImageDiskimageOutput) Id() pulumi.StringOutput
- func (o GetDiskImageDiskimageOutput) Label() pulumi.StringOutput
- func (o GetDiskImageDiskimageOutput) Name() pulumi.StringOutput
- func (o GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutput() GetDiskImageDiskimageOutput
- func (o GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutputWithContext(ctx context.Context) GetDiskImageDiskimageOutput
- func (o GetDiskImageDiskimageOutput) Version() pulumi.StringOutput
- type GetDiskImageFilter
- type GetDiskImageFilterArgs
- type GetDiskImageFilterArray
- type GetDiskImageFilterArrayInput
- type GetDiskImageFilterArrayOutput
- func (GetDiskImageFilterArrayOutput) ElementType() reflect.Type
- func (o GetDiskImageFilterArrayOutput) Index(i pulumi.IntInput) GetDiskImageFilterOutput
- func (o GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutput() GetDiskImageFilterArrayOutput
- func (o GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutputWithContext(ctx context.Context) GetDiskImageFilterArrayOutput
- type GetDiskImageFilterInput
- type GetDiskImageFilterOutput
- func (o GetDiskImageFilterOutput) All() pulumi.BoolPtrOutput
- func (GetDiskImageFilterOutput) ElementType() reflect.Type
- func (o GetDiskImageFilterOutput) Key() pulumi.StringOutput
- func (o GetDiskImageFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetDiskImageFilterOutput) ToGetDiskImageFilterOutput() GetDiskImageFilterOutput
- func (o GetDiskImageFilterOutput) ToGetDiskImageFilterOutputWithContext(ctx context.Context) GetDiskImageFilterOutput
- func (o GetDiskImageFilterOutput) Values() pulumi.StringArrayOutput
- type GetDiskImageOutputArgs
- type GetDiskImageResult
- type GetDiskImageResultOutput
- func (o GetDiskImageResultOutput) Diskimages() GetDiskImageDiskimageArrayOutput
- func (GetDiskImageResultOutput) ElementType() reflect.Type
- func (o GetDiskImageResultOutput) Filters() GetDiskImageFilterArrayOutput
- func (o GetDiskImageResultOutput) Id() pulumi.StringOutput
- func (o GetDiskImageResultOutput) Region() pulumi.StringPtrOutput
- func (o GetDiskImageResultOutput) Sorts() GetDiskImageSortArrayOutput
- func (o GetDiskImageResultOutput) ToGetDiskImageResultOutput() GetDiskImageResultOutput
- func (o GetDiskImageResultOutput) ToGetDiskImageResultOutputWithContext(ctx context.Context) GetDiskImageResultOutput
- type GetDiskImageSort
- type GetDiskImageSortArgs
- type GetDiskImageSortArray
- type GetDiskImageSortArrayInput
- type GetDiskImageSortArrayOutput
- func (GetDiskImageSortArrayOutput) ElementType() reflect.Type
- func (o GetDiskImageSortArrayOutput) Index(i pulumi.IntInput) GetDiskImageSortOutput
- func (o GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutput() GetDiskImageSortArrayOutput
- func (o GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutputWithContext(ctx context.Context) GetDiskImageSortArrayOutput
- type GetDiskImageSortInput
- type GetDiskImageSortOutput
- func (o GetDiskImageSortOutput) Direction() pulumi.StringPtrOutput
- func (GetDiskImageSortOutput) ElementType() reflect.Type
- func (o GetDiskImageSortOutput) Key() pulumi.StringOutput
- func (o GetDiskImageSortOutput) ToGetDiskImageSortOutput() GetDiskImageSortOutput
- func (o GetDiskImageSortOutput) ToGetDiskImageSortOutputWithContext(ctx context.Context) GetDiskImageSortOutput
- type GetInstancesArgs
- type GetInstancesFilter
- type GetInstancesFilterArgs
- type GetInstancesFilterArray
- type GetInstancesFilterArrayInput
- type GetInstancesFilterArrayOutput
- func (GetInstancesFilterArrayOutput) ElementType() reflect.Type
- func (o GetInstancesFilterArrayOutput) Index(i pulumi.IntInput) GetInstancesFilterOutput
- func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
- func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
- type GetInstancesFilterInput
- type GetInstancesFilterOutput
- func (o GetInstancesFilterOutput) All() pulumi.BoolPtrOutput
- func (GetInstancesFilterOutput) ElementType() reflect.Type
- func (o GetInstancesFilterOutput) Key() pulumi.StringOutput
- func (o GetInstancesFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput
- func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
- func (o GetInstancesFilterOutput) Values() pulumi.StringArrayOutput
- type GetInstancesInstance
- type GetInstancesInstanceArgs
- type GetInstancesInstanceArray
- type GetInstancesInstanceArrayInput
- type GetInstancesInstanceArrayOutput
- func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
- func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
- type GetInstancesInstanceInput
- type GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) CpuCores() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) CreatedAt() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) DiskGb() pulumi.IntOutput
- func (GetInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetInstancesInstanceOutput) FirewallId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Hostname() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InitialPassword() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) InitialUser() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) NetworkId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Notes() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PrivateIp() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PseudoIp() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) PublicIp() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) RamMb() pulumi.IntOutput
- func (o GetInstancesInstanceOutput) Region() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ReverseDns() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Script() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Size() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) SshkeyId() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) Tags() pulumi.StringArrayOutput
- func (o GetInstancesInstanceOutput) Template() pulumi.StringOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
- func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) Filters() GetInstancesFilterArrayOutput
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
- func (o GetInstancesResultOutput) Region() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) Sorts() GetInstancesSortArrayOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- type GetInstancesSort
- type GetInstancesSortArgs
- type GetInstancesSortArray
- type GetInstancesSortArrayInput
- type GetInstancesSortArrayOutput
- func (GetInstancesSortArrayOutput) ElementType() reflect.Type
- func (o GetInstancesSortArrayOutput) Index(i pulumi.IntInput) GetInstancesSortOutput
- func (o GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutput() GetInstancesSortArrayOutput
- func (o GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutputWithContext(ctx context.Context) GetInstancesSortArrayOutput
- type GetInstancesSortInput
- type GetInstancesSortOutput
- func (o GetInstancesSortOutput) Direction() pulumi.StringPtrOutput
- func (GetInstancesSortOutput) ElementType() reflect.Type
- func (o GetInstancesSortOutput) Key() pulumi.StringOutput
- func (o GetInstancesSortOutput) ToGetInstancesSortOutput() GetInstancesSortOutput
- func (o GetInstancesSortOutput) ToGetInstancesSortOutputWithContext(ctx context.Context) GetInstancesSortOutput
- type GetKubernetesClusterInstalledApplication
- type GetKubernetesClusterInstalledApplicationArgs
- func (GetKubernetesClusterInstalledApplicationArgs) ElementType() reflect.Type
- func (i GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutput() GetKubernetesClusterInstalledApplicationOutput
- func (i GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationOutput
- type GetKubernetesClusterInstalledApplicationArray
- func (GetKubernetesClusterInstalledApplicationArray) ElementType() reflect.Type
- func (i GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutput() GetKubernetesClusterInstalledApplicationArrayOutput
- func (i GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationArrayOutput
- type GetKubernetesClusterInstalledApplicationArrayInput
- type GetKubernetesClusterInstalledApplicationArrayOutput
- func (GetKubernetesClusterInstalledApplicationArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterInstalledApplicationArrayOutput) Index(i pulumi.IntInput) GetKubernetesClusterInstalledApplicationOutput
- func (o GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutput() GetKubernetesClusterInstalledApplicationArrayOutput
- func (o GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationArrayOutput
- type GetKubernetesClusterInstalledApplicationInput
- type GetKubernetesClusterInstalledApplicationOutput
- func (o GetKubernetesClusterInstalledApplicationOutput) Application() pulumi.StringOutput
- func (o GetKubernetesClusterInstalledApplicationOutput) Category() pulumi.StringOutput
- func (GetKubernetesClusterInstalledApplicationOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterInstalledApplicationOutput) Installed() pulumi.BoolOutput
- func (o GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutput() GetKubernetesClusterInstalledApplicationOutput
- func (o GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationOutput
- func (o GetKubernetesClusterInstalledApplicationOutput) Version() pulumi.StringOutput
- type GetKubernetesClusterPool
- type GetKubernetesClusterPoolArgs
- func (GetKubernetesClusterPoolArgs) ElementType() reflect.Type
- func (i GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput
- func (i GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutputWithContext(ctx context.Context) GetKubernetesClusterPoolOutput
- type GetKubernetesClusterPoolArray
- func (GetKubernetesClusterPoolArray) ElementType() reflect.Type
- func (i GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput
- func (i GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolArrayOutput
- type GetKubernetesClusterPoolArrayInput
- type GetKubernetesClusterPoolArrayOutput
- func (GetKubernetesClusterPoolArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterPoolArrayOutput) Index(i pulumi.IntInput) GetKubernetesClusterPoolOutput
- func (o GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput
- func (o GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolArrayOutput
- type GetKubernetesClusterPoolInput
- type GetKubernetesClusterPoolOutput
- func (GetKubernetesClusterPoolOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterPoolOutput) InstanceNames() pulumi.StringArrayOutput
- func (o GetKubernetesClusterPoolOutput) Label() pulumi.StringOutput
- func (o GetKubernetesClusterPoolOutput) Labels() pulumi.StringMapOutput
- func (o GetKubernetesClusterPoolOutput) NodeCount() pulumi.IntOutput
- func (o GetKubernetesClusterPoolOutput) PublicIpNodePool() pulumi.BoolOutput
- func (o GetKubernetesClusterPoolOutput) Size() pulumi.StringOutput
- func (o GetKubernetesClusterPoolOutput) Taints() GetKubernetesClusterPoolTaintArrayOutput
- func (o GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput
- func (o GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutputWithContext(ctx context.Context) GetKubernetesClusterPoolOutput
- type GetKubernetesClusterPoolTaint
- type GetKubernetesClusterPoolTaintArgs
- func (GetKubernetesClusterPoolTaintArgs) ElementType() reflect.Type
- func (i GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutput() GetKubernetesClusterPoolTaintOutput
- func (i GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintOutput
- type GetKubernetesClusterPoolTaintArray
- func (GetKubernetesClusterPoolTaintArray) ElementType() reflect.Type
- func (i GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutput() GetKubernetesClusterPoolTaintArrayOutput
- func (i GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintArrayOutput
- type GetKubernetesClusterPoolTaintArrayInput
- type GetKubernetesClusterPoolTaintArrayOutput
- func (GetKubernetesClusterPoolTaintArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterPoolTaintArrayOutput) Index(i pulumi.IntInput) GetKubernetesClusterPoolTaintOutput
- func (o GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutput() GetKubernetesClusterPoolTaintArrayOutput
- func (o GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintArrayOutput
- type GetKubernetesClusterPoolTaintInput
- type GetKubernetesClusterPoolTaintOutput
- func (o GetKubernetesClusterPoolTaintOutput) Effect() pulumi.StringOutput
- func (GetKubernetesClusterPoolTaintOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterPoolTaintOutput) Key() pulumi.StringOutput
- func (o GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutput() GetKubernetesClusterPoolTaintOutput
- func (o GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintOutput
- func (o GetKubernetesClusterPoolTaintOutput) Value() pulumi.StringOutput
- type GetKubernetesVersionArgs
- type GetKubernetesVersionFilter
- type GetKubernetesVersionFilterArgs
- func (GetKubernetesVersionFilterArgs) ElementType() reflect.Type
- func (i GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput
- func (i GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutputWithContext(ctx context.Context) GetKubernetesVersionFilterOutput
- type GetKubernetesVersionFilterArray
- func (GetKubernetesVersionFilterArray) ElementType() reflect.Type
- func (i GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutput() GetKubernetesVersionFilterArrayOutput
- func (i GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutputWithContext(ctx context.Context) GetKubernetesVersionFilterArrayOutput
- type GetKubernetesVersionFilterArrayInput
- type GetKubernetesVersionFilterArrayOutput
- func (GetKubernetesVersionFilterArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesVersionFilterArrayOutput) Index(i pulumi.IntInput) GetKubernetesVersionFilterOutput
- func (o GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutput() GetKubernetesVersionFilterArrayOutput
- func (o GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutputWithContext(ctx context.Context) GetKubernetesVersionFilterArrayOutput
- type GetKubernetesVersionFilterInput
- type GetKubernetesVersionFilterOutput
- func (o GetKubernetesVersionFilterOutput) All() pulumi.BoolPtrOutput
- func (GetKubernetesVersionFilterOutput) ElementType() reflect.Type
- func (o GetKubernetesVersionFilterOutput) Key() pulumi.StringOutput
- func (o GetKubernetesVersionFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput
- func (o GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutputWithContext(ctx context.Context) GetKubernetesVersionFilterOutput
- func (o GetKubernetesVersionFilterOutput) Values() pulumi.StringArrayOutput
- type GetKubernetesVersionOutputArgs
- type GetKubernetesVersionResult
- type GetKubernetesVersionResultOutput
- func (GetKubernetesVersionResultOutput) ElementType() reflect.Type
- func (o GetKubernetesVersionResultOutput) Filters() GetKubernetesVersionFilterArrayOutput
- func (o GetKubernetesVersionResultOutput) Id() pulumi.StringOutput
- func (o GetKubernetesVersionResultOutput) Sorts() GetKubernetesVersionSortArrayOutput
- func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput() GetKubernetesVersionResultOutput
- func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutputWithContext(ctx context.Context) GetKubernetesVersionResultOutput
- func (o GetKubernetesVersionResultOutput) Versions() GetKubernetesVersionVersionArrayOutput
- type GetKubernetesVersionSort
- type GetKubernetesVersionSortArgs
- func (GetKubernetesVersionSortArgs) ElementType() reflect.Type
- func (i GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutput() GetKubernetesVersionSortOutput
- func (i GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutputWithContext(ctx context.Context) GetKubernetesVersionSortOutput
- type GetKubernetesVersionSortArray
- func (GetKubernetesVersionSortArray) ElementType() reflect.Type
- func (i GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutput() GetKubernetesVersionSortArrayOutput
- func (i GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutputWithContext(ctx context.Context) GetKubernetesVersionSortArrayOutput
- type GetKubernetesVersionSortArrayInput
- type GetKubernetesVersionSortArrayOutput
- func (GetKubernetesVersionSortArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesVersionSortArrayOutput) Index(i pulumi.IntInput) GetKubernetesVersionSortOutput
- func (o GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutput() GetKubernetesVersionSortArrayOutput
- func (o GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutputWithContext(ctx context.Context) GetKubernetesVersionSortArrayOutput
- type GetKubernetesVersionSortInput
- type GetKubernetesVersionSortOutput
- func (o GetKubernetesVersionSortOutput) Direction() pulumi.StringPtrOutput
- func (GetKubernetesVersionSortOutput) ElementType() reflect.Type
- func (o GetKubernetesVersionSortOutput) Key() pulumi.StringOutput
- func (o GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutput() GetKubernetesVersionSortOutput
- func (o GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutputWithContext(ctx context.Context) GetKubernetesVersionSortOutput
- type GetKubernetesVersionVersion
- type GetKubernetesVersionVersionArgs
- func (GetKubernetesVersionVersionArgs) ElementType() reflect.Type
- func (i GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutput() GetKubernetesVersionVersionOutput
- func (i GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutputWithContext(ctx context.Context) GetKubernetesVersionVersionOutput
- type GetKubernetesVersionVersionArray
- func (GetKubernetesVersionVersionArray) ElementType() reflect.Type
- func (i GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutput() GetKubernetesVersionVersionArrayOutput
- func (i GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutputWithContext(ctx context.Context) GetKubernetesVersionVersionArrayOutput
- type GetKubernetesVersionVersionArrayInput
- type GetKubernetesVersionVersionArrayOutput
- func (GetKubernetesVersionVersionArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesVersionVersionArrayOutput) Index(i pulumi.IntInput) GetKubernetesVersionVersionOutput
- func (o GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutput() GetKubernetesVersionVersionArrayOutput
- func (o GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutputWithContext(ctx context.Context) GetKubernetesVersionVersionArrayOutput
- type GetKubernetesVersionVersionInput
- type GetKubernetesVersionVersionOutput
- func (o GetKubernetesVersionVersionOutput) Default() pulumi.BoolOutput
- func (GetKubernetesVersionVersionOutput) ElementType() reflect.Type
- func (o GetKubernetesVersionVersionOutput) Label() pulumi.StringOutput
- func (o GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutput() GetKubernetesVersionVersionOutput
- func (o GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutputWithContext(ctx context.Context) GetKubernetesVersionVersionOutput
- func (o GetKubernetesVersionVersionOutput) Type() pulumi.StringOutput
- func (o GetKubernetesVersionVersionOutput) Version() pulumi.StringOutput
- type GetLoadBalancerArgs
- type GetLoadBalancerBackend
- type GetLoadBalancerBackendArgs
- type GetLoadBalancerBackendArray
- func (GetLoadBalancerBackendArray) ElementType() reflect.Type
- func (i GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput
- func (i GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutputWithContext(ctx context.Context) GetLoadBalancerBackendArrayOutput
- type GetLoadBalancerBackendArrayInput
- type GetLoadBalancerBackendArrayOutput
- func (GetLoadBalancerBackendArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerBackendArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerBackendOutput
- func (o GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput
- func (o GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutputWithContext(ctx context.Context) GetLoadBalancerBackendArrayOutput
- type GetLoadBalancerBackendInput
- type GetLoadBalancerBackendOutput
- func (GetLoadBalancerBackendOutput) ElementType() reflect.Type
- func (o GetLoadBalancerBackendOutput) HealthCheckPort() pulumi.IntOutput
- func (o GetLoadBalancerBackendOutput) Ip() pulumi.StringOutput
- func (o GetLoadBalancerBackendOutput) Protocol() pulumi.StringOutput
- func (o GetLoadBalancerBackendOutput) SourcePort() pulumi.IntOutput
- func (o GetLoadBalancerBackendOutput) TargetPort() pulumi.IntOutput
- func (o GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput
- func (o GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutputWithContext(ctx context.Context) GetLoadBalancerBackendOutput
- type GetLoadBalancerOutputArgs
- type GetLoadBalancerResult
- type GetLoadBalancerResultOutput
- func (o GetLoadBalancerResultOutput) Algorithm() pulumi.StringOutput
- func (o GetLoadBalancerResultOutput) Backends() GetLoadBalancerBackendArrayOutput
- func (o GetLoadBalancerResultOutput) ClusterId() pulumi.StringOutput
- func (GetLoadBalancerResultOutput) ElementType() reflect.Type
- func (o GetLoadBalancerResultOutput) EnableProxyProtocol() pulumi.StringOutput
- func (o GetLoadBalancerResultOutput) ExternalTrafficPolicy() pulumi.StringOutput
- func (o GetLoadBalancerResultOutput) FirewallId() pulumi.StringOutput
- func (o GetLoadBalancerResultOutput) Id() pulumi.StringPtrOutput
- func (o GetLoadBalancerResultOutput) Name() pulumi.StringPtrOutput
- func (o GetLoadBalancerResultOutput) PrivateIp() pulumi.StringOutput
- func (o GetLoadBalancerResultOutput) PublicIp() pulumi.StringOutput
- func (o GetLoadBalancerResultOutput) Region() pulumi.StringPtrOutput
- func (o GetLoadBalancerResultOutput) SessionAffinity() pulumi.StringOutput
- func (o GetLoadBalancerResultOutput) SessionAffinityConfigTimeout() pulumi.IntOutput
- func (o GetLoadBalancerResultOutput) State() pulumi.StringOutput
- func (o GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutput() GetLoadBalancerResultOutput
- func (o GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutputWithContext(ctx context.Context) GetLoadBalancerResultOutput
- type GetRegionArgs
- type GetRegionFilter
- type GetRegionFilterArgs
- type GetRegionFilterArray
- type GetRegionFilterArrayInput
- type GetRegionFilterArrayOutput
- func (GetRegionFilterArrayOutput) ElementType() reflect.Type
- func (o GetRegionFilterArrayOutput) Index(i pulumi.IntInput) GetRegionFilterOutput
- func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput
- func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext(ctx context.Context) GetRegionFilterArrayOutput
- type GetRegionFilterInput
- type GetRegionFilterOutput
- func (o GetRegionFilterOutput) All() pulumi.BoolPtrOutput
- func (GetRegionFilterOutput) ElementType() reflect.Type
- func (o GetRegionFilterOutput) Key() pulumi.StringOutput
- func (o GetRegionFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetRegionFilterOutput) ToGetRegionFilterOutput() GetRegionFilterOutput
- func (o GetRegionFilterOutput) ToGetRegionFilterOutputWithContext(ctx context.Context) GetRegionFilterOutput
- func (o GetRegionFilterOutput) Values() pulumi.StringArrayOutput
- type GetRegionOutputArgs
- type GetRegionRegion
- type GetRegionRegionArgs
- type GetRegionRegionArray
- type GetRegionRegionArrayInput
- type GetRegionRegionArrayOutput
- func (GetRegionRegionArrayOutput) ElementType() reflect.Type
- func (o GetRegionRegionArrayOutput) Index(i pulumi.IntInput) GetRegionRegionOutput
- func (o GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput
- func (o GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutputWithContext(ctx context.Context) GetRegionRegionArrayOutput
- type GetRegionRegionInput
- type GetRegionRegionOutput
- func (o GetRegionRegionOutput) Code() pulumi.StringOutput
- func (o GetRegionRegionOutput) Country() pulumi.StringOutput
- func (o GetRegionRegionOutput) Default() pulumi.BoolOutput
- func (GetRegionRegionOutput) ElementType() reflect.Type
- func (o GetRegionRegionOutput) Name() pulumi.StringOutput
- func (o GetRegionRegionOutput) ToGetRegionRegionOutput() GetRegionRegionOutput
- func (o GetRegionRegionOutput) ToGetRegionRegionOutputWithContext(ctx context.Context) GetRegionRegionOutput
- type GetRegionResult
- type GetRegionResultOutput
- func (GetRegionResultOutput) ElementType() reflect.Type
- func (o GetRegionResultOutput) Filters() GetRegionFilterArrayOutput
- func (o GetRegionResultOutput) Id() pulumi.StringOutput
- func (o GetRegionResultOutput) Regions() GetRegionRegionArrayOutput
- func (o GetRegionResultOutput) Sorts() GetRegionSortArrayOutput
- func (o GetRegionResultOutput) ToGetRegionResultOutput() GetRegionResultOutput
- func (o GetRegionResultOutput) ToGetRegionResultOutputWithContext(ctx context.Context) GetRegionResultOutput
- type GetRegionSort
- type GetRegionSortArgs
- type GetRegionSortArray
- type GetRegionSortArrayInput
- type GetRegionSortArrayOutput
- func (GetRegionSortArrayOutput) ElementType() reflect.Type
- func (o GetRegionSortArrayOutput) Index(i pulumi.IntInput) GetRegionSortOutput
- func (o GetRegionSortArrayOutput) ToGetRegionSortArrayOutput() GetRegionSortArrayOutput
- func (o GetRegionSortArrayOutput) ToGetRegionSortArrayOutputWithContext(ctx context.Context) GetRegionSortArrayOutput
- type GetRegionSortInput
- type GetRegionSortOutput
- func (o GetRegionSortOutput) Direction() pulumi.StringPtrOutput
- func (GetRegionSortOutput) ElementType() reflect.Type
- func (o GetRegionSortOutput) Key() pulumi.StringOutput
- func (o GetRegionSortOutput) ToGetRegionSortOutput() GetRegionSortOutput
- func (o GetRegionSortOutput) ToGetRegionSortOutputWithContext(ctx context.Context) GetRegionSortOutput
- type GetSizeArgs
- type GetSizeFilter
- type GetSizeFilterArgs
- type GetSizeFilterArray
- type GetSizeFilterArrayInput
- type GetSizeFilterArrayOutput
- func (GetSizeFilterArrayOutput) ElementType() reflect.Type
- func (o GetSizeFilterArrayOutput) Index(i pulumi.IntInput) GetSizeFilterOutput
- func (o GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutput() GetSizeFilterArrayOutput
- func (o GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutputWithContext(ctx context.Context) GetSizeFilterArrayOutput
- type GetSizeFilterInput
- type GetSizeFilterOutput
- func (o GetSizeFilterOutput) All() pulumi.BoolPtrOutput
- func (GetSizeFilterOutput) ElementType() reflect.Type
- func (o GetSizeFilterOutput) Key() pulumi.StringOutput
- func (o GetSizeFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetSizeFilterOutput) ToGetSizeFilterOutput() GetSizeFilterOutput
- func (o GetSizeFilterOutput) ToGetSizeFilterOutputWithContext(ctx context.Context) GetSizeFilterOutput
- func (o GetSizeFilterOutput) Values() pulumi.StringArrayOutput
- type GetSizeOutputArgs
- type GetSizeResult
- type GetSizeResultOutput
- func (GetSizeResultOutput) ElementType() reflect.Type
- func (o GetSizeResultOutput) Filters() GetSizeFilterArrayOutput
- func (o GetSizeResultOutput) Id() pulumi.StringOutput
- func (o GetSizeResultOutput) Sizes() GetSizeSizeArrayOutput
- func (o GetSizeResultOutput) Sorts() GetSizeSortArrayOutput
- func (o GetSizeResultOutput) ToGetSizeResultOutput() GetSizeResultOutput
- func (o GetSizeResultOutput) ToGetSizeResultOutputWithContext(ctx context.Context) GetSizeResultOutput
- type GetSizeSize
- type GetSizeSizeArgs
- type GetSizeSizeArray
- type GetSizeSizeArrayInput
- type GetSizeSizeArrayOutput
- func (GetSizeSizeArrayOutput) ElementType() reflect.Type
- func (o GetSizeSizeArrayOutput) Index(i pulumi.IntInput) GetSizeSizeOutput
- func (o GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutput() GetSizeSizeArrayOutput
- func (o GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutputWithContext(ctx context.Context) GetSizeSizeArrayOutput
- type GetSizeSizeInput
- type GetSizeSizeOutput
- func (o GetSizeSizeOutput) Cpu() pulumi.IntOutput
- func (o GetSizeSizeOutput) Description() pulumi.StringOutput
- func (o GetSizeSizeOutput) Disk() pulumi.IntOutput
- func (GetSizeSizeOutput) ElementType() reflect.Type
- func (o GetSizeSizeOutput) Gpu() pulumi.IntOutput
- func (o GetSizeSizeOutput) GpuType() pulumi.StringOutput
- func (o GetSizeSizeOutput) Name() pulumi.StringOutput
- func (o GetSizeSizeOutput) Ram() pulumi.IntOutput
- func (o GetSizeSizeOutput) Selectable() pulumi.BoolOutput
- func (o GetSizeSizeOutput) ToGetSizeSizeOutput() GetSizeSizeOutput
- func (o GetSizeSizeOutput) ToGetSizeSizeOutputWithContext(ctx context.Context) GetSizeSizeOutput
- func (o GetSizeSizeOutput) Type() pulumi.StringOutput
- type GetSizeSort
- type GetSizeSortArgs
- type GetSizeSortArray
- type GetSizeSortArrayInput
- type GetSizeSortArrayOutput
- func (GetSizeSortArrayOutput) ElementType() reflect.Type
- func (o GetSizeSortArrayOutput) Index(i pulumi.IntInput) GetSizeSortOutput
- func (o GetSizeSortArrayOutput) ToGetSizeSortArrayOutput() GetSizeSortArrayOutput
- func (o GetSizeSortArrayOutput) ToGetSizeSortArrayOutputWithContext(ctx context.Context) GetSizeSortArrayOutput
- type GetSizeSortInput
- type GetSizeSortOutput
- func (o GetSizeSortOutput) Direction() pulumi.StringPtrOutput
- func (GetSizeSortOutput) ElementType() reflect.Type
- func (o GetSizeSortOutput) Key() pulumi.StringOutput
- func (o GetSizeSortOutput) ToGetSizeSortOutput() GetSizeSortOutput
- func (o GetSizeSortOutput) ToGetSizeSortOutputWithContext(ctx context.Context) GetSizeSortOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) CpuCores() pulumi.IntOutput
- func (o InstanceOutput) CreatedAt() pulumi.StringOutput
- func (o InstanceOutput) DiskGb() pulumi.IntOutput
- func (o InstanceOutput) DiskImage() pulumi.StringOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) FirewallId() pulumi.StringOutput
- func (o InstanceOutput) Hostname() pulumi.StringOutput
- func (o InstanceOutput) InitialPassword() pulumi.StringOutput
- func (o InstanceOutput) InitialUser() pulumi.StringPtrOutput
- func (o InstanceOutput) NetworkId() pulumi.StringOutput
- func (o InstanceOutput) Notes() pulumi.StringPtrOutput
- func (o InstanceOutput) PrivateIp() pulumi.StringOutput
- func (o InstanceOutput) PrivateIpv4() pulumi.StringPtrOutput
- func (o InstanceOutput) PublicIp() pulumi.StringOutput
- func (o InstanceOutput) PublicIpRequired() pulumi.StringPtrOutput
- func (o InstanceOutput) RamMb() pulumi.IntOutput
- func (o InstanceOutput) Region() pulumi.StringPtrOutput
- func (o InstanceOutput) ReservedIpv4() pulumi.StringPtrOutput
- func (o InstanceOutput) ReverseDns() pulumi.StringPtrOutput
- func (o InstanceOutput) Script() pulumi.StringPtrOutput
- func (o InstanceOutput) Size() pulumi.StringPtrOutput
- func (o InstanceOutput) SourceId() pulumi.StringOutput
- func (o InstanceOutput) SourceType() pulumi.StringOutput
- func (o InstanceOutput) SshkeyId() pulumi.StringOutput
- func (o InstanceOutput) Status() pulumi.StringOutput
- func (o InstanceOutput) Tags() pulumi.StringArrayOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) VolumeType() pulumi.StringPtrOutput
- func (o InstanceOutput) WritePassword() pulumi.BoolPtrOutput
- type InstanceReservedIpAssignment
- func (*InstanceReservedIpAssignment) ElementType() reflect.Type
- func (i *InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutput() InstanceReservedIpAssignmentOutput
- func (i *InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentOutput
- type InstanceReservedIpAssignmentArgs
- type InstanceReservedIpAssignmentArray
- func (InstanceReservedIpAssignmentArray) ElementType() reflect.Type
- func (i InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutput() InstanceReservedIpAssignmentArrayOutput
- func (i InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentArrayOutput
- type InstanceReservedIpAssignmentArrayInput
- type InstanceReservedIpAssignmentArrayOutput
- func (InstanceReservedIpAssignmentArrayOutput) ElementType() reflect.Type
- func (o InstanceReservedIpAssignmentArrayOutput) Index(i pulumi.IntInput) InstanceReservedIpAssignmentOutput
- func (o InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutput() InstanceReservedIpAssignmentArrayOutput
- func (o InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentArrayOutput
- type InstanceReservedIpAssignmentInput
- type InstanceReservedIpAssignmentMap
- func (InstanceReservedIpAssignmentMap) ElementType() reflect.Type
- func (i InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutput() InstanceReservedIpAssignmentMapOutput
- func (i InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentMapOutput
- type InstanceReservedIpAssignmentMapInput
- type InstanceReservedIpAssignmentMapOutput
- func (InstanceReservedIpAssignmentMapOutput) ElementType() reflect.Type
- func (o InstanceReservedIpAssignmentMapOutput) MapIndex(k pulumi.StringInput) InstanceReservedIpAssignmentOutput
- func (o InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutput() InstanceReservedIpAssignmentMapOutput
- func (o InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentMapOutput
- type InstanceReservedIpAssignmentOutput
- func (InstanceReservedIpAssignmentOutput) ElementType() reflect.Type
- func (o InstanceReservedIpAssignmentOutput) InstanceId() pulumi.StringOutput
- func (o InstanceReservedIpAssignmentOutput) Region() pulumi.StringOutput
- func (o InstanceReservedIpAssignmentOutput) ReservedIpId() pulumi.StringOutput
- func (o InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutput() InstanceReservedIpAssignmentOutput
- func (o InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentOutput
- type InstanceReservedIpAssignmentState
- type InstanceState
- type KubernetesCluster
- type KubernetesClusterArgs
- type KubernetesClusterArray
- type KubernetesClusterArrayInput
- type KubernetesClusterArrayOutput
- func (KubernetesClusterArrayOutput) ElementType() reflect.Type
- func (o KubernetesClusterArrayOutput) Index(i pulumi.IntInput) KubernetesClusterOutput
- func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput
- func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutputWithContext(ctx context.Context) KubernetesClusterArrayOutput
- type KubernetesClusterInput
- type KubernetesClusterInstalledApplication
- type KubernetesClusterInstalledApplicationArgs
- func (KubernetesClusterInstalledApplicationArgs) ElementType() reflect.Type
- func (i KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput
- func (i KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationOutput
- type KubernetesClusterInstalledApplicationArray
- func (KubernetesClusterInstalledApplicationArray) ElementType() reflect.Type
- func (i KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutput() KubernetesClusterInstalledApplicationArrayOutput
- func (i KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationArrayOutput
- type KubernetesClusterInstalledApplicationArrayInput
- type KubernetesClusterInstalledApplicationArrayOutput
- func (KubernetesClusterInstalledApplicationArrayOutput) ElementType() reflect.Type
- func (o KubernetesClusterInstalledApplicationArrayOutput) Index(i pulumi.IntInput) KubernetesClusterInstalledApplicationOutput
- func (o KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutput() KubernetesClusterInstalledApplicationArrayOutput
- func (o KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationArrayOutput
- type KubernetesClusterInstalledApplicationInput
- type KubernetesClusterInstalledApplicationOutput
- func (o KubernetesClusterInstalledApplicationOutput) Application() pulumi.StringPtrOutput
- func (o KubernetesClusterInstalledApplicationOutput) Category() pulumi.StringPtrOutput
- func (KubernetesClusterInstalledApplicationOutput) ElementType() reflect.Type
- func (o KubernetesClusterInstalledApplicationOutput) Installed() pulumi.BoolPtrOutput
- func (o KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput
- func (o KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationOutput
- func (o KubernetesClusterInstalledApplicationOutput) Version() pulumi.StringPtrOutput
- type KubernetesClusterMap
- type KubernetesClusterMapInput
- type KubernetesClusterMapOutput
- func (KubernetesClusterMapOutput) ElementType() reflect.Type
- func (o KubernetesClusterMapOutput) MapIndex(k pulumi.StringInput) KubernetesClusterOutput
- func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput
- func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutputWithContext(ctx context.Context) KubernetesClusterMapOutput
- type KubernetesClusterOutput
- func (o KubernetesClusterOutput) ApiEndpoint() pulumi.StringOutput
- func (o KubernetesClusterOutput) Applications() pulumi.StringPtrOutput
- func (o KubernetesClusterOutput) ClusterType() pulumi.StringOutput
- func (o KubernetesClusterOutput) Cni() pulumi.StringOutput
- func (o KubernetesClusterOutput) CreatedAt() pulumi.StringOutput
- func (o KubernetesClusterOutput) DnsEntry() pulumi.StringOutput
- func (KubernetesClusterOutput) ElementType() reflect.Type
- func (o KubernetesClusterOutput) FirewallId() pulumi.StringOutput
- func (o KubernetesClusterOutput) InstalledApplications() KubernetesClusterInstalledApplicationArrayOutput
- func (o KubernetesClusterOutput) Kubeconfig() pulumi.StringOutput
- func (o KubernetesClusterOutput) KubernetesVersion() pulumi.StringOutput
- func (o KubernetesClusterOutput) MasterIp() pulumi.StringOutput
- func (o KubernetesClusterOutput) Name() pulumi.StringOutput
- func (o KubernetesClusterOutput) NetworkId() pulumi.StringOutput
- func (o KubernetesClusterOutput) NumTargetNodes() pulumi.IntOutputdeprecated
- func (o KubernetesClusterOutput) Pools() KubernetesClusterPoolsOutput
- func (o KubernetesClusterOutput) Ready() pulumi.BoolOutput
- func (o KubernetesClusterOutput) Region() pulumi.StringOutput
- func (o KubernetesClusterOutput) Status() pulumi.StringOutput
- func (o KubernetesClusterOutput) Tags() pulumi.StringPtrOutput
- func (o KubernetesClusterOutput) TargetNodesSize() pulumi.StringOutputdeprecated
- func (o KubernetesClusterOutput) ToKubernetesClusterOutput() KubernetesClusterOutput
- func (o KubernetesClusterOutput) ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput
- func (o KubernetesClusterOutput) WriteKubeconfig() pulumi.BoolPtrOutput
- type KubernetesClusterPools
- type KubernetesClusterPoolsArgs
- func (KubernetesClusterPoolsArgs) ElementType() reflect.Type
- func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutput() KubernetesClusterPoolsOutput
- func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutputWithContext(ctx context.Context) KubernetesClusterPoolsOutput
- func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput
- func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput
- type KubernetesClusterPoolsInput
- type KubernetesClusterPoolsOutput
- func (KubernetesClusterPoolsOutput) ElementType() reflect.Type
- func (o KubernetesClusterPoolsOutput) InstanceNames() pulumi.StringArrayOutput
- func (o KubernetesClusterPoolsOutput) Label() pulumi.StringPtrOutput
- func (o KubernetesClusterPoolsOutput) Labels() pulumi.StringMapOutput
- func (o KubernetesClusterPoolsOutput) NodeCount() pulumi.IntOutput
- func (o KubernetesClusterPoolsOutput) PublicIpNodePool() pulumi.BoolPtrOutput
- func (o KubernetesClusterPoolsOutput) Size() pulumi.StringOutput
- func (o KubernetesClusterPoolsOutput) Taints() KubernetesClusterPoolsTaintArrayOutput
- func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutput() KubernetesClusterPoolsOutput
- func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutputWithContext(ctx context.Context) KubernetesClusterPoolsOutput
- func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput
- func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput
- type KubernetesClusterPoolsPtrInput
- type KubernetesClusterPoolsPtrOutput
- func (o KubernetesClusterPoolsPtrOutput) Elem() KubernetesClusterPoolsOutput
- func (KubernetesClusterPoolsPtrOutput) ElementType() reflect.Type
- func (o KubernetesClusterPoolsPtrOutput) InstanceNames() pulumi.StringArrayOutput
- func (o KubernetesClusterPoolsPtrOutput) Label() pulumi.StringPtrOutput
- func (o KubernetesClusterPoolsPtrOutput) Labels() pulumi.StringMapOutput
- func (o KubernetesClusterPoolsPtrOutput) NodeCount() pulumi.IntPtrOutput
- func (o KubernetesClusterPoolsPtrOutput) PublicIpNodePool() pulumi.BoolPtrOutput
- func (o KubernetesClusterPoolsPtrOutput) Size() pulumi.StringPtrOutput
- func (o KubernetesClusterPoolsPtrOutput) Taints() KubernetesClusterPoolsTaintArrayOutput
- func (o KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput
- func (o KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput
- type KubernetesClusterPoolsTaint
- type KubernetesClusterPoolsTaintArgs
- func (KubernetesClusterPoolsTaintArgs) ElementType() reflect.Type
- func (i KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutput() KubernetesClusterPoolsTaintOutput
- func (i KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintOutput
- type KubernetesClusterPoolsTaintArray
- func (KubernetesClusterPoolsTaintArray) ElementType() reflect.Type
- func (i KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutput() KubernetesClusterPoolsTaintArrayOutput
- func (i KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintArrayOutput
- type KubernetesClusterPoolsTaintArrayInput
- type KubernetesClusterPoolsTaintArrayOutput
- func (KubernetesClusterPoolsTaintArrayOutput) ElementType() reflect.Type
- func (o KubernetesClusterPoolsTaintArrayOutput) Index(i pulumi.IntInput) KubernetesClusterPoolsTaintOutput
- func (o KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutput() KubernetesClusterPoolsTaintArrayOutput
- func (o KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintArrayOutput
- type KubernetesClusterPoolsTaintInput
- type KubernetesClusterPoolsTaintOutput
- func (o KubernetesClusterPoolsTaintOutput) Effect() pulumi.StringOutput
- func (KubernetesClusterPoolsTaintOutput) ElementType() reflect.Type
- func (o KubernetesClusterPoolsTaintOutput) Key() pulumi.StringOutput
- func (o KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutput() KubernetesClusterPoolsTaintOutput
- func (o KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintOutput
- func (o KubernetesClusterPoolsTaintOutput) Value() pulumi.StringOutput
- type KubernetesClusterState
- type KubernetesNodePool
- type KubernetesNodePoolArgs
- type KubernetesNodePoolArray
- type KubernetesNodePoolArrayInput
- type KubernetesNodePoolArrayOutput
- func (KubernetesNodePoolArrayOutput) ElementType() reflect.Type
- func (o KubernetesNodePoolArrayOutput) Index(i pulumi.IntInput) KubernetesNodePoolOutput
- func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput
- func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutputWithContext(ctx context.Context) KubernetesNodePoolArrayOutput
- type KubernetesNodePoolInput
- type KubernetesNodePoolMap
- type KubernetesNodePoolMapInput
- type KubernetesNodePoolMapOutput
- func (KubernetesNodePoolMapOutput) ElementType() reflect.Type
- func (o KubernetesNodePoolMapOutput) MapIndex(k pulumi.StringInput) KubernetesNodePoolOutput
- func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput
- func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutputWithContext(ctx context.Context) KubernetesNodePoolMapOutput
- type KubernetesNodePoolOutput
- func (o KubernetesNodePoolOutput) ClusterId() pulumi.StringOutput
- func (KubernetesNodePoolOutput) ElementType() reflect.Type
- func (o KubernetesNodePoolOutput) InstanceNames() pulumi.StringArrayOutput
- func (o KubernetesNodePoolOutput) Label() pulumi.StringOutput
- func (o KubernetesNodePoolOutput) Labels() pulumi.StringMapOutput
- func (o KubernetesNodePoolOutput) NodeCount() pulumi.IntOutput
- func (o KubernetesNodePoolOutput) PublicIpNodePool() pulumi.BoolOutput
- func (o KubernetesNodePoolOutput) Size() pulumi.StringOutput
- func (o KubernetesNodePoolOutput) Taints() KubernetesNodePoolTaintArrayOutput
- func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput
- func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput
- type KubernetesNodePoolState
- type KubernetesNodePoolTaint
- type KubernetesNodePoolTaintArgs
- type KubernetesNodePoolTaintArray
- func (KubernetesNodePoolTaintArray) ElementType() reflect.Type
- func (i KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput
- func (i KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesNodePoolTaintArrayOutput
- type KubernetesNodePoolTaintArrayInput
- type KubernetesNodePoolTaintArrayOutput
- func (KubernetesNodePoolTaintArrayOutput) ElementType() reflect.Type
- func (o KubernetesNodePoolTaintArrayOutput) Index(i pulumi.IntInput) KubernetesNodePoolTaintOutput
- func (o KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput
- func (o KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesNodePoolTaintArrayOutput
- type KubernetesNodePoolTaintInput
- type KubernetesNodePoolTaintOutput
- func (o KubernetesNodePoolTaintOutput) Effect() pulumi.StringOutput
- func (KubernetesNodePoolTaintOutput) ElementType() reflect.Type
- func (o KubernetesNodePoolTaintOutput) Key() pulumi.StringOutput
- func (o KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput
- func (o KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutputWithContext(ctx context.Context) KubernetesNodePoolTaintOutput
- func (o KubernetesNodePoolTaintOutput) Value() pulumi.StringOutput
- type LookupDatabaseArgs
- type LookupDatabaseOutputArgs
- type LookupDatabaseResult
- type LookupDatabaseResultOutput
- func (o LookupDatabaseResultOutput) DnsEndpoint() pulumi.StringOutput
- func (LookupDatabaseResultOutput) ElementType() reflect.Type
- func (o LookupDatabaseResultOutput) Endpoint() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Engine() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) FirewallId() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupDatabaseResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupDatabaseResultOutput) NetworkId() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Nodes() pulumi.IntOutput
- func (o LookupDatabaseResultOutput) Password() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Port() pulumi.IntOutput
- func (o LookupDatabaseResultOutput) Region() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Size() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Status() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutput() LookupDatabaseResultOutput
- func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx context.Context) LookupDatabaseResultOutput
- func (o LookupDatabaseResultOutput) Username() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Version() pulumi.StringOutput
- type LookupDnsDomainNameArgs
- type LookupDnsDomainNameOutputArgs
- type LookupDnsDomainNameResult
- type LookupDnsDomainNameResultOutput
- func (LookupDnsDomainNameResultOutput) ElementType() reflect.Type
- func (o LookupDnsDomainNameResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupDnsDomainNameResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutput() LookupDnsDomainNameResultOutput
- func (o LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutputWithContext(ctx context.Context) LookupDnsDomainNameResultOutput
- type LookupDnsDomainRecordArgs
- type LookupDnsDomainRecordOutputArgs
- type LookupDnsDomainRecordResult
- type LookupDnsDomainRecordResultOutput
- func (o LookupDnsDomainRecordResultOutput) AccountId() pulumi.StringOutput
- func (o LookupDnsDomainRecordResultOutput) CreatedAt() pulumi.StringOutput
- func (o LookupDnsDomainRecordResultOutput) DomainId() pulumi.StringOutput
- func (LookupDnsDomainRecordResultOutput) ElementType() reflect.Type
- func (o LookupDnsDomainRecordResultOutput) Id() pulumi.StringOutput
- func (o LookupDnsDomainRecordResultOutput) Name() pulumi.StringOutput
- func (o LookupDnsDomainRecordResultOutput) Priority() pulumi.IntOutput
- func (o LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutput() LookupDnsDomainRecordResultOutput
- func (o LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutputWithContext(ctx context.Context) LookupDnsDomainRecordResultOutput
- func (o LookupDnsDomainRecordResultOutput) Ttl() pulumi.IntOutput
- func (o LookupDnsDomainRecordResultOutput) Type() pulumi.StringOutput
- func (o LookupDnsDomainRecordResultOutput) UpdatedAt() pulumi.StringOutput
- func (o LookupDnsDomainRecordResultOutput) Value() pulumi.StringOutput
- type LookupFirewallArgs
- type LookupFirewallOutputArgs
- type LookupFirewallResult
- type LookupFirewallResultOutput
- func (LookupFirewallResultOutput) ElementType() reflect.Type
- func (o LookupFirewallResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupFirewallResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupFirewallResultOutput) NetworkId() pulumi.StringOutput
- func (o LookupFirewallResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupFirewallResultOutput) ToLookupFirewallResultOutput() LookupFirewallResultOutput
- func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx context.Context) LookupFirewallResultOutput
- type LookupInstanceArgs
- type LookupInstanceOutputArgs
- type LookupInstanceResult
- type LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) CpuCores() pulumi.IntOutput
- func (o LookupInstanceResultOutput) CreatedAt() pulumi.StringOutput
- func (o LookupInstanceResultOutput) DiskGb() pulumi.IntOutput
- func (LookupInstanceResultOutput) ElementType() reflect.Type
- func (o LookupInstanceResultOutput) FirewallId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Hostname() pulumi.StringPtrOutput
- func (o LookupInstanceResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupInstanceResultOutput) InitialPassword() pulumi.StringOutput
- func (o LookupInstanceResultOutput) InitialUser() pulumi.StringOutput
- func (o LookupInstanceResultOutput) NetworkId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Notes() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PrivateIp() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PseudoIp() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PublicIp() pulumi.StringOutput
- func (o LookupInstanceResultOutput) RamMb() pulumi.IntOutput
- func (o LookupInstanceResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupInstanceResultOutput) ReverseDns() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Script() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Size() pulumi.StringOutput
- func (o LookupInstanceResultOutput) SshkeyId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Status() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupInstanceResultOutput) Template() pulumi.StringOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
- type LookupKubernetesClusterArgs
- type LookupKubernetesClusterOutputArgs
- type LookupKubernetesClusterResult
- type LookupKubernetesClusterResultOutput
- func (o LookupKubernetesClusterResultOutput) ApiEndpoint() pulumi.StringOutput
- func (o LookupKubernetesClusterResultOutput) Applications() pulumi.StringOutput
- func (o LookupKubernetesClusterResultOutput) Cni() pulumi.StringOutput
- func (o LookupKubernetesClusterResultOutput) CreatedAt() pulumi.StringOutput
- func (o LookupKubernetesClusterResultOutput) DnsEntry() pulumi.StringOutput
- func (LookupKubernetesClusterResultOutput) ElementType() reflect.Type
- func (o LookupKubernetesClusterResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupKubernetesClusterResultOutput) InstalledApplications() GetKubernetesClusterInstalledApplicationArrayOutput
- func (o LookupKubernetesClusterResultOutput) Kubeconfig() pulumi.StringOutput
- func (o LookupKubernetesClusterResultOutput) KubernetesVersion() pulumi.StringOutput
- func (o LookupKubernetesClusterResultOutput) MasterIp() pulumi.StringOutput
- func (o LookupKubernetesClusterResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupKubernetesClusterResultOutput) NumTargetNodes() pulumi.IntOutputdeprecated
- func (o LookupKubernetesClusterResultOutput) Pools() GetKubernetesClusterPoolArrayOutput
- func (o LookupKubernetesClusterResultOutput) Ready() pulumi.BoolOutput
- func (o LookupKubernetesClusterResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupKubernetesClusterResultOutput) Status() pulumi.StringOutput
- func (o LookupKubernetesClusterResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupKubernetesClusterResultOutput) TargetNodesSize() pulumi.StringOutputdeprecated
- func (o LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutput() LookupKubernetesClusterResultOutput
- func (o LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutputWithContext(ctx context.Context) LookupKubernetesClusterResultOutput
- type LookupNetworkArgs
- type LookupNetworkOutputArgs
- type LookupNetworkResult
- type LookupNetworkResultOutput
- func (o LookupNetworkResultOutput) Default() pulumi.BoolOutput
- func (LookupNetworkResultOutput) ElementType() reflect.Type
- func (o LookupNetworkResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupNetworkResultOutput) Label() pulumi.StringPtrOutput
- func (o LookupNetworkResultOutput) Name() pulumi.StringOutput
- func (o LookupNetworkResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupNetworkResultOutput) ToLookupNetworkResultOutput() LookupNetworkResultOutput
- func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx context.Context) LookupNetworkResultOutput
- type LookupObjectStoreArgs
- type LookupObjectStoreCredentialArgs
- type LookupObjectStoreCredentialOutputArgs
- type LookupObjectStoreCredentialResult
- type LookupObjectStoreCredentialResultOutput
- func (o LookupObjectStoreCredentialResultOutput) AccessKeyId() pulumi.StringOutput
- func (LookupObjectStoreCredentialResultOutput) ElementType() reflect.Type
- func (o LookupObjectStoreCredentialResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupObjectStoreCredentialResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupObjectStoreCredentialResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupObjectStoreCredentialResultOutput) SecretAccessKey() pulumi.StringOutput
- func (o LookupObjectStoreCredentialResultOutput) Status() pulumi.StringOutput
- func (o LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutput() LookupObjectStoreCredentialResultOutput
- func (o LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutputWithContext(ctx context.Context) LookupObjectStoreCredentialResultOutput
- type LookupObjectStoreOutputArgs
- type LookupObjectStoreResult
- type LookupObjectStoreResultOutput
- func (o LookupObjectStoreResultOutput) AccessKeyId() pulumi.StringOutput
- func (o LookupObjectStoreResultOutput) BucketUrl() pulumi.StringOutput
- func (LookupObjectStoreResultOutput) ElementType() reflect.Type
- func (o LookupObjectStoreResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupObjectStoreResultOutput) MaxSizeGb() pulumi.IntOutput
- func (o LookupObjectStoreResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupObjectStoreResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupObjectStoreResultOutput) Status() pulumi.StringOutput
- func (o LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutput() LookupObjectStoreResultOutput
- func (o LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutputWithContext(ctx context.Context) LookupObjectStoreResultOutput
- type LookupReservedIpArgs
- type LookupReservedIpOutputArgs
- type LookupReservedIpResult
- type LookupReservedIpResultOutput
- func (LookupReservedIpResultOutput) ElementType() reflect.Type
- func (o LookupReservedIpResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupReservedIpResultOutput) InstanceId() pulumi.StringOutput
- func (o LookupReservedIpResultOutput) InstanceName() pulumi.StringOutput
- func (o LookupReservedIpResultOutput) Ip() pulumi.StringOutput
- func (o LookupReservedIpResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupReservedIpResultOutput) Region() pulumi.StringOutput
- func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutput() LookupReservedIpResultOutput
- func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext(ctx context.Context) LookupReservedIpResultOutput
- type LookupSshKeyArgs
- type LookupSshKeyOutputArgs
- type LookupSshKeyResult
- type LookupSshKeyResultOutput
- func (LookupSshKeyResultOutput) ElementType() reflect.Type
- func (o LookupSshKeyResultOutput) Fingerprint() pulumi.StringOutput
- func (o LookupSshKeyResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupSshKeyResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutput() LookupSshKeyResultOutput
- func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext(ctx context.Context) LookupSshKeyResultOutput
- type LookupVolumeArgs
- type LookupVolumeOutputArgs
- type LookupVolumeResult
- type LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupVolumeResultOutput) ElementType() reflect.Type
- func (o LookupVolumeResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupVolumeResultOutput) MountPoint() pulumi.StringOutput
- func (o LookupVolumeResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupVolumeResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupVolumeResultOutput) SizeGb() pulumi.IntOutput
- func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput
- type Network
- type NetworkArgs
- type NetworkArray
- type NetworkArrayInput
- type NetworkArrayOutput
- type NetworkInput
- type NetworkMap
- type NetworkMapInput
- type NetworkMapOutput
- type NetworkOutput
- func (o NetworkOutput) CidrV4() pulumi.StringOutput
- func (o NetworkOutput) Default() pulumi.BoolOutput
- func (NetworkOutput) ElementType() reflect.Type
- func (o NetworkOutput) Label() pulumi.StringOutput
- func (o NetworkOutput) Name() pulumi.StringOutput
- func (o NetworkOutput) NameserversV4s() pulumi.StringArrayOutput
- func (o NetworkOutput) Region() pulumi.StringOutput
- func (o NetworkOutput) ToNetworkOutput() NetworkOutput
- func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
- func (o NetworkOutput) VlanAllocationPoolV4End() pulumi.StringPtrOutput
- func (o NetworkOutput) VlanAllocationPoolV4Start() pulumi.StringPtrOutput
- func (o NetworkOutput) VlanCidrV4() pulumi.StringPtrOutput
- func (o NetworkOutput) VlanGatewayIpV4() pulumi.StringPtrOutput
- func (o NetworkOutput) VlanId() pulumi.IntPtrOutput
- func (o NetworkOutput) VlanPhysicalInterface() pulumi.StringPtrOutput
- type NetworkState
- type ObjectStore
- type ObjectStoreArgs
- type ObjectStoreArray
- type ObjectStoreArrayInput
- type ObjectStoreArrayOutput
- func (ObjectStoreArrayOutput) ElementType() reflect.Type
- func (o ObjectStoreArrayOutput) Index(i pulumi.IntInput) ObjectStoreOutput
- func (o ObjectStoreArrayOutput) ToObjectStoreArrayOutput() ObjectStoreArrayOutput
- func (o ObjectStoreArrayOutput) ToObjectStoreArrayOutputWithContext(ctx context.Context) ObjectStoreArrayOutput
- type ObjectStoreCredential
- type ObjectStoreCredentialArgs
- type ObjectStoreCredentialArray
- func (ObjectStoreCredentialArray) ElementType() reflect.Type
- func (i ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutput() ObjectStoreCredentialArrayOutput
- func (i ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutputWithContext(ctx context.Context) ObjectStoreCredentialArrayOutput
- type ObjectStoreCredentialArrayInput
- type ObjectStoreCredentialArrayOutput
- func (ObjectStoreCredentialArrayOutput) ElementType() reflect.Type
- func (o ObjectStoreCredentialArrayOutput) Index(i pulumi.IntInput) ObjectStoreCredentialOutput
- func (o ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutput() ObjectStoreCredentialArrayOutput
- func (o ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutputWithContext(ctx context.Context) ObjectStoreCredentialArrayOutput
- type ObjectStoreCredentialInput
- type ObjectStoreCredentialMap
- type ObjectStoreCredentialMapInput
- type ObjectStoreCredentialMapOutput
- func (ObjectStoreCredentialMapOutput) ElementType() reflect.Type
- func (o ObjectStoreCredentialMapOutput) MapIndex(k pulumi.StringInput) ObjectStoreCredentialOutput
- func (o ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutput() ObjectStoreCredentialMapOutput
- func (o ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutputWithContext(ctx context.Context) ObjectStoreCredentialMapOutput
- type ObjectStoreCredentialOutput
- func (o ObjectStoreCredentialOutput) AccessKeyId() pulumi.StringOutput
- func (ObjectStoreCredentialOutput) ElementType() reflect.Type
- func (o ObjectStoreCredentialOutput) Name() pulumi.StringOutput
- func (o ObjectStoreCredentialOutput) Region() pulumi.StringPtrOutput
- func (o ObjectStoreCredentialOutput) SecretAccessKey() pulumi.StringOutput
- func (o ObjectStoreCredentialOutput) Status() pulumi.StringOutput
- func (o ObjectStoreCredentialOutput) ToObjectStoreCredentialOutput() ObjectStoreCredentialOutput
- func (o ObjectStoreCredentialOutput) ToObjectStoreCredentialOutputWithContext(ctx context.Context) ObjectStoreCredentialOutput
- type ObjectStoreCredentialState
- type ObjectStoreInput
- type ObjectStoreMap
- type ObjectStoreMapInput
- type ObjectStoreMapOutput
- func (ObjectStoreMapOutput) ElementType() reflect.Type
- func (o ObjectStoreMapOutput) MapIndex(k pulumi.StringInput) ObjectStoreOutput
- func (o ObjectStoreMapOutput) ToObjectStoreMapOutput() ObjectStoreMapOutput
- func (o ObjectStoreMapOutput) ToObjectStoreMapOutputWithContext(ctx context.Context) ObjectStoreMapOutput
- type ObjectStoreOutput
- func (o ObjectStoreOutput) AccessKeyId() pulumi.StringOutput
- func (o ObjectStoreOutput) BucketUrl() pulumi.StringOutput
- func (ObjectStoreOutput) ElementType() reflect.Type
- func (o ObjectStoreOutput) MaxSizeGb() pulumi.IntPtrOutput
- func (o ObjectStoreOutput) Name() pulumi.StringOutput
- func (o ObjectStoreOutput) Region() pulumi.StringOutput
- func (o ObjectStoreOutput) Status() pulumi.StringOutput
- func (o ObjectStoreOutput) ToObjectStoreOutput() ObjectStoreOutput
- func (o ObjectStoreOutput) ToObjectStoreOutputWithContext(ctx context.Context) ObjectStoreOutput
- type ObjectStoreState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) ApiEndpoint() pulumi.StringPtrOutput
- func (o ProviderOutput) CredentialsFile() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Region() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) Token() pulumi.StringPtrOutput
- type ReservedIp
- type ReservedIpArgs
- type ReservedIpArray
- type ReservedIpArrayInput
- type ReservedIpArrayOutput
- func (ReservedIpArrayOutput) ElementType() reflect.Type
- func (o ReservedIpArrayOutput) Index(i pulumi.IntInput) ReservedIpOutput
- func (o ReservedIpArrayOutput) ToReservedIpArrayOutput() ReservedIpArrayOutput
- func (o ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput
- type ReservedIpInput
- type ReservedIpMap
- type ReservedIpMapInput
- type ReservedIpMapOutput
- func (ReservedIpMapOutput) ElementType() reflect.Type
- func (o ReservedIpMapOutput) MapIndex(k pulumi.StringInput) ReservedIpOutput
- func (o ReservedIpMapOutput) ToReservedIpMapOutput() ReservedIpMapOutput
- func (o ReservedIpMapOutput) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput
- type ReservedIpOutput
- func (ReservedIpOutput) ElementType() reflect.Type
- func (o ReservedIpOutput) Ip() pulumi.StringOutput
- func (o ReservedIpOutput) Name() pulumi.StringOutput
- func (o ReservedIpOutput) Region() pulumi.StringOutput
- func (o ReservedIpOutput) ToReservedIpOutput() ReservedIpOutput
- func (o ReservedIpOutput) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput
- type ReservedIpState
- type SshKey
- type SshKeyArgs
- type SshKeyArray
- type SshKeyArrayInput
- type SshKeyArrayOutput
- type SshKeyInput
- type SshKeyMap
- type SshKeyMapInput
- type SshKeyMapOutput
- type SshKeyOutput
- func (SshKeyOutput) ElementType() reflect.Type
- func (o SshKeyOutput) Fingerprint() pulumi.StringOutput
- func (o SshKeyOutput) Name() pulumi.StringOutput
- func (o SshKeyOutput) PublicKey() pulumi.StringOutput
- func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput
- func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
- type SshKeyState
- type Volume
- type VolumeArgs
- type VolumeArray
- type VolumeArrayInput
- type VolumeArrayOutput
- type VolumeAttachment
- type VolumeAttachmentArgs
- type VolumeAttachmentArray
- type VolumeAttachmentArrayInput
- type VolumeAttachmentArrayOutput
- func (VolumeAttachmentArrayOutput) ElementType() reflect.Type
- func (o VolumeAttachmentArrayOutput) Index(i pulumi.IntInput) VolumeAttachmentOutput
- func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
- func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
- type VolumeAttachmentInput
- type VolumeAttachmentMap
- type VolumeAttachmentMapInput
- type VolumeAttachmentMapOutput
- func (VolumeAttachmentMapOutput) ElementType() reflect.Type
- func (o VolumeAttachmentMapOutput) MapIndex(k pulumi.StringInput) VolumeAttachmentOutput
- func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
- func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
- type VolumeAttachmentOutput
- func (VolumeAttachmentOutput) ElementType() reflect.Type
- func (o VolumeAttachmentOutput) InstanceId() pulumi.StringOutput
- func (o VolumeAttachmentOutput) Region() pulumi.StringPtrOutput
- func (o VolumeAttachmentOutput) ToVolumeAttachmentOutput() VolumeAttachmentOutput
- func (o VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
- func (o VolumeAttachmentOutput) VolumeId() pulumi.StringOutput
- type VolumeAttachmentState
- type VolumeInput
- type VolumeMap
- type VolumeMapInput
- type VolumeMapOutput
- type VolumeOutput
- func (VolumeOutput) ElementType() reflect.Type
- func (o VolumeOutput) MountPoint() pulumi.StringOutput
- func (o VolumeOutput) Name() pulumi.StringOutput
- func (o VolumeOutput) NetworkId() pulumi.StringOutput
- func (o VolumeOutput) Region() pulumi.StringPtrOutput
- func (o VolumeOutput) SizeGb() pulumi.IntOutput
- func (o VolumeOutput) ToVolumeOutput() VolumeOutput
- func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
- func (o VolumeOutput) VolumeType() pulumi.StringPtrOutput
- type VolumeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶ added in v2.3.2
type Database struct { pulumi.CustomResourceState // The DNS endpoint of the database DnsEndpoint pulumi.StringOutput `pulumi:"dnsEndpoint"` // The endpoint of the database Endpoint pulumi.StringOutput `pulumi:"endpoint"` // The engine of the database Engine pulumi.StringOutput `pulumi:"engine"` // The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all) FirewallId pulumi.StringOutput `pulumi:"firewallId"` // Name of the database Name pulumi.StringOutput `pulumi:"name"` // The id of the associated network NetworkId pulumi.StringOutput `pulumi:"networkId"` // Count of nodes Nodes pulumi.IntOutput `pulumi:"nodes"` // The password of the database Password pulumi.StringOutput `pulumi:"password"` // The port of the database Port pulumi.IntOutput `pulumi:"port"` // The private IP assigned to the database PrivateIpv4 pulumi.StringOutput `pulumi:"privateIpv4"` // The region where the database will be created. Region pulumi.StringOutput `pulumi:"region"` // Size of the database Size pulumi.StringOutput `pulumi:"size"` // The status of the database Status pulumi.StringOutput `pulumi:"status"` // The username of the database Username pulumi.StringOutput `pulumi:"username"` // The version of the database Version pulumi.StringOutput `pulumi:"version"` }
## Example Usage
## Import
using ID
```sh $ pulumi import civo:index/database:Database mydb 29fcd1c4-fb61-44c7-b49c-dc7b98e9927e ```
func GetDatabase ¶ added in v2.3.2
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)
GetDatabase gets an existing Database 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 NewDatabase ¶ added in v2.3.2
func NewDatabase(ctx *pulumi.Context, name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
func (*Database) ElementType ¶ added in v2.3.2
func (*Database) ToDatabaseOutput ¶ added in v2.3.2
func (i *Database) ToDatabaseOutput() DatabaseOutput
func (*Database) ToDatabaseOutputWithContext ¶ added in v2.3.2
func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
type DatabaseArgs ¶ added in v2.3.2
type DatabaseArgs struct { // The engine of the database Engine pulumi.StringInput // The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all) FirewallId pulumi.StringPtrInput // Name of the database Name pulumi.StringPtrInput // The id of the associated network NetworkId pulumi.StringPtrInput // Count of nodes Nodes pulumi.IntInput // The region where the database will be created. Region pulumi.StringPtrInput // Size of the database Size pulumi.StringInput // The version of the database Version pulumi.StringInput }
The set of arguments for constructing a Database resource.
func (DatabaseArgs) ElementType ¶ added in v2.3.2
func (DatabaseArgs) ElementType() reflect.Type
type DatabaseArray ¶ added in v2.3.2
type DatabaseArray []DatabaseInput
func (DatabaseArray) ElementType ¶ added in v2.3.2
func (DatabaseArray) ElementType() reflect.Type
func (DatabaseArray) ToDatabaseArrayOutput ¶ added in v2.3.2
func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArray) ToDatabaseArrayOutputWithContext ¶ added in v2.3.2
func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseArrayInput ¶ added in v2.3.2
type DatabaseArrayInput interface { pulumi.Input ToDatabaseArrayOutput() DatabaseArrayOutput ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput }
DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:
DatabaseArray{ DatabaseArgs{...} }
type DatabaseArrayOutput ¶ added in v2.3.2
type DatabaseArrayOutput struct{ *pulumi.OutputState }
func (DatabaseArrayOutput) ElementType ¶ added in v2.3.2
func (DatabaseArrayOutput) ElementType() reflect.Type
func (DatabaseArrayOutput) Index ¶ added in v2.3.2
func (o DatabaseArrayOutput) Index(i pulumi.IntInput) DatabaseOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutput ¶ added in v2.3.2
func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext ¶ added in v2.3.2
func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseInput ¶ added in v2.3.2
type DatabaseInput interface { pulumi.Input ToDatabaseOutput() DatabaseOutput ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput }
type DatabaseMap ¶ added in v2.3.2
type DatabaseMap map[string]DatabaseInput
func (DatabaseMap) ElementType ¶ added in v2.3.2
func (DatabaseMap) ElementType() reflect.Type
func (DatabaseMap) ToDatabaseMapOutput ¶ added in v2.3.2
func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMap) ToDatabaseMapOutputWithContext ¶ added in v2.3.2
func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseMapInput ¶ added in v2.3.2
type DatabaseMapInput interface { pulumi.Input ToDatabaseMapOutput() DatabaseMapOutput ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput }
DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:
DatabaseMap{ "key": DatabaseArgs{...} }
type DatabaseMapOutput ¶ added in v2.3.2
type DatabaseMapOutput struct{ *pulumi.OutputState }
func (DatabaseMapOutput) ElementType ¶ added in v2.3.2
func (DatabaseMapOutput) ElementType() reflect.Type
func (DatabaseMapOutput) MapIndex ¶ added in v2.3.2
func (o DatabaseMapOutput) MapIndex(k pulumi.StringInput) DatabaseOutput
func (DatabaseMapOutput) ToDatabaseMapOutput ¶ added in v2.3.2
func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMapOutput) ToDatabaseMapOutputWithContext ¶ added in v2.3.2
func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseOutput ¶ added in v2.3.2
type DatabaseOutput struct{ *pulumi.OutputState }
func (DatabaseOutput) DnsEndpoint ¶ added in v2.3.7
func (o DatabaseOutput) DnsEndpoint() pulumi.StringOutput
The DNS endpoint of the database
func (DatabaseOutput) ElementType ¶ added in v2.3.2
func (DatabaseOutput) ElementType() reflect.Type
func (DatabaseOutput) Endpoint ¶ added in v2.3.7
func (o DatabaseOutput) Endpoint() pulumi.StringOutput
The endpoint of the database
func (DatabaseOutput) Engine ¶ added in v2.3.5
func (o DatabaseOutput) Engine() pulumi.StringOutput
The engine of the database
func (DatabaseOutput) FirewallId ¶ added in v2.3.2
func (o DatabaseOutput) FirewallId() pulumi.StringOutput
The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
func (DatabaseOutput) Name ¶ added in v2.3.2
func (o DatabaseOutput) Name() pulumi.StringOutput
Name of the database
func (DatabaseOutput) NetworkId ¶ added in v2.3.2
func (o DatabaseOutput) NetworkId() pulumi.StringOutput
The id of the associated network
func (DatabaseOutput) Nodes ¶ added in v2.3.2
func (o DatabaseOutput) Nodes() pulumi.IntOutput
Count of nodes
func (DatabaseOutput) Password ¶ added in v2.3.2
func (o DatabaseOutput) Password() pulumi.StringOutput
The password of the database
func (DatabaseOutput) Port ¶ added in v2.3.7
func (o DatabaseOutput) Port() pulumi.IntOutput
The port of the database
func (DatabaseOutput) PrivateIpv4 ¶ added in v2.4.4
func (o DatabaseOutput) PrivateIpv4() pulumi.StringOutput
The private IP assigned to the database
func (DatabaseOutput) Region ¶ added in v2.3.2
func (o DatabaseOutput) Region() pulumi.StringOutput
The region where the database will be created.
func (DatabaseOutput) Size ¶ added in v2.3.2
func (o DatabaseOutput) Size() pulumi.StringOutput
Size of the database
func (DatabaseOutput) Status ¶ added in v2.3.2
func (o DatabaseOutput) Status() pulumi.StringOutput
The status of the database
func (DatabaseOutput) ToDatabaseOutput ¶ added in v2.3.2
func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
func (DatabaseOutput) ToDatabaseOutputWithContext ¶ added in v2.3.2
func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (DatabaseOutput) Username ¶ added in v2.3.2
func (o DatabaseOutput) Username() pulumi.StringOutput
The username of the database
func (DatabaseOutput) Version ¶ added in v2.3.5
func (o DatabaseOutput) Version() pulumi.StringOutput
The version of the database
type DatabaseState ¶ added in v2.3.2
type DatabaseState struct { // The DNS endpoint of the database DnsEndpoint pulumi.StringPtrInput // The endpoint of the database Endpoint pulumi.StringPtrInput // The engine of the database Engine pulumi.StringPtrInput // The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all) FirewallId pulumi.StringPtrInput // Name of the database Name pulumi.StringPtrInput // The id of the associated network NetworkId pulumi.StringPtrInput // Count of nodes Nodes pulumi.IntPtrInput // The password of the database Password pulumi.StringPtrInput // The port of the database Port pulumi.IntPtrInput // The private IP assigned to the database PrivateIpv4 pulumi.StringPtrInput // The region where the database will be created. Region pulumi.StringPtrInput // Size of the database Size pulumi.StringPtrInput // The status of the database Status pulumi.StringPtrInput // The username of the database Username pulumi.StringPtrInput // The version of the database Version pulumi.StringPtrInput }
func (DatabaseState) ElementType ¶ added in v2.3.2
func (DatabaseState) ElementType() reflect.Type
type DnsDomainName ¶
type DnsDomainName struct { pulumi.CustomResourceState // The account ID of the domain AccountId pulumi.StringOutput `pulumi:"accountId"` // The name of the domain Name pulumi.StringOutput `pulumi:"name"` }
Provides a Civo DNS domain name resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Create a new domain name _, err := civo.NewDnsDomainName(ctx, "main", &civo.DnsDomainNameArgs{ Name: pulumi.String("mydomain.com"), }) if err != nil { return err } return nil }) }
```
## Import
using domain name
```sh $ pulumi import civo:index/dnsDomainName:DnsDomainName main mydomain.com ```
func GetDnsDomainName ¶
func GetDnsDomainName(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DnsDomainNameState, opts ...pulumi.ResourceOption) (*DnsDomainName, error)
GetDnsDomainName gets an existing DnsDomainName 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 NewDnsDomainName ¶
func NewDnsDomainName(ctx *pulumi.Context, name string, args *DnsDomainNameArgs, opts ...pulumi.ResourceOption) (*DnsDomainName, error)
NewDnsDomainName registers a new resource with the given unique name, arguments, and options.
func (*DnsDomainName) ElementType ¶
func (*DnsDomainName) ElementType() reflect.Type
func (*DnsDomainName) ToDnsDomainNameOutput ¶
func (i *DnsDomainName) ToDnsDomainNameOutput() DnsDomainNameOutput
func (*DnsDomainName) ToDnsDomainNameOutputWithContext ¶
func (i *DnsDomainName) ToDnsDomainNameOutputWithContext(ctx context.Context) DnsDomainNameOutput
type DnsDomainNameArgs ¶
type DnsDomainNameArgs struct { // The name of the domain Name pulumi.StringPtrInput }
The set of arguments for constructing a DnsDomainName resource.
func (DnsDomainNameArgs) ElementType ¶
func (DnsDomainNameArgs) ElementType() reflect.Type
type DnsDomainNameArray ¶
type DnsDomainNameArray []DnsDomainNameInput
func (DnsDomainNameArray) ElementType ¶
func (DnsDomainNameArray) ElementType() reflect.Type
func (DnsDomainNameArray) ToDnsDomainNameArrayOutput ¶
func (i DnsDomainNameArray) ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput
func (DnsDomainNameArray) ToDnsDomainNameArrayOutputWithContext ¶
func (i DnsDomainNameArray) ToDnsDomainNameArrayOutputWithContext(ctx context.Context) DnsDomainNameArrayOutput
type DnsDomainNameArrayInput ¶
type DnsDomainNameArrayInput interface { pulumi.Input ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput ToDnsDomainNameArrayOutputWithContext(context.Context) DnsDomainNameArrayOutput }
DnsDomainNameArrayInput is an input type that accepts DnsDomainNameArray and DnsDomainNameArrayOutput values. You can construct a concrete instance of `DnsDomainNameArrayInput` via:
DnsDomainNameArray{ DnsDomainNameArgs{...} }
type DnsDomainNameArrayOutput ¶
type DnsDomainNameArrayOutput struct{ *pulumi.OutputState }
func (DnsDomainNameArrayOutput) ElementType ¶
func (DnsDomainNameArrayOutput) ElementType() reflect.Type
func (DnsDomainNameArrayOutput) Index ¶
func (o DnsDomainNameArrayOutput) Index(i pulumi.IntInput) DnsDomainNameOutput
func (DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutput ¶
func (o DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutput() DnsDomainNameArrayOutput
func (DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutputWithContext ¶
func (o DnsDomainNameArrayOutput) ToDnsDomainNameArrayOutputWithContext(ctx context.Context) DnsDomainNameArrayOutput
type DnsDomainNameInput ¶
type DnsDomainNameInput interface { pulumi.Input ToDnsDomainNameOutput() DnsDomainNameOutput ToDnsDomainNameOutputWithContext(ctx context.Context) DnsDomainNameOutput }
type DnsDomainNameMap ¶
type DnsDomainNameMap map[string]DnsDomainNameInput
func (DnsDomainNameMap) ElementType ¶
func (DnsDomainNameMap) ElementType() reflect.Type
func (DnsDomainNameMap) ToDnsDomainNameMapOutput ¶
func (i DnsDomainNameMap) ToDnsDomainNameMapOutput() DnsDomainNameMapOutput
func (DnsDomainNameMap) ToDnsDomainNameMapOutputWithContext ¶
func (i DnsDomainNameMap) ToDnsDomainNameMapOutputWithContext(ctx context.Context) DnsDomainNameMapOutput
type DnsDomainNameMapInput ¶
type DnsDomainNameMapInput interface { pulumi.Input ToDnsDomainNameMapOutput() DnsDomainNameMapOutput ToDnsDomainNameMapOutputWithContext(context.Context) DnsDomainNameMapOutput }
DnsDomainNameMapInput is an input type that accepts DnsDomainNameMap and DnsDomainNameMapOutput values. You can construct a concrete instance of `DnsDomainNameMapInput` via:
DnsDomainNameMap{ "key": DnsDomainNameArgs{...} }
type DnsDomainNameMapOutput ¶
type DnsDomainNameMapOutput struct{ *pulumi.OutputState }
func (DnsDomainNameMapOutput) ElementType ¶
func (DnsDomainNameMapOutput) ElementType() reflect.Type
func (DnsDomainNameMapOutput) MapIndex ¶
func (o DnsDomainNameMapOutput) MapIndex(k pulumi.StringInput) DnsDomainNameOutput
func (DnsDomainNameMapOutput) ToDnsDomainNameMapOutput ¶
func (o DnsDomainNameMapOutput) ToDnsDomainNameMapOutput() DnsDomainNameMapOutput
func (DnsDomainNameMapOutput) ToDnsDomainNameMapOutputWithContext ¶
func (o DnsDomainNameMapOutput) ToDnsDomainNameMapOutputWithContext(ctx context.Context) DnsDomainNameMapOutput
type DnsDomainNameOutput ¶
type DnsDomainNameOutput struct{ *pulumi.OutputState }
func (DnsDomainNameOutput) AccountId ¶ added in v2.2.3
func (o DnsDomainNameOutput) AccountId() pulumi.StringOutput
The account ID of the domain
func (DnsDomainNameOutput) ElementType ¶
func (DnsDomainNameOutput) ElementType() reflect.Type
func (DnsDomainNameOutput) Name ¶ added in v2.2.3
func (o DnsDomainNameOutput) Name() pulumi.StringOutput
The name of the domain
func (DnsDomainNameOutput) ToDnsDomainNameOutput ¶
func (o DnsDomainNameOutput) ToDnsDomainNameOutput() DnsDomainNameOutput
func (DnsDomainNameOutput) ToDnsDomainNameOutputWithContext ¶
func (o DnsDomainNameOutput) ToDnsDomainNameOutputWithContext(ctx context.Context) DnsDomainNameOutput
type DnsDomainNameState ¶
type DnsDomainNameState struct { // The account ID of the domain AccountId pulumi.StringPtrInput // The name of the domain Name pulumi.StringPtrInput }
func (DnsDomainNameState) ElementType ¶
func (DnsDomainNameState) ElementType() reflect.Type
type DnsDomainRecord ¶
type DnsDomainRecord struct { pulumi.CustomResourceState // The account ID of this resource AccountId pulumi.StringOutput `pulumi:"accountId"` // Timestamp when this resource was created CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // ID from domain name DomainId pulumi.StringOutput `pulumi:"domainId"` // The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain) Name pulumi.StringOutput `pulumi:"name"` // Useful for MX records only, the priority mail should be attempted it (defaults to 10) Priority pulumi.IntPtrOutput `pulumi:"priority"` // How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600) Ttl pulumi.IntOutput `pulumi:"ttl"` // The choice of RR type from a, cname, mx or txt Type pulumi.StringOutput `pulumi:"type"` // Timestamp when this resource was updated UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` // The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record Value pulumi.StringOutput `pulumi:"value"` }
Provides a Civo DNS domain record resource.
## Import
using domain_id:domain_record_id
```sh $ pulumi import civo:index/dnsDomainRecord:DnsDomainRecord www a3cd6832-9577-4017-afd7-17d239fc0bf0:c9a39d14-ee1b-4870-8fb0-a2d4f465e822 ```
func GetDnsDomainRecord ¶
func GetDnsDomainRecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DnsDomainRecordState, opts ...pulumi.ResourceOption) (*DnsDomainRecord, error)
GetDnsDomainRecord gets an existing DnsDomainRecord 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 NewDnsDomainRecord ¶
func NewDnsDomainRecord(ctx *pulumi.Context, name string, args *DnsDomainRecordArgs, opts ...pulumi.ResourceOption) (*DnsDomainRecord, error)
NewDnsDomainRecord registers a new resource with the given unique name, arguments, and options.
func (*DnsDomainRecord) ElementType ¶
func (*DnsDomainRecord) ElementType() reflect.Type
func (*DnsDomainRecord) ToDnsDomainRecordOutput ¶
func (i *DnsDomainRecord) ToDnsDomainRecordOutput() DnsDomainRecordOutput
func (*DnsDomainRecord) ToDnsDomainRecordOutputWithContext ¶
func (i *DnsDomainRecord) ToDnsDomainRecordOutputWithContext(ctx context.Context) DnsDomainRecordOutput
type DnsDomainRecordArgs ¶
type DnsDomainRecordArgs struct { // ID from domain name DomainId pulumi.StringInput // The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain) Name pulumi.StringPtrInput // Useful for MX records only, the priority mail should be attempted it (defaults to 10) Priority pulumi.IntPtrInput // How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600) Ttl pulumi.IntInput // The choice of RR type from a, cname, mx or txt Type pulumi.StringInput // The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record Value pulumi.StringInput }
The set of arguments for constructing a DnsDomainRecord resource.
func (DnsDomainRecordArgs) ElementType ¶
func (DnsDomainRecordArgs) ElementType() reflect.Type
type DnsDomainRecordArray ¶
type DnsDomainRecordArray []DnsDomainRecordInput
func (DnsDomainRecordArray) ElementType ¶
func (DnsDomainRecordArray) ElementType() reflect.Type
func (DnsDomainRecordArray) ToDnsDomainRecordArrayOutput ¶
func (i DnsDomainRecordArray) ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput
func (DnsDomainRecordArray) ToDnsDomainRecordArrayOutputWithContext ¶
func (i DnsDomainRecordArray) ToDnsDomainRecordArrayOutputWithContext(ctx context.Context) DnsDomainRecordArrayOutput
type DnsDomainRecordArrayInput ¶
type DnsDomainRecordArrayInput interface { pulumi.Input ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput ToDnsDomainRecordArrayOutputWithContext(context.Context) DnsDomainRecordArrayOutput }
DnsDomainRecordArrayInput is an input type that accepts DnsDomainRecordArray and DnsDomainRecordArrayOutput values. You can construct a concrete instance of `DnsDomainRecordArrayInput` via:
DnsDomainRecordArray{ DnsDomainRecordArgs{...} }
type DnsDomainRecordArrayOutput ¶
type DnsDomainRecordArrayOutput struct{ *pulumi.OutputState }
func (DnsDomainRecordArrayOutput) ElementType ¶
func (DnsDomainRecordArrayOutput) ElementType() reflect.Type
func (DnsDomainRecordArrayOutput) Index ¶
func (o DnsDomainRecordArrayOutput) Index(i pulumi.IntInput) DnsDomainRecordOutput
func (DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutput ¶
func (o DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutput() DnsDomainRecordArrayOutput
func (DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutputWithContext ¶
func (o DnsDomainRecordArrayOutput) ToDnsDomainRecordArrayOutputWithContext(ctx context.Context) DnsDomainRecordArrayOutput
type DnsDomainRecordInput ¶
type DnsDomainRecordInput interface { pulumi.Input ToDnsDomainRecordOutput() DnsDomainRecordOutput ToDnsDomainRecordOutputWithContext(ctx context.Context) DnsDomainRecordOutput }
type DnsDomainRecordMap ¶
type DnsDomainRecordMap map[string]DnsDomainRecordInput
func (DnsDomainRecordMap) ElementType ¶
func (DnsDomainRecordMap) ElementType() reflect.Type
func (DnsDomainRecordMap) ToDnsDomainRecordMapOutput ¶
func (i DnsDomainRecordMap) ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput
func (DnsDomainRecordMap) ToDnsDomainRecordMapOutputWithContext ¶
func (i DnsDomainRecordMap) ToDnsDomainRecordMapOutputWithContext(ctx context.Context) DnsDomainRecordMapOutput
type DnsDomainRecordMapInput ¶
type DnsDomainRecordMapInput interface { pulumi.Input ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput ToDnsDomainRecordMapOutputWithContext(context.Context) DnsDomainRecordMapOutput }
DnsDomainRecordMapInput is an input type that accepts DnsDomainRecordMap and DnsDomainRecordMapOutput values. You can construct a concrete instance of `DnsDomainRecordMapInput` via:
DnsDomainRecordMap{ "key": DnsDomainRecordArgs{...} }
type DnsDomainRecordMapOutput ¶
type DnsDomainRecordMapOutput struct{ *pulumi.OutputState }
func (DnsDomainRecordMapOutput) ElementType ¶
func (DnsDomainRecordMapOutput) ElementType() reflect.Type
func (DnsDomainRecordMapOutput) MapIndex ¶
func (o DnsDomainRecordMapOutput) MapIndex(k pulumi.StringInput) DnsDomainRecordOutput
func (DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutput ¶
func (o DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutput() DnsDomainRecordMapOutput
func (DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutputWithContext ¶
func (o DnsDomainRecordMapOutput) ToDnsDomainRecordMapOutputWithContext(ctx context.Context) DnsDomainRecordMapOutput
type DnsDomainRecordOutput ¶
type DnsDomainRecordOutput struct{ *pulumi.OutputState }
func (DnsDomainRecordOutput) AccountId ¶ added in v2.2.3
func (o DnsDomainRecordOutput) AccountId() pulumi.StringOutput
The account ID of this resource
func (DnsDomainRecordOutput) CreatedAt ¶ added in v2.2.3
func (o DnsDomainRecordOutput) CreatedAt() pulumi.StringOutput
Timestamp when this resource was created
func (DnsDomainRecordOutput) DomainId ¶ added in v2.2.3
func (o DnsDomainRecordOutput) DomainId() pulumi.StringOutput
ID from domain name
func (DnsDomainRecordOutput) ElementType ¶
func (DnsDomainRecordOutput) ElementType() reflect.Type
func (DnsDomainRecordOutput) Name ¶ added in v2.2.3
func (o DnsDomainRecordOutput) Name() pulumi.StringOutput
The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
func (DnsDomainRecordOutput) Priority ¶ added in v2.2.3
func (o DnsDomainRecordOutput) Priority() pulumi.IntPtrOutput
Useful for MX records only, the priority mail should be attempted it (defaults to 10)
func (DnsDomainRecordOutput) ToDnsDomainRecordOutput ¶
func (o DnsDomainRecordOutput) ToDnsDomainRecordOutput() DnsDomainRecordOutput
func (DnsDomainRecordOutput) ToDnsDomainRecordOutputWithContext ¶
func (o DnsDomainRecordOutput) ToDnsDomainRecordOutputWithContext(ctx context.Context) DnsDomainRecordOutput
func (DnsDomainRecordOutput) Ttl ¶ added in v2.2.3
func (o DnsDomainRecordOutput) Ttl() pulumi.IntOutput
How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600)
func (DnsDomainRecordOutput) Type ¶ added in v2.2.3
func (o DnsDomainRecordOutput) Type() pulumi.StringOutput
The choice of RR type from a, cname, mx or txt
func (DnsDomainRecordOutput) UpdatedAt ¶ added in v2.2.3
func (o DnsDomainRecordOutput) UpdatedAt() pulumi.StringOutput
Timestamp when this resource was updated
func (DnsDomainRecordOutput) Value ¶ added in v2.2.3
func (o DnsDomainRecordOutput) Value() pulumi.StringOutput
The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
type DnsDomainRecordState ¶
type DnsDomainRecordState struct { // The account ID of this resource AccountId pulumi.StringPtrInput // Timestamp when this resource was created CreatedAt pulumi.StringPtrInput // ID from domain name DomainId pulumi.StringPtrInput // The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain) Name pulumi.StringPtrInput // Useful for MX records only, the priority mail should be attempted it (defaults to 10) Priority pulumi.IntPtrInput // How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600) Ttl pulumi.IntPtrInput // The choice of RR type from a, cname, mx or txt Type pulumi.StringPtrInput // Timestamp when this resource was updated UpdatedAt pulumi.StringPtrInput // The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record Value pulumi.StringPtrInput }
func (DnsDomainRecordState) ElementType ¶
func (DnsDomainRecordState) ElementType() reflect.Type
type Firewall ¶
type Firewall struct { pulumi.CustomResourceState // The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you // set to false you need to define at least one ingress or egress rule CreateDefaultRules pulumi.BoolPtrOutput `pulumi:"createDefaultRules"` // The egress rules, this is a list of rules that will be applied to the firewall EgressRules FirewallEgressRuleArrayOutput `pulumi:"egressRules"` // The ingress rules, this is a list of rules that will be applied to the firewall IngressRules FirewallIngressRuleArrayOutput `pulumi:"ingressRules"` // The firewall name Name pulumi.StringOutput `pulumi:"name"` // The firewall network, if is not defined we use the default network NetworkId pulumi.StringOutput `pulumi:"networkId"` // The firewall region, if is not defined we use the global defined in the provider Region pulumi.StringOutput `pulumi:"region"` }
Provides a Civo firewall resource. This can be used to create, modify, and delete firewalls.
## Example Usage
* View firewalls after creation on the [CLI](https://www.civo.com/docs/overview/civo-cli): * View firewalls after creation on the [Dashboard](https://dashboard.civo.com/firewalls) * View firewall rules on [CLI](https://www.civo.com/docs/overview/civo-cli):
### Custom ingress and egress rules firewall
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := civo.NewNetwork(ctx, "example", &civo.NetworkArgs{ Label: pulumi.String("example-network"), }) if err != nil { return err } exampleFirewall, err := civo.NewFirewall(ctx, "example", &civo.FirewallArgs{ Name: pulumi.String("example-firewall"), NetworkId: example.ID(), CreateDefaultRules: pulumi.Bool(false), IngressRules: civo.FirewallIngressRuleArray{ &civo.FirewallIngressRuleArgs{ Label: pulumi.String("http"), Protocol: pulumi.String("tcp"), PortRange: pulumi.String("80"), Cidrs: pulumi.StringArray{ pulumi.String("0.0.0.0"), }, Action: pulumi.String("allow"), }, &civo.FirewallIngressRuleArgs{ Label: pulumi.String("https"), Protocol: pulumi.String("tcp"), PortRange: pulumi.String("443"), Cidrs: pulumi.StringArray{ pulumi.String("0.0.0.0"), }, Action: pulumi.String("allow"), }, &civo.FirewallIngressRuleArgs{ Label: pulumi.String("ssh"), Protocol: pulumi.String("tcp"), PortRange: pulumi.String("22"), Cidrs: pulumi.StringArray{ pulumi.String("192.168.1.1/32"), pulumi.String("192.168.10.4/32"), pulumi.String("192.168.10.10/32"), }, Action: pulumi.String("allow"), }, }, EgressRules: civo.FirewallEgressRuleArray{ &civo.FirewallEgressRuleArgs{ Label: pulumi.String("all"), Protocol: pulumi.String("tcp"), PortRange: pulumi.String("1-65535"), Cidrs: pulumi.StringArray{ pulumi.String("0.0.0.0/0"), }, Action: pulumi.String("allow"), }, }, }) if err != nil { return err } debian, err := civo.GetDiskImage(ctx, &civo.GetDiskImageArgs{ Filters: []civo.GetDiskImageFilter{ { Key: "name", Values: []string{ "debian-10", }, }, }, }, nil) if err != nil { return err } // Create a new instance _, err = civo.NewInstance(ctx, "example", &civo.InstanceArgs{ Hostname: pulumi.String("example"), Notes: pulumi.String("This is an example instance"), FirewallId: exampleFirewall.ID(), NetworkId: example.ID(), Size: pulumi.String("g3.xsmall"), DiskImage: pulumi.String(debian.Diskimages[0].Id), }) if err != nil { return err } return nil }) }
```
### Simple firewall
This the minimum amount of code to create a firewall with default rules:
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // ... _, err := civo.NewFirewall(ctx, "example", &civo.FirewallArgs{ Name: pulumi.String("example-firewall"), NetworkId: pulumi.Any(exampleCivoNetwork.Id), }) if err != nil { return err } return nil }) }
```
## Import
using ID
```sh $ pulumi import civo:index/firewall:Firewall www b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```
func GetFirewall ¶
func GetFirewall(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallState, opts ...pulumi.ResourceOption) (*Firewall, error)
GetFirewall gets an existing Firewall 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 NewFirewall ¶
func NewFirewall(ctx *pulumi.Context, name string, args *FirewallArgs, opts ...pulumi.ResourceOption) (*Firewall, error)
NewFirewall registers a new resource with the given unique name, arguments, and options.
func (*Firewall) ElementType ¶
func (*Firewall) ToFirewallOutput ¶
func (i *Firewall) ToFirewallOutput() FirewallOutput
func (*Firewall) ToFirewallOutputWithContext ¶
func (i *Firewall) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
type FirewallArgs ¶
type FirewallArgs struct { // The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you // set to false you need to define at least one ingress or egress rule CreateDefaultRules pulumi.BoolPtrInput // The egress rules, this is a list of rules that will be applied to the firewall EgressRules FirewallEgressRuleArrayInput // The ingress rules, this is a list of rules that will be applied to the firewall IngressRules FirewallIngressRuleArrayInput // The firewall name Name pulumi.StringPtrInput // The firewall network, if is not defined we use the default network NetworkId pulumi.StringPtrInput // The firewall region, if is not defined we use the global defined in the provider Region pulumi.StringPtrInput }
The set of arguments for constructing a Firewall resource.
func (FirewallArgs) ElementType ¶
func (FirewallArgs) ElementType() reflect.Type
type FirewallArray ¶
type FirewallArray []FirewallInput
func (FirewallArray) ElementType ¶
func (FirewallArray) ElementType() reflect.Type
func (FirewallArray) ToFirewallArrayOutput ¶
func (i FirewallArray) ToFirewallArrayOutput() FirewallArrayOutput
func (FirewallArray) ToFirewallArrayOutputWithContext ¶
func (i FirewallArray) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput
type FirewallArrayInput ¶
type FirewallArrayInput interface { pulumi.Input ToFirewallArrayOutput() FirewallArrayOutput ToFirewallArrayOutputWithContext(context.Context) FirewallArrayOutput }
FirewallArrayInput is an input type that accepts FirewallArray and FirewallArrayOutput values. You can construct a concrete instance of `FirewallArrayInput` via:
FirewallArray{ FirewallArgs{...} }
type FirewallArrayOutput ¶
type FirewallArrayOutput struct{ *pulumi.OutputState }
func (FirewallArrayOutput) ElementType ¶
func (FirewallArrayOutput) ElementType() reflect.Type
func (FirewallArrayOutput) Index ¶
func (o FirewallArrayOutput) Index(i pulumi.IntInput) FirewallOutput
func (FirewallArrayOutput) ToFirewallArrayOutput ¶
func (o FirewallArrayOutput) ToFirewallArrayOutput() FirewallArrayOutput
func (FirewallArrayOutput) ToFirewallArrayOutputWithContext ¶
func (o FirewallArrayOutput) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput
type FirewallEgressRule ¶ added in v2.3.0
type FirewallEgressRule struct { // The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic. Action string `pulumi:"action"` // The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address) Cidrs []string `pulumi:"cidrs"` // (String) The ID of this resource. Id *string `pulumi:"id"` // A string that will be the displayed name/reference for this rule Label *string `pulumi:"label"` // The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443` PortRange *string `pulumi:"portRange"` // The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`) Protocol *string `pulumi:"protocol"` }
type FirewallEgressRuleArgs ¶ added in v2.3.0
type FirewallEgressRuleArgs struct { // The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic. Action pulumi.StringInput `pulumi:"action"` // The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address) Cidrs pulumi.StringArrayInput `pulumi:"cidrs"` // (String) The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // A string that will be the displayed name/reference for this rule Label pulumi.StringPtrInput `pulumi:"label"` // The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443` PortRange pulumi.StringPtrInput `pulumi:"portRange"` // The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`) Protocol pulumi.StringPtrInput `pulumi:"protocol"` }
func (FirewallEgressRuleArgs) ElementType ¶ added in v2.3.0
func (FirewallEgressRuleArgs) ElementType() reflect.Type
func (FirewallEgressRuleArgs) ToFirewallEgressRuleOutput ¶ added in v2.3.0
func (i FirewallEgressRuleArgs) ToFirewallEgressRuleOutput() FirewallEgressRuleOutput
func (FirewallEgressRuleArgs) ToFirewallEgressRuleOutputWithContext ¶ added in v2.3.0
func (i FirewallEgressRuleArgs) ToFirewallEgressRuleOutputWithContext(ctx context.Context) FirewallEgressRuleOutput
type FirewallEgressRuleArray ¶ added in v2.3.0
type FirewallEgressRuleArray []FirewallEgressRuleInput
func (FirewallEgressRuleArray) ElementType ¶ added in v2.3.0
func (FirewallEgressRuleArray) ElementType() reflect.Type
func (FirewallEgressRuleArray) ToFirewallEgressRuleArrayOutput ¶ added in v2.3.0
func (i FirewallEgressRuleArray) ToFirewallEgressRuleArrayOutput() FirewallEgressRuleArrayOutput
func (FirewallEgressRuleArray) ToFirewallEgressRuleArrayOutputWithContext ¶ added in v2.3.0
func (i FirewallEgressRuleArray) ToFirewallEgressRuleArrayOutputWithContext(ctx context.Context) FirewallEgressRuleArrayOutput
type FirewallEgressRuleArrayInput ¶ added in v2.3.0
type FirewallEgressRuleArrayInput interface { pulumi.Input ToFirewallEgressRuleArrayOutput() FirewallEgressRuleArrayOutput ToFirewallEgressRuleArrayOutputWithContext(context.Context) FirewallEgressRuleArrayOutput }
FirewallEgressRuleArrayInput is an input type that accepts FirewallEgressRuleArray and FirewallEgressRuleArrayOutput values. You can construct a concrete instance of `FirewallEgressRuleArrayInput` via:
FirewallEgressRuleArray{ FirewallEgressRuleArgs{...} }
type FirewallEgressRuleArrayOutput ¶ added in v2.3.0
type FirewallEgressRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallEgressRuleArrayOutput) ElementType ¶ added in v2.3.0
func (FirewallEgressRuleArrayOutput) ElementType() reflect.Type
func (FirewallEgressRuleArrayOutput) Index ¶ added in v2.3.0
func (o FirewallEgressRuleArrayOutput) Index(i pulumi.IntInput) FirewallEgressRuleOutput
func (FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutput ¶ added in v2.3.0
func (o FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutput() FirewallEgressRuleArrayOutput
func (FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutputWithContext ¶ added in v2.3.0
func (o FirewallEgressRuleArrayOutput) ToFirewallEgressRuleArrayOutputWithContext(ctx context.Context) FirewallEgressRuleArrayOutput
type FirewallEgressRuleInput ¶ added in v2.3.0
type FirewallEgressRuleInput interface { pulumi.Input ToFirewallEgressRuleOutput() FirewallEgressRuleOutput ToFirewallEgressRuleOutputWithContext(context.Context) FirewallEgressRuleOutput }
FirewallEgressRuleInput is an input type that accepts FirewallEgressRuleArgs and FirewallEgressRuleOutput values. You can construct a concrete instance of `FirewallEgressRuleInput` via:
FirewallEgressRuleArgs{...}
type FirewallEgressRuleOutput ¶ added in v2.3.0
type FirewallEgressRuleOutput struct{ *pulumi.OutputState }
func (FirewallEgressRuleOutput) Action ¶ added in v2.3.0
func (o FirewallEgressRuleOutput) Action() pulumi.StringOutput
The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic.
func (FirewallEgressRuleOutput) Cidrs ¶ added in v2.3.0
func (o FirewallEgressRuleOutput) Cidrs() pulumi.StringArrayOutput
The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
func (FirewallEgressRuleOutput) ElementType ¶ added in v2.3.0
func (FirewallEgressRuleOutput) ElementType() reflect.Type
func (FirewallEgressRuleOutput) Id ¶ added in v2.3.0
func (o FirewallEgressRuleOutput) Id() pulumi.StringPtrOutput
(String) The ID of this resource.
func (FirewallEgressRuleOutput) Label ¶ added in v2.3.0
func (o FirewallEgressRuleOutput) Label() pulumi.StringPtrOutput
A string that will be the displayed name/reference for this rule
func (FirewallEgressRuleOutput) PortRange ¶ added in v2.3.0
func (o FirewallEgressRuleOutput) PortRange() pulumi.StringPtrOutput
The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443`
func (FirewallEgressRuleOutput) Protocol ¶ added in v2.3.0
func (o FirewallEgressRuleOutput) Protocol() pulumi.StringPtrOutput
The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`)
func (FirewallEgressRuleOutput) ToFirewallEgressRuleOutput ¶ added in v2.3.0
func (o FirewallEgressRuleOutput) ToFirewallEgressRuleOutput() FirewallEgressRuleOutput
func (FirewallEgressRuleOutput) ToFirewallEgressRuleOutputWithContext ¶ added in v2.3.0
func (o FirewallEgressRuleOutput) ToFirewallEgressRuleOutputWithContext(ctx context.Context) FirewallEgressRuleOutput
type FirewallIngressRule ¶ added in v2.3.0
type FirewallIngressRule struct { // The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic. Action string `pulumi:"action"` // The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address) Cidrs []string `pulumi:"cidrs"` // (String) The ID of this resource. Id *string `pulumi:"id"` // A string that will be the displayed name/reference for this rule Label *string `pulumi:"label"` // The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443` PortRange *string `pulumi:"portRange"` // The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`) Protocol *string `pulumi:"protocol"` }
type FirewallIngressRuleArgs ¶ added in v2.3.0
type FirewallIngressRuleArgs struct { // The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic. Action pulumi.StringInput `pulumi:"action"` // The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address) Cidrs pulumi.StringArrayInput `pulumi:"cidrs"` // (String) The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // A string that will be the displayed name/reference for this rule Label pulumi.StringPtrInput `pulumi:"label"` // The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443` PortRange pulumi.StringPtrInput `pulumi:"portRange"` // The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`) Protocol pulumi.StringPtrInput `pulumi:"protocol"` }
func (FirewallIngressRuleArgs) ElementType ¶ added in v2.3.0
func (FirewallIngressRuleArgs) ElementType() reflect.Type
func (FirewallIngressRuleArgs) ToFirewallIngressRuleOutput ¶ added in v2.3.0
func (i FirewallIngressRuleArgs) ToFirewallIngressRuleOutput() FirewallIngressRuleOutput
func (FirewallIngressRuleArgs) ToFirewallIngressRuleOutputWithContext ¶ added in v2.3.0
func (i FirewallIngressRuleArgs) ToFirewallIngressRuleOutputWithContext(ctx context.Context) FirewallIngressRuleOutput
type FirewallIngressRuleArray ¶ added in v2.3.0
type FirewallIngressRuleArray []FirewallIngressRuleInput
func (FirewallIngressRuleArray) ElementType ¶ added in v2.3.0
func (FirewallIngressRuleArray) ElementType() reflect.Type
func (FirewallIngressRuleArray) ToFirewallIngressRuleArrayOutput ¶ added in v2.3.0
func (i FirewallIngressRuleArray) ToFirewallIngressRuleArrayOutput() FirewallIngressRuleArrayOutput
func (FirewallIngressRuleArray) ToFirewallIngressRuleArrayOutputWithContext ¶ added in v2.3.0
func (i FirewallIngressRuleArray) ToFirewallIngressRuleArrayOutputWithContext(ctx context.Context) FirewallIngressRuleArrayOutput
type FirewallIngressRuleArrayInput ¶ added in v2.3.0
type FirewallIngressRuleArrayInput interface { pulumi.Input ToFirewallIngressRuleArrayOutput() FirewallIngressRuleArrayOutput ToFirewallIngressRuleArrayOutputWithContext(context.Context) FirewallIngressRuleArrayOutput }
FirewallIngressRuleArrayInput is an input type that accepts FirewallIngressRuleArray and FirewallIngressRuleArrayOutput values. You can construct a concrete instance of `FirewallIngressRuleArrayInput` via:
FirewallIngressRuleArray{ FirewallIngressRuleArgs{...} }
type FirewallIngressRuleArrayOutput ¶ added in v2.3.0
type FirewallIngressRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallIngressRuleArrayOutput) ElementType ¶ added in v2.3.0
func (FirewallIngressRuleArrayOutput) ElementType() reflect.Type
func (FirewallIngressRuleArrayOutput) Index ¶ added in v2.3.0
func (o FirewallIngressRuleArrayOutput) Index(i pulumi.IntInput) FirewallIngressRuleOutput
func (FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutput ¶ added in v2.3.0
func (o FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutput() FirewallIngressRuleArrayOutput
func (FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutputWithContext ¶ added in v2.3.0
func (o FirewallIngressRuleArrayOutput) ToFirewallIngressRuleArrayOutputWithContext(ctx context.Context) FirewallIngressRuleArrayOutput
type FirewallIngressRuleInput ¶ added in v2.3.0
type FirewallIngressRuleInput interface { pulumi.Input ToFirewallIngressRuleOutput() FirewallIngressRuleOutput ToFirewallIngressRuleOutputWithContext(context.Context) FirewallIngressRuleOutput }
FirewallIngressRuleInput is an input type that accepts FirewallIngressRuleArgs and FirewallIngressRuleOutput values. You can construct a concrete instance of `FirewallIngressRuleInput` via:
FirewallIngressRuleArgs{...}
type FirewallIngressRuleOutput ¶ added in v2.3.0
type FirewallIngressRuleOutput struct{ *pulumi.OutputState }
func (FirewallIngressRuleOutput) Action ¶ added in v2.3.0
func (o FirewallIngressRuleOutput) Action() pulumi.StringOutput
The action of the rule can be allow or deny. When we set the `action = 'allow'`, this is going to add a rule to allow traffic. Similarly, setting `action = 'deny'` will deny the traffic.
func (FirewallIngressRuleOutput) Cidrs ¶ added in v2.3.0
func (o FirewallIngressRuleOutput) Cidrs() pulumi.StringArrayOutput
The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
func (FirewallIngressRuleOutput) ElementType ¶ added in v2.3.0
func (FirewallIngressRuleOutput) ElementType() reflect.Type
func (FirewallIngressRuleOutput) Id ¶ added in v2.3.0
func (o FirewallIngressRuleOutput) Id() pulumi.StringPtrOutput
(String) The ID of this resource.
func (FirewallIngressRuleOutput) Label ¶ added in v2.3.0
func (o FirewallIngressRuleOutput) Label() pulumi.StringPtrOutput
A string that will be the displayed name/reference for this rule
func (FirewallIngressRuleOutput) PortRange ¶ added in v2.3.0
func (o FirewallIngressRuleOutput) PortRange() pulumi.StringPtrOutput
The port or port range to open, can be a single port or a range separated by a dash (`-`), e.g. `80` or `80-443`
func (FirewallIngressRuleOutput) Protocol ¶ added in v2.3.0
func (o FirewallIngressRuleOutput) Protocol() pulumi.StringPtrOutput
The protocol choice from `tcp`, `udp` or `icmp` (the default if unspecified is `tcp`)
func (FirewallIngressRuleOutput) ToFirewallIngressRuleOutput ¶ added in v2.3.0
func (o FirewallIngressRuleOutput) ToFirewallIngressRuleOutput() FirewallIngressRuleOutput
func (FirewallIngressRuleOutput) ToFirewallIngressRuleOutputWithContext ¶ added in v2.3.0
func (o FirewallIngressRuleOutput) ToFirewallIngressRuleOutputWithContext(ctx context.Context) FirewallIngressRuleOutput
type FirewallInput ¶
type FirewallInput interface { pulumi.Input ToFirewallOutput() FirewallOutput ToFirewallOutputWithContext(ctx context.Context) FirewallOutput }
type FirewallMap ¶
type FirewallMap map[string]FirewallInput
func (FirewallMap) ElementType ¶
func (FirewallMap) ElementType() reflect.Type
func (FirewallMap) ToFirewallMapOutput ¶
func (i FirewallMap) ToFirewallMapOutput() FirewallMapOutput
func (FirewallMap) ToFirewallMapOutputWithContext ¶
func (i FirewallMap) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput
type FirewallMapInput ¶
type FirewallMapInput interface { pulumi.Input ToFirewallMapOutput() FirewallMapOutput ToFirewallMapOutputWithContext(context.Context) FirewallMapOutput }
FirewallMapInput is an input type that accepts FirewallMap and FirewallMapOutput values. You can construct a concrete instance of `FirewallMapInput` via:
FirewallMap{ "key": FirewallArgs{...} }
type FirewallMapOutput ¶
type FirewallMapOutput struct{ *pulumi.OutputState }
func (FirewallMapOutput) ElementType ¶
func (FirewallMapOutput) ElementType() reflect.Type
func (FirewallMapOutput) MapIndex ¶
func (o FirewallMapOutput) MapIndex(k pulumi.StringInput) FirewallOutput
func (FirewallMapOutput) ToFirewallMapOutput ¶
func (o FirewallMapOutput) ToFirewallMapOutput() FirewallMapOutput
func (FirewallMapOutput) ToFirewallMapOutputWithContext ¶
func (o FirewallMapOutput) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput
type FirewallOutput ¶
type FirewallOutput struct{ *pulumi.OutputState }
func (FirewallOutput) CreateDefaultRules ¶ added in v2.2.3
func (o FirewallOutput) CreateDefaultRules() pulumi.BoolPtrOutput
The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
func (FirewallOutput) EgressRules ¶ added in v2.3.0
func (o FirewallOutput) EgressRules() FirewallEgressRuleArrayOutput
The egress rules, this is a list of rules that will be applied to the firewall
func (FirewallOutput) ElementType ¶
func (FirewallOutput) ElementType() reflect.Type
func (FirewallOutput) IngressRules ¶ added in v2.3.0
func (o FirewallOutput) IngressRules() FirewallIngressRuleArrayOutput
The ingress rules, this is a list of rules that will be applied to the firewall
func (FirewallOutput) Name ¶ added in v2.2.3
func (o FirewallOutput) Name() pulumi.StringOutput
The firewall name
func (FirewallOutput) NetworkId ¶ added in v2.2.3
func (o FirewallOutput) NetworkId() pulumi.StringOutput
The firewall network, if is not defined we use the default network
func (FirewallOutput) Region ¶ added in v2.2.3
func (o FirewallOutput) Region() pulumi.StringOutput
The firewall region, if is not defined we use the global defined in the provider
func (FirewallOutput) ToFirewallOutput ¶
func (o FirewallOutput) ToFirewallOutput() FirewallOutput
func (FirewallOutput) ToFirewallOutputWithContext ¶
func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
type FirewallState ¶
type FirewallState struct { // The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you // set to false you need to define at least one ingress or egress rule CreateDefaultRules pulumi.BoolPtrInput // The egress rules, this is a list of rules that will be applied to the firewall EgressRules FirewallEgressRuleArrayInput // The ingress rules, this is a list of rules that will be applied to the firewall IngressRules FirewallIngressRuleArrayInput // The firewall name Name pulumi.StringPtrInput // The firewall network, if is not defined we use the default network NetworkId pulumi.StringPtrInput // The firewall region, if is not defined we use the global defined in the provider Region pulumi.StringPtrInput }
func (FirewallState) ElementType ¶
func (FirewallState) ElementType() reflect.Type
type GetDatabaseVersionArgs ¶ added in v2.3.5
type GetDatabaseVersionArgs struct { // One or more key/value pairs on which to filter results Filters []GetDatabaseVersionFilter `pulumi:"filters"` // One or more key/direction pairs on which to sort results Sorts []GetDatabaseVersionSort `pulumi:"sorts"` }
A collection of arguments for invoking getDatabaseVersion.
type GetDatabaseVersionFilter ¶ added in v2.3.5
type GetDatabaseVersionFilter struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All *bool `pulumi:"all"` // Filter versions by this key. This may be one of `default`, `engine`, `version`. Key string `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy *string `pulumi:"matchBy"` // Only retrieves `versions` which keys has value that matches one of the values provided here Values []string `pulumi:"values"` }
type GetDatabaseVersionFilterArgs ¶ added in v2.3.5
type GetDatabaseVersionFilterArgs struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All pulumi.BoolPtrInput `pulumi:"all"` // Filter versions by this key. This may be one of `default`, `engine`, `version`. Key pulumi.StringInput `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy pulumi.StringPtrInput `pulumi:"matchBy"` // Only retrieves `versions` which keys has value that matches one of the values provided here Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetDatabaseVersionFilterArgs) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionFilterArgs) ElementType() reflect.Type
func (GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutput ¶ added in v2.3.5
func (i GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutput() GetDatabaseVersionFilterOutput
func (GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutputWithContext ¶ added in v2.3.5
func (i GetDatabaseVersionFilterArgs) ToGetDatabaseVersionFilterOutputWithContext(ctx context.Context) GetDatabaseVersionFilterOutput
type GetDatabaseVersionFilterArray ¶ added in v2.3.5
type GetDatabaseVersionFilterArray []GetDatabaseVersionFilterInput
func (GetDatabaseVersionFilterArray) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionFilterArray) ElementType() reflect.Type
func (GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutput ¶ added in v2.3.5
func (i GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutput() GetDatabaseVersionFilterArrayOutput
func (GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutputWithContext ¶ added in v2.3.5
func (i GetDatabaseVersionFilterArray) ToGetDatabaseVersionFilterArrayOutputWithContext(ctx context.Context) GetDatabaseVersionFilterArrayOutput
type GetDatabaseVersionFilterArrayInput ¶ added in v2.3.5
type GetDatabaseVersionFilterArrayInput interface { pulumi.Input ToGetDatabaseVersionFilterArrayOutput() GetDatabaseVersionFilterArrayOutput ToGetDatabaseVersionFilterArrayOutputWithContext(context.Context) GetDatabaseVersionFilterArrayOutput }
GetDatabaseVersionFilterArrayInput is an input type that accepts GetDatabaseVersionFilterArray and GetDatabaseVersionFilterArrayOutput values. You can construct a concrete instance of `GetDatabaseVersionFilterArrayInput` via:
GetDatabaseVersionFilterArray{ GetDatabaseVersionFilterArgs{...} }
type GetDatabaseVersionFilterArrayOutput ¶ added in v2.3.5
type GetDatabaseVersionFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseVersionFilterArrayOutput) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionFilterArrayOutput) ElementType() reflect.Type
func (GetDatabaseVersionFilterArrayOutput) Index ¶ added in v2.3.5
func (o GetDatabaseVersionFilterArrayOutput) Index(i pulumi.IntInput) GetDatabaseVersionFilterOutput
func (GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutput ¶ added in v2.3.5
func (o GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutput() GetDatabaseVersionFilterArrayOutput
func (GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutputWithContext ¶ added in v2.3.5
func (o GetDatabaseVersionFilterArrayOutput) ToGetDatabaseVersionFilterArrayOutputWithContext(ctx context.Context) GetDatabaseVersionFilterArrayOutput
type GetDatabaseVersionFilterInput ¶ added in v2.3.5
type GetDatabaseVersionFilterInput interface { pulumi.Input ToGetDatabaseVersionFilterOutput() GetDatabaseVersionFilterOutput ToGetDatabaseVersionFilterOutputWithContext(context.Context) GetDatabaseVersionFilterOutput }
GetDatabaseVersionFilterInput is an input type that accepts GetDatabaseVersionFilterArgs and GetDatabaseVersionFilterOutput values. You can construct a concrete instance of `GetDatabaseVersionFilterInput` via:
GetDatabaseVersionFilterArgs{...}
type GetDatabaseVersionFilterOutput ¶ added in v2.3.5
type GetDatabaseVersionFilterOutput struct{ *pulumi.OutputState }
func (GetDatabaseVersionFilterOutput) All ¶ added in v2.3.5
func (o GetDatabaseVersionFilterOutput) All() pulumi.BoolPtrOutput
Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
func (GetDatabaseVersionFilterOutput) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionFilterOutput) ElementType() reflect.Type
func (GetDatabaseVersionFilterOutput) Key ¶ added in v2.3.5
func (o GetDatabaseVersionFilterOutput) Key() pulumi.StringOutput
Filter versions by this key. This may be one of `default`, `engine`, `version`.
func (GetDatabaseVersionFilterOutput) MatchBy ¶ added in v2.3.5
func (o GetDatabaseVersionFilterOutput) MatchBy() pulumi.StringPtrOutput
One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
func (GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutput ¶ added in v2.3.5
func (o GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutput() GetDatabaseVersionFilterOutput
func (GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutputWithContext ¶ added in v2.3.5
func (o GetDatabaseVersionFilterOutput) ToGetDatabaseVersionFilterOutputWithContext(ctx context.Context) GetDatabaseVersionFilterOutput
func (GetDatabaseVersionFilterOutput) Values ¶ added in v2.3.5
func (o GetDatabaseVersionFilterOutput) Values() pulumi.StringArrayOutput
Only retrieves `versions` which keys has value that matches one of the values provided here
type GetDatabaseVersionOutputArgs ¶ added in v2.3.5
type GetDatabaseVersionOutputArgs struct { // One or more key/value pairs on which to filter results Filters GetDatabaseVersionFilterArrayInput `pulumi:"filters"` // One or more key/direction pairs on which to sort results Sorts GetDatabaseVersionSortArrayInput `pulumi:"sorts"` }
A collection of arguments for invoking getDatabaseVersion.
func (GetDatabaseVersionOutputArgs) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionOutputArgs) ElementType() reflect.Type
type GetDatabaseVersionResult ¶ added in v2.3.5
type GetDatabaseVersionResult struct { // One or more key/value pairs on which to filter results Filters []GetDatabaseVersionFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // One or more key/direction pairs on which to sort results Sorts []GetDatabaseVersionSort `pulumi:"sorts"` Versions []GetDatabaseVersionVersion `pulumi:"versions"` }
A collection of values returned by getDatabaseVersion.
func GetDatabaseVersion ¶ added in v2.3.5
func GetDatabaseVersion(ctx *pulumi.Context, args *GetDatabaseVersionArgs, opts ...pulumi.InvokeOption) (*GetDatabaseVersionResult, error)
Retrieves information about the database versions that Civo supports, with the ability to filter the results.
type GetDatabaseVersionResultOutput ¶ added in v2.3.5
type GetDatabaseVersionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatabaseVersion.
func GetDatabaseVersionOutput ¶ added in v2.3.5
func GetDatabaseVersionOutput(ctx *pulumi.Context, args GetDatabaseVersionOutputArgs, opts ...pulumi.InvokeOption) GetDatabaseVersionResultOutput
func (GetDatabaseVersionResultOutput) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionResultOutput) ElementType() reflect.Type
func (GetDatabaseVersionResultOutput) Filters ¶ added in v2.3.5
func (o GetDatabaseVersionResultOutput) Filters() GetDatabaseVersionFilterArrayOutput
One or more key/value pairs on which to filter results
func (GetDatabaseVersionResultOutput) Id ¶ added in v2.3.5
func (o GetDatabaseVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDatabaseVersionResultOutput) Sorts ¶ added in v2.3.5
func (o GetDatabaseVersionResultOutput) Sorts() GetDatabaseVersionSortArrayOutput
One or more key/direction pairs on which to sort results
func (GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutput ¶ added in v2.3.5
func (o GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutput() GetDatabaseVersionResultOutput
func (GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutputWithContext ¶ added in v2.3.5
func (o GetDatabaseVersionResultOutput) ToGetDatabaseVersionResultOutputWithContext(ctx context.Context) GetDatabaseVersionResultOutput
func (GetDatabaseVersionResultOutput) Versions ¶ added in v2.3.5
func (o GetDatabaseVersionResultOutput) Versions() GetDatabaseVersionVersionArrayOutput
type GetDatabaseVersionSort ¶ added in v2.3.5
type GetDatabaseVersionSortArgs ¶ added in v2.3.5
type GetDatabaseVersionSortArgs struct { // The sort direction. This may be either `asc` or `desc`. Direction pulumi.StringPtrInput `pulumi:"direction"` // Sort versions by this key. This may be one of `default`, `engine`, `version`. Key pulumi.StringInput `pulumi:"key"` }
func (GetDatabaseVersionSortArgs) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionSortArgs) ElementType() reflect.Type
func (GetDatabaseVersionSortArgs) ToGetDatabaseVersionSortOutput ¶ added in v2.3.5
func (i GetDatabaseVersionSortArgs) ToGetDatabaseVersionSortOutput() GetDatabaseVersionSortOutput
func (GetDatabaseVersionSortArgs) ToGetDatabaseVersionSortOutputWithContext ¶ added in v2.3.5
func (i GetDatabaseVersionSortArgs) ToGetDatabaseVersionSortOutputWithContext(ctx context.Context) GetDatabaseVersionSortOutput
type GetDatabaseVersionSortArray ¶ added in v2.3.5
type GetDatabaseVersionSortArray []GetDatabaseVersionSortInput
func (GetDatabaseVersionSortArray) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionSortArray) ElementType() reflect.Type
func (GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutput ¶ added in v2.3.5
func (i GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutput() GetDatabaseVersionSortArrayOutput
func (GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutputWithContext ¶ added in v2.3.5
func (i GetDatabaseVersionSortArray) ToGetDatabaseVersionSortArrayOutputWithContext(ctx context.Context) GetDatabaseVersionSortArrayOutput
type GetDatabaseVersionSortArrayInput ¶ added in v2.3.5
type GetDatabaseVersionSortArrayInput interface { pulumi.Input ToGetDatabaseVersionSortArrayOutput() GetDatabaseVersionSortArrayOutput ToGetDatabaseVersionSortArrayOutputWithContext(context.Context) GetDatabaseVersionSortArrayOutput }
GetDatabaseVersionSortArrayInput is an input type that accepts GetDatabaseVersionSortArray and GetDatabaseVersionSortArrayOutput values. You can construct a concrete instance of `GetDatabaseVersionSortArrayInput` via:
GetDatabaseVersionSortArray{ GetDatabaseVersionSortArgs{...} }
type GetDatabaseVersionSortArrayOutput ¶ added in v2.3.5
type GetDatabaseVersionSortArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseVersionSortArrayOutput) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionSortArrayOutput) ElementType() reflect.Type
func (GetDatabaseVersionSortArrayOutput) Index ¶ added in v2.3.5
func (o GetDatabaseVersionSortArrayOutput) Index(i pulumi.IntInput) GetDatabaseVersionSortOutput
func (GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutput ¶ added in v2.3.5
func (o GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutput() GetDatabaseVersionSortArrayOutput
func (GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutputWithContext ¶ added in v2.3.5
func (o GetDatabaseVersionSortArrayOutput) ToGetDatabaseVersionSortArrayOutputWithContext(ctx context.Context) GetDatabaseVersionSortArrayOutput
type GetDatabaseVersionSortInput ¶ added in v2.3.5
type GetDatabaseVersionSortInput interface { pulumi.Input ToGetDatabaseVersionSortOutput() GetDatabaseVersionSortOutput ToGetDatabaseVersionSortOutputWithContext(context.Context) GetDatabaseVersionSortOutput }
GetDatabaseVersionSortInput is an input type that accepts GetDatabaseVersionSortArgs and GetDatabaseVersionSortOutput values. You can construct a concrete instance of `GetDatabaseVersionSortInput` via:
GetDatabaseVersionSortArgs{...}
type GetDatabaseVersionSortOutput ¶ added in v2.3.5
type GetDatabaseVersionSortOutput struct{ *pulumi.OutputState }
func (GetDatabaseVersionSortOutput) Direction ¶ added in v2.3.5
func (o GetDatabaseVersionSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetDatabaseVersionSortOutput) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionSortOutput) ElementType() reflect.Type
func (GetDatabaseVersionSortOutput) Key ¶ added in v2.3.5
func (o GetDatabaseVersionSortOutput) Key() pulumi.StringOutput
Sort versions by this key. This may be one of `default`, `engine`, `version`.
func (GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutput ¶ added in v2.3.5
func (o GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutput() GetDatabaseVersionSortOutput
func (GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutputWithContext ¶ added in v2.3.5
func (o GetDatabaseVersionSortOutput) ToGetDatabaseVersionSortOutputWithContext(ctx context.Context) GetDatabaseVersionSortOutput
type GetDatabaseVersionVersion ¶ added in v2.3.5
type GetDatabaseVersionVersionArgs ¶ added in v2.3.5
type GetDatabaseVersionVersionArgs struct { // If the version is the default Default pulumi.BoolInput `pulumi:"default"` // The engine of the database Engine pulumi.StringInput `pulumi:"engine"` // The version of the database Version pulumi.StringInput `pulumi:"version"` }
func (GetDatabaseVersionVersionArgs) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionVersionArgs) ElementType() reflect.Type
func (GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutput ¶ added in v2.3.5
func (i GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutput() GetDatabaseVersionVersionOutput
func (GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutputWithContext ¶ added in v2.3.5
func (i GetDatabaseVersionVersionArgs) ToGetDatabaseVersionVersionOutputWithContext(ctx context.Context) GetDatabaseVersionVersionOutput
type GetDatabaseVersionVersionArray ¶ added in v2.3.5
type GetDatabaseVersionVersionArray []GetDatabaseVersionVersionInput
func (GetDatabaseVersionVersionArray) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionVersionArray) ElementType() reflect.Type
func (GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutput ¶ added in v2.3.5
func (i GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutput() GetDatabaseVersionVersionArrayOutput
func (GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutputWithContext ¶ added in v2.3.5
func (i GetDatabaseVersionVersionArray) ToGetDatabaseVersionVersionArrayOutputWithContext(ctx context.Context) GetDatabaseVersionVersionArrayOutput
type GetDatabaseVersionVersionArrayInput ¶ added in v2.3.5
type GetDatabaseVersionVersionArrayInput interface { pulumi.Input ToGetDatabaseVersionVersionArrayOutput() GetDatabaseVersionVersionArrayOutput ToGetDatabaseVersionVersionArrayOutputWithContext(context.Context) GetDatabaseVersionVersionArrayOutput }
GetDatabaseVersionVersionArrayInput is an input type that accepts GetDatabaseVersionVersionArray and GetDatabaseVersionVersionArrayOutput values. You can construct a concrete instance of `GetDatabaseVersionVersionArrayInput` via:
GetDatabaseVersionVersionArray{ GetDatabaseVersionVersionArgs{...} }
type GetDatabaseVersionVersionArrayOutput ¶ added in v2.3.5
type GetDatabaseVersionVersionArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseVersionVersionArrayOutput) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionVersionArrayOutput) ElementType() reflect.Type
func (GetDatabaseVersionVersionArrayOutput) Index ¶ added in v2.3.5
func (o GetDatabaseVersionVersionArrayOutput) Index(i pulumi.IntInput) GetDatabaseVersionVersionOutput
func (GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutput ¶ added in v2.3.5
func (o GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutput() GetDatabaseVersionVersionArrayOutput
func (GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutputWithContext ¶ added in v2.3.5
func (o GetDatabaseVersionVersionArrayOutput) ToGetDatabaseVersionVersionArrayOutputWithContext(ctx context.Context) GetDatabaseVersionVersionArrayOutput
type GetDatabaseVersionVersionInput ¶ added in v2.3.5
type GetDatabaseVersionVersionInput interface { pulumi.Input ToGetDatabaseVersionVersionOutput() GetDatabaseVersionVersionOutput ToGetDatabaseVersionVersionOutputWithContext(context.Context) GetDatabaseVersionVersionOutput }
GetDatabaseVersionVersionInput is an input type that accepts GetDatabaseVersionVersionArgs and GetDatabaseVersionVersionOutput values. You can construct a concrete instance of `GetDatabaseVersionVersionInput` via:
GetDatabaseVersionVersionArgs{...}
type GetDatabaseVersionVersionOutput ¶ added in v2.3.5
type GetDatabaseVersionVersionOutput struct{ *pulumi.OutputState }
func (GetDatabaseVersionVersionOutput) Default ¶ added in v2.3.5
func (o GetDatabaseVersionVersionOutput) Default() pulumi.BoolOutput
If the version is the default
func (GetDatabaseVersionVersionOutput) ElementType ¶ added in v2.3.5
func (GetDatabaseVersionVersionOutput) ElementType() reflect.Type
func (GetDatabaseVersionVersionOutput) Engine ¶ added in v2.3.5
func (o GetDatabaseVersionVersionOutput) Engine() pulumi.StringOutput
The engine of the database
func (GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutput ¶ added in v2.3.5
func (o GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutput() GetDatabaseVersionVersionOutput
func (GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutputWithContext ¶ added in v2.3.5
func (o GetDatabaseVersionVersionOutput) ToGetDatabaseVersionVersionOutputWithContext(ctx context.Context) GetDatabaseVersionVersionOutput
func (GetDatabaseVersionVersionOutput) Version ¶ added in v2.3.5
func (o GetDatabaseVersionVersionOutput) Version() pulumi.StringOutput
The version of the database
type GetDiskImageArgs ¶
type GetDiskImageArgs struct { // One or more key/value pairs on which to filter results Filters []GetDiskImageFilter `pulumi:"filters"` // If is used, all disk image will be from this region. Required if no region is set in provider. Region *string `pulumi:"region"` // One or more key/direction pairs on which to sort results Sorts []GetDiskImageSort `pulumi:"sorts"` }
A collection of arguments for invoking getDiskImage.
type GetDiskImageDiskimage ¶
type GetDiskImageDiskimageArgs ¶
type GetDiskImageDiskimageArgs struct { // ID of disk image Id pulumi.StringInput `pulumi:"id"` // Label of disk image Label pulumi.StringInput `pulumi:"label"` // Name of disk image Name pulumi.StringInput `pulumi:"name"` // Version of disk image Version pulumi.StringInput `pulumi:"version"` }
func (GetDiskImageDiskimageArgs) ElementType ¶
func (GetDiskImageDiskimageArgs) ElementType() reflect.Type
func (GetDiskImageDiskimageArgs) ToGetDiskImageDiskimageOutput ¶
func (i GetDiskImageDiskimageArgs) ToGetDiskImageDiskimageOutput() GetDiskImageDiskimageOutput
func (GetDiskImageDiskimageArgs) ToGetDiskImageDiskimageOutputWithContext ¶
func (i GetDiskImageDiskimageArgs) ToGetDiskImageDiskimageOutputWithContext(ctx context.Context) GetDiskImageDiskimageOutput
type GetDiskImageDiskimageArray ¶
type GetDiskImageDiskimageArray []GetDiskImageDiskimageInput
func (GetDiskImageDiskimageArray) ElementType ¶
func (GetDiskImageDiskimageArray) ElementType() reflect.Type
func (GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutput ¶
func (i GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutput() GetDiskImageDiskimageArrayOutput
func (GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutputWithContext ¶
func (i GetDiskImageDiskimageArray) ToGetDiskImageDiskimageArrayOutputWithContext(ctx context.Context) GetDiskImageDiskimageArrayOutput
type GetDiskImageDiskimageArrayInput ¶
type GetDiskImageDiskimageArrayInput interface { pulumi.Input ToGetDiskImageDiskimageArrayOutput() GetDiskImageDiskimageArrayOutput ToGetDiskImageDiskimageArrayOutputWithContext(context.Context) GetDiskImageDiskimageArrayOutput }
GetDiskImageDiskimageArrayInput is an input type that accepts GetDiskImageDiskimageArray and GetDiskImageDiskimageArrayOutput values. You can construct a concrete instance of `GetDiskImageDiskimageArrayInput` via:
GetDiskImageDiskimageArray{ GetDiskImageDiskimageArgs{...} }
type GetDiskImageDiskimageArrayOutput ¶
type GetDiskImageDiskimageArrayOutput struct{ *pulumi.OutputState }
func (GetDiskImageDiskimageArrayOutput) ElementType ¶
func (GetDiskImageDiskimageArrayOutput) ElementType() reflect.Type
func (GetDiskImageDiskimageArrayOutput) Index ¶
func (o GetDiskImageDiskimageArrayOutput) Index(i pulumi.IntInput) GetDiskImageDiskimageOutput
func (GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutput ¶
func (o GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutput() GetDiskImageDiskimageArrayOutput
func (GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutputWithContext ¶
func (o GetDiskImageDiskimageArrayOutput) ToGetDiskImageDiskimageArrayOutputWithContext(ctx context.Context) GetDiskImageDiskimageArrayOutput
type GetDiskImageDiskimageInput ¶
type GetDiskImageDiskimageInput interface { pulumi.Input ToGetDiskImageDiskimageOutput() GetDiskImageDiskimageOutput ToGetDiskImageDiskimageOutputWithContext(context.Context) GetDiskImageDiskimageOutput }
GetDiskImageDiskimageInput is an input type that accepts GetDiskImageDiskimageArgs and GetDiskImageDiskimageOutput values. You can construct a concrete instance of `GetDiskImageDiskimageInput` via:
GetDiskImageDiskimageArgs{...}
type GetDiskImageDiskimageOutput ¶
type GetDiskImageDiskimageOutput struct{ *pulumi.OutputState }
func (GetDiskImageDiskimageOutput) ElementType ¶
func (GetDiskImageDiskimageOutput) ElementType() reflect.Type
func (GetDiskImageDiskimageOutput) Id ¶
func (o GetDiskImageDiskimageOutput) Id() pulumi.StringOutput
ID of disk image
func (GetDiskImageDiskimageOutput) Label ¶
func (o GetDiskImageDiskimageOutput) Label() pulumi.StringOutput
Label of disk image
func (GetDiskImageDiskimageOutput) Name ¶
func (o GetDiskImageDiskimageOutput) Name() pulumi.StringOutput
Name of disk image
func (GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutput ¶
func (o GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutput() GetDiskImageDiskimageOutput
func (GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutputWithContext ¶
func (o GetDiskImageDiskimageOutput) ToGetDiskImageDiskimageOutputWithContext(ctx context.Context) GetDiskImageDiskimageOutput
func (GetDiskImageDiskimageOutput) Version ¶
func (o GetDiskImageDiskimageOutput) Version() pulumi.StringOutput
Version of disk image
type GetDiskImageFilter ¶
type GetDiskImageFilter struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All *bool `pulumi:"all"` // Filter diskimages by this key. This may be one of `id`, `label`, `name`, `version`. Key string `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy *string `pulumi:"matchBy"` // Only retrieves `diskimages` which keys has value that matches one of the values provided here Values []string `pulumi:"values"` }
type GetDiskImageFilterArgs ¶
type GetDiskImageFilterArgs struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All pulumi.BoolPtrInput `pulumi:"all"` // Filter diskimages by this key. This may be one of `id`, `label`, `name`, `version`. Key pulumi.StringInput `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy pulumi.StringPtrInput `pulumi:"matchBy"` // Only retrieves `diskimages` which keys has value that matches one of the values provided here Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetDiskImageFilterArgs) ElementType ¶
func (GetDiskImageFilterArgs) ElementType() reflect.Type
func (GetDiskImageFilterArgs) ToGetDiskImageFilterOutput ¶
func (i GetDiskImageFilterArgs) ToGetDiskImageFilterOutput() GetDiskImageFilterOutput
func (GetDiskImageFilterArgs) ToGetDiskImageFilterOutputWithContext ¶
func (i GetDiskImageFilterArgs) ToGetDiskImageFilterOutputWithContext(ctx context.Context) GetDiskImageFilterOutput
type GetDiskImageFilterArray ¶
type GetDiskImageFilterArray []GetDiskImageFilterInput
func (GetDiskImageFilterArray) ElementType ¶
func (GetDiskImageFilterArray) ElementType() reflect.Type
func (GetDiskImageFilterArray) ToGetDiskImageFilterArrayOutput ¶
func (i GetDiskImageFilterArray) ToGetDiskImageFilterArrayOutput() GetDiskImageFilterArrayOutput
func (GetDiskImageFilterArray) ToGetDiskImageFilterArrayOutputWithContext ¶
func (i GetDiskImageFilterArray) ToGetDiskImageFilterArrayOutputWithContext(ctx context.Context) GetDiskImageFilterArrayOutput
type GetDiskImageFilterArrayInput ¶
type GetDiskImageFilterArrayInput interface { pulumi.Input ToGetDiskImageFilterArrayOutput() GetDiskImageFilterArrayOutput ToGetDiskImageFilterArrayOutputWithContext(context.Context) GetDiskImageFilterArrayOutput }
GetDiskImageFilterArrayInput is an input type that accepts GetDiskImageFilterArray and GetDiskImageFilterArrayOutput values. You can construct a concrete instance of `GetDiskImageFilterArrayInput` via:
GetDiskImageFilterArray{ GetDiskImageFilterArgs{...} }
type GetDiskImageFilterArrayOutput ¶
type GetDiskImageFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDiskImageFilterArrayOutput) ElementType ¶
func (GetDiskImageFilterArrayOutput) ElementType() reflect.Type
func (GetDiskImageFilterArrayOutput) Index ¶
func (o GetDiskImageFilterArrayOutput) Index(i pulumi.IntInput) GetDiskImageFilterOutput
func (GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutput ¶
func (o GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutput() GetDiskImageFilterArrayOutput
func (GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutputWithContext ¶
func (o GetDiskImageFilterArrayOutput) ToGetDiskImageFilterArrayOutputWithContext(ctx context.Context) GetDiskImageFilterArrayOutput
type GetDiskImageFilterInput ¶
type GetDiskImageFilterInput interface { pulumi.Input ToGetDiskImageFilterOutput() GetDiskImageFilterOutput ToGetDiskImageFilterOutputWithContext(context.Context) GetDiskImageFilterOutput }
GetDiskImageFilterInput is an input type that accepts GetDiskImageFilterArgs and GetDiskImageFilterOutput values. You can construct a concrete instance of `GetDiskImageFilterInput` via:
GetDiskImageFilterArgs{...}
type GetDiskImageFilterOutput ¶
type GetDiskImageFilterOutput struct{ *pulumi.OutputState }
func (GetDiskImageFilterOutput) All ¶
func (o GetDiskImageFilterOutput) All() pulumi.BoolPtrOutput
Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
func (GetDiskImageFilterOutput) ElementType ¶
func (GetDiskImageFilterOutput) ElementType() reflect.Type
func (GetDiskImageFilterOutput) Key ¶
func (o GetDiskImageFilterOutput) Key() pulumi.StringOutput
Filter diskimages by this key. This may be one of `id`, `label`, `name`, `version`.
func (GetDiskImageFilterOutput) MatchBy ¶
func (o GetDiskImageFilterOutput) MatchBy() pulumi.StringPtrOutput
One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
func (GetDiskImageFilterOutput) ToGetDiskImageFilterOutput ¶
func (o GetDiskImageFilterOutput) ToGetDiskImageFilterOutput() GetDiskImageFilterOutput
func (GetDiskImageFilterOutput) ToGetDiskImageFilterOutputWithContext ¶
func (o GetDiskImageFilterOutput) ToGetDiskImageFilterOutputWithContext(ctx context.Context) GetDiskImageFilterOutput
func (GetDiskImageFilterOutput) Values ¶
func (o GetDiskImageFilterOutput) Values() pulumi.StringArrayOutput
Only retrieves `diskimages` which keys has value that matches one of the values provided here
type GetDiskImageOutputArgs ¶ added in v2.1.0
type GetDiskImageOutputArgs struct { // One or more key/value pairs on which to filter results Filters GetDiskImageFilterArrayInput `pulumi:"filters"` // If is used, all disk image will be from this region. Required if no region is set in provider. Region pulumi.StringPtrInput `pulumi:"region"` // One or more key/direction pairs on which to sort results Sorts GetDiskImageSortArrayInput `pulumi:"sorts"` }
A collection of arguments for invoking getDiskImage.
func (GetDiskImageOutputArgs) ElementType ¶ added in v2.1.0
func (GetDiskImageOutputArgs) ElementType() reflect.Type
type GetDiskImageResult ¶
type GetDiskImageResult struct { Diskimages []GetDiskImageDiskimage `pulumi:"diskimages"` // One or more key/value pairs on which to filter results Filters []GetDiskImageFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // If is used, all disk image will be from this region. Required if no region is set in provider. Region *string `pulumi:"region"` // One or more key/direction pairs on which to sort results Sorts []GetDiskImageSort `pulumi:"sorts"` }
A collection of values returned by getDiskImage.
func GetDiskImage ¶
func GetDiskImage(ctx *pulumi.Context, args *GetDiskImageArgs, opts ...pulumi.InvokeOption) (*GetDiskImageResult, error)
Get information on an disk image for use in other resources (e.g. creating a instance) with the ability to filter the results.
type GetDiskImageResultOutput ¶ added in v2.1.0
type GetDiskImageResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDiskImage.
func GetDiskImageOutput ¶ added in v2.1.0
func GetDiskImageOutput(ctx *pulumi.Context, args GetDiskImageOutputArgs, opts ...pulumi.InvokeOption) GetDiskImageResultOutput
func (GetDiskImageResultOutput) Diskimages ¶ added in v2.1.0
func (o GetDiskImageResultOutput) Diskimages() GetDiskImageDiskimageArrayOutput
func (GetDiskImageResultOutput) ElementType ¶ added in v2.1.0
func (GetDiskImageResultOutput) ElementType() reflect.Type
func (GetDiskImageResultOutput) Filters ¶ added in v2.1.0
func (o GetDiskImageResultOutput) Filters() GetDiskImageFilterArrayOutput
One or more key/value pairs on which to filter results
func (GetDiskImageResultOutput) Id ¶ added in v2.1.0
func (o GetDiskImageResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDiskImageResultOutput) Region ¶ added in v2.1.0
func (o GetDiskImageResultOutput) Region() pulumi.StringPtrOutput
If is used, all disk image will be from this region. Required if no region is set in provider.
func (GetDiskImageResultOutput) Sorts ¶ added in v2.1.0
func (o GetDiskImageResultOutput) Sorts() GetDiskImageSortArrayOutput
One or more key/direction pairs on which to sort results
func (GetDiskImageResultOutput) ToGetDiskImageResultOutput ¶ added in v2.1.0
func (o GetDiskImageResultOutput) ToGetDiskImageResultOutput() GetDiskImageResultOutput
func (GetDiskImageResultOutput) ToGetDiskImageResultOutputWithContext ¶ added in v2.1.0
func (o GetDiskImageResultOutput) ToGetDiskImageResultOutputWithContext(ctx context.Context) GetDiskImageResultOutput
type GetDiskImageSort ¶
type GetDiskImageSortArgs ¶
type GetDiskImageSortArgs struct { // The sort direction. This may be either `asc` or `desc`. Direction pulumi.StringPtrInput `pulumi:"direction"` // Sort diskimages by this key. This may be one of `id`, `label`, `name`, `version`. Key pulumi.StringInput `pulumi:"key"` }
func (GetDiskImageSortArgs) ElementType ¶
func (GetDiskImageSortArgs) ElementType() reflect.Type
func (GetDiskImageSortArgs) ToGetDiskImageSortOutput ¶
func (i GetDiskImageSortArgs) ToGetDiskImageSortOutput() GetDiskImageSortOutput
func (GetDiskImageSortArgs) ToGetDiskImageSortOutputWithContext ¶
func (i GetDiskImageSortArgs) ToGetDiskImageSortOutputWithContext(ctx context.Context) GetDiskImageSortOutput
type GetDiskImageSortArray ¶
type GetDiskImageSortArray []GetDiskImageSortInput
func (GetDiskImageSortArray) ElementType ¶
func (GetDiskImageSortArray) ElementType() reflect.Type
func (GetDiskImageSortArray) ToGetDiskImageSortArrayOutput ¶
func (i GetDiskImageSortArray) ToGetDiskImageSortArrayOutput() GetDiskImageSortArrayOutput
func (GetDiskImageSortArray) ToGetDiskImageSortArrayOutputWithContext ¶
func (i GetDiskImageSortArray) ToGetDiskImageSortArrayOutputWithContext(ctx context.Context) GetDiskImageSortArrayOutput
type GetDiskImageSortArrayInput ¶
type GetDiskImageSortArrayInput interface { pulumi.Input ToGetDiskImageSortArrayOutput() GetDiskImageSortArrayOutput ToGetDiskImageSortArrayOutputWithContext(context.Context) GetDiskImageSortArrayOutput }
GetDiskImageSortArrayInput is an input type that accepts GetDiskImageSortArray and GetDiskImageSortArrayOutput values. You can construct a concrete instance of `GetDiskImageSortArrayInput` via:
GetDiskImageSortArray{ GetDiskImageSortArgs{...} }
type GetDiskImageSortArrayOutput ¶
type GetDiskImageSortArrayOutput struct{ *pulumi.OutputState }
func (GetDiskImageSortArrayOutput) ElementType ¶
func (GetDiskImageSortArrayOutput) ElementType() reflect.Type
func (GetDiskImageSortArrayOutput) Index ¶
func (o GetDiskImageSortArrayOutput) Index(i pulumi.IntInput) GetDiskImageSortOutput
func (GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutput ¶
func (o GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutput() GetDiskImageSortArrayOutput
func (GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutputWithContext ¶
func (o GetDiskImageSortArrayOutput) ToGetDiskImageSortArrayOutputWithContext(ctx context.Context) GetDiskImageSortArrayOutput
type GetDiskImageSortInput ¶
type GetDiskImageSortInput interface { pulumi.Input ToGetDiskImageSortOutput() GetDiskImageSortOutput ToGetDiskImageSortOutputWithContext(context.Context) GetDiskImageSortOutput }
GetDiskImageSortInput is an input type that accepts GetDiskImageSortArgs and GetDiskImageSortOutput values. You can construct a concrete instance of `GetDiskImageSortInput` via:
GetDiskImageSortArgs{...}
type GetDiskImageSortOutput ¶
type GetDiskImageSortOutput struct{ *pulumi.OutputState }
func (GetDiskImageSortOutput) Direction ¶
func (o GetDiskImageSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetDiskImageSortOutput) ElementType ¶
func (GetDiskImageSortOutput) ElementType() reflect.Type
func (GetDiskImageSortOutput) Key ¶
func (o GetDiskImageSortOutput) Key() pulumi.StringOutput
Sort diskimages by this key. This may be one of `id`, `label`, `name`, `version`.
func (GetDiskImageSortOutput) ToGetDiskImageSortOutput ¶
func (o GetDiskImageSortOutput) ToGetDiskImageSortOutput() GetDiskImageSortOutput
func (GetDiskImageSortOutput) ToGetDiskImageSortOutputWithContext ¶
func (o GetDiskImageSortOutput) ToGetDiskImageSortOutputWithContext(ctx context.Context) GetDiskImageSortOutput
type GetInstancesArgs ¶
type GetInstancesArgs struct { // One or more key/value pairs on which to filter results Filters []GetInstancesFilter `pulumi:"filters"` // If used, all instances will be from the provided region Region *string `pulumi:"region"` // One or more key/direction pairs on which to sort results Sorts []GetInstancesSort `pulumi:"sorts"` }
A collection of arguments for invoking getInstances.
type GetInstancesFilter ¶
type GetInstancesFilter struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All *bool `pulumi:"all"` // Filter instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `tags`, `template`. Key string `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy *string `pulumi:"matchBy"` // Only retrieves `instances` which keys has value that matches one of the values provided here Values []string `pulumi:"values"` }
type GetInstancesFilterArgs ¶
type GetInstancesFilterArgs struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All pulumi.BoolPtrInput `pulumi:"all"` // Filter instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `tags`, `template`. Key pulumi.StringInput `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy pulumi.StringPtrInput `pulumi:"matchBy"` // Only retrieves `instances` which keys has value that matches one of the values provided here Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetInstancesFilterArgs) ElementType ¶
func (GetInstancesFilterArgs) ElementType() reflect.Type
func (GetInstancesFilterArgs) ToGetInstancesFilterOutput ¶
func (i GetInstancesFilterArgs) ToGetInstancesFilterOutput() GetInstancesFilterOutput
func (GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext ¶
func (i GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
type GetInstancesFilterArray ¶
type GetInstancesFilterArray []GetInstancesFilterInput
func (GetInstancesFilterArray) ElementType ¶
func (GetInstancesFilterArray) ElementType() reflect.Type
func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutput ¶
func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext ¶
func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
type GetInstancesFilterArrayInput ¶
type GetInstancesFilterArrayInput interface { pulumi.Input ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput ToGetInstancesFilterArrayOutputWithContext(context.Context) GetInstancesFilterArrayOutput }
GetInstancesFilterArrayInput is an input type that accepts GetInstancesFilterArray and GetInstancesFilterArrayOutput values. You can construct a concrete instance of `GetInstancesFilterArrayInput` via:
GetInstancesFilterArray{ GetInstancesFilterArgs{...} }
type GetInstancesFilterArrayOutput ¶
type GetInstancesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesFilterArrayOutput) ElementType ¶
func (GetInstancesFilterArrayOutput) ElementType() reflect.Type
func (GetInstancesFilterArrayOutput) Index ¶
func (o GetInstancesFilterArrayOutput) Index(i pulumi.IntInput) GetInstancesFilterOutput
func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput ¶
func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext ¶
func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
type GetInstancesFilterInput ¶
type GetInstancesFilterInput interface { pulumi.Input ToGetInstancesFilterOutput() GetInstancesFilterOutput ToGetInstancesFilterOutputWithContext(context.Context) GetInstancesFilterOutput }
GetInstancesFilterInput is an input type that accepts GetInstancesFilterArgs and GetInstancesFilterOutput values. You can construct a concrete instance of `GetInstancesFilterInput` via:
GetInstancesFilterArgs{...}
type GetInstancesFilterOutput ¶
type GetInstancesFilterOutput struct{ *pulumi.OutputState }
func (GetInstancesFilterOutput) All ¶
func (o GetInstancesFilterOutput) All() pulumi.BoolPtrOutput
Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
func (GetInstancesFilterOutput) ElementType ¶
func (GetInstancesFilterOutput) ElementType() reflect.Type
func (GetInstancesFilterOutput) Key ¶
func (o GetInstancesFilterOutput) Key() pulumi.StringOutput
Filter instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `tags`, `template`.
func (GetInstancesFilterOutput) MatchBy ¶
func (o GetInstancesFilterOutput) MatchBy() pulumi.StringPtrOutput
One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
func (GetInstancesFilterOutput) ToGetInstancesFilterOutput ¶
func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput
func (GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext ¶
func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
func (GetInstancesFilterOutput) Values ¶
func (o GetInstancesFilterOutput) Values() pulumi.StringArrayOutput
Only retrieves `instances` which keys has value that matches one of the values provided here
type GetInstancesInstance ¶
type GetInstancesInstance struct { // CPU of the instance CpuCores int `pulumi:"cpuCores"` // Creation date of the instance CreatedAt string `pulumi:"createdAt"` // SSD size of the instance DiskGb int `pulumi:"diskGb"` // Firewall ID of the instance FirewallId string `pulumi:"firewallId"` // Hostname of the instance Hostname string `pulumi:"hostname"` // ID of the instance Id string `pulumi:"id"` // Initial password of the instance InitialPassword string `pulumi:"initialPassword"` // Initial user of the instance InitialUser string `pulumi:"initialUser"` // Network id of the instance NetworkId string `pulumi:"networkId"` // Note of the instance Notes string `pulumi:"notes"` // Private IP of the instance PrivateIp string `pulumi:"privateIp"` // Pseudo IP of the instance PseudoIp string `pulumi:"pseudoIp"` // Public IP of the instance PublicIp string `pulumi:"publicIp"` // RAM of the instance RamMb int `pulumi:"ramMb"` // Region of the instance Region string `pulumi:"region"` // Reverse DNS of the instance ReverseDns string `pulumi:"reverseDns"` // Script of the instance Script string `pulumi:"script"` // Size of the instance Size string `pulumi:"size"` // SSH key id of the instance SshkeyId string `pulumi:"sshkeyId"` // Status of the instance Status string `pulumi:"status"` // Tags of the instance Tags []string `pulumi:"tags"` // Disk image/template of the instance Template string `pulumi:"template"` }
type GetInstancesInstanceArgs ¶
type GetInstancesInstanceArgs struct { // CPU of the instance CpuCores pulumi.IntInput `pulumi:"cpuCores"` // Creation date of the instance CreatedAt pulumi.StringInput `pulumi:"createdAt"` // SSD size of the instance DiskGb pulumi.IntInput `pulumi:"diskGb"` // Firewall ID of the instance FirewallId pulumi.StringInput `pulumi:"firewallId"` // Hostname of the instance Hostname pulumi.StringInput `pulumi:"hostname"` // ID of the instance Id pulumi.StringInput `pulumi:"id"` // Initial password of the instance InitialPassword pulumi.StringInput `pulumi:"initialPassword"` // Initial user of the instance InitialUser pulumi.StringInput `pulumi:"initialUser"` // Network id of the instance NetworkId pulumi.StringInput `pulumi:"networkId"` // Note of the instance Notes pulumi.StringInput `pulumi:"notes"` // Private IP of the instance PrivateIp pulumi.StringInput `pulumi:"privateIp"` // Pseudo IP of the instance PseudoIp pulumi.StringInput `pulumi:"pseudoIp"` // Public IP of the instance PublicIp pulumi.StringInput `pulumi:"publicIp"` // RAM of the instance RamMb pulumi.IntInput `pulumi:"ramMb"` // Region of the instance Region pulumi.StringInput `pulumi:"region"` // Reverse DNS of the instance ReverseDns pulumi.StringInput `pulumi:"reverseDns"` // Script of the instance Script pulumi.StringInput `pulumi:"script"` // Size of the instance Size pulumi.StringInput `pulumi:"size"` // SSH key id of the instance SshkeyId pulumi.StringInput `pulumi:"sshkeyId"` // Status of the instance Status pulumi.StringInput `pulumi:"status"` // Tags of the instance Tags pulumi.StringArrayInput `pulumi:"tags"` // Disk image/template of the instance Template pulumi.StringInput `pulumi:"template"` }
func (GetInstancesInstanceArgs) ElementType ¶
func (GetInstancesInstanceArgs) ElementType() reflect.Type
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext ¶
func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesInstanceArray ¶
type GetInstancesInstanceArray []GetInstancesInstanceInput
func (GetInstancesInstanceArray) ElementType ¶
func (GetInstancesInstanceArray) ElementType() reflect.Type
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext ¶
func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceArrayInput ¶
type GetInstancesInstanceArrayInput interface { pulumi.Input ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput }
GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:
GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }
type GetInstancesInstanceArrayOutput ¶
type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceArrayOutput) ElementType ¶
func (GetInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetInstancesInstanceArrayOutput) Index ¶
func (o GetInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetInstancesInstanceOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext ¶
func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput
type GetInstancesInstanceInput ¶
type GetInstancesInstanceInput interface { pulumi.Input ToGetInstancesInstanceOutput() GetInstancesInstanceOutput ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput }
GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:
GetInstancesInstanceArgs{...}
type GetInstancesInstanceOutput ¶
type GetInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetInstancesInstanceOutput) CpuCores ¶
func (o GetInstancesInstanceOutput) CpuCores() pulumi.IntOutput
CPU of the instance
func (GetInstancesInstanceOutput) CreatedAt ¶
func (o GetInstancesInstanceOutput) CreatedAt() pulumi.StringOutput
Creation date of the instance
func (GetInstancesInstanceOutput) DiskGb ¶
func (o GetInstancesInstanceOutput) DiskGb() pulumi.IntOutput
SSD size of the instance
func (GetInstancesInstanceOutput) ElementType ¶
func (GetInstancesInstanceOutput) ElementType() reflect.Type
func (GetInstancesInstanceOutput) FirewallId ¶
func (o GetInstancesInstanceOutput) FirewallId() pulumi.StringOutput
Firewall ID of the instance
func (GetInstancesInstanceOutput) Hostname ¶
func (o GetInstancesInstanceOutput) Hostname() pulumi.StringOutput
Hostname of the instance
func (GetInstancesInstanceOutput) Id ¶
func (o GetInstancesInstanceOutput) Id() pulumi.StringOutput
ID of the instance
func (GetInstancesInstanceOutput) InitialPassword ¶
func (o GetInstancesInstanceOutput) InitialPassword() pulumi.StringOutput
Initial password of the instance
func (GetInstancesInstanceOutput) InitialUser ¶
func (o GetInstancesInstanceOutput) InitialUser() pulumi.StringOutput
Initial user of the instance
func (GetInstancesInstanceOutput) NetworkId ¶
func (o GetInstancesInstanceOutput) NetworkId() pulumi.StringOutput
Network id of the instance
func (GetInstancesInstanceOutput) Notes ¶
func (o GetInstancesInstanceOutput) Notes() pulumi.StringOutput
Note of the instance
func (GetInstancesInstanceOutput) PrivateIp ¶
func (o GetInstancesInstanceOutput) PrivateIp() pulumi.StringOutput
Private IP of the instance
func (GetInstancesInstanceOutput) PseudoIp ¶
func (o GetInstancesInstanceOutput) PseudoIp() pulumi.StringOutput
Pseudo IP of the instance
func (GetInstancesInstanceOutput) PublicIp ¶
func (o GetInstancesInstanceOutput) PublicIp() pulumi.StringOutput
Public IP of the instance
func (GetInstancesInstanceOutput) RamMb ¶
func (o GetInstancesInstanceOutput) RamMb() pulumi.IntOutput
RAM of the instance
func (GetInstancesInstanceOutput) Region ¶
func (o GetInstancesInstanceOutput) Region() pulumi.StringOutput
Region of the instance
func (GetInstancesInstanceOutput) ReverseDns ¶
func (o GetInstancesInstanceOutput) ReverseDns() pulumi.StringOutput
Reverse DNS of the instance
func (GetInstancesInstanceOutput) Script ¶
func (o GetInstancesInstanceOutput) Script() pulumi.StringOutput
Script of the instance
func (GetInstancesInstanceOutput) Size ¶
func (o GetInstancesInstanceOutput) Size() pulumi.StringOutput
Size of the instance
func (GetInstancesInstanceOutput) SshkeyId ¶
func (o GetInstancesInstanceOutput) SshkeyId() pulumi.StringOutput
SSH key id of the instance
func (GetInstancesInstanceOutput) Status ¶
func (o GetInstancesInstanceOutput) Status() pulumi.StringOutput
Status of the instance
func (GetInstancesInstanceOutput) Tags ¶
func (o GetInstancesInstanceOutput) Tags() pulumi.StringArrayOutput
Tags of the instance
func (GetInstancesInstanceOutput) Template ¶
func (o GetInstancesInstanceOutput) Template() pulumi.StringOutput
Disk image/template of the instance
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext ¶
func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput
type GetInstancesOutputArgs ¶ added in v2.1.0
type GetInstancesOutputArgs struct { // One or more key/value pairs on which to filter results Filters GetInstancesFilterArrayInput `pulumi:"filters"` // If used, all instances will be from the provided region Region pulumi.StringPtrInput `pulumi:"region"` // One or more key/direction pairs on which to sort results Sorts GetInstancesSortArrayInput `pulumi:"sorts"` }
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶ added in v2.1.0
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶
type GetInstancesResult struct { // One or more key/value pairs on which to filter results Filters []GetInstancesFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Instances []GetInstancesInstance `pulumi:"instances"` // If used, all instances will be from the provided region Region *string `pulumi:"region"` // One or more key/direction pairs on which to sort results Sorts []GetInstancesSort `pulumi:"sorts"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
Get information on instances for use in other resources, with the ability to filter and sort the results. If no filters are specified, all instances will be returned.
Note: You can use the `Instance` data source to obtain metadata about a single instance if you already know the id, unique hostname, or unique tag to retrieve.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := civo.GetInstances(ctx, &civo.GetInstancesArgs{ Region: pulumi.StringRef("LON1"), Filters: []civo.GetInstancesFilter{ { Key: "size", Values: interface{}{ small, }, }, }, }, nil); if err != nil { return err } return nil }) } ```
type GetInstancesResultOutput ¶ added in v2.1.0
type GetInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstances.
func GetInstancesOutput ¶ added in v2.1.0
func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput
func (GetInstancesResultOutput) ElementType ¶ added in v2.1.0
func (GetInstancesResultOutput) ElementType() reflect.Type
func (GetInstancesResultOutput) Filters ¶ added in v2.1.0
func (o GetInstancesResultOutput) Filters() GetInstancesFilterArrayOutput
One or more key/value pairs on which to filter results
func (GetInstancesResultOutput) Id ¶ added in v2.1.0
func (o GetInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstancesResultOutput) Instances ¶ added in v2.1.0
func (o GetInstancesResultOutput) Instances() GetInstancesInstanceArrayOutput
func (GetInstancesResultOutput) Region ¶ added in v2.1.0
func (o GetInstancesResultOutput) Region() pulumi.StringPtrOutput
If used, all instances will be from the provided region
func (GetInstancesResultOutput) Sorts ¶ added in v2.1.0
func (o GetInstancesResultOutput) Sorts() GetInstancesSortArrayOutput
One or more key/direction pairs on which to sort results
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶ added in v2.1.0
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶ added in v2.1.0
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
type GetInstancesSort ¶
type GetInstancesSort struct { // The sort direction. This may be either `asc` or `desc`. Direction *string `pulumi:"direction"` // Sort instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `template`. Key string `pulumi:"key"` }
type GetInstancesSortArgs ¶
type GetInstancesSortArgs struct { // The sort direction. This may be either `asc` or `desc`. Direction pulumi.StringPtrInput `pulumi:"direction"` // Sort instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `template`. Key pulumi.StringInput `pulumi:"key"` }
func (GetInstancesSortArgs) ElementType ¶
func (GetInstancesSortArgs) ElementType() reflect.Type
func (GetInstancesSortArgs) ToGetInstancesSortOutput ¶
func (i GetInstancesSortArgs) ToGetInstancesSortOutput() GetInstancesSortOutput
func (GetInstancesSortArgs) ToGetInstancesSortOutputWithContext ¶
func (i GetInstancesSortArgs) ToGetInstancesSortOutputWithContext(ctx context.Context) GetInstancesSortOutput
type GetInstancesSortArray ¶
type GetInstancesSortArray []GetInstancesSortInput
func (GetInstancesSortArray) ElementType ¶
func (GetInstancesSortArray) ElementType() reflect.Type
func (GetInstancesSortArray) ToGetInstancesSortArrayOutput ¶
func (i GetInstancesSortArray) ToGetInstancesSortArrayOutput() GetInstancesSortArrayOutput
func (GetInstancesSortArray) ToGetInstancesSortArrayOutputWithContext ¶
func (i GetInstancesSortArray) ToGetInstancesSortArrayOutputWithContext(ctx context.Context) GetInstancesSortArrayOutput
type GetInstancesSortArrayInput ¶
type GetInstancesSortArrayInput interface { pulumi.Input ToGetInstancesSortArrayOutput() GetInstancesSortArrayOutput ToGetInstancesSortArrayOutputWithContext(context.Context) GetInstancesSortArrayOutput }
GetInstancesSortArrayInput is an input type that accepts GetInstancesSortArray and GetInstancesSortArrayOutput values. You can construct a concrete instance of `GetInstancesSortArrayInput` via:
GetInstancesSortArray{ GetInstancesSortArgs{...} }
type GetInstancesSortArrayOutput ¶
type GetInstancesSortArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesSortArrayOutput) ElementType ¶
func (GetInstancesSortArrayOutput) ElementType() reflect.Type
func (GetInstancesSortArrayOutput) Index ¶
func (o GetInstancesSortArrayOutput) Index(i pulumi.IntInput) GetInstancesSortOutput
func (GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutput ¶
func (o GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutput() GetInstancesSortArrayOutput
func (GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutputWithContext ¶
func (o GetInstancesSortArrayOutput) ToGetInstancesSortArrayOutputWithContext(ctx context.Context) GetInstancesSortArrayOutput
type GetInstancesSortInput ¶
type GetInstancesSortInput interface { pulumi.Input ToGetInstancesSortOutput() GetInstancesSortOutput ToGetInstancesSortOutputWithContext(context.Context) GetInstancesSortOutput }
GetInstancesSortInput is an input type that accepts GetInstancesSortArgs and GetInstancesSortOutput values. You can construct a concrete instance of `GetInstancesSortInput` via:
GetInstancesSortArgs{...}
type GetInstancesSortOutput ¶
type GetInstancesSortOutput struct{ *pulumi.OutputState }
func (GetInstancesSortOutput) Direction ¶
func (o GetInstancesSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetInstancesSortOutput) ElementType ¶
func (GetInstancesSortOutput) ElementType() reflect.Type
func (GetInstancesSortOutput) Key ¶
func (o GetInstancesSortOutput) Key() pulumi.StringOutput
Sort instances by this key. This may be one of `cpuCores`, `createdAt`, `diskGb`, `firewallId`, `hostname`, `id`, `initialPassword`, `initialUser`, `networkId`, `notes`, `privateIp`, `pseudoIp`, `publicIp`, `ramMb`, `region`, `reverseDns`, `script`, `size`, `sshkeyId`, `status`, `template`.
func (GetInstancesSortOutput) ToGetInstancesSortOutput ¶
func (o GetInstancesSortOutput) ToGetInstancesSortOutput() GetInstancesSortOutput
func (GetInstancesSortOutput) ToGetInstancesSortOutputWithContext ¶
func (o GetInstancesSortOutput) ToGetInstancesSortOutputWithContext(ctx context.Context) GetInstancesSortOutput
type GetKubernetesClusterInstalledApplication ¶
type GetKubernetesClusterInstalledApplication struct { // The name of the application Application string `pulumi:"application"` // The category of the application Category string `pulumi:"category"` // If the application is installed, this will return `true` Installed bool `pulumi:"installed"` // The version of the application Version string `pulumi:"version"` }
type GetKubernetesClusterInstalledApplicationArgs ¶
type GetKubernetesClusterInstalledApplicationArgs struct { // The name of the application Application pulumi.StringInput `pulumi:"application"` // The category of the application Category pulumi.StringInput `pulumi:"category"` // If the application is installed, this will return `true` Installed pulumi.BoolInput `pulumi:"installed"` // The version of the application Version pulumi.StringInput `pulumi:"version"` }
func (GetKubernetesClusterInstalledApplicationArgs) ElementType ¶
func (GetKubernetesClusterInstalledApplicationArgs) ElementType() reflect.Type
func (GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutput ¶
func (i GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutput() GetKubernetesClusterInstalledApplicationOutput
func (GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutputWithContext ¶
func (i GetKubernetesClusterInstalledApplicationArgs) ToGetKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationOutput
type GetKubernetesClusterInstalledApplicationArray ¶
type GetKubernetesClusterInstalledApplicationArray []GetKubernetesClusterInstalledApplicationInput
func (GetKubernetesClusterInstalledApplicationArray) ElementType ¶
func (GetKubernetesClusterInstalledApplicationArray) ElementType() reflect.Type
func (GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutput ¶
func (i GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutput() GetKubernetesClusterInstalledApplicationArrayOutput
func (GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext ¶
func (i GetKubernetesClusterInstalledApplicationArray) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationArrayOutput
type GetKubernetesClusterInstalledApplicationArrayInput ¶
type GetKubernetesClusterInstalledApplicationArrayInput interface { pulumi.Input ToGetKubernetesClusterInstalledApplicationArrayOutput() GetKubernetesClusterInstalledApplicationArrayOutput ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext(context.Context) GetKubernetesClusterInstalledApplicationArrayOutput }
GetKubernetesClusterInstalledApplicationArrayInput is an input type that accepts GetKubernetesClusterInstalledApplicationArray and GetKubernetesClusterInstalledApplicationArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterInstalledApplicationArrayInput` via:
GetKubernetesClusterInstalledApplicationArray{ GetKubernetesClusterInstalledApplicationArgs{...} }
type GetKubernetesClusterInstalledApplicationArrayOutput ¶
type GetKubernetesClusterInstalledApplicationArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesClusterInstalledApplicationArrayOutput) ElementType ¶
func (GetKubernetesClusterInstalledApplicationArrayOutput) ElementType() reflect.Type
func (GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutput ¶
func (o GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutput() GetKubernetesClusterInstalledApplicationArrayOutput
func (GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext ¶
func (o GetKubernetesClusterInstalledApplicationArrayOutput) ToGetKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationArrayOutput
type GetKubernetesClusterInstalledApplicationInput ¶
type GetKubernetesClusterInstalledApplicationInput interface { pulumi.Input ToGetKubernetesClusterInstalledApplicationOutput() GetKubernetesClusterInstalledApplicationOutput ToGetKubernetesClusterInstalledApplicationOutputWithContext(context.Context) GetKubernetesClusterInstalledApplicationOutput }
GetKubernetesClusterInstalledApplicationInput is an input type that accepts GetKubernetesClusterInstalledApplicationArgs and GetKubernetesClusterInstalledApplicationOutput values. You can construct a concrete instance of `GetKubernetesClusterInstalledApplicationInput` via:
GetKubernetesClusterInstalledApplicationArgs{...}
type GetKubernetesClusterInstalledApplicationOutput ¶
type GetKubernetesClusterInstalledApplicationOutput struct{ *pulumi.OutputState }
func (GetKubernetesClusterInstalledApplicationOutput) Application ¶
func (o GetKubernetesClusterInstalledApplicationOutput) Application() pulumi.StringOutput
The name of the application
func (GetKubernetesClusterInstalledApplicationOutput) Category ¶
func (o GetKubernetesClusterInstalledApplicationOutput) Category() pulumi.StringOutput
The category of the application
func (GetKubernetesClusterInstalledApplicationOutput) ElementType ¶
func (GetKubernetesClusterInstalledApplicationOutput) ElementType() reflect.Type
func (GetKubernetesClusterInstalledApplicationOutput) Installed ¶
func (o GetKubernetesClusterInstalledApplicationOutput) Installed() pulumi.BoolOutput
If the application is installed, this will return `true`
func (GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutput ¶
func (o GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutput() GetKubernetesClusterInstalledApplicationOutput
func (GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutputWithContext ¶
func (o GetKubernetesClusterInstalledApplicationOutput) ToGetKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) GetKubernetesClusterInstalledApplicationOutput
func (GetKubernetesClusterInstalledApplicationOutput) Version ¶
func (o GetKubernetesClusterInstalledApplicationOutput) Version() pulumi.StringOutput
The version of the application
type GetKubernetesClusterPool ¶
type GetKubernetesClusterPool struct { // Instance names in the nodepool InstanceNames []string `pulumi:"instanceNames"` // Node pool label, if you don't provide one, we will generate one for you Label string `pulumi:"label"` Labels map[string]string `pulumi:"labels"` // Number of nodes in the nodepool NodeCount int `pulumi:"nodeCount"` // Node pool belongs to the public ip node pool PublicIpNodePool bool `pulumi:"publicIpNodePool"` // Size of the nodes in the nodepool Size string `pulumi:"size"` Taints []GetKubernetesClusterPoolTaint `pulumi:"taints"` }
type GetKubernetesClusterPoolArgs ¶
type GetKubernetesClusterPoolArgs struct { // Instance names in the nodepool InstanceNames pulumi.StringArrayInput `pulumi:"instanceNames"` // Node pool label, if you don't provide one, we will generate one for you Label pulumi.StringInput `pulumi:"label"` Labels pulumi.StringMapInput `pulumi:"labels"` // Number of nodes in the nodepool NodeCount pulumi.IntInput `pulumi:"nodeCount"` // Node pool belongs to the public ip node pool PublicIpNodePool pulumi.BoolInput `pulumi:"publicIpNodePool"` // Size of the nodes in the nodepool Size pulumi.StringInput `pulumi:"size"` Taints GetKubernetesClusterPoolTaintArrayInput `pulumi:"taints"` }
func (GetKubernetesClusterPoolArgs) ElementType ¶
func (GetKubernetesClusterPoolArgs) ElementType() reflect.Type
func (GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutput ¶
func (i GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput
func (GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutputWithContext ¶
func (i GetKubernetesClusterPoolArgs) ToGetKubernetesClusterPoolOutputWithContext(ctx context.Context) GetKubernetesClusterPoolOutput
type GetKubernetesClusterPoolArray ¶
type GetKubernetesClusterPoolArray []GetKubernetesClusterPoolInput
func (GetKubernetesClusterPoolArray) ElementType ¶
func (GetKubernetesClusterPoolArray) ElementType() reflect.Type
func (GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutput ¶
func (i GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput
func (GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutputWithContext ¶
func (i GetKubernetesClusterPoolArray) ToGetKubernetesClusterPoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolArrayOutput
type GetKubernetesClusterPoolArrayInput ¶
type GetKubernetesClusterPoolArrayInput interface { pulumi.Input ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput ToGetKubernetesClusterPoolArrayOutputWithContext(context.Context) GetKubernetesClusterPoolArrayOutput }
GetKubernetesClusterPoolArrayInput is an input type that accepts GetKubernetesClusterPoolArray and GetKubernetesClusterPoolArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolArrayInput` via:
GetKubernetesClusterPoolArray{ GetKubernetesClusterPoolArgs{...} }
type GetKubernetesClusterPoolArrayOutput ¶
type GetKubernetesClusterPoolArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesClusterPoolArrayOutput) ElementType ¶
func (GetKubernetesClusterPoolArrayOutput) ElementType() reflect.Type
func (GetKubernetesClusterPoolArrayOutput) Index ¶
func (o GetKubernetesClusterPoolArrayOutput) Index(i pulumi.IntInput) GetKubernetesClusterPoolOutput
func (GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutput ¶
func (o GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutput() GetKubernetesClusterPoolArrayOutput
func (GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutputWithContext ¶
func (o GetKubernetesClusterPoolArrayOutput) ToGetKubernetesClusterPoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolArrayOutput
type GetKubernetesClusterPoolInput ¶
type GetKubernetesClusterPoolInput interface { pulumi.Input ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput ToGetKubernetesClusterPoolOutputWithContext(context.Context) GetKubernetesClusterPoolOutput }
GetKubernetesClusterPoolInput is an input type that accepts GetKubernetesClusterPoolArgs and GetKubernetesClusterPoolOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolInput` via:
GetKubernetesClusterPoolArgs{...}
type GetKubernetesClusterPoolOutput ¶
type GetKubernetesClusterPoolOutput struct{ *pulumi.OutputState }
func (GetKubernetesClusterPoolOutput) ElementType ¶
func (GetKubernetesClusterPoolOutput) ElementType() reflect.Type
func (GetKubernetesClusterPoolOutput) InstanceNames ¶
func (o GetKubernetesClusterPoolOutput) InstanceNames() pulumi.StringArrayOutput
Instance names in the nodepool
func (GetKubernetesClusterPoolOutput) Label ¶ added in v2.2.2
func (o GetKubernetesClusterPoolOutput) Label() pulumi.StringOutput
Node pool label, if you don't provide one, we will generate one for you
func (GetKubernetesClusterPoolOutput) Labels ¶ added in v2.3.15
func (o GetKubernetesClusterPoolOutput) Labels() pulumi.StringMapOutput
func (GetKubernetesClusterPoolOutput) NodeCount ¶ added in v2.2.1
func (o GetKubernetesClusterPoolOutput) NodeCount() pulumi.IntOutput
Number of nodes in the nodepool
func (GetKubernetesClusterPoolOutput) PublicIpNodePool ¶ added in v2.3.8
func (o GetKubernetesClusterPoolOutput) PublicIpNodePool() pulumi.BoolOutput
Node pool belongs to the public ip node pool
func (GetKubernetesClusterPoolOutput) Size ¶
func (o GetKubernetesClusterPoolOutput) Size() pulumi.StringOutput
Size of the nodes in the nodepool
func (GetKubernetesClusterPoolOutput) Taints ¶ added in v2.3.15
func (o GetKubernetesClusterPoolOutput) Taints() GetKubernetesClusterPoolTaintArrayOutput
func (GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutput ¶
func (o GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutput() GetKubernetesClusterPoolOutput
func (GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutputWithContext ¶
func (o GetKubernetesClusterPoolOutput) ToGetKubernetesClusterPoolOutputWithContext(ctx context.Context) GetKubernetesClusterPoolOutput
type GetKubernetesClusterPoolTaint ¶ added in v2.3.15
type GetKubernetesClusterPoolTaintArgs ¶ added in v2.3.15
type GetKubernetesClusterPoolTaintArgs struct { Effect pulumi.StringInput `pulumi:"effect"` Key pulumi.StringInput `pulumi:"key"` Value pulumi.StringInput `pulumi:"value"` }
func (GetKubernetesClusterPoolTaintArgs) ElementType ¶ added in v2.3.15
func (GetKubernetesClusterPoolTaintArgs) ElementType() reflect.Type
func (GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutput ¶ added in v2.3.15
func (i GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutput() GetKubernetesClusterPoolTaintOutput
func (GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutputWithContext ¶ added in v2.3.15
func (i GetKubernetesClusterPoolTaintArgs) ToGetKubernetesClusterPoolTaintOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintOutput
type GetKubernetesClusterPoolTaintArray ¶ added in v2.3.15
type GetKubernetesClusterPoolTaintArray []GetKubernetesClusterPoolTaintInput
func (GetKubernetesClusterPoolTaintArray) ElementType ¶ added in v2.3.15
func (GetKubernetesClusterPoolTaintArray) ElementType() reflect.Type
func (GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutput ¶ added in v2.3.15
func (i GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutput() GetKubernetesClusterPoolTaintArrayOutput
func (GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutputWithContext ¶ added in v2.3.15
func (i GetKubernetesClusterPoolTaintArray) ToGetKubernetesClusterPoolTaintArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintArrayOutput
type GetKubernetesClusterPoolTaintArrayInput ¶ added in v2.3.15
type GetKubernetesClusterPoolTaintArrayInput interface { pulumi.Input ToGetKubernetesClusterPoolTaintArrayOutput() GetKubernetesClusterPoolTaintArrayOutput ToGetKubernetesClusterPoolTaintArrayOutputWithContext(context.Context) GetKubernetesClusterPoolTaintArrayOutput }
GetKubernetesClusterPoolTaintArrayInput is an input type that accepts GetKubernetesClusterPoolTaintArray and GetKubernetesClusterPoolTaintArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolTaintArrayInput` via:
GetKubernetesClusterPoolTaintArray{ GetKubernetesClusterPoolTaintArgs{...} }
type GetKubernetesClusterPoolTaintArrayOutput ¶ added in v2.3.15
type GetKubernetesClusterPoolTaintArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesClusterPoolTaintArrayOutput) ElementType ¶ added in v2.3.15
func (GetKubernetesClusterPoolTaintArrayOutput) ElementType() reflect.Type
func (GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutput ¶ added in v2.3.15
func (o GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutput() GetKubernetesClusterPoolTaintArrayOutput
func (GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutputWithContext ¶ added in v2.3.15
func (o GetKubernetesClusterPoolTaintArrayOutput) ToGetKubernetesClusterPoolTaintArrayOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintArrayOutput
type GetKubernetesClusterPoolTaintInput ¶ added in v2.3.15
type GetKubernetesClusterPoolTaintInput interface { pulumi.Input ToGetKubernetesClusterPoolTaintOutput() GetKubernetesClusterPoolTaintOutput ToGetKubernetesClusterPoolTaintOutputWithContext(context.Context) GetKubernetesClusterPoolTaintOutput }
GetKubernetesClusterPoolTaintInput is an input type that accepts GetKubernetesClusterPoolTaintArgs and GetKubernetesClusterPoolTaintOutput values. You can construct a concrete instance of `GetKubernetesClusterPoolTaintInput` via:
GetKubernetesClusterPoolTaintArgs{...}
type GetKubernetesClusterPoolTaintOutput ¶ added in v2.3.15
type GetKubernetesClusterPoolTaintOutput struct{ *pulumi.OutputState }
func (GetKubernetesClusterPoolTaintOutput) Effect ¶ added in v2.3.15
func (o GetKubernetesClusterPoolTaintOutput) Effect() pulumi.StringOutput
func (GetKubernetesClusterPoolTaintOutput) ElementType ¶ added in v2.3.15
func (GetKubernetesClusterPoolTaintOutput) ElementType() reflect.Type
func (GetKubernetesClusterPoolTaintOutput) Key ¶ added in v2.3.15
func (o GetKubernetesClusterPoolTaintOutput) Key() pulumi.StringOutput
func (GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutput ¶ added in v2.3.15
func (o GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutput() GetKubernetesClusterPoolTaintOutput
func (GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutputWithContext ¶ added in v2.3.15
func (o GetKubernetesClusterPoolTaintOutput) ToGetKubernetesClusterPoolTaintOutputWithContext(ctx context.Context) GetKubernetesClusterPoolTaintOutput
func (GetKubernetesClusterPoolTaintOutput) Value ¶ added in v2.3.15
func (o GetKubernetesClusterPoolTaintOutput) Value() pulumi.StringOutput
type GetKubernetesVersionArgs ¶
type GetKubernetesVersionArgs struct { // One or more key/value pairs on which to filter results Filters []GetKubernetesVersionFilter `pulumi:"filters"` // One or more key/direction pairs on which to sort results Sorts []GetKubernetesVersionSort `pulumi:"sorts"` }
A collection of arguments for invoking getKubernetesVersion.
type GetKubernetesVersionFilter ¶
type GetKubernetesVersionFilter struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All *bool `pulumi:"all"` // Filter versions by this key. This may be one of `default`, `label`, `type`, `version`. Key string `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy *string `pulumi:"matchBy"` // Only retrieves `versions` which keys has value that matches one of the values provided here Values []string `pulumi:"values"` }
type GetKubernetesVersionFilterArgs ¶
type GetKubernetesVersionFilterArgs struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All pulumi.BoolPtrInput `pulumi:"all"` // Filter versions by this key. This may be one of `default`, `label`, `type`, `version`. Key pulumi.StringInput `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy pulumi.StringPtrInput `pulumi:"matchBy"` // Only retrieves `versions` which keys has value that matches one of the values provided here Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetKubernetesVersionFilterArgs) ElementType ¶
func (GetKubernetesVersionFilterArgs) ElementType() reflect.Type
func (GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutput ¶
func (i GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput
func (GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutputWithContext ¶
func (i GetKubernetesVersionFilterArgs) ToGetKubernetesVersionFilterOutputWithContext(ctx context.Context) GetKubernetesVersionFilterOutput
type GetKubernetesVersionFilterArray ¶
type GetKubernetesVersionFilterArray []GetKubernetesVersionFilterInput
func (GetKubernetesVersionFilterArray) ElementType ¶
func (GetKubernetesVersionFilterArray) ElementType() reflect.Type
func (GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutput ¶
func (i GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutput() GetKubernetesVersionFilterArrayOutput
func (GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutputWithContext ¶
func (i GetKubernetesVersionFilterArray) ToGetKubernetesVersionFilterArrayOutputWithContext(ctx context.Context) GetKubernetesVersionFilterArrayOutput
type GetKubernetesVersionFilterArrayInput ¶
type GetKubernetesVersionFilterArrayInput interface { pulumi.Input ToGetKubernetesVersionFilterArrayOutput() GetKubernetesVersionFilterArrayOutput ToGetKubernetesVersionFilterArrayOutputWithContext(context.Context) GetKubernetesVersionFilterArrayOutput }
GetKubernetesVersionFilterArrayInput is an input type that accepts GetKubernetesVersionFilterArray and GetKubernetesVersionFilterArrayOutput values. You can construct a concrete instance of `GetKubernetesVersionFilterArrayInput` via:
GetKubernetesVersionFilterArray{ GetKubernetesVersionFilterArgs{...} }
type GetKubernetesVersionFilterArrayOutput ¶
type GetKubernetesVersionFilterArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesVersionFilterArrayOutput) ElementType ¶
func (GetKubernetesVersionFilterArrayOutput) ElementType() reflect.Type
func (GetKubernetesVersionFilterArrayOutput) Index ¶
func (o GetKubernetesVersionFilterArrayOutput) Index(i pulumi.IntInput) GetKubernetesVersionFilterOutput
func (GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutput ¶
func (o GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutput() GetKubernetesVersionFilterArrayOutput
func (GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutputWithContext ¶
func (o GetKubernetesVersionFilterArrayOutput) ToGetKubernetesVersionFilterArrayOutputWithContext(ctx context.Context) GetKubernetesVersionFilterArrayOutput
type GetKubernetesVersionFilterInput ¶
type GetKubernetesVersionFilterInput interface { pulumi.Input ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput ToGetKubernetesVersionFilterOutputWithContext(context.Context) GetKubernetesVersionFilterOutput }
GetKubernetesVersionFilterInput is an input type that accepts GetKubernetesVersionFilterArgs and GetKubernetesVersionFilterOutput values. You can construct a concrete instance of `GetKubernetesVersionFilterInput` via:
GetKubernetesVersionFilterArgs{...}
type GetKubernetesVersionFilterOutput ¶
type GetKubernetesVersionFilterOutput struct{ *pulumi.OutputState }
func (GetKubernetesVersionFilterOutput) All ¶
func (o GetKubernetesVersionFilterOutput) All() pulumi.BoolPtrOutput
Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
func (GetKubernetesVersionFilterOutput) ElementType ¶
func (GetKubernetesVersionFilterOutput) ElementType() reflect.Type
func (GetKubernetesVersionFilterOutput) Key ¶
func (o GetKubernetesVersionFilterOutput) Key() pulumi.StringOutput
Filter versions by this key. This may be one of `default`, `label`, `type`, `version`.
func (GetKubernetesVersionFilterOutput) MatchBy ¶
func (o GetKubernetesVersionFilterOutput) MatchBy() pulumi.StringPtrOutput
One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
func (GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutput ¶
func (o GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutput() GetKubernetesVersionFilterOutput
func (GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutputWithContext ¶
func (o GetKubernetesVersionFilterOutput) ToGetKubernetesVersionFilterOutputWithContext(ctx context.Context) GetKubernetesVersionFilterOutput
func (GetKubernetesVersionFilterOutput) Values ¶
func (o GetKubernetesVersionFilterOutput) Values() pulumi.StringArrayOutput
Only retrieves `versions` which keys has value that matches one of the values provided here
type GetKubernetesVersionOutputArgs ¶ added in v2.1.0
type GetKubernetesVersionOutputArgs struct { // One or more key/value pairs on which to filter results Filters GetKubernetesVersionFilterArrayInput `pulumi:"filters"` // One or more key/direction pairs on which to sort results Sorts GetKubernetesVersionSortArrayInput `pulumi:"sorts"` }
A collection of arguments for invoking getKubernetesVersion.
func (GetKubernetesVersionOutputArgs) ElementType ¶ added in v2.1.0
func (GetKubernetesVersionOutputArgs) ElementType() reflect.Type
type GetKubernetesVersionResult ¶
type GetKubernetesVersionResult struct { // One or more key/value pairs on which to filter results Filters []GetKubernetesVersionFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // One or more key/direction pairs on which to sort results Sorts []GetKubernetesVersionSort `pulumi:"sorts"` Versions []GetKubernetesVersionVersion `pulumi:"versions"` }
A collection of values returned by getKubernetesVersion.
func GetKubernetesVersion ¶
func GetKubernetesVersion(ctx *pulumi.Context, args *GetKubernetesVersionArgs, opts ...pulumi.InvokeOption) (*GetKubernetesVersionResult, error)
Provides access to the available Civo Kubernetes versions, with the ability to filter the results.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := civo.GetKubernetesVersion(ctx, &civo.GetKubernetesVersionArgs{ Filters: []civo.GetKubernetesVersionFilter{ { Key: "type", Values: []string{ "talos", }, }, }, }, nil) if err != nil { return err } _, err = civo.GetKubernetesVersion(ctx, &civo.GetKubernetesVersionArgs{ Filters: []civo.GetKubernetesVersionFilter{ { Key: "type", Values: []string{ "k3s", }, }, }, }, nil) if err != nil { return err } return nil }) }
```
type GetKubernetesVersionResultOutput ¶ added in v2.1.0
type GetKubernetesVersionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getKubernetesVersion.
func GetKubernetesVersionOutput ¶ added in v2.1.0
func GetKubernetesVersionOutput(ctx *pulumi.Context, args GetKubernetesVersionOutputArgs, opts ...pulumi.InvokeOption) GetKubernetesVersionResultOutput
func (GetKubernetesVersionResultOutput) ElementType ¶ added in v2.1.0
func (GetKubernetesVersionResultOutput) ElementType() reflect.Type
func (GetKubernetesVersionResultOutput) Filters ¶ added in v2.1.0
func (o GetKubernetesVersionResultOutput) Filters() GetKubernetesVersionFilterArrayOutput
One or more key/value pairs on which to filter results
func (GetKubernetesVersionResultOutput) Id ¶ added in v2.1.0
func (o GetKubernetesVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetKubernetesVersionResultOutput) Sorts ¶ added in v2.1.0
func (o GetKubernetesVersionResultOutput) Sorts() GetKubernetesVersionSortArrayOutput
One or more key/direction pairs on which to sort results
func (GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput ¶ added in v2.1.0
func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput() GetKubernetesVersionResultOutput
func (GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutputWithContext ¶ added in v2.1.0
func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutputWithContext(ctx context.Context) GetKubernetesVersionResultOutput
func (GetKubernetesVersionResultOutput) Versions ¶ added in v2.1.0
func (o GetKubernetesVersionResultOutput) Versions() GetKubernetesVersionVersionArrayOutput
type GetKubernetesVersionSortArgs ¶
type GetKubernetesVersionSortArgs struct { // The sort direction. This may be either `asc` or `desc`. Direction pulumi.StringPtrInput `pulumi:"direction"` // Sort versions by this key. This may be one of `default`, `label`, `type`, `version`. Key pulumi.StringInput `pulumi:"key"` }
func (GetKubernetesVersionSortArgs) ElementType ¶
func (GetKubernetesVersionSortArgs) ElementType() reflect.Type
func (GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutput ¶
func (i GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutput() GetKubernetesVersionSortOutput
func (GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutputWithContext ¶
func (i GetKubernetesVersionSortArgs) ToGetKubernetesVersionSortOutputWithContext(ctx context.Context) GetKubernetesVersionSortOutput
type GetKubernetesVersionSortArray ¶
type GetKubernetesVersionSortArray []GetKubernetesVersionSortInput
func (GetKubernetesVersionSortArray) ElementType ¶
func (GetKubernetesVersionSortArray) ElementType() reflect.Type
func (GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutput ¶
func (i GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutput() GetKubernetesVersionSortArrayOutput
func (GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutputWithContext ¶
func (i GetKubernetesVersionSortArray) ToGetKubernetesVersionSortArrayOutputWithContext(ctx context.Context) GetKubernetesVersionSortArrayOutput
type GetKubernetesVersionSortArrayInput ¶
type GetKubernetesVersionSortArrayInput interface { pulumi.Input ToGetKubernetesVersionSortArrayOutput() GetKubernetesVersionSortArrayOutput ToGetKubernetesVersionSortArrayOutputWithContext(context.Context) GetKubernetesVersionSortArrayOutput }
GetKubernetesVersionSortArrayInput is an input type that accepts GetKubernetesVersionSortArray and GetKubernetesVersionSortArrayOutput values. You can construct a concrete instance of `GetKubernetesVersionSortArrayInput` via:
GetKubernetesVersionSortArray{ GetKubernetesVersionSortArgs{...} }
type GetKubernetesVersionSortArrayOutput ¶
type GetKubernetesVersionSortArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesVersionSortArrayOutput) ElementType ¶
func (GetKubernetesVersionSortArrayOutput) ElementType() reflect.Type
func (GetKubernetesVersionSortArrayOutput) Index ¶
func (o GetKubernetesVersionSortArrayOutput) Index(i pulumi.IntInput) GetKubernetesVersionSortOutput
func (GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutput ¶
func (o GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutput() GetKubernetesVersionSortArrayOutput
func (GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutputWithContext ¶
func (o GetKubernetesVersionSortArrayOutput) ToGetKubernetesVersionSortArrayOutputWithContext(ctx context.Context) GetKubernetesVersionSortArrayOutput
type GetKubernetesVersionSortInput ¶
type GetKubernetesVersionSortInput interface { pulumi.Input ToGetKubernetesVersionSortOutput() GetKubernetesVersionSortOutput ToGetKubernetesVersionSortOutputWithContext(context.Context) GetKubernetesVersionSortOutput }
GetKubernetesVersionSortInput is an input type that accepts GetKubernetesVersionSortArgs and GetKubernetesVersionSortOutput values. You can construct a concrete instance of `GetKubernetesVersionSortInput` via:
GetKubernetesVersionSortArgs{...}
type GetKubernetesVersionSortOutput ¶
type GetKubernetesVersionSortOutput struct{ *pulumi.OutputState }
func (GetKubernetesVersionSortOutput) Direction ¶
func (o GetKubernetesVersionSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetKubernetesVersionSortOutput) ElementType ¶
func (GetKubernetesVersionSortOutput) ElementType() reflect.Type
func (GetKubernetesVersionSortOutput) Key ¶
func (o GetKubernetesVersionSortOutput) Key() pulumi.StringOutput
Sort versions by this key. This may be one of `default`, `label`, `type`, `version`.
func (GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutput ¶
func (o GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutput() GetKubernetesVersionSortOutput
func (GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutputWithContext ¶
func (o GetKubernetesVersionSortOutput) ToGetKubernetesVersionSortOutputWithContext(ctx context.Context) GetKubernetesVersionSortOutput
type GetKubernetesVersionVersion ¶
type GetKubernetesVersionVersion struct { // If is the default version used in all cluster, this will return `true` Default bool `pulumi:"default"` // The label of this version Label string `pulumi:"label"` // The type of the cluster, can be `talos` or `k3s` Type string `pulumi:"type"` // A version of the Kubernetes Version string `pulumi:"version"` }
type GetKubernetesVersionVersionArgs ¶
type GetKubernetesVersionVersionArgs struct { // If is the default version used in all cluster, this will return `true` Default pulumi.BoolInput `pulumi:"default"` // The label of this version Label pulumi.StringInput `pulumi:"label"` // The type of the cluster, can be `talos` or `k3s` Type pulumi.StringInput `pulumi:"type"` // A version of the Kubernetes Version pulumi.StringInput `pulumi:"version"` }
func (GetKubernetesVersionVersionArgs) ElementType ¶
func (GetKubernetesVersionVersionArgs) ElementType() reflect.Type
func (GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutput ¶
func (i GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutput() GetKubernetesVersionVersionOutput
func (GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutputWithContext ¶
func (i GetKubernetesVersionVersionArgs) ToGetKubernetesVersionVersionOutputWithContext(ctx context.Context) GetKubernetesVersionVersionOutput
type GetKubernetesVersionVersionArray ¶
type GetKubernetesVersionVersionArray []GetKubernetesVersionVersionInput
func (GetKubernetesVersionVersionArray) ElementType ¶
func (GetKubernetesVersionVersionArray) ElementType() reflect.Type
func (GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutput ¶
func (i GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutput() GetKubernetesVersionVersionArrayOutput
func (GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutputWithContext ¶
func (i GetKubernetesVersionVersionArray) ToGetKubernetesVersionVersionArrayOutputWithContext(ctx context.Context) GetKubernetesVersionVersionArrayOutput
type GetKubernetesVersionVersionArrayInput ¶
type GetKubernetesVersionVersionArrayInput interface { pulumi.Input ToGetKubernetesVersionVersionArrayOutput() GetKubernetesVersionVersionArrayOutput ToGetKubernetesVersionVersionArrayOutputWithContext(context.Context) GetKubernetesVersionVersionArrayOutput }
GetKubernetesVersionVersionArrayInput is an input type that accepts GetKubernetesVersionVersionArray and GetKubernetesVersionVersionArrayOutput values. You can construct a concrete instance of `GetKubernetesVersionVersionArrayInput` via:
GetKubernetesVersionVersionArray{ GetKubernetesVersionVersionArgs{...} }
type GetKubernetesVersionVersionArrayOutput ¶
type GetKubernetesVersionVersionArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesVersionVersionArrayOutput) ElementType ¶
func (GetKubernetesVersionVersionArrayOutput) ElementType() reflect.Type
func (GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutput ¶
func (o GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutput() GetKubernetesVersionVersionArrayOutput
func (GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutputWithContext ¶
func (o GetKubernetesVersionVersionArrayOutput) ToGetKubernetesVersionVersionArrayOutputWithContext(ctx context.Context) GetKubernetesVersionVersionArrayOutput
type GetKubernetesVersionVersionInput ¶
type GetKubernetesVersionVersionInput interface { pulumi.Input ToGetKubernetesVersionVersionOutput() GetKubernetesVersionVersionOutput ToGetKubernetesVersionVersionOutputWithContext(context.Context) GetKubernetesVersionVersionOutput }
GetKubernetesVersionVersionInput is an input type that accepts GetKubernetesVersionVersionArgs and GetKubernetesVersionVersionOutput values. You can construct a concrete instance of `GetKubernetesVersionVersionInput` via:
GetKubernetesVersionVersionArgs{...}
type GetKubernetesVersionVersionOutput ¶
type GetKubernetesVersionVersionOutput struct{ *pulumi.OutputState }
func (GetKubernetesVersionVersionOutput) Default ¶
func (o GetKubernetesVersionVersionOutput) Default() pulumi.BoolOutput
If is the default version used in all cluster, this will return `true`
func (GetKubernetesVersionVersionOutput) ElementType ¶
func (GetKubernetesVersionVersionOutput) ElementType() reflect.Type
func (GetKubernetesVersionVersionOutput) Label ¶
func (o GetKubernetesVersionVersionOutput) Label() pulumi.StringOutput
The label of this version
func (GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutput ¶
func (o GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutput() GetKubernetesVersionVersionOutput
func (GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutputWithContext ¶
func (o GetKubernetesVersionVersionOutput) ToGetKubernetesVersionVersionOutputWithContext(ctx context.Context) GetKubernetesVersionVersionOutput
func (GetKubernetesVersionVersionOutput) Type ¶
func (o GetKubernetesVersionVersionOutput) Type() pulumi.StringOutput
The type of the cluster, can be `talos` or `k3s`
func (GetKubernetesVersionVersionOutput) Version ¶
func (o GetKubernetesVersionVersionOutput) Version() pulumi.StringOutput
A version of the Kubernetes
type GetLoadBalancerArgs ¶ added in v2.2.0
type GetLoadBalancerArgs struct { // The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id') Id *string `pulumi:"id"` // The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name') Name *string `pulumi:"name"` // The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider Region *string `pulumi:"region"` }
A collection of arguments for invoking getLoadBalancer.
type GetLoadBalancerBackend ¶ added in v2.2.0
type GetLoadBalancerBackend struct { // The health check port of the backend HealthCheckPort int `pulumi:"healthCheckPort"` // The ip of the backend Ip string `pulumi:"ip"` // The protocol of the backend Protocol string `pulumi:"protocol"` // The source port of the backend SourcePort int `pulumi:"sourcePort"` // The target port of the backend TargetPort int `pulumi:"targetPort"` }
type GetLoadBalancerBackendArgs ¶ added in v2.2.0
type GetLoadBalancerBackendArgs struct { // The health check port of the backend HealthCheckPort pulumi.IntInput `pulumi:"healthCheckPort"` // The ip of the backend Ip pulumi.StringInput `pulumi:"ip"` // The protocol of the backend Protocol pulumi.StringInput `pulumi:"protocol"` // The source port of the backend SourcePort pulumi.IntInput `pulumi:"sourcePort"` // The target port of the backend TargetPort pulumi.IntInput `pulumi:"targetPort"` }
func (GetLoadBalancerBackendArgs) ElementType ¶ added in v2.2.0
func (GetLoadBalancerBackendArgs) ElementType() reflect.Type
func (GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutput ¶ added in v2.2.0
func (i GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput
func (GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutputWithContext ¶ added in v2.2.0
func (i GetLoadBalancerBackendArgs) ToGetLoadBalancerBackendOutputWithContext(ctx context.Context) GetLoadBalancerBackendOutput
type GetLoadBalancerBackendArray ¶ added in v2.2.0
type GetLoadBalancerBackendArray []GetLoadBalancerBackendInput
func (GetLoadBalancerBackendArray) ElementType ¶ added in v2.2.0
func (GetLoadBalancerBackendArray) ElementType() reflect.Type
func (GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutput ¶ added in v2.2.0
func (i GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput
func (GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutputWithContext ¶ added in v2.2.0
func (i GetLoadBalancerBackendArray) ToGetLoadBalancerBackendArrayOutputWithContext(ctx context.Context) GetLoadBalancerBackendArrayOutput
type GetLoadBalancerBackendArrayInput ¶ added in v2.2.0
type GetLoadBalancerBackendArrayInput interface { pulumi.Input ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput ToGetLoadBalancerBackendArrayOutputWithContext(context.Context) GetLoadBalancerBackendArrayOutput }
GetLoadBalancerBackendArrayInput is an input type that accepts GetLoadBalancerBackendArray and GetLoadBalancerBackendArrayOutput values. You can construct a concrete instance of `GetLoadBalancerBackendArrayInput` via:
GetLoadBalancerBackendArray{ GetLoadBalancerBackendArgs{...} }
type GetLoadBalancerBackendArrayOutput ¶ added in v2.2.0
type GetLoadBalancerBackendArrayOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerBackendArrayOutput) ElementType ¶ added in v2.2.0
func (GetLoadBalancerBackendArrayOutput) ElementType() reflect.Type
func (GetLoadBalancerBackendArrayOutput) Index ¶ added in v2.2.0
func (o GetLoadBalancerBackendArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerBackendOutput
func (GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutput ¶ added in v2.2.0
func (o GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutput() GetLoadBalancerBackendArrayOutput
func (GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutputWithContext ¶ added in v2.2.0
func (o GetLoadBalancerBackendArrayOutput) ToGetLoadBalancerBackendArrayOutputWithContext(ctx context.Context) GetLoadBalancerBackendArrayOutput
type GetLoadBalancerBackendInput ¶ added in v2.2.0
type GetLoadBalancerBackendInput interface { pulumi.Input ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput ToGetLoadBalancerBackendOutputWithContext(context.Context) GetLoadBalancerBackendOutput }
GetLoadBalancerBackendInput is an input type that accepts GetLoadBalancerBackendArgs and GetLoadBalancerBackendOutput values. You can construct a concrete instance of `GetLoadBalancerBackendInput` via:
GetLoadBalancerBackendArgs{...}
type GetLoadBalancerBackendOutput ¶ added in v2.2.0
type GetLoadBalancerBackendOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerBackendOutput) ElementType ¶ added in v2.2.0
func (GetLoadBalancerBackendOutput) ElementType() reflect.Type
func (GetLoadBalancerBackendOutput) HealthCheckPort ¶ added in v2.2.0
func (o GetLoadBalancerBackendOutput) HealthCheckPort() pulumi.IntOutput
The health check port of the backend
func (GetLoadBalancerBackendOutput) Ip ¶ added in v2.2.0
func (o GetLoadBalancerBackendOutput) Ip() pulumi.StringOutput
The ip of the backend
func (GetLoadBalancerBackendOutput) Protocol ¶ added in v2.2.0
func (o GetLoadBalancerBackendOutput) Protocol() pulumi.StringOutput
The protocol of the backend
func (GetLoadBalancerBackendOutput) SourcePort ¶ added in v2.2.0
func (o GetLoadBalancerBackendOutput) SourcePort() pulumi.IntOutput
The source port of the backend
func (GetLoadBalancerBackendOutput) TargetPort ¶ added in v2.2.0
func (o GetLoadBalancerBackendOutput) TargetPort() pulumi.IntOutput
The target port of the backend
func (GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutput ¶ added in v2.2.0
func (o GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutput() GetLoadBalancerBackendOutput
func (GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutputWithContext ¶ added in v2.2.0
func (o GetLoadBalancerBackendOutput) ToGetLoadBalancerBackendOutputWithContext(ctx context.Context) GetLoadBalancerBackendOutput
type GetLoadBalancerOutputArgs ¶ added in v2.2.0
type GetLoadBalancerOutputArgs struct { // The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id') Id pulumi.StringPtrInput `pulumi:"id"` // The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name') Name pulumi.StringPtrInput `pulumi:"name"` // The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getLoadBalancer.
func (GetLoadBalancerOutputArgs) ElementType ¶ added in v2.2.0
func (GetLoadBalancerOutputArgs) ElementType() reflect.Type
type GetLoadBalancerResult ¶ added in v2.2.0
type GetLoadBalancerResult struct { // The algorithm used by the load balancer Algorithm string `pulumi:"algorithm"` Backends []GetLoadBalancerBackend `pulumi:"backends"` // The cluster id of the load balancer ClusterId string `pulumi:"clusterId"` // The enabled proxy protocol of the load balancer EnableProxyProtocol string `pulumi:"enableProxyProtocol"` // The external traffic policy of the load balancer ExternalTrafficPolicy string `pulumi:"externalTrafficPolicy"` // The firewall id of the load balancer FirewallId string `pulumi:"firewallId"` // The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id') Id *string `pulumi:"id"` // The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name') Name *string `pulumi:"name"` // The private ip of the load balancer PrivateIp string `pulumi:"privateIp"` // The public ip of the load balancer PublicIp string `pulumi:"publicIp"` // The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider Region *string `pulumi:"region"` // The session affinity of the load balancer SessionAffinity string `pulumi:"sessionAffinity"` // The session affinity config timeout of the load balancer SessionAffinityConfigTimeout int `pulumi:"sessionAffinityConfigTimeout"` // The state of the load balancer State string `pulumi:"state"` }
A collection of values returned by getLoadBalancer.
func GetLoadBalancer ¶ added in v2.2.0
func GetLoadBalancer(ctx *pulumi.Context, args *GetLoadBalancerArgs, opts ...pulumi.InvokeOption) (*GetLoadBalancerResult, error)
Get information on a load balancer for use in other resources. This data source provides all of the load balancers properties as configured on your Civo account.
An error will be raised if the provided load balancer name does not exist in your Civo account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // TODO my_lb, err := civo.GetLoadBalancer(ctx, &civo.GetLoadBalancerArgs{ Name: pulumi.StringRef("lb-name"), Region: pulumi.StringRef("LON1"), }, nil) if err != nil { return err } ctx.Export("civoLoadbalancerOutput", my_lb.PublicIp) return nil }) }
```
type GetLoadBalancerResultOutput ¶ added in v2.2.0
type GetLoadBalancerResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLoadBalancer.
func GetLoadBalancerOutput ¶ added in v2.2.0
func GetLoadBalancerOutput(ctx *pulumi.Context, args GetLoadBalancerOutputArgs, opts ...pulumi.InvokeOption) GetLoadBalancerResultOutput
func (GetLoadBalancerResultOutput) Algorithm ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) Algorithm() pulumi.StringOutput
The algorithm used by the load balancer
func (GetLoadBalancerResultOutput) Backends ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) Backends() GetLoadBalancerBackendArrayOutput
func (GetLoadBalancerResultOutput) ClusterId ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) ClusterId() pulumi.StringOutput
The cluster id of the load balancer
func (GetLoadBalancerResultOutput) ElementType ¶ added in v2.2.0
func (GetLoadBalancerResultOutput) ElementType() reflect.Type
func (GetLoadBalancerResultOutput) EnableProxyProtocol ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) EnableProxyProtocol() pulumi.StringOutput
The enabled proxy protocol of the load balancer
func (GetLoadBalancerResultOutput) ExternalTrafficPolicy ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) ExternalTrafficPolicy() pulumi.StringOutput
The external traffic policy of the load balancer
func (GetLoadBalancerResultOutput) FirewallId ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) FirewallId() pulumi.StringOutput
The firewall id of the load balancer
func (GetLoadBalancerResultOutput) Id ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) Id() pulumi.StringPtrOutput
The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
func (GetLoadBalancerResultOutput) Name ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) Name() pulumi.StringPtrOutput
The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')
func (GetLoadBalancerResultOutput) PrivateIp ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) PrivateIp() pulumi.StringOutput
The private ip of the load balancer
func (GetLoadBalancerResultOutput) PublicIp ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) PublicIp() pulumi.StringOutput
The public ip of the load balancer
func (GetLoadBalancerResultOutput) Region ¶ added in v2.2.1
func (o GetLoadBalancerResultOutput) Region() pulumi.StringPtrOutput
The region of the load balancer, if you declare this field, the datasource will use this value instead of the one defined in the provider
func (GetLoadBalancerResultOutput) SessionAffinity ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) SessionAffinity() pulumi.StringOutput
The session affinity of the load balancer
func (GetLoadBalancerResultOutput) SessionAffinityConfigTimeout ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) SessionAffinityConfigTimeout() pulumi.IntOutput
The session affinity config timeout of the load balancer
func (GetLoadBalancerResultOutput) State ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) State() pulumi.StringOutput
The state of the load balancer
func (GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutput ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutput() GetLoadBalancerResultOutput
func (GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutputWithContext ¶ added in v2.2.0
func (o GetLoadBalancerResultOutput) ToGetLoadBalancerResultOutputWithContext(ctx context.Context) GetLoadBalancerResultOutput
type GetRegionArgs ¶
type GetRegionArgs struct { // One or more key/value pairs on which to filter results Filters []GetRegionFilter `pulumi:"filters"` // One or more key/direction pairs on which to sort results Sorts []GetRegionSort `pulumi:"sorts"` }
A collection of arguments for invoking getRegion.
type GetRegionFilter ¶
type GetRegionFilter struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All *bool `pulumi:"all"` // Filter regions by this key. This may be one of `code`, `country`, `default`, `name`. Key string `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy *string `pulumi:"matchBy"` // Only retrieves `regions` which keys has value that matches one of the values provided here Values []string `pulumi:"values"` }
type GetRegionFilterArgs ¶
type GetRegionFilterArgs struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All pulumi.BoolPtrInput `pulumi:"all"` // Filter regions by this key. This may be one of `code`, `country`, `default`, `name`. Key pulumi.StringInput `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy pulumi.StringPtrInput `pulumi:"matchBy"` // Only retrieves `regions` which keys has value that matches one of the values provided here Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetRegionFilterArgs) ElementType ¶
func (GetRegionFilterArgs) ElementType() reflect.Type
func (GetRegionFilterArgs) ToGetRegionFilterOutput ¶
func (i GetRegionFilterArgs) ToGetRegionFilterOutput() GetRegionFilterOutput
func (GetRegionFilterArgs) ToGetRegionFilterOutputWithContext ¶
func (i GetRegionFilterArgs) ToGetRegionFilterOutputWithContext(ctx context.Context) GetRegionFilterOutput
type GetRegionFilterArray ¶
type GetRegionFilterArray []GetRegionFilterInput
func (GetRegionFilterArray) ElementType ¶
func (GetRegionFilterArray) ElementType() reflect.Type
func (GetRegionFilterArray) ToGetRegionFilterArrayOutput ¶
func (i GetRegionFilterArray) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput
func (GetRegionFilterArray) ToGetRegionFilterArrayOutputWithContext ¶
func (i GetRegionFilterArray) ToGetRegionFilterArrayOutputWithContext(ctx context.Context) GetRegionFilterArrayOutput
type GetRegionFilterArrayInput ¶
type GetRegionFilterArrayInput interface { pulumi.Input ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput ToGetRegionFilterArrayOutputWithContext(context.Context) GetRegionFilterArrayOutput }
GetRegionFilterArrayInput is an input type that accepts GetRegionFilterArray and GetRegionFilterArrayOutput values. You can construct a concrete instance of `GetRegionFilterArrayInput` via:
GetRegionFilterArray{ GetRegionFilterArgs{...} }
type GetRegionFilterArrayOutput ¶
type GetRegionFilterArrayOutput struct{ *pulumi.OutputState }
func (GetRegionFilterArrayOutput) ElementType ¶
func (GetRegionFilterArrayOutput) ElementType() reflect.Type
func (GetRegionFilterArrayOutput) Index ¶
func (o GetRegionFilterArrayOutput) Index(i pulumi.IntInput) GetRegionFilterOutput
func (GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput ¶
func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutput() GetRegionFilterArrayOutput
func (GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext ¶
func (o GetRegionFilterArrayOutput) ToGetRegionFilterArrayOutputWithContext(ctx context.Context) GetRegionFilterArrayOutput
type GetRegionFilterInput ¶
type GetRegionFilterInput interface { pulumi.Input ToGetRegionFilterOutput() GetRegionFilterOutput ToGetRegionFilterOutputWithContext(context.Context) GetRegionFilterOutput }
GetRegionFilterInput is an input type that accepts GetRegionFilterArgs and GetRegionFilterOutput values. You can construct a concrete instance of `GetRegionFilterInput` via:
GetRegionFilterArgs{...}
type GetRegionFilterOutput ¶
type GetRegionFilterOutput struct{ *pulumi.OutputState }
func (GetRegionFilterOutput) All ¶
func (o GetRegionFilterOutput) All() pulumi.BoolPtrOutput
Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
func (GetRegionFilterOutput) ElementType ¶
func (GetRegionFilterOutput) ElementType() reflect.Type
func (GetRegionFilterOutput) Key ¶
func (o GetRegionFilterOutput) Key() pulumi.StringOutput
Filter regions by this key. This may be one of `code`, `country`, `default`, `name`.
func (GetRegionFilterOutput) MatchBy ¶
func (o GetRegionFilterOutput) MatchBy() pulumi.StringPtrOutput
One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
func (GetRegionFilterOutput) ToGetRegionFilterOutput ¶
func (o GetRegionFilterOutput) ToGetRegionFilterOutput() GetRegionFilterOutput
func (GetRegionFilterOutput) ToGetRegionFilterOutputWithContext ¶
func (o GetRegionFilterOutput) ToGetRegionFilterOutputWithContext(ctx context.Context) GetRegionFilterOutput
func (GetRegionFilterOutput) Values ¶
func (o GetRegionFilterOutput) Values() pulumi.StringArrayOutput
Only retrieves `regions` which keys has value that matches one of the values provided here
type GetRegionOutputArgs ¶ added in v2.1.0
type GetRegionOutputArgs struct { // One or more key/value pairs on which to filter results Filters GetRegionFilterArrayInput `pulumi:"filters"` // One or more key/direction pairs on which to sort results Sorts GetRegionSortArrayInput `pulumi:"sorts"` }
A collection of arguments for invoking getRegion.
func (GetRegionOutputArgs) ElementType ¶ added in v2.1.0
func (GetRegionOutputArgs) ElementType() reflect.Type
type GetRegionRegion ¶
type GetRegionRegion struct { // The code of the region Code string `pulumi:"code"` // The country of the region Country string `pulumi:"country"` // If the region is the default region, this will return `true` Default bool `pulumi:"default"` // A human name of the region Name string `pulumi:"name"` }
type GetRegionRegionArgs ¶
type GetRegionRegionArgs struct { // The code of the region Code pulumi.StringInput `pulumi:"code"` // The country of the region Country pulumi.StringInput `pulumi:"country"` // If the region is the default region, this will return `true` Default pulumi.BoolInput `pulumi:"default"` // A human name of the region Name pulumi.StringInput `pulumi:"name"` }
func (GetRegionRegionArgs) ElementType ¶
func (GetRegionRegionArgs) ElementType() reflect.Type
func (GetRegionRegionArgs) ToGetRegionRegionOutput ¶
func (i GetRegionRegionArgs) ToGetRegionRegionOutput() GetRegionRegionOutput
func (GetRegionRegionArgs) ToGetRegionRegionOutputWithContext ¶
func (i GetRegionRegionArgs) ToGetRegionRegionOutputWithContext(ctx context.Context) GetRegionRegionOutput
type GetRegionRegionArray ¶
type GetRegionRegionArray []GetRegionRegionInput
func (GetRegionRegionArray) ElementType ¶
func (GetRegionRegionArray) ElementType() reflect.Type
func (GetRegionRegionArray) ToGetRegionRegionArrayOutput ¶
func (i GetRegionRegionArray) ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput
func (GetRegionRegionArray) ToGetRegionRegionArrayOutputWithContext ¶
func (i GetRegionRegionArray) ToGetRegionRegionArrayOutputWithContext(ctx context.Context) GetRegionRegionArrayOutput
type GetRegionRegionArrayInput ¶
type GetRegionRegionArrayInput interface { pulumi.Input ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput ToGetRegionRegionArrayOutputWithContext(context.Context) GetRegionRegionArrayOutput }
GetRegionRegionArrayInput is an input type that accepts GetRegionRegionArray and GetRegionRegionArrayOutput values. You can construct a concrete instance of `GetRegionRegionArrayInput` via:
GetRegionRegionArray{ GetRegionRegionArgs{...} }
type GetRegionRegionArrayOutput ¶
type GetRegionRegionArrayOutput struct{ *pulumi.OutputState }
func (GetRegionRegionArrayOutput) ElementType ¶
func (GetRegionRegionArrayOutput) ElementType() reflect.Type
func (GetRegionRegionArrayOutput) Index ¶
func (o GetRegionRegionArrayOutput) Index(i pulumi.IntInput) GetRegionRegionOutput
func (GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutput ¶
func (o GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutput() GetRegionRegionArrayOutput
func (GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutputWithContext ¶
func (o GetRegionRegionArrayOutput) ToGetRegionRegionArrayOutputWithContext(ctx context.Context) GetRegionRegionArrayOutput
type GetRegionRegionInput ¶
type GetRegionRegionInput interface { pulumi.Input ToGetRegionRegionOutput() GetRegionRegionOutput ToGetRegionRegionOutputWithContext(context.Context) GetRegionRegionOutput }
GetRegionRegionInput is an input type that accepts GetRegionRegionArgs and GetRegionRegionOutput values. You can construct a concrete instance of `GetRegionRegionInput` via:
GetRegionRegionArgs{...}
type GetRegionRegionOutput ¶
type GetRegionRegionOutput struct{ *pulumi.OutputState }
func (GetRegionRegionOutput) Code ¶
func (o GetRegionRegionOutput) Code() pulumi.StringOutput
The code of the region
func (GetRegionRegionOutput) Country ¶
func (o GetRegionRegionOutput) Country() pulumi.StringOutput
The country of the region
func (GetRegionRegionOutput) Default ¶
func (o GetRegionRegionOutput) Default() pulumi.BoolOutput
If the region is the default region, this will return `true`
func (GetRegionRegionOutput) ElementType ¶
func (GetRegionRegionOutput) ElementType() reflect.Type
func (GetRegionRegionOutput) Name ¶
func (o GetRegionRegionOutput) Name() pulumi.StringOutput
A human name of the region
func (GetRegionRegionOutput) ToGetRegionRegionOutput ¶
func (o GetRegionRegionOutput) ToGetRegionRegionOutput() GetRegionRegionOutput
func (GetRegionRegionOutput) ToGetRegionRegionOutputWithContext ¶
func (o GetRegionRegionOutput) ToGetRegionRegionOutputWithContext(ctx context.Context) GetRegionRegionOutput
type GetRegionResult ¶
type GetRegionResult struct { // One or more key/value pairs on which to filter results Filters []GetRegionFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Regions []GetRegionRegion `pulumi:"regions"` // One or more key/direction pairs on which to sort results Sorts []GetRegionSort `pulumi:"sorts"` }
A collection of values returned by getRegion.
func GetRegion ¶
func GetRegion(ctx *pulumi.Context, args *GetRegionArgs, opts ...pulumi.InvokeOption) (*GetRegionResult, error)
Retrieves information about the region that Civo supports, with the ability to filter the results.
type GetRegionResultOutput ¶ added in v2.1.0
type GetRegionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRegion.
func GetRegionOutput ¶ added in v2.1.0
func GetRegionOutput(ctx *pulumi.Context, args GetRegionOutputArgs, opts ...pulumi.InvokeOption) GetRegionResultOutput
func (GetRegionResultOutput) ElementType ¶ added in v2.1.0
func (GetRegionResultOutput) ElementType() reflect.Type
func (GetRegionResultOutput) Filters ¶ added in v2.1.0
func (o GetRegionResultOutput) Filters() GetRegionFilterArrayOutput
One or more key/value pairs on which to filter results
func (GetRegionResultOutput) Id ¶ added in v2.1.0
func (o GetRegionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRegionResultOutput) Regions ¶ added in v2.1.0
func (o GetRegionResultOutput) Regions() GetRegionRegionArrayOutput
func (GetRegionResultOutput) Sorts ¶ added in v2.1.0
func (o GetRegionResultOutput) Sorts() GetRegionSortArrayOutput
One or more key/direction pairs on which to sort results
func (GetRegionResultOutput) ToGetRegionResultOutput ¶ added in v2.1.0
func (o GetRegionResultOutput) ToGetRegionResultOutput() GetRegionResultOutput
func (GetRegionResultOutput) ToGetRegionResultOutputWithContext ¶ added in v2.1.0
func (o GetRegionResultOutput) ToGetRegionResultOutputWithContext(ctx context.Context) GetRegionResultOutput
type GetRegionSort ¶
type GetRegionSortArgs ¶
type GetRegionSortArgs struct { // The sort direction. This may be either `asc` or `desc`. Direction pulumi.StringPtrInput `pulumi:"direction"` // Sort regions by this key. This may be one of `code`, `country`, `default`, `name`. Key pulumi.StringInput `pulumi:"key"` }
func (GetRegionSortArgs) ElementType ¶
func (GetRegionSortArgs) ElementType() reflect.Type
func (GetRegionSortArgs) ToGetRegionSortOutput ¶
func (i GetRegionSortArgs) ToGetRegionSortOutput() GetRegionSortOutput
func (GetRegionSortArgs) ToGetRegionSortOutputWithContext ¶
func (i GetRegionSortArgs) ToGetRegionSortOutputWithContext(ctx context.Context) GetRegionSortOutput
type GetRegionSortArray ¶
type GetRegionSortArray []GetRegionSortInput
func (GetRegionSortArray) ElementType ¶
func (GetRegionSortArray) ElementType() reflect.Type
func (GetRegionSortArray) ToGetRegionSortArrayOutput ¶
func (i GetRegionSortArray) ToGetRegionSortArrayOutput() GetRegionSortArrayOutput
func (GetRegionSortArray) ToGetRegionSortArrayOutputWithContext ¶
func (i GetRegionSortArray) ToGetRegionSortArrayOutputWithContext(ctx context.Context) GetRegionSortArrayOutput
type GetRegionSortArrayInput ¶
type GetRegionSortArrayInput interface { pulumi.Input ToGetRegionSortArrayOutput() GetRegionSortArrayOutput ToGetRegionSortArrayOutputWithContext(context.Context) GetRegionSortArrayOutput }
GetRegionSortArrayInput is an input type that accepts GetRegionSortArray and GetRegionSortArrayOutput values. You can construct a concrete instance of `GetRegionSortArrayInput` via:
GetRegionSortArray{ GetRegionSortArgs{...} }
type GetRegionSortArrayOutput ¶
type GetRegionSortArrayOutput struct{ *pulumi.OutputState }
func (GetRegionSortArrayOutput) ElementType ¶
func (GetRegionSortArrayOutput) ElementType() reflect.Type
func (GetRegionSortArrayOutput) Index ¶
func (o GetRegionSortArrayOutput) Index(i pulumi.IntInput) GetRegionSortOutput
func (GetRegionSortArrayOutput) ToGetRegionSortArrayOutput ¶
func (o GetRegionSortArrayOutput) ToGetRegionSortArrayOutput() GetRegionSortArrayOutput
func (GetRegionSortArrayOutput) ToGetRegionSortArrayOutputWithContext ¶
func (o GetRegionSortArrayOutput) ToGetRegionSortArrayOutputWithContext(ctx context.Context) GetRegionSortArrayOutput
type GetRegionSortInput ¶
type GetRegionSortInput interface { pulumi.Input ToGetRegionSortOutput() GetRegionSortOutput ToGetRegionSortOutputWithContext(context.Context) GetRegionSortOutput }
GetRegionSortInput is an input type that accepts GetRegionSortArgs and GetRegionSortOutput values. You can construct a concrete instance of `GetRegionSortInput` via:
GetRegionSortArgs{...}
type GetRegionSortOutput ¶
type GetRegionSortOutput struct{ *pulumi.OutputState }
func (GetRegionSortOutput) Direction ¶
func (o GetRegionSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetRegionSortOutput) ElementType ¶
func (GetRegionSortOutput) ElementType() reflect.Type
func (GetRegionSortOutput) Key ¶
func (o GetRegionSortOutput) Key() pulumi.StringOutput
Sort regions by this key. This may be one of `code`, `country`, `default`, `name`.
func (GetRegionSortOutput) ToGetRegionSortOutput ¶
func (o GetRegionSortOutput) ToGetRegionSortOutput() GetRegionSortOutput
func (GetRegionSortOutput) ToGetRegionSortOutputWithContext ¶
func (o GetRegionSortOutput) ToGetRegionSortOutputWithContext(ctx context.Context) GetRegionSortOutput
type GetSizeArgs ¶ added in v2.1.3
type GetSizeArgs struct { // One or more key/value pairs on which to filter results Filters []GetSizeFilter `pulumi:"filters"` // One or more key/direction pairs on which to sort results Sorts []GetSizeSort `pulumi:"sorts"` }
A collection of arguments for invoking getSize.
type GetSizeFilter ¶ added in v2.1.3
type GetSizeFilter struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All *bool `pulumi:"all"` // Filter sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`. Key string `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy *string `pulumi:"matchBy"` // Only retrieves `sizes` which keys has value that matches one of the values provided here Values []string `pulumi:"values"` }
type GetSizeFilterArgs ¶ added in v2.1.3
type GetSizeFilterArgs struct { // Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set. All pulumi.BoolPtrInput `pulumi:"all"` // Filter sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`. Key pulumi.StringInput `pulumi:"key"` // One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field. MatchBy pulumi.StringPtrInput `pulumi:"matchBy"` // Only retrieves `sizes` which keys has value that matches one of the values provided here Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetSizeFilterArgs) ElementType ¶ added in v2.1.3
func (GetSizeFilterArgs) ElementType() reflect.Type
func (GetSizeFilterArgs) ToGetSizeFilterOutput ¶ added in v2.1.3
func (i GetSizeFilterArgs) ToGetSizeFilterOutput() GetSizeFilterOutput
func (GetSizeFilterArgs) ToGetSizeFilterOutputWithContext ¶ added in v2.1.3
func (i GetSizeFilterArgs) ToGetSizeFilterOutputWithContext(ctx context.Context) GetSizeFilterOutput
type GetSizeFilterArray ¶ added in v2.1.3
type GetSizeFilterArray []GetSizeFilterInput
func (GetSizeFilterArray) ElementType ¶ added in v2.1.3
func (GetSizeFilterArray) ElementType() reflect.Type
func (GetSizeFilterArray) ToGetSizeFilterArrayOutput ¶ added in v2.1.3
func (i GetSizeFilterArray) ToGetSizeFilterArrayOutput() GetSizeFilterArrayOutput
func (GetSizeFilterArray) ToGetSizeFilterArrayOutputWithContext ¶ added in v2.1.3
func (i GetSizeFilterArray) ToGetSizeFilterArrayOutputWithContext(ctx context.Context) GetSizeFilterArrayOutput
type GetSizeFilterArrayInput ¶ added in v2.1.3
type GetSizeFilterArrayInput interface { pulumi.Input ToGetSizeFilterArrayOutput() GetSizeFilterArrayOutput ToGetSizeFilterArrayOutputWithContext(context.Context) GetSizeFilterArrayOutput }
GetSizeFilterArrayInput is an input type that accepts GetSizeFilterArray and GetSizeFilterArrayOutput values. You can construct a concrete instance of `GetSizeFilterArrayInput` via:
GetSizeFilterArray{ GetSizeFilterArgs{...} }
type GetSizeFilterArrayOutput ¶ added in v2.1.3
type GetSizeFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSizeFilterArrayOutput) ElementType ¶ added in v2.1.3
func (GetSizeFilterArrayOutput) ElementType() reflect.Type
func (GetSizeFilterArrayOutput) Index ¶ added in v2.1.3
func (o GetSizeFilterArrayOutput) Index(i pulumi.IntInput) GetSizeFilterOutput
func (GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutput ¶ added in v2.1.3
func (o GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutput() GetSizeFilterArrayOutput
func (GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutputWithContext ¶ added in v2.1.3
func (o GetSizeFilterArrayOutput) ToGetSizeFilterArrayOutputWithContext(ctx context.Context) GetSizeFilterArrayOutput
type GetSizeFilterInput ¶ added in v2.1.3
type GetSizeFilterInput interface { pulumi.Input ToGetSizeFilterOutput() GetSizeFilterOutput ToGetSizeFilterOutputWithContext(context.Context) GetSizeFilterOutput }
GetSizeFilterInput is an input type that accepts GetSizeFilterArgs and GetSizeFilterOutput values. You can construct a concrete instance of `GetSizeFilterInput` via:
GetSizeFilterArgs{...}
type GetSizeFilterOutput ¶ added in v2.1.3
type GetSizeFilterOutput struct{ *pulumi.OutputState }
func (GetSizeFilterOutput) All ¶ added in v2.1.3
func (o GetSizeFilterOutput) All() pulumi.BoolPtrOutput
Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.
func (GetSizeFilterOutput) ElementType ¶ added in v2.1.3
func (GetSizeFilterOutput) ElementType() reflect.Type
func (GetSizeFilterOutput) Key ¶ added in v2.1.3
func (o GetSizeFilterOutput) Key() pulumi.StringOutput
Filter sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`.
func (GetSizeFilterOutput) MatchBy ¶ added in v2.1.3
func (o GetSizeFilterOutput) MatchBy() pulumi.StringPtrOutput
One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.
func (GetSizeFilterOutput) ToGetSizeFilterOutput ¶ added in v2.1.3
func (o GetSizeFilterOutput) ToGetSizeFilterOutput() GetSizeFilterOutput
func (GetSizeFilterOutput) ToGetSizeFilterOutputWithContext ¶ added in v2.1.3
func (o GetSizeFilterOutput) ToGetSizeFilterOutputWithContext(ctx context.Context) GetSizeFilterOutput
func (GetSizeFilterOutput) Values ¶ added in v2.1.3
func (o GetSizeFilterOutput) Values() pulumi.StringArrayOutput
Only retrieves `sizes` which keys has value that matches one of the values provided here
type GetSizeOutputArgs ¶ added in v2.1.3
type GetSizeOutputArgs struct { // One or more key/value pairs on which to filter results Filters GetSizeFilterArrayInput `pulumi:"filters"` // One or more key/direction pairs on which to sort results Sorts GetSizeSortArrayInput `pulumi:"sorts"` }
A collection of arguments for invoking getSize.
func (GetSizeOutputArgs) ElementType ¶ added in v2.1.3
func (GetSizeOutputArgs) ElementType() reflect.Type
type GetSizeResult ¶ added in v2.1.3
type GetSizeResult struct { // One or more key/value pairs on which to filter results Filters []GetSizeFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Sizes []GetSizeSize `pulumi:"sizes"` // One or more key/direction pairs on which to sort results Sorts []GetSizeSort `pulumi:"sorts"` }
A collection of values returned by getSize.
func GetSize ¶ added in v2.1.3
func GetSize(ctx *pulumi.Context, args *GetSizeArgs, opts ...pulumi.InvokeOption) (*GetSizeResult, error)
Retrieves information about the sizes that Civo supports, with the ability to filter the results.
type GetSizeResultOutput ¶ added in v2.1.3
type GetSizeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSize.
func GetSizeOutput ¶ added in v2.1.3
func GetSizeOutput(ctx *pulumi.Context, args GetSizeOutputArgs, opts ...pulumi.InvokeOption) GetSizeResultOutput
func (GetSizeResultOutput) ElementType ¶ added in v2.1.3
func (GetSizeResultOutput) ElementType() reflect.Type
func (GetSizeResultOutput) Filters ¶ added in v2.1.3
func (o GetSizeResultOutput) Filters() GetSizeFilterArrayOutput
One or more key/value pairs on which to filter results
func (GetSizeResultOutput) Id ¶ added in v2.1.3
func (o GetSizeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSizeResultOutput) Sizes ¶ added in v2.1.3
func (o GetSizeResultOutput) Sizes() GetSizeSizeArrayOutput
func (GetSizeResultOutput) Sorts ¶ added in v2.1.3
func (o GetSizeResultOutput) Sorts() GetSizeSortArrayOutput
One or more key/direction pairs on which to sort results
func (GetSizeResultOutput) ToGetSizeResultOutput ¶ added in v2.1.3
func (o GetSizeResultOutput) ToGetSizeResultOutput() GetSizeResultOutput
func (GetSizeResultOutput) ToGetSizeResultOutputWithContext ¶ added in v2.1.3
func (o GetSizeResultOutput) ToGetSizeResultOutputWithContext(ctx context.Context) GetSizeResultOutput
type GetSizeSize ¶ added in v2.1.3
type GetSizeSize struct { // Total of CPU Cpu int `pulumi:"cpu"` // A description of the instance size Description string `pulumi:"description"` // The size of SSD Disk int `pulumi:"disk"` // Total of GPU Gpu int `pulumi:"gpu"` // GPU type GpuType string `pulumi:"gpuType"` // The name of the size Name string `pulumi:"name"` // Total of RAM Ram int `pulumi:"ram"` // If can use the instance size Selectable bool `pulumi:"selectable"` // A human name of the size Type string `pulumi:"type"` }
type GetSizeSizeArgs ¶ added in v2.1.3
type GetSizeSizeArgs struct { // Total of CPU Cpu pulumi.IntInput `pulumi:"cpu"` // A description of the instance size Description pulumi.StringInput `pulumi:"description"` // The size of SSD Disk pulumi.IntInput `pulumi:"disk"` // Total of GPU Gpu pulumi.IntInput `pulumi:"gpu"` // GPU type GpuType pulumi.StringInput `pulumi:"gpuType"` // The name of the size Name pulumi.StringInput `pulumi:"name"` // Total of RAM Ram pulumi.IntInput `pulumi:"ram"` // If can use the instance size Selectable pulumi.BoolInput `pulumi:"selectable"` // A human name of the size Type pulumi.StringInput `pulumi:"type"` }
func (GetSizeSizeArgs) ElementType ¶ added in v2.1.3
func (GetSizeSizeArgs) ElementType() reflect.Type
func (GetSizeSizeArgs) ToGetSizeSizeOutput ¶ added in v2.1.3
func (i GetSizeSizeArgs) ToGetSizeSizeOutput() GetSizeSizeOutput
func (GetSizeSizeArgs) ToGetSizeSizeOutputWithContext ¶ added in v2.1.3
func (i GetSizeSizeArgs) ToGetSizeSizeOutputWithContext(ctx context.Context) GetSizeSizeOutput
type GetSizeSizeArray ¶ added in v2.1.3
type GetSizeSizeArray []GetSizeSizeInput
func (GetSizeSizeArray) ElementType ¶ added in v2.1.3
func (GetSizeSizeArray) ElementType() reflect.Type
func (GetSizeSizeArray) ToGetSizeSizeArrayOutput ¶ added in v2.1.3
func (i GetSizeSizeArray) ToGetSizeSizeArrayOutput() GetSizeSizeArrayOutput
func (GetSizeSizeArray) ToGetSizeSizeArrayOutputWithContext ¶ added in v2.1.3
func (i GetSizeSizeArray) ToGetSizeSizeArrayOutputWithContext(ctx context.Context) GetSizeSizeArrayOutput
type GetSizeSizeArrayInput ¶ added in v2.1.3
type GetSizeSizeArrayInput interface { pulumi.Input ToGetSizeSizeArrayOutput() GetSizeSizeArrayOutput ToGetSizeSizeArrayOutputWithContext(context.Context) GetSizeSizeArrayOutput }
GetSizeSizeArrayInput is an input type that accepts GetSizeSizeArray and GetSizeSizeArrayOutput values. You can construct a concrete instance of `GetSizeSizeArrayInput` via:
GetSizeSizeArray{ GetSizeSizeArgs{...} }
type GetSizeSizeArrayOutput ¶ added in v2.1.3
type GetSizeSizeArrayOutput struct{ *pulumi.OutputState }
func (GetSizeSizeArrayOutput) ElementType ¶ added in v2.1.3
func (GetSizeSizeArrayOutput) ElementType() reflect.Type
func (GetSizeSizeArrayOutput) Index ¶ added in v2.1.3
func (o GetSizeSizeArrayOutput) Index(i pulumi.IntInput) GetSizeSizeOutput
func (GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutput ¶ added in v2.1.3
func (o GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutput() GetSizeSizeArrayOutput
func (GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutputWithContext ¶ added in v2.1.3
func (o GetSizeSizeArrayOutput) ToGetSizeSizeArrayOutputWithContext(ctx context.Context) GetSizeSizeArrayOutput
type GetSizeSizeInput ¶ added in v2.1.3
type GetSizeSizeInput interface { pulumi.Input ToGetSizeSizeOutput() GetSizeSizeOutput ToGetSizeSizeOutputWithContext(context.Context) GetSizeSizeOutput }
GetSizeSizeInput is an input type that accepts GetSizeSizeArgs and GetSizeSizeOutput values. You can construct a concrete instance of `GetSizeSizeInput` via:
GetSizeSizeArgs{...}
type GetSizeSizeOutput ¶ added in v2.1.3
type GetSizeSizeOutput struct{ *pulumi.OutputState }
func (GetSizeSizeOutput) Cpu ¶ added in v2.1.3
func (o GetSizeSizeOutput) Cpu() pulumi.IntOutput
Total of CPU
func (GetSizeSizeOutput) Description ¶ added in v2.1.3
func (o GetSizeSizeOutput) Description() pulumi.StringOutput
A description of the instance size
func (GetSizeSizeOutput) Disk ¶ added in v2.1.3
func (o GetSizeSizeOutput) Disk() pulumi.IntOutput
The size of SSD
func (GetSizeSizeOutput) ElementType ¶ added in v2.1.3
func (GetSizeSizeOutput) ElementType() reflect.Type
func (GetSizeSizeOutput) Gpu ¶ added in v2.3.9
func (o GetSizeSizeOutput) Gpu() pulumi.IntOutput
Total of GPU
func (GetSizeSizeOutput) GpuType ¶ added in v2.3.9
func (o GetSizeSizeOutput) GpuType() pulumi.StringOutput
GPU type
func (GetSizeSizeOutput) Name ¶ added in v2.1.3
func (o GetSizeSizeOutput) Name() pulumi.StringOutput
The name of the size
func (GetSizeSizeOutput) Ram ¶ added in v2.1.3
func (o GetSizeSizeOutput) Ram() pulumi.IntOutput
Total of RAM
func (GetSizeSizeOutput) Selectable ¶ added in v2.1.3
func (o GetSizeSizeOutput) Selectable() pulumi.BoolOutput
If can use the instance size
func (GetSizeSizeOutput) ToGetSizeSizeOutput ¶ added in v2.1.3
func (o GetSizeSizeOutput) ToGetSizeSizeOutput() GetSizeSizeOutput
func (GetSizeSizeOutput) ToGetSizeSizeOutputWithContext ¶ added in v2.1.3
func (o GetSizeSizeOutput) ToGetSizeSizeOutputWithContext(ctx context.Context) GetSizeSizeOutput
func (GetSizeSizeOutput) Type ¶ added in v2.1.3
func (o GetSizeSizeOutput) Type() pulumi.StringOutput
A human name of the size
type GetSizeSort ¶ added in v2.1.3
type GetSizeSortArgs ¶ added in v2.1.3
type GetSizeSortArgs struct { // The sort direction. This may be either `asc` or `desc`. Direction pulumi.StringPtrInput `pulumi:"direction"` // Sort sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`. Key pulumi.StringInput `pulumi:"key"` }
func (GetSizeSortArgs) ElementType ¶ added in v2.1.3
func (GetSizeSortArgs) ElementType() reflect.Type
func (GetSizeSortArgs) ToGetSizeSortOutput ¶ added in v2.1.3
func (i GetSizeSortArgs) ToGetSizeSortOutput() GetSizeSortOutput
func (GetSizeSortArgs) ToGetSizeSortOutputWithContext ¶ added in v2.1.3
func (i GetSizeSortArgs) ToGetSizeSortOutputWithContext(ctx context.Context) GetSizeSortOutput
type GetSizeSortArray ¶ added in v2.1.3
type GetSizeSortArray []GetSizeSortInput
func (GetSizeSortArray) ElementType ¶ added in v2.1.3
func (GetSizeSortArray) ElementType() reflect.Type
func (GetSizeSortArray) ToGetSizeSortArrayOutput ¶ added in v2.1.3
func (i GetSizeSortArray) ToGetSizeSortArrayOutput() GetSizeSortArrayOutput
func (GetSizeSortArray) ToGetSizeSortArrayOutputWithContext ¶ added in v2.1.3
func (i GetSizeSortArray) ToGetSizeSortArrayOutputWithContext(ctx context.Context) GetSizeSortArrayOutput
type GetSizeSortArrayInput ¶ added in v2.1.3
type GetSizeSortArrayInput interface { pulumi.Input ToGetSizeSortArrayOutput() GetSizeSortArrayOutput ToGetSizeSortArrayOutputWithContext(context.Context) GetSizeSortArrayOutput }
GetSizeSortArrayInput is an input type that accepts GetSizeSortArray and GetSizeSortArrayOutput values. You can construct a concrete instance of `GetSizeSortArrayInput` via:
GetSizeSortArray{ GetSizeSortArgs{...} }
type GetSizeSortArrayOutput ¶ added in v2.1.3
type GetSizeSortArrayOutput struct{ *pulumi.OutputState }
func (GetSizeSortArrayOutput) ElementType ¶ added in v2.1.3
func (GetSizeSortArrayOutput) ElementType() reflect.Type
func (GetSizeSortArrayOutput) Index ¶ added in v2.1.3
func (o GetSizeSortArrayOutput) Index(i pulumi.IntInput) GetSizeSortOutput
func (GetSizeSortArrayOutput) ToGetSizeSortArrayOutput ¶ added in v2.1.3
func (o GetSizeSortArrayOutput) ToGetSizeSortArrayOutput() GetSizeSortArrayOutput
func (GetSizeSortArrayOutput) ToGetSizeSortArrayOutputWithContext ¶ added in v2.1.3
func (o GetSizeSortArrayOutput) ToGetSizeSortArrayOutputWithContext(ctx context.Context) GetSizeSortArrayOutput
type GetSizeSortInput ¶ added in v2.1.3
type GetSizeSortInput interface { pulumi.Input ToGetSizeSortOutput() GetSizeSortOutput ToGetSizeSortOutputWithContext(context.Context) GetSizeSortOutput }
GetSizeSortInput is an input type that accepts GetSizeSortArgs and GetSizeSortOutput values. You can construct a concrete instance of `GetSizeSortInput` via:
GetSizeSortArgs{...}
type GetSizeSortOutput ¶ added in v2.1.3
type GetSizeSortOutput struct{ *pulumi.OutputState }
func (GetSizeSortOutput) Direction ¶ added in v2.1.3
func (o GetSizeSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetSizeSortOutput) ElementType ¶ added in v2.1.3
func (GetSizeSortOutput) ElementType() reflect.Type
func (GetSizeSortOutput) Key ¶ added in v2.1.3
func (o GetSizeSortOutput) Key() pulumi.StringOutput
Sort sizes by this key. This may be one of `cpu`, `description`, `disk`, `gpuType`, `gpu`, `name`, `ram`, `selectable`, `type`.
func (GetSizeSortOutput) ToGetSizeSortOutput ¶ added in v2.1.3
func (o GetSizeSortOutput) ToGetSizeSortOutput() GetSizeSortOutput
func (GetSizeSortOutput) ToGetSizeSortOutputWithContext ¶ added in v2.1.3
func (o GetSizeSortOutput) ToGetSizeSortOutputWithContext(ctx context.Context) GetSizeSortOutput
type Instance ¶
type Instance struct { pulumi.CustomResourceState // (Number) Instance's CPU cores CpuCores pulumi.IntOutput `pulumi:"cpuCores"` // (String) Timestamp when the instance was created CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // (Number) Instance's disk (GB) DiskGb pulumi.IntOutput `pulumi:"diskGb"` // The ID for the disk image to use to build the instance DiskImage pulumi.StringOutput `pulumi:"diskImage"` // The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open // to all) FirewallId pulumi.StringOutput `pulumi:"firewallId"` // A fully qualified domain name that should be set as the instance's hostname Hostname pulumi.StringOutput `pulumi:"hostname"` // (String, Sensitive) Initial password for login InitialPassword pulumi.StringOutput `pulumi:"initialPassword"` // The name of the initial user created on the server (optional; this will default to the template's defaultUsername and // fallback to civo) InitialUser pulumi.StringPtrOutput `pulumi:"initialUser"` // This must be the ID of the network from the network listing (optional; default network used when not specified) NetworkId pulumi.StringOutput `pulumi:"networkId"` // Add some notes to the instance Notes pulumi.StringPtrOutput `pulumi:"notes"` // (String) Instance's private IP address PrivateIp pulumi.StringOutput `pulumi:"privateIp"` // The private IPv4 address for the instance (optional) PrivateIpv4 pulumi.StringPtrOutput `pulumi:"privateIpv4"` // (String) Instance's public IP address PublicIp pulumi.StringOutput `pulumi:"publicIp"` // This should be either 'none' or 'create' (default: 'create') PublicIpRequired pulumi.StringPtrOutput `pulumi:"publicIpRequired"` // (Number) Instance's RAM (MB) RamMb pulumi.IntOutput `pulumi:"ramMb"` // The region for the instance, if not declare we use the region in declared in the provider Region pulumi.StringPtrOutput `pulumi:"region"` // Can be either the UUID, name, or the IP address of the reserved IP ReservedIpv4 pulumi.StringPtrOutput `pulumi:"reservedIpv4"` // A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if // unspecified) ReverseDns pulumi.StringPtrOutput `pulumi:"reverseDns"` // The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, // read/write/executable only by root and then will be executed at the end of the cloud initialization Script pulumi.StringPtrOutput `pulumi:"script"` // The name of the size, from the current list, e.g. g3.xsmall Size pulumi.StringPtrOutput `pulumi:"size"` // (String) Instance's source ID SourceId pulumi.StringOutput `pulumi:"sourceId"` // (String) Instance's source type SourceType pulumi.StringOutput `pulumi:"sourceType"` // The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a // random password will be set and returned in the initialPassword field) SshkeyId pulumi.StringOutput `pulumi:"sshkeyId"` // (String) Instance's status Status pulumi.StringOutput `pulumi:"status"` // An optional list of tags, represented as a key, value pair Tags pulumi.StringArrayOutput `pulumi:"tags"` // The type of volume to use, either 'ssd' or 'bssd' (optional; default 'ssd') VolumeType pulumi.StringPtrOutput `pulumi:"volumeType"` WritePassword pulumi.BoolPtrOutput `pulumi:"writePassword"` }
Provides a Civo instance resource. This can be used to create, modify, and delete instances.
## Example Usage
* View instances after creation on the [CLI](https://www.civo.com/docs/overview/civo-cli): * View instances after creation on the [Dashboard](https://dashboard.civo.com/instances) * View node sizes on [CLI](https://www.civo.com/docs/overview/civo-cli):
### Simple and smallest instance with its own network
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleNetwork, err := civo.NewNetwork(ctx, "example", &civo.NetworkArgs{ Label: pulumi.String("example-network"), }) if err != nil { return err } example, err := civo.NewFirewall(ctx, "example", &civo.FirewallArgs{ Name: pulumi.String("example-firewall"), CreateDefaultRules: pulumi.Bool(true), NetworkId: exampleNetwork.ID(), }) if err != nil { return err } // Query instance disk image debian, err := civo.GetDiskImage(ctx, &civo.GetDiskImageArgs{ Filters: []civo.GetDiskImageFilter{ { Key: "name", Values: []string{ "debian-10", }, }, }, }, nil) if err != nil { return err } // Create a new instance _, err = civo.NewInstance(ctx, "example", &civo.InstanceArgs{ Hostname: pulumi.String("example"), Tags: pulumi.StringArray{ pulumi.String("example"), pulumi.String("documentation"), }, Notes: pulumi.String("This is an example instance"), FirewallId: example.ID(), NetworkId: exampleNetwork.ID(), Size: pulumi.String("g3.xsmall"), DiskImage: pulumi.String(debian.Diskimages[0].Id), }) if err != nil { return err } return nil }) }
```
With this configuration, an initial password for the instance gets written to the state on output `initialPassword` which you can use to access the instance.
Alternative you can get the password with the [CLI](https://www.civo.com/docs/overview/civo-cli):
### Instance with ssh login
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleNetwork, err := civo.NewNetwork(ctx, "example", &civo.NetworkArgs{ Label: pulumi.String("example-network"), }) if err != nil { return err } example, err := civo.NewFirewall(ctx, "example", &civo.FirewallArgs{ Name: pulumi.String("example-firewall"), CreateDefaultRules: pulumi.Bool(true), NetworkId: exampleNetwork.ID(), }) if err != nil { return err } // Query instance disk image debian, err := civo.GetDiskImage(ctx, &civo.GetDiskImageArgs{ Filters: []civo.GetDiskImageFilter{ { Key: "name", Values: []string{ "debian-10", }, }, }, }, nil) if err != nil { return err } invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "~/.ssh/example-tf.pub", }, nil) if err != nil { return err } // To create the example key, run this command: // ssh-keygen -f ~/.ssh/example-tf -C "terraform-example@localmachine" exampleSshKey, err := civo.NewSshKey(ctx, "example", &civo.SshKeyArgs{ Name: pulumi.String("example"), PublicKey: pulumi.String(invokeFile.Result), }) if err != nil { return err } // Create a new instance _, err = civo.NewInstance(ctx, "example", &civo.InstanceArgs{ Hostname: pulumi.String("example"), Tags: pulumi.StringArray{ pulumi.String("example"), pulumi.String("documentation"), }, Notes: pulumi.String("This is an example instance"), SshkeyId: exampleSshKey.ID(), FirewallId: example.ID(), NetworkId: exampleNetwork.ID(), Size: pulumi.String("g3.xsmall"), DiskImage: pulumi.String(debian.Diskimages[0].Id), VolumeType: pulumi.String("csi-s3"), }) if err != nil { return err } return nil }) }
```
## Import
using ID
```sh $ pulumi import civo:index/instance:Instance example 18bd98ad-1b6e-4f87-b48f-e690b4fd7413 ```
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 { // The ID for the disk image to use to build the instance DiskImage pulumi.StringInput // The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open // to all) FirewallId pulumi.StringInput // A fully qualified domain name that should be set as the instance's hostname Hostname pulumi.StringPtrInput // The name of the initial user created on the server (optional; this will default to the template's defaultUsername and // fallback to civo) InitialUser pulumi.StringPtrInput // This must be the ID of the network from the network listing (optional; default network used when not specified) NetworkId pulumi.StringPtrInput // Add some notes to the instance Notes pulumi.StringPtrInput // The private IPv4 address for the instance (optional) PrivateIpv4 pulumi.StringPtrInput // This should be either 'none' or 'create' (default: 'create') PublicIpRequired pulumi.StringPtrInput // The region for the instance, if not declare we use the region in declared in the provider Region pulumi.StringPtrInput // Can be either the UUID, name, or the IP address of the reserved IP ReservedIpv4 pulumi.StringPtrInput // A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if // unspecified) ReverseDns pulumi.StringPtrInput // The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, // read/write/executable only by root and then will be executed at the end of the cloud initialization Script pulumi.StringPtrInput // The name of the size, from the current list, e.g. g3.xsmall Size pulumi.StringPtrInput // The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a // random password will be set and returned in the initialPassword field) SshkeyId pulumi.StringPtrInput // An optional list of tags, represented as a key, value pair Tags pulumi.StringArrayInput // The type of volume to use, either 'ssd' or 'bssd' (optional; default 'ssd') VolumeType pulumi.StringPtrInput WritePassword pulumi.BoolPtrInput }
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) CpuCores ¶ added in v2.2.3
func (o InstanceOutput) CpuCores() pulumi.IntOutput
(Number) Instance's CPU cores
func (InstanceOutput) CreatedAt ¶ added in v2.2.3
func (o InstanceOutput) CreatedAt() pulumi.StringOutput
(String) Timestamp when the instance was created
func (InstanceOutput) DiskGb ¶ added in v2.2.3
func (o InstanceOutput) DiskGb() pulumi.IntOutput
(Number) Instance's disk (GB)
func (InstanceOutput) DiskImage ¶ added in v2.2.3
func (o InstanceOutput) DiskImage() pulumi.StringOutput
The ID for the disk image to use to build the instance
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) FirewallId ¶ added in v2.2.3
func (o InstanceOutput) FirewallId() pulumi.StringOutput
The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
func (InstanceOutput) Hostname ¶ added in v2.2.3
func (o InstanceOutput) Hostname() pulumi.StringOutput
A fully qualified domain name that should be set as the instance's hostname
func (InstanceOutput) InitialPassword ¶ added in v2.2.3
func (o InstanceOutput) InitialPassword() pulumi.StringOutput
(String, Sensitive) Initial password for login
func (InstanceOutput) InitialUser ¶ added in v2.2.3
func (o InstanceOutput) InitialUser() pulumi.StringPtrOutput
The name of the initial user created on the server (optional; this will default to the template's defaultUsername and fallback to civo)
func (InstanceOutput) NetworkId ¶ added in v2.2.3
func (o InstanceOutput) NetworkId() pulumi.StringOutput
This must be the ID of the network from the network listing (optional; default network used when not specified)
func (InstanceOutput) Notes ¶ added in v2.2.3
func (o InstanceOutput) Notes() pulumi.StringPtrOutput
Add some notes to the instance
func (InstanceOutput) PrivateIp ¶ added in v2.2.3
func (o InstanceOutput) PrivateIp() pulumi.StringOutput
(String) Instance's private IP address
func (InstanceOutput) PrivateIpv4 ¶ added in v2.3.16
func (o InstanceOutput) PrivateIpv4() pulumi.StringPtrOutput
The private IPv4 address for the instance (optional)
func (InstanceOutput) PublicIp ¶ added in v2.2.3
func (o InstanceOutput) PublicIp() pulumi.StringOutput
(String) Instance's public IP address
func (InstanceOutput) PublicIpRequired ¶ added in v2.2.3
func (o InstanceOutput) PublicIpRequired() pulumi.StringPtrOutput
This should be either 'none' or 'create' (default: 'create')
func (InstanceOutput) RamMb ¶ added in v2.2.3
func (o InstanceOutput) RamMb() pulumi.IntOutput
(Number) Instance's RAM (MB)
func (InstanceOutput) Region ¶ added in v2.2.3
func (o InstanceOutput) Region() pulumi.StringPtrOutput
The region for the instance, if not declare we use the region in declared in the provider
func (InstanceOutput) ReservedIpv4 ¶ added in v2.3.15
func (o InstanceOutput) ReservedIpv4() pulumi.StringPtrOutput
Can be either the UUID, name, or the IP address of the reserved IP
func (InstanceOutput) ReverseDns ¶ added in v2.2.3
func (o InstanceOutput) ReverseDns() pulumi.StringPtrOutput
A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
func (InstanceOutput) Script ¶ added in v2.2.3
func (o InstanceOutput) Script() pulumi.StringPtrOutput
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
func (InstanceOutput) Size ¶ added in v2.2.3
func (o InstanceOutput) Size() pulumi.StringPtrOutput
The name of the size, from the current list, e.g. g3.xsmall
func (InstanceOutput) SourceId ¶ added in v2.2.3
func (o InstanceOutput) SourceId() pulumi.StringOutput
(String) Instance's source ID
func (InstanceOutput) SourceType ¶ added in v2.2.3
func (o InstanceOutput) SourceType() pulumi.StringOutput
(String) Instance's source type
func (InstanceOutput) SshkeyId ¶ added in v2.2.3
func (o InstanceOutput) SshkeyId() pulumi.StringOutput
The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initialPassword field)
func (InstanceOutput) Status ¶ added in v2.2.3
func (o InstanceOutput) Status() pulumi.StringOutput
(String) Instance's status
func (InstanceOutput) Tags ¶ added in v2.2.3
func (o InstanceOutput) Tags() pulumi.StringArrayOutput
An optional list of tags, represented as a key, value pair
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) VolumeType ¶ added in v2.4.6
func (o InstanceOutput) VolumeType() pulumi.StringPtrOutput
The type of volume to use, either 'ssd' or 'bssd' (optional; default 'ssd')
func (InstanceOutput) WritePassword ¶ added in v2.4.0
func (o InstanceOutput) WritePassword() pulumi.BoolPtrOutput
type InstanceReservedIpAssignment ¶ added in v2.2.3
type InstanceReservedIpAssignment struct { pulumi.CustomResourceState // The instance id InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The region of the ip Region pulumi.StringOutput `pulumi:"region"` // The reserved ip id ReservedIpId pulumi.StringOutput `pulumi:"reservedIpId"` }
The instance reserved ip assignment resource schema definition
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Send to create a reserved IP _, err := civo.NewReservedIp(ctx, "www", &civo.ReservedIpArgs{ Name: pulumi.String("nginx-www"), }) if err != nil { return err } // We assign the reserved IP to the instance _, err = civo.NewInstanceReservedIpAssignment(ctx, "webserver-www", &civo.InstanceReservedIpAssignmentArgs{ InstanceId: pulumi.Any(wwwCivoInstance.Id), ReservedIpId: pulumi.Any(web_server.Id), }) if err != nil { return err } return nil }) }
```
func GetInstanceReservedIpAssignment ¶ added in v2.2.3
func GetInstanceReservedIpAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceReservedIpAssignmentState, opts ...pulumi.ResourceOption) (*InstanceReservedIpAssignment, error)
GetInstanceReservedIpAssignment gets an existing InstanceReservedIpAssignment 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 NewInstanceReservedIpAssignment ¶ added in v2.2.3
func NewInstanceReservedIpAssignment(ctx *pulumi.Context, name string, args *InstanceReservedIpAssignmentArgs, opts ...pulumi.ResourceOption) (*InstanceReservedIpAssignment, error)
NewInstanceReservedIpAssignment registers a new resource with the given unique name, arguments, and options.
func (*InstanceReservedIpAssignment) ElementType ¶ added in v2.2.3
func (*InstanceReservedIpAssignment) ElementType() reflect.Type
func (*InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutput ¶ added in v2.2.3
func (i *InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutput() InstanceReservedIpAssignmentOutput
func (*InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutputWithContext ¶ added in v2.2.3
func (i *InstanceReservedIpAssignment) ToInstanceReservedIpAssignmentOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentOutput
type InstanceReservedIpAssignmentArgs ¶ added in v2.2.3
type InstanceReservedIpAssignmentArgs struct { // The instance id InstanceId pulumi.StringInput // The region of the ip Region pulumi.StringPtrInput // The reserved ip id ReservedIpId pulumi.StringInput }
The set of arguments for constructing a InstanceReservedIpAssignment resource.
func (InstanceReservedIpAssignmentArgs) ElementType ¶ added in v2.2.3
func (InstanceReservedIpAssignmentArgs) ElementType() reflect.Type
type InstanceReservedIpAssignmentArray ¶ added in v2.2.3
type InstanceReservedIpAssignmentArray []InstanceReservedIpAssignmentInput
func (InstanceReservedIpAssignmentArray) ElementType ¶ added in v2.2.3
func (InstanceReservedIpAssignmentArray) ElementType() reflect.Type
func (InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutput ¶ added in v2.2.3
func (i InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutput() InstanceReservedIpAssignmentArrayOutput
func (InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutputWithContext ¶ added in v2.2.3
func (i InstanceReservedIpAssignmentArray) ToInstanceReservedIpAssignmentArrayOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentArrayOutput
type InstanceReservedIpAssignmentArrayInput ¶ added in v2.2.3
type InstanceReservedIpAssignmentArrayInput interface { pulumi.Input ToInstanceReservedIpAssignmentArrayOutput() InstanceReservedIpAssignmentArrayOutput ToInstanceReservedIpAssignmentArrayOutputWithContext(context.Context) InstanceReservedIpAssignmentArrayOutput }
InstanceReservedIpAssignmentArrayInput is an input type that accepts InstanceReservedIpAssignmentArray and InstanceReservedIpAssignmentArrayOutput values. You can construct a concrete instance of `InstanceReservedIpAssignmentArrayInput` via:
InstanceReservedIpAssignmentArray{ InstanceReservedIpAssignmentArgs{...} }
type InstanceReservedIpAssignmentArrayOutput ¶ added in v2.2.3
type InstanceReservedIpAssignmentArrayOutput struct{ *pulumi.OutputState }
func (InstanceReservedIpAssignmentArrayOutput) ElementType ¶ added in v2.2.3
func (InstanceReservedIpAssignmentArrayOutput) ElementType() reflect.Type
func (InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutput ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutput() InstanceReservedIpAssignmentArrayOutput
func (InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutputWithContext ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentArrayOutput) ToInstanceReservedIpAssignmentArrayOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentArrayOutput
type InstanceReservedIpAssignmentInput ¶ added in v2.2.3
type InstanceReservedIpAssignmentInput interface { pulumi.Input ToInstanceReservedIpAssignmentOutput() InstanceReservedIpAssignmentOutput ToInstanceReservedIpAssignmentOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentOutput }
type InstanceReservedIpAssignmentMap ¶ added in v2.2.3
type InstanceReservedIpAssignmentMap map[string]InstanceReservedIpAssignmentInput
func (InstanceReservedIpAssignmentMap) ElementType ¶ added in v2.2.3
func (InstanceReservedIpAssignmentMap) ElementType() reflect.Type
func (InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutput ¶ added in v2.2.3
func (i InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutput() InstanceReservedIpAssignmentMapOutput
func (InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutputWithContext ¶ added in v2.2.3
func (i InstanceReservedIpAssignmentMap) ToInstanceReservedIpAssignmentMapOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentMapOutput
type InstanceReservedIpAssignmentMapInput ¶ added in v2.2.3
type InstanceReservedIpAssignmentMapInput interface { pulumi.Input ToInstanceReservedIpAssignmentMapOutput() InstanceReservedIpAssignmentMapOutput ToInstanceReservedIpAssignmentMapOutputWithContext(context.Context) InstanceReservedIpAssignmentMapOutput }
InstanceReservedIpAssignmentMapInput is an input type that accepts InstanceReservedIpAssignmentMap and InstanceReservedIpAssignmentMapOutput values. You can construct a concrete instance of `InstanceReservedIpAssignmentMapInput` via:
InstanceReservedIpAssignmentMap{ "key": InstanceReservedIpAssignmentArgs{...} }
type InstanceReservedIpAssignmentMapOutput ¶ added in v2.2.3
type InstanceReservedIpAssignmentMapOutput struct{ *pulumi.OutputState }
func (InstanceReservedIpAssignmentMapOutput) ElementType ¶ added in v2.2.3
func (InstanceReservedIpAssignmentMapOutput) ElementType() reflect.Type
func (InstanceReservedIpAssignmentMapOutput) MapIndex ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentMapOutput) MapIndex(k pulumi.StringInput) InstanceReservedIpAssignmentOutput
func (InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutput ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutput() InstanceReservedIpAssignmentMapOutput
func (InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutputWithContext ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentMapOutput) ToInstanceReservedIpAssignmentMapOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentMapOutput
type InstanceReservedIpAssignmentOutput ¶ added in v2.2.3
type InstanceReservedIpAssignmentOutput struct{ *pulumi.OutputState }
func (InstanceReservedIpAssignmentOutput) ElementType ¶ added in v2.2.3
func (InstanceReservedIpAssignmentOutput) ElementType() reflect.Type
func (InstanceReservedIpAssignmentOutput) InstanceId ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentOutput) InstanceId() pulumi.StringOutput
The instance id
func (InstanceReservedIpAssignmentOutput) Region ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentOutput) Region() pulumi.StringOutput
The region of the ip
func (InstanceReservedIpAssignmentOutput) ReservedIpId ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentOutput) ReservedIpId() pulumi.StringOutput
The reserved ip id
func (InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutput ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutput() InstanceReservedIpAssignmentOutput
func (InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutputWithContext ¶ added in v2.2.3
func (o InstanceReservedIpAssignmentOutput) ToInstanceReservedIpAssignmentOutputWithContext(ctx context.Context) InstanceReservedIpAssignmentOutput
type InstanceReservedIpAssignmentState ¶ added in v2.2.3
type InstanceReservedIpAssignmentState struct { // The instance id InstanceId pulumi.StringPtrInput // The region of the ip Region pulumi.StringPtrInput // The reserved ip id ReservedIpId pulumi.StringPtrInput }
func (InstanceReservedIpAssignmentState) ElementType ¶ added in v2.2.3
func (InstanceReservedIpAssignmentState) ElementType() reflect.Type
type InstanceState ¶
type InstanceState struct { // (Number) Instance's CPU cores CpuCores pulumi.IntPtrInput // (String) Timestamp when the instance was created CreatedAt pulumi.StringPtrInput // (Number) Instance's disk (GB) DiskGb pulumi.IntPtrInput // The ID for the disk image to use to build the instance DiskImage pulumi.StringPtrInput // The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open // to all) FirewallId pulumi.StringPtrInput // A fully qualified domain name that should be set as the instance's hostname Hostname pulumi.StringPtrInput // (String, Sensitive) Initial password for login InitialPassword pulumi.StringPtrInput // The name of the initial user created on the server (optional; this will default to the template's defaultUsername and // fallback to civo) InitialUser pulumi.StringPtrInput // This must be the ID of the network from the network listing (optional; default network used when not specified) NetworkId pulumi.StringPtrInput // Add some notes to the instance Notes pulumi.StringPtrInput // (String) Instance's private IP address PrivateIp pulumi.StringPtrInput // The private IPv4 address for the instance (optional) PrivateIpv4 pulumi.StringPtrInput // (String) Instance's public IP address PublicIp pulumi.StringPtrInput // This should be either 'none' or 'create' (default: 'create') PublicIpRequired pulumi.StringPtrInput // (Number) Instance's RAM (MB) RamMb pulumi.IntPtrInput // The region for the instance, if not declare we use the region in declared in the provider Region pulumi.StringPtrInput // Can be either the UUID, name, or the IP address of the reserved IP ReservedIpv4 pulumi.StringPtrInput // A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if // unspecified) ReverseDns pulumi.StringPtrInput // The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, // read/write/executable only by root and then will be executed at the end of the cloud initialization Script pulumi.StringPtrInput // The name of the size, from the current list, e.g. g3.xsmall Size pulumi.StringPtrInput // (String) Instance's source ID SourceId pulumi.StringPtrInput // (String) Instance's source type SourceType pulumi.StringPtrInput // The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a // random password will be set and returned in the initialPassword field) SshkeyId pulumi.StringPtrInput // (String) Instance's status Status pulumi.StringPtrInput // An optional list of tags, represented as a key, value pair Tags pulumi.StringArrayInput // The type of volume to use, either 'ssd' or 'bssd' (optional; default 'ssd') VolumeType pulumi.StringPtrInput WritePassword pulumi.BoolPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type KubernetesCluster ¶
type KubernetesCluster struct { pulumi.CustomResourceState // (String) The API server endpoint of the cluster ApiEndpoint pulumi.StringOutput `pulumi:"apiEndpoint"` // Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side // of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo // kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. // For application that supports plans, you can use 'app_name:app_plan' format e.g. 'Linkerd:Linkerd & Jaeger' or // 'MariaDB:5GB'. Applications pulumi.StringPtrOutput `pulumi:"applications"` // The type of cluster to create, valid options are `k3s` or `talos` the default is `k3s` ClusterType pulumi.StringOutput `pulumi:"clusterType"` // The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel` Cni pulumi.StringOutput `pulumi:"cni"` // (String) The timestamp when the cluster was created CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // (String) The DNS name of the cluster DnsEntry pulumi.StringOutput `pulumi:"dnsEntry"` // The existing firewall ID to use for this cluster FirewallId pulumi.StringOutput `pulumi:"firewallId"` // (List of Object) (see below for nested schema) InstalledApplications KubernetesClusterInstalledApplicationArrayOutput `pulumi:"installedApplications"` // (String, Sensitive) The kubeconfig of the cluster Kubeconfig pulumi.StringOutput `pulumi:"kubeconfig"` // The version of k3s to install (optional, the default is currently the latest stable available) KubernetesVersion pulumi.StringOutput `pulumi:"kubernetesVersion"` // (String) The IP address of the master node MasterIp pulumi.StringOutput `pulumi:"masterIp"` // Name for your cluster, must be unique within your account Name pulumi.StringOutput `pulumi:"name"` // The network for the cluster, if not declare we use the default one NetworkId pulumi.StringOutput `pulumi:"networkId"` // The number of instances to create (optional, the default at the time of writing is 3) // // Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead NumTargetNodes pulumi.IntOutput `pulumi:"numTargetNodes"` Pools KubernetesClusterPoolsOutput `pulumi:"pools"` // (Boolean) When cluster is ready, this will return `true` Ready pulumi.BoolOutput `pulumi:"ready"` // The region for the cluster, if not declare we use the region in declared in the provider Region pulumi.StringOutput `pulumi:"region"` // (String) Status of the cluster Status pulumi.StringOutput `pulumi:"status"` // Space separated list of tags, to be used freely as required Tags pulumi.StringPtrOutput `pulumi:"tags"` // The size of each node (optional, the default is currently g4s.kube.medium) // // Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead TargetNodesSize pulumi.StringOutput `pulumi:"targetNodesSize"` // Whether to write the kubeconfig to state WriteKubeconfig pulumi.BoolPtrOutput `pulumi:"writeKubeconfig"` }
## Import
using ID
```sh $ pulumi import civo:index/kubernetesCluster:KubernetesCluster my-cluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af ```
func GetKubernetesCluster ¶
func GetKubernetesCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KubernetesClusterState, opts ...pulumi.ResourceOption) (*KubernetesCluster, error)
GetKubernetesCluster gets an existing KubernetesCluster 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 NewKubernetesCluster ¶
func NewKubernetesCluster(ctx *pulumi.Context, name string, args *KubernetesClusterArgs, opts ...pulumi.ResourceOption) (*KubernetesCluster, error)
NewKubernetesCluster registers a new resource with the given unique name, arguments, and options.
func (*KubernetesCluster) ElementType ¶
func (*KubernetesCluster) ElementType() reflect.Type
func (*KubernetesCluster) ToKubernetesClusterOutput ¶
func (i *KubernetesCluster) ToKubernetesClusterOutput() KubernetesClusterOutput
func (*KubernetesCluster) ToKubernetesClusterOutputWithContext ¶
func (i *KubernetesCluster) ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput
type KubernetesClusterArgs ¶
type KubernetesClusterArgs struct { // Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side // of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo // kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. // For application that supports plans, you can use 'app_name:app_plan' format e.g. 'Linkerd:Linkerd & Jaeger' or // 'MariaDB:5GB'. Applications pulumi.StringPtrInput // The type of cluster to create, valid options are `k3s` or `talos` the default is `k3s` ClusterType pulumi.StringPtrInput // The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel` Cni pulumi.StringPtrInput // The existing firewall ID to use for this cluster FirewallId pulumi.StringInput // The version of k3s to install (optional, the default is currently the latest stable available) KubernetesVersion pulumi.StringPtrInput // Name for your cluster, must be unique within your account Name pulumi.StringPtrInput // The network for the cluster, if not declare we use the default one NetworkId pulumi.StringPtrInput // The number of instances to create (optional, the default at the time of writing is 3) // // Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead NumTargetNodes pulumi.IntPtrInput Pools KubernetesClusterPoolsInput // The region for the cluster, if not declare we use the region in declared in the provider Region pulumi.StringPtrInput // Space separated list of tags, to be used freely as required Tags pulumi.StringPtrInput // The size of each node (optional, the default is currently g4s.kube.medium) // // Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead TargetNodesSize pulumi.StringPtrInput // Whether to write the kubeconfig to state WriteKubeconfig pulumi.BoolPtrInput }
The set of arguments for constructing a KubernetesCluster resource.
func (KubernetesClusterArgs) ElementType ¶
func (KubernetesClusterArgs) ElementType() reflect.Type
type KubernetesClusterArray ¶
type KubernetesClusterArray []KubernetesClusterInput
func (KubernetesClusterArray) ElementType ¶
func (KubernetesClusterArray) ElementType() reflect.Type
func (KubernetesClusterArray) ToKubernetesClusterArrayOutput ¶
func (i KubernetesClusterArray) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput
func (KubernetesClusterArray) ToKubernetesClusterArrayOutputWithContext ¶
func (i KubernetesClusterArray) ToKubernetesClusterArrayOutputWithContext(ctx context.Context) KubernetesClusterArrayOutput
type KubernetesClusterArrayInput ¶
type KubernetesClusterArrayInput interface { pulumi.Input ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput ToKubernetesClusterArrayOutputWithContext(context.Context) KubernetesClusterArrayOutput }
KubernetesClusterArrayInput is an input type that accepts KubernetesClusterArray and KubernetesClusterArrayOutput values. You can construct a concrete instance of `KubernetesClusterArrayInput` via:
KubernetesClusterArray{ KubernetesClusterArgs{...} }
type KubernetesClusterArrayOutput ¶
type KubernetesClusterArrayOutput struct{ *pulumi.OutputState }
func (KubernetesClusterArrayOutput) ElementType ¶
func (KubernetesClusterArrayOutput) ElementType() reflect.Type
func (KubernetesClusterArrayOutput) Index ¶
func (o KubernetesClusterArrayOutput) Index(i pulumi.IntInput) KubernetesClusterOutput
func (KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput ¶
func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput
func (KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutputWithContext ¶
func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutputWithContext(ctx context.Context) KubernetesClusterArrayOutput
type KubernetesClusterInput ¶
type KubernetesClusterInput interface { pulumi.Input ToKubernetesClusterOutput() KubernetesClusterOutput ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput }
type KubernetesClusterInstalledApplication ¶
type KubernetesClusterInstalledApplication struct { // (String) name of the application Application *string `pulumi:"application"` // (String) category of the application Category *string `pulumi:"category"` // (Boolean) whether application is installed or not Installed *bool `pulumi:"installed"` // (String) version of the application Version *string `pulumi:"version"` }
type KubernetesClusterInstalledApplicationArgs ¶
type KubernetesClusterInstalledApplicationArgs struct { // (String) name of the application Application pulumi.StringPtrInput `pulumi:"application"` // (String) category of the application Category pulumi.StringPtrInput `pulumi:"category"` // (Boolean) whether application is installed or not Installed pulumi.BoolPtrInput `pulumi:"installed"` // (String) version of the application Version pulumi.StringPtrInput `pulumi:"version"` }
func (KubernetesClusterInstalledApplicationArgs) ElementType ¶
func (KubernetesClusterInstalledApplicationArgs) ElementType() reflect.Type
func (KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutput ¶
func (i KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput
func (KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutputWithContext ¶
func (i KubernetesClusterInstalledApplicationArgs) ToKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationOutput
type KubernetesClusterInstalledApplicationArray ¶
type KubernetesClusterInstalledApplicationArray []KubernetesClusterInstalledApplicationInput
func (KubernetesClusterInstalledApplicationArray) ElementType ¶
func (KubernetesClusterInstalledApplicationArray) ElementType() reflect.Type
func (KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutput ¶
func (i KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutput() KubernetesClusterInstalledApplicationArrayOutput
func (KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutputWithContext ¶
func (i KubernetesClusterInstalledApplicationArray) ToKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationArrayOutput
type KubernetesClusterInstalledApplicationArrayInput ¶
type KubernetesClusterInstalledApplicationArrayInput interface { pulumi.Input ToKubernetesClusterInstalledApplicationArrayOutput() KubernetesClusterInstalledApplicationArrayOutput ToKubernetesClusterInstalledApplicationArrayOutputWithContext(context.Context) KubernetesClusterInstalledApplicationArrayOutput }
KubernetesClusterInstalledApplicationArrayInput is an input type that accepts KubernetesClusterInstalledApplicationArray and KubernetesClusterInstalledApplicationArrayOutput values. You can construct a concrete instance of `KubernetesClusterInstalledApplicationArrayInput` via:
KubernetesClusterInstalledApplicationArray{ KubernetesClusterInstalledApplicationArgs{...} }
type KubernetesClusterInstalledApplicationArrayOutput ¶
type KubernetesClusterInstalledApplicationArrayOutput struct{ *pulumi.OutputState }
func (KubernetesClusterInstalledApplicationArrayOutput) ElementType ¶
func (KubernetesClusterInstalledApplicationArrayOutput) ElementType() reflect.Type
func (KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutput ¶
func (o KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutput() KubernetesClusterInstalledApplicationArrayOutput
func (KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutputWithContext ¶
func (o KubernetesClusterInstalledApplicationArrayOutput) ToKubernetesClusterInstalledApplicationArrayOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationArrayOutput
type KubernetesClusterInstalledApplicationInput ¶
type KubernetesClusterInstalledApplicationInput interface { pulumi.Input ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput ToKubernetesClusterInstalledApplicationOutputWithContext(context.Context) KubernetesClusterInstalledApplicationOutput }
KubernetesClusterInstalledApplicationInput is an input type that accepts KubernetesClusterInstalledApplicationArgs and KubernetesClusterInstalledApplicationOutput values. You can construct a concrete instance of `KubernetesClusterInstalledApplicationInput` via:
KubernetesClusterInstalledApplicationArgs{...}
type KubernetesClusterInstalledApplicationOutput ¶
type KubernetesClusterInstalledApplicationOutput struct{ *pulumi.OutputState }
func (KubernetesClusterInstalledApplicationOutput) Application ¶
func (o KubernetesClusterInstalledApplicationOutput) Application() pulumi.StringPtrOutput
(String) name of the application
func (KubernetesClusterInstalledApplicationOutput) Category ¶
func (o KubernetesClusterInstalledApplicationOutput) Category() pulumi.StringPtrOutput
(String) category of the application
func (KubernetesClusterInstalledApplicationOutput) ElementType ¶
func (KubernetesClusterInstalledApplicationOutput) ElementType() reflect.Type
func (KubernetesClusterInstalledApplicationOutput) Installed ¶
func (o KubernetesClusterInstalledApplicationOutput) Installed() pulumi.BoolPtrOutput
(Boolean) whether application is installed or not
func (KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutput ¶
func (o KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutput() KubernetesClusterInstalledApplicationOutput
func (KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutputWithContext ¶
func (o KubernetesClusterInstalledApplicationOutput) ToKubernetesClusterInstalledApplicationOutputWithContext(ctx context.Context) KubernetesClusterInstalledApplicationOutput
func (KubernetesClusterInstalledApplicationOutput) Version ¶
func (o KubernetesClusterInstalledApplicationOutput) Version() pulumi.StringPtrOutput
(String) version of the application
type KubernetesClusterMap ¶
type KubernetesClusterMap map[string]KubernetesClusterInput
func (KubernetesClusterMap) ElementType ¶
func (KubernetesClusterMap) ElementType() reflect.Type
func (KubernetesClusterMap) ToKubernetesClusterMapOutput ¶
func (i KubernetesClusterMap) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput
func (KubernetesClusterMap) ToKubernetesClusterMapOutputWithContext ¶
func (i KubernetesClusterMap) ToKubernetesClusterMapOutputWithContext(ctx context.Context) KubernetesClusterMapOutput
type KubernetesClusterMapInput ¶
type KubernetesClusterMapInput interface { pulumi.Input ToKubernetesClusterMapOutput() KubernetesClusterMapOutput ToKubernetesClusterMapOutputWithContext(context.Context) KubernetesClusterMapOutput }
KubernetesClusterMapInput is an input type that accepts KubernetesClusterMap and KubernetesClusterMapOutput values. You can construct a concrete instance of `KubernetesClusterMapInput` via:
KubernetesClusterMap{ "key": KubernetesClusterArgs{...} }
type KubernetesClusterMapOutput ¶
type KubernetesClusterMapOutput struct{ *pulumi.OutputState }
func (KubernetesClusterMapOutput) ElementType ¶
func (KubernetesClusterMapOutput) ElementType() reflect.Type
func (KubernetesClusterMapOutput) MapIndex ¶
func (o KubernetesClusterMapOutput) MapIndex(k pulumi.StringInput) KubernetesClusterOutput
func (KubernetesClusterMapOutput) ToKubernetesClusterMapOutput ¶
func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput
func (KubernetesClusterMapOutput) ToKubernetesClusterMapOutputWithContext ¶
func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutputWithContext(ctx context.Context) KubernetesClusterMapOutput
type KubernetesClusterOutput ¶
type KubernetesClusterOutput struct{ *pulumi.OutputState }
func (KubernetesClusterOutput) ApiEndpoint ¶ added in v2.2.3
func (o KubernetesClusterOutput) ApiEndpoint() pulumi.StringOutput
(String) The API server endpoint of the cluster
func (KubernetesClusterOutput) Applications ¶ added in v2.2.3
func (o KubernetesClusterOutput) Applications() pulumi.StringPtrOutput
Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. For application that supports plans, you can use 'app_name:app_plan' format e.g. 'Linkerd:Linkerd & Jaeger' or 'MariaDB:5GB'.
func (KubernetesClusterOutput) ClusterType ¶ added in v2.3.3
func (o KubernetesClusterOutput) ClusterType() pulumi.StringOutput
The type of cluster to create, valid options are `k3s` or `talos` the default is `k3s`
func (KubernetesClusterOutput) Cni ¶ added in v2.2.3
func (o KubernetesClusterOutput) Cni() pulumi.StringOutput
The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel`
func (KubernetesClusterOutput) CreatedAt ¶ added in v2.2.3
func (o KubernetesClusterOutput) CreatedAt() pulumi.StringOutput
(String) The timestamp when the cluster was created
func (KubernetesClusterOutput) DnsEntry ¶ added in v2.2.3
func (o KubernetesClusterOutput) DnsEntry() pulumi.StringOutput
(String) The DNS name of the cluster
func (KubernetesClusterOutput) ElementType ¶
func (KubernetesClusterOutput) ElementType() reflect.Type
func (KubernetesClusterOutput) FirewallId ¶ added in v2.2.3
func (o KubernetesClusterOutput) FirewallId() pulumi.StringOutput
The existing firewall ID to use for this cluster
func (KubernetesClusterOutput) InstalledApplications ¶ added in v2.2.3
func (o KubernetesClusterOutput) InstalledApplications() KubernetesClusterInstalledApplicationArrayOutput
(List of Object) (see below for nested schema)
func (KubernetesClusterOutput) Kubeconfig ¶ added in v2.2.3
func (o KubernetesClusterOutput) Kubeconfig() pulumi.StringOutput
(String, Sensitive) The kubeconfig of the cluster
func (KubernetesClusterOutput) KubernetesVersion ¶ added in v2.2.3
func (o KubernetesClusterOutput) KubernetesVersion() pulumi.StringOutput
The version of k3s to install (optional, the default is currently the latest stable available)
func (KubernetesClusterOutput) MasterIp ¶ added in v2.2.3
func (o KubernetesClusterOutput) MasterIp() pulumi.StringOutput
(String) The IP address of the master node
func (KubernetesClusterOutput) Name ¶ added in v2.2.3
func (o KubernetesClusterOutput) Name() pulumi.StringOutput
Name for your cluster, must be unique within your account
func (KubernetesClusterOutput) NetworkId ¶ added in v2.2.3
func (o KubernetesClusterOutput) NetworkId() pulumi.StringOutput
The network for the cluster, if not declare we use the default one
func (KubernetesClusterOutput) NumTargetNodes
deprecated
added in
v2.2.3
func (o KubernetesClusterOutput) NumTargetNodes() pulumi.IntOutput
The number of instances to create (optional, the default at the time of writing is 3)
Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead
func (KubernetesClusterOutput) Pools ¶ added in v2.2.3
func (o KubernetesClusterOutput) Pools() KubernetesClusterPoolsOutput
func (KubernetesClusterOutput) Ready ¶ added in v2.2.3
func (o KubernetesClusterOutput) Ready() pulumi.BoolOutput
(Boolean) When cluster is ready, this will return `true`
func (KubernetesClusterOutput) Region ¶ added in v2.2.3
func (o KubernetesClusterOutput) Region() pulumi.StringOutput
The region for the cluster, if not declare we use the region in declared in the provider
func (KubernetesClusterOutput) Status ¶ added in v2.2.3
func (o KubernetesClusterOutput) Status() pulumi.StringOutput
(String) Status of the cluster
func (KubernetesClusterOutput) Tags ¶ added in v2.2.3
func (o KubernetesClusterOutput) Tags() pulumi.StringPtrOutput
Space separated list of tags, to be used freely as required
func (KubernetesClusterOutput) TargetNodesSize
deprecated
added in
v2.2.3
func (o KubernetesClusterOutput) TargetNodesSize() pulumi.StringOutput
The size of each node (optional, the default is currently g4s.kube.medium)
Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead
func (KubernetesClusterOutput) ToKubernetesClusterOutput ¶
func (o KubernetesClusterOutput) ToKubernetesClusterOutput() KubernetesClusterOutput
func (KubernetesClusterOutput) ToKubernetesClusterOutputWithContext ¶
func (o KubernetesClusterOutput) ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput
func (KubernetesClusterOutput) WriteKubeconfig ¶ added in v2.4.0
func (o KubernetesClusterOutput) WriteKubeconfig() pulumi.BoolPtrOutput
Whether to write the kubeconfig to state
type KubernetesClusterPools ¶ added in v2.2.1
type KubernetesClusterPools struct { // Instance names in the nodepool InstanceNames []string `pulumi:"instanceNames"` // Node pool label, if you don't provide one, we will generate one for you Label *string `pulumi:"label"` Labels map[string]string `pulumi:"labels"` // Number of nodes in the nodepool NodeCount int `pulumi:"nodeCount"` // Node pool belongs to the public ip node pool PublicIpNodePool *bool `pulumi:"publicIpNodePool"` // Size of the nodes in the nodepool Size string `pulumi:"size"` // (see below for nested schema) // // Read-Only Output: Taints []KubernetesClusterPoolsTaint `pulumi:"taints"` }
type KubernetesClusterPoolsArgs ¶ added in v2.2.1
type KubernetesClusterPoolsArgs struct { // Instance names in the nodepool InstanceNames pulumi.StringArrayInput `pulumi:"instanceNames"` // Node pool label, if you don't provide one, we will generate one for you Label pulumi.StringPtrInput `pulumi:"label"` Labels pulumi.StringMapInput `pulumi:"labels"` // Number of nodes in the nodepool NodeCount pulumi.IntInput `pulumi:"nodeCount"` // Node pool belongs to the public ip node pool PublicIpNodePool pulumi.BoolPtrInput `pulumi:"publicIpNodePool"` // Size of the nodes in the nodepool Size pulumi.StringInput `pulumi:"size"` // (see below for nested schema) // // Read-Only Output: Taints KubernetesClusterPoolsTaintArrayInput `pulumi:"taints"` }
func (KubernetesClusterPoolsArgs) ElementType ¶ added in v2.2.1
func (KubernetesClusterPoolsArgs) ElementType() reflect.Type
func (KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutput ¶ added in v2.2.1
func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutput() KubernetesClusterPoolsOutput
func (KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutputWithContext ¶ added in v2.2.1
func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsOutputWithContext(ctx context.Context) KubernetesClusterPoolsOutput
func (KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutput ¶ added in v2.2.1
func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput
func (KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutputWithContext ¶ added in v2.2.1
func (i KubernetesClusterPoolsArgs) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput
type KubernetesClusterPoolsInput ¶ added in v2.2.1
type KubernetesClusterPoolsInput interface { pulumi.Input ToKubernetesClusterPoolsOutput() KubernetesClusterPoolsOutput ToKubernetesClusterPoolsOutputWithContext(context.Context) KubernetesClusterPoolsOutput }
KubernetesClusterPoolsInput is an input type that accepts KubernetesClusterPoolsArgs and KubernetesClusterPoolsOutput values. You can construct a concrete instance of `KubernetesClusterPoolsInput` via:
KubernetesClusterPoolsArgs{...}
type KubernetesClusterPoolsOutput ¶ added in v2.2.1
type KubernetesClusterPoolsOutput struct{ *pulumi.OutputState }
func (KubernetesClusterPoolsOutput) ElementType ¶ added in v2.2.1
func (KubernetesClusterPoolsOutput) ElementType() reflect.Type
func (KubernetesClusterPoolsOutput) InstanceNames ¶ added in v2.2.1
func (o KubernetesClusterPoolsOutput) InstanceNames() pulumi.StringArrayOutput
Instance names in the nodepool
func (KubernetesClusterPoolsOutput) Label ¶ added in v2.2.2
func (o KubernetesClusterPoolsOutput) Label() pulumi.StringPtrOutput
Node pool label, if you don't provide one, we will generate one for you
func (KubernetesClusterPoolsOutput) Labels ¶ added in v2.3.15
func (o KubernetesClusterPoolsOutput) Labels() pulumi.StringMapOutput
func (KubernetesClusterPoolsOutput) NodeCount ¶ added in v2.2.1
func (o KubernetesClusterPoolsOutput) NodeCount() pulumi.IntOutput
Number of nodes in the nodepool
func (KubernetesClusterPoolsOutput) PublicIpNodePool ¶ added in v2.3.8
func (o KubernetesClusterPoolsOutput) PublicIpNodePool() pulumi.BoolPtrOutput
Node pool belongs to the public ip node pool
func (KubernetesClusterPoolsOutput) Size ¶ added in v2.2.1
func (o KubernetesClusterPoolsOutput) Size() pulumi.StringOutput
Size of the nodes in the nodepool
func (KubernetesClusterPoolsOutput) Taints ¶ added in v2.3.15
func (o KubernetesClusterPoolsOutput) Taints() KubernetesClusterPoolsTaintArrayOutput
(see below for nested schema)
Read-Only Output:
func (KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutput ¶ added in v2.2.1
func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutput() KubernetesClusterPoolsOutput
func (KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutputWithContext ¶ added in v2.2.1
func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsOutputWithContext(ctx context.Context) KubernetesClusterPoolsOutput
func (KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutput ¶ added in v2.2.1
func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput
func (KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutputWithContext ¶ added in v2.2.1
func (o KubernetesClusterPoolsOutput) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput
type KubernetesClusterPoolsPtrInput ¶ added in v2.2.1
type KubernetesClusterPoolsPtrInput interface { pulumi.Input ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput ToKubernetesClusterPoolsPtrOutputWithContext(context.Context) KubernetesClusterPoolsPtrOutput }
KubernetesClusterPoolsPtrInput is an input type that accepts KubernetesClusterPoolsArgs, KubernetesClusterPoolsPtr and KubernetesClusterPoolsPtrOutput values. You can construct a concrete instance of `KubernetesClusterPoolsPtrInput` via:
KubernetesClusterPoolsArgs{...} or: nil
func KubernetesClusterPoolsPtr ¶ added in v2.2.1
func KubernetesClusterPoolsPtr(v *KubernetesClusterPoolsArgs) KubernetesClusterPoolsPtrInput
type KubernetesClusterPoolsPtrOutput ¶ added in v2.2.1
type KubernetesClusterPoolsPtrOutput struct{ *pulumi.OutputState }
func (KubernetesClusterPoolsPtrOutput) Elem ¶ added in v2.2.1
func (o KubernetesClusterPoolsPtrOutput) Elem() KubernetesClusterPoolsOutput
func (KubernetesClusterPoolsPtrOutput) ElementType ¶ added in v2.2.1
func (KubernetesClusterPoolsPtrOutput) ElementType() reflect.Type
func (KubernetesClusterPoolsPtrOutput) InstanceNames ¶ added in v2.2.1
func (o KubernetesClusterPoolsPtrOutput) InstanceNames() pulumi.StringArrayOutput
Instance names in the nodepool
func (KubernetesClusterPoolsPtrOutput) Label ¶ added in v2.2.2
func (o KubernetesClusterPoolsPtrOutput) Label() pulumi.StringPtrOutput
Node pool label, if you don't provide one, we will generate one for you
func (KubernetesClusterPoolsPtrOutput) Labels ¶ added in v2.3.15
func (o KubernetesClusterPoolsPtrOutput) Labels() pulumi.StringMapOutput
func (KubernetesClusterPoolsPtrOutput) NodeCount ¶ added in v2.2.1
func (o KubernetesClusterPoolsPtrOutput) NodeCount() pulumi.IntPtrOutput
Number of nodes in the nodepool
func (KubernetesClusterPoolsPtrOutput) PublicIpNodePool ¶ added in v2.3.8
func (o KubernetesClusterPoolsPtrOutput) PublicIpNodePool() pulumi.BoolPtrOutput
Node pool belongs to the public ip node pool
func (KubernetesClusterPoolsPtrOutput) Size ¶ added in v2.2.1
func (o KubernetesClusterPoolsPtrOutput) Size() pulumi.StringPtrOutput
Size of the nodes in the nodepool
func (KubernetesClusterPoolsPtrOutput) Taints ¶ added in v2.3.15
func (o KubernetesClusterPoolsPtrOutput) Taints() KubernetesClusterPoolsTaintArrayOutput
(see below for nested schema)
Read-Only Output:
func (KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutput ¶ added in v2.2.1
func (o KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutput() KubernetesClusterPoolsPtrOutput
func (KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutputWithContext ¶ added in v2.2.1
func (o KubernetesClusterPoolsPtrOutput) ToKubernetesClusterPoolsPtrOutputWithContext(ctx context.Context) KubernetesClusterPoolsPtrOutput
type KubernetesClusterPoolsTaint ¶ added in v2.3.15
type KubernetesClusterPoolsTaintArgs ¶ added in v2.3.15
type KubernetesClusterPoolsTaintArgs struct { Effect pulumi.StringInput `pulumi:"effect"` Key pulumi.StringInput `pulumi:"key"` Value pulumi.StringInput `pulumi:"value"` }
func (KubernetesClusterPoolsTaintArgs) ElementType ¶ added in v2.3.15
func (KubernetesClusterPoolsTaintArgs) ElementType() reflect.Type
func (KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutput ¶ added in v2.3.15
func (i KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutput() KubernetesClusterPoolsTaintOutput
func (KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutputWithContext ¶ added in v2.3.15
func (i KubernetesClusterPoolsTaintArgs) ToKubernetesClusterPoolsTaintOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintOutput
type KubernetesClusterPoolsTaintArray ¶ added in v2.3.15
type KubernetesClusterPoolsTaintArray []KubernetesClusterPoolsTaintInput
func (KubernetesClusterPoolsTaintArray) ElementType ¶ added in v2.3.15
func (KubernetesClusterPoolsTaintArray) ElementType() reflect.Type
func (KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutput ¶ added in v2.3.15
func (i KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutput() KubernetesClusterPoolsTaintArrayOutput
func (KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutputWithContext ¶ added in v2.3.15
func (i KubernetesClusterPoolsTaintArray) ToKubernetesClusterPoolsTaintArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintArrayOutput
type KubernetesClusterPoolsTaintArrayInput ¶ added in v2.3.15
type KubernetesClusterPoolsTaintArrayInput interface { pulumi.Input ToKubernetesClusterPoolsTaintArrayOutput() KubernetesClusterPoolsTaintArrayOutput ToKubernetesClusterPoolsTaintArrayOutputWithContext(context.Context) KubernetesClusterPoolsTaintArrayOutput }
KubernetesClusterPoolsTaintArrayInput is an input type that accepts KubernetesClusterPoolsTaintArray and KubernetesClusterPoolsTaintArrayOutput values. You can construct a concrete instance of `KubernetesClusterPoolsTaintArrayInput` via:
KubernetesClusterPoolsTaintArray{ KubernetesClusterPoolsTaintArgs{...} }
type KubernetesClusterPoolsTaintArrayOutput ¶ added in v2.3.15
type KubernetesClusterPoolsTaintArrayOutput struct{ *pulumi.OutputState }
func (KubernetesClusterPoolsTaintArrayOutput) ElementType ¶ added in v2.3.15
func (KubernetesClusterPoolsTaintArrayOutput) ElementType() reflect.Type
func (KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutput ¶ added in v2.3.15
func (o KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutput() KubernetesClusterPoolsTaintArrayOutput
func (KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutputWithContext ¶ added in v2.3.15
func (o KubernetesClusterPoolsTaintArrayOutput) ToKubernetesClusterPoolsTaintArrayOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintArrayOutput
type KubernetesClusterPoolsTaintInput ¶ added in v2.3.15
type KubernetesClusterPoolsTaintInput interface { pulumi.Input ToKubernetesClusterPoolsTaintOutput() KubernetesClusterPoolsTaintOutput ToKubernetesClusterPoolsTaintOutputWithContext(context.Context) KubernetesClusterPoolsTaintOutput }
KubernetesClusterPoolsTaintInput is an input type that accepts KubernetesClusterPoolsTaintArgs and KubernetesClusterPoolsTaintOutput values. You can construct a concrete instance of `KubernetesClusterPoolsTaintInput` via:
KubernetesClusterPoolsTaintArgs{...}
type KubernetesClusterPoolsTaintOutput ¶ added in v2.3.15
type KubernetesClusterPoolsTaintOutput struct{ *pulumi.OutputState }
func (KubernetesClusterPoolsTaintOutput) Effect ¶ added in v2.3.15
func (o KubernetesClusterPoolsTaintOutput) Effect() pulumi.StringOutput
func (KubernetesClusterPoolsTaintOutput) ElementType ¶ added in v2.3.15
func (KubernetesClusterPoolsTaintOutput) ElementType() reflect.Type
func (KubernetesClusterPoolsTaintOutput) Key ¶ added in v2.3.15
func (o KubernetesClusterPoolsTaintOutput) Key() pulumi.StringOutput
func (KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutput ¶ added in v2.3.15
func (o KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutput() KubernetesClusterPoolsTaintOutput
func (KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutputWithContext ¶ added in v2.3.15
func (o KubernetesClusterPoolsTaintOutput) ToKubernetesClusterPoolsTaintOutputWithContext(ctx context.Context) KubernetesClusterPoolsTaintOutput
func (KubernetesClusterPoolsTaintOutput) Value ¶ added in v2.3.15
func (o KubernetesClusterPoolsTaintOutput) Value() pulumi.StringOutput
type KubernetesClusterState ¶
type KubernetesClusterState struct { // (String) The API server endpoint of the cluster ApiEndpoint pulumi.StringPtrInput // Comma separated list of applications to install. Spaces within application names are fine, but shouldn't be either side // of the comma. Application names are case-sensitive; the available applications can be listed with the Civo CLI: 'civo // kubernetes applications ls'. If you want to remove a default installed application, prefix it with a '-', e.g. -Traefik. // For application that supports plans, you can use 'app_name:app_plan' format e.g. 'Linkerd:Linkerd & Jaeger' or // 'MariaDB:5GB'. Applications pulumi.StringPtrInput // The type of cluster to create, valid options are `k3s` or `talos` the default is `k3s` ClusterType pulumi.StringPtrInput // The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel` Cni pulumi.StringPtrInput // (String) The timestamp when the cluster was created CreatedAt pulumi.StringPtrInput // (String) The DNS name of the cluster DnsEntry pulumi.StringPtrInput // The existing firewall ID to use for this cluster FirewallId pulumi.StringPtrInput // (List of Object) (see below for nested schema) InstalledApplications KubernetesClusterInstalledApplicationArrayInput // (String, Sensitive) The kubeconfig of the cluster Kubeconfig pulumi.StringPtrInput // The version of k3s to install (optional, the default is currently the latest stable available) KubernetesVersion pulumi.StringPtrInput // (String) The IP address of the master node MasterIp pulumi.StringPtrInput // Name for your cluster, must be unique within your account Name pulumi.StringPtrInput // The network for the cluster, if not declare we use the default one NetworkId pulumi.StringPtrInput // The number of instances to create (optional, the default at the time of writing is 3) // // Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead NumTargetNodes pulumi.IntPtrInput Pools KubernetesClusterPoolsPtrInput // (Boolean) When cluster is ready, this will return `true` Ready pulumi.BoolPtrInput // The region for the cluster, if not declare we use the region in declared in the provider Region pulumi.StringPtrInput // (String) Status of the cluster Status pulumi.StringPtrInput // Space separated list of tags, to be used freely as required Tags pulumi.StringPtrInput // The size of each node (optional, the default is currently g4s.kube.medium) // // Deprecated: This field will be deprecated in the next major release, please use the 'pools' field instead TargetNodesSize pulumi.StringPtrInput // Whether to write the kubeconfig to state WriteKubeconfig pulumi.BoolPtrInput }
func (KubernetesClusterState) ElementType ¶
func (KubernetesClusterState) ElementType() reflect.Type
type KubernetesNodePool ¶
type KubernetesNodePool struct { pulumi.CustomResourceState // The ID of your cluster ClusterId pulumi.StringOutput `pulumi:"clusterId"` // Instance names in the nodepool InstanceNames pulumi.StringArrayOutput `pulumi:"instanceNames"` // Node pool label, if you don't provide one, we will generate one for you Label pulumi.StringOutput `pulumi:"label"` Labels pulumi.StringMapOutput `pulumi:"labels"` // Number of nodes in the nodepool NodeCount pulumi.IntOutput `pulumi:"nodeCount"` // Node pool belongs to the public ip node pool PublicIpNodePool pulumi.BoolOutput `pulumi:"publicIpNodePool"` // Size of the nodes in the nodepool Size pulumi.StringOutput `pulumi:"size"` Taints KubernetesNodePoolTaintArrayOutput `pulumi:"taints"` }
## Import
```sh $ pulumi import civo:index/kubernetesNodePool:KubernetesNodePool my-pool 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af:502c1130-cb9b-4a88-b6d2-307bd96d946a ```
func GetKubernetesNodePool ¶
func GetKubernetesNodePool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KubernetesNodePoolState, opts ...pulumi.ResourceOption) (*KubernetesNodePool, error)
GetKubernetesNodePool gets an existing KubernetesNodePool 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 NewKubernetesNodePool ¶
func NewKubernetesNodePool(ctx *pulumi.Context, name string, args *KubernetesNodePoolArgs, opts ...pulumi.ResourceOption) (*KubernetesNodePool, error)
NewKubernetesNodePool registers a new resource with the given unique name, arguments, and options.
func (*KubernetesNodePool) ElementType ¶
func (*KubernetesNodePool) ElementType() reflect.Type
func (*KubernetesNodePool) ToKubernetesNodePoolOutput ¶
func (i *KubernetesNodePool) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput
func (*KubernetesNodePool) ToKubernetesNodePoolOutputWithContext ¶
func (i *KubernetesNodePool) ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput
type KubernetesNodePoolArgs ¶
type KubernetesNodePoolArgs struct { // The ID of your cluster ClusterId pulumi.StringInput // Node pool label, if you don't provide one, we will generate one for you Label pulumi.StringPtrInput Labels pulumi.StringMapInput // Number of nodes in the nodepool NodeCount pulumi.IntInput // Node pool belongs to the public ip node pool PublicIpNodePool pulumi.BoolPtrInput // Size of the nodes in the nodepool Size pulumi.StringInput Taints KubernetesNodePoolTaintArrayInput }
The set of arguments for constructing a KubernetesNodePool resource.
func (KubernetesNodePoolArgs) ElementType ¶
func (KubernetesNodePoolArgs) ElementType() reflect.Type
type KubernetesNodePoolArray ¶
type KubernetesNodePoolArray []KubernetesNodePoolInput
func (KubernetesNodePoolArray) ElementType ¶
func (KubernetesNodePoolArray) ElementType() reflect.Type
func (KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutput ¶
func (i KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput
func (KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutputWithContext ¶
func (i KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutputWithContext(ctx context.Context) KubernetesNodePoolArrayOutput
type KubernetesNodePoolArrayInput ¶
type KubernetesNodePoolArrayInput interface { pulumi.Input ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput ToKubernetesNodePoolArrayOutputWithContext(context.Context) KubernetesNodePoolArrayOutput }
KubernetesNodePoolArrayInput is an input type that accepts KubernetesNodePoolArray and KubernetesNodePoolArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolArrayInput` via:
KubernetesNodePoolArray{ KubernetesNodePoolArgs{...} }
type KubernetesNodePoolArrayOutput ¶
type KubernetesNodePoolArrayOutput struct{ *pulumi.OutputState }
func (KubernetesNodePoolArrayOutput) ElementType ¶
func (KubernetesNodePoolArrayOutput) ElementType() reflect.Type
func (KubernetesNodePoolArrayOutput) Index ¶
func (o KubernetesNodePoolArrayOutput) Index(i pulumi.IntInput) KubernetesNodePoolOutput
func (KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput ¶
func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput
func (KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutputWithContext ¶
func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutputWithContext(ctx context.Context) KubernetesNodePoolArrayOutput
type KubernetesNodePoolInput ¶
type KubernetesNodePoolInput interface { pulumi.Input ToKubernetesNodePoolOutput() KubernetesNodePoolOutput ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput }
type KubernetesNodePoolMap ¶
type KubernetesNodePoolMap map[string]KubernetesNodePoolInput
func (KubernetesNodePoolMap) ElementType ¶
func (KubernetesNodePoolMap) ElementType() reflect.Type
func (KubernetesNodePoolMap) ToKubernetesNodePoolMapOutput ¶
func (i KubernetesNodePoolMap) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput
func (KubernetesNodePoolMap) ToKubernetesNodePoolMapOutputWithContext ¶
func (i KubernetesNodePoolMap) ToKubernetesNodePoolMapOutputWithContext(ctx context.Context) KubernetesNodePoolMapOutput
type KubernetesNodePoolMapInput ¶
type KubernetesNodePoolMapInput interface { pulumi.Input ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput ToKubernetesNodePoolMapOutputWithContext(context.Context) KubernetesNodePoolMapOutput }
KubernetesNodePoolMapInput is an input type that accepts KubernetesNodePoolMap and KubernetesNodePoolMapOutput values. You can construct a concrete instance of `KubernetesNodePoolMapInput` via:
KubernetesNodePoolMap{ "key": KubernetesNodePoolArgs{...} }
type KubernetesNodePoolMapOutput ¶
type KubernetesNodePoolMapOutput struct{ *pulumi.OutputState }
func (KubernetesNodePoolMapOutput) ElementType ¶
func (KubernetesNodePoolMapOutput) ElementType() reflect.Type
func (KubernetesNodePoolMapOutput) MapIndex ¶
func (o KubernetesNodePoolMapOutput) MapIndex(k pulumi.StringInput) KubernetesNodePoolOutput
func (KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput ¶
func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput
func (KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutputWithContext ¶
func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutputWithContext(ctx context.Context) KubernetesNodePoolMapOutput
type KubernetesNodePoolOutput ¶
type KubernetesNodePoolOutput struct{ *pulumi.OutputState }
func (KubernetesNodePoolOutput) ClusterId ¶ added in v2.2.3
func (o KubernetesNodePoolOutput) ClusterId() pulumi.StringOutput
The ID of your cluster
func (KubernetesNodePoolOutput) ElementType ¶
func (KubernetesNodePoolOutput) ElementType() reflect.Type
func (KubernetesNodePoolOutput) InstanceNames ¶ added in v2.2.3
func (o KubernetesNodePoolOutput) InstanceNames() pulumi.StringArrayOutput
Instance names in the nodepool
func (KubernetesNodePoolOutput) Label ¶ added in v2.2.3
func (o KubernetesNodePoolOutput) Label() pulumi.StringOutput
Node pool label, if you don't provide one, we will generate one for you
func (KubernetesNodePoolOutput) Labels ¶ added in v2.3.10
func (o KubernetesNodePoolOutput) Labels() pulumi.StringMapOutput
func (KubernetesNodePoolOutput) NodeCount ¶ added in v2.2.3
func (o KubernetesNodePoolOutput) NodeCount() pulumi.IntOutput
Number of nodes in the nodepool
func (KubernetesNodePoolOutput) PublicIpNodePool ¶ added in v2.3.8
func (o KubernetesNodePoolOutput) PublicIpNodePool() pulumi.BoolOutput
Node pool belongs to the public ip node pool
func (KubernetesNodePoolOutput) Size ¶ added in v2.2.3
func (o KubernetesNodePoolOutput) Size() pulumi.StringOutput
Size of the nodes in the nodepool
func (KubernetesNodePoolOutput) Taints ¶ added in v2.3.10
func (o KubernetesNodePoolOutput) Taints() KubernetesNodePoolTaintArrayOutput
func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutput ¶
func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput
func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext ¶
func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput
type KubernetesNodePoolState ¶
type KubernetesNodePoolState struct { // The ID of your cluster ClusterId pulumi.StringPtrInput // Instance names in the nodepool InstanceNames pulumi.StringArrayInput // Node pool label, if you don't provide one, we will generate one for you Label pulumi.StringPtrInput Labels pulumi.StringMapInput // Number of nodes in the nodepool NodeCount pulumi.IntPtrInput // Node pool belongs to the public ip node pool PublicIpNodePool pulumi.BoolPtrInput // Size of the nodes in the nodepool Size pulumi.StringPtrInput Taints KubernetesNodePoolTaintArrayInput }
func (KubernetesNodePoolState) ElementType ¶
func (KubernetesNodePoolState) ElementType() reflect.Type
type KubernetesNodePoolTaint ¶ added in v2.3.10
type KubernetesNodePoolTaintArgs ¶ added in v2.3.10
type KubernetesNodePoolTaintArgs struct { Effect pulumi.StringInput `pulumi:"effect"` Key pulumi.StringInput `pulumi:"key"` Value pulumi.StringInput `pulumi:"value"` }
func (KubernetesNodePoolTaintArgs) ElementType ¶ added in v2.3.10
func (KubernetesNodePoolTaintArgs) ElementType() reflect.Type
func (KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutput ¶ added in v2.3.10
func (i KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput
func (KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutputWithContext ¶ added in v2.3.10
func (i KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutputWithContext(ctx context.Context) KubernetesNodePoolTaintOutput
type KubernetesNodePoolTaintArray ¶ added in v2.3.10
type KubernetesNodePoolTaintArray []KubernetesNodePoolTaintInput
func (KubernetesNodePoolTaintArray) ElementType ¶ added in v2.3.10
func (KubernetesNodePoolTaintArray) ElementType() reflect.Type
func (KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutput ¶ added in v2.3.10
func (i KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput
func (KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutputWithContext ¶ added in v2.3.10
func (i KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesNodePoolTaintArrayOutput
type KubernetesNodePoolTaintArrayInput ¶ added in v2.3.10
type KubernetesNodePoolTaintArrayInput interface { pulumi.Input ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput ToKubernetesNodePoolTaintArrayOutputWithContext(context.Context) KubernetesNodePoolTaintArrayOutput }
KubernetesNodePoolTaintArrayInput is an input type that accepts KubernetesNodePoolTaintArray and KubernetesNodePoolTaintArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolTaintArrayInput` via:
KubernetesNodePoolTaintArray{ KubernetesNodePoolTaintArgs{...} }
type KubernetesNodePoolTaintArrayOutput ¶ added in v2.3.10
type KubernetesNodePoolTaintArrayOutput struct{ *pulumi.OutputState }
func (KubernetesNodePoolTaintArrayOutput) ElementType ¶ added in v2.3.10
func (KubernetesNodePoolTaintArrayOutput) ElementType() reflect.Type
func (KubernetesNodePoolTaintArrayOutput) Index ¶ added in v2.3.10
func (o KubernetesNodePoolTaintArrayOutput) Index(i pulumi.IntInput) KubernetesNodePoolTaintOutput
func (KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutput ¶ added in v2.3.10
func (o KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput
func (KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutputWithContext ¶ added in v2.3.10
func (o KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesNodePoolTaintArrayOutput
type KubernetesNodePoolTaintInput ¶ added in v2.3.10
type KubernetesNodePoolTaintInput interface { pulumi.Input ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput ToKubernetesNodePoolTaintOutputWithContext(context.Context) KubernetesNodePoolTaintOutput }
KubernetesNodePoolTaintInput is an input type that accepts KubernetesNodePoolTaintArgs and KubernetesNodePoolTaintOutput values. You can construct a concrete instance of `KubernetesNodePoolTaintInput` via:
KubernetesNodePoolTaintArgs{...}
type KubernetesNodePoolTaintOutput ¶ added in v2.3.10
type KubernetesNodePoolTaintOutput struct{ *pulumi.OutputState }
func (KubernetesNodePoolTaintOutput) Effect ¶ added in v2.3.10
func (o KubernetesNodePoolTaintOutput) Effect() pulumi.StringOutput
func (KubernetesNodePoolTaintOutput) ElementType ¶ added in v2.3.10
func (KubernetesNodePoolTaintOutput) ElementType() reflect.Type
func (KubernetesNodePoolTaintOutput) Key ¶ added in v2.3.10
func (o KubernetesNodePoolTaintOutput) Key() pulumi.StringOutput
func (KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutput ¶ added in v2.3.10
func (o KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput
func (KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutputWithContext ¶ added in v2.3.10
func (o KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutputWithContext(ctx context.Context) KubernetesNodePoolTaintOutput
func (KubernetesNodePoolTaintOutput) Value ¶ added in v2.3.10
func (o KubernetesNodePoolTaintOutput) Value() pulumi.StringOutput
type LookupDatabaseArgs ¶ added in v2.3.2
type LookupDatabaseArgs struct { // The ID of the Database Id *string `pulumi:"id"` // The name of the Database Name *string `pulumi:"name"` // The region of an existing Database Region *string `pulumi:"region"` }
A collection of arguments for invoking getDatabase.
type LookupDatabaseOutputArgs ¶ added in v2.3.2
type LookupDatabaseOutputArgs struct { // The ID of the Database Id pulumi.StringPtrInput `pulumi:"id"` // The name of the Database Name pulumi.StringPtrInput `pulumi:"name"` // The region of an existing Database Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getDatabase.
func (LookupDatabaseOutputArgs) ElementType ¶ added in v2.3.2
func (LookupDatabaseOutputArgs) ElementType() reflect.Type
type LookupDatabaseResult ¶ added in v2.3.2
type LookupDatabaseResult struct { // The DNS endpoint of the database DnsEndpoint string `pulumi:"dnsEndpoint"` // The endpoint of the database Endpoint string `pulumi:"endpoint"` // The engine of the database Engine string `pulumi:"engine"` // The firewall id of the Database FirewallId string `pulumi:"firewallId"` // The ID of the Database Id *string `pulumi:"id"` // The name of the Database Name *string `pulumi:"name"` // The network id of the Database NetworkId string `pulumi:"networkId"` // Count of nodes Nodes int `pulumi:"nodes"` // The password of the database Password string `pulumi:"password"` // The port of the database Port int `pulumi:"port"` // The region of an existing Database Region string `pulumi:"region"` // Size of the database Size string `pulumi:"size"` // The status of the database Status string `pulumi:"status"` // The username of the database Username string `pulumi:"username"` // The version of the database Version string `pulumi:"version"` }
A collection of values returned by getDatabase.
func LookupDatabase ¶ added in v2.3.2
func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)
Get information of an Database for use in other resources. This data source provides all of the Database's properties as configured on your Civo account.
Note: This data source returns a single Database. When specifying a name, an error will be raised if more than one Databases with the same name found.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := civo.LookupDatabase(ctx, &civo.LookupDatabaseArgs{ Name: pulumi.StringRef("test-database"), Region: pulumi.StringRef("LON1"), }, nil) if err != nil { return err } return nil }) }
```
type LookupDatabaseResultOutput ¶ added in v2.3.2
type LookupDatabaseResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatabase.
func LookupDatabaseOutput ¶ added in v2.3.2
func LookupDatabaseOutput(ctx *pulumi.Context, args LookupDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupDatabaseResultOutput
func (LookupDatabaseResultOutput) DnsEndpoint ¶ added in v2.3.7
func (o LookupDatabaseResultOutput) DnsEndpoint() pulumi.StringOutput
The DNS endpoint of the database
func (LookupDatabaseResultOutput) ElementType ¶ added in v2.3.2
func (LookupDatabaseResultOutput) ElementType() reflect.Type
func (LookupDatabaseResultOutput) Endpoint ¶ added in v2.3.7
func (o LookupDatabaseResultOutput) Endpoint() pulumi.StringOutput
The endpoint of the database
func (LookupDatabaseResultOutput) Engine ¶ added in v2.3.5
func (o LookupDatabaseResultOutput) Engine() pulumi.StringOutput
The engine of the database
func (LookupDatabaseResultOutput) FirewallId ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) FirewallId() pulumi.StringOutput
The firewall id of the Database
func (LookupDatabaseResultOutput) Id ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) Id() pulumi.StringPtrOutput
The ID of the Database
func (LookupDatabaseResultOutput) Name ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) Name() pulumi.StringPtrOutput
The name of the Database
func (LookupDatabaseResultOutput) NetworkId ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) NetworkId() pulumi.StringOutput
The network id of the Database
func (LookupDatabaseResultOutput) Nodes ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) Nodes() pulumi.IntOutput
Count of nodes
func (LookupDatabaseResultOutput) Password ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) Password() pulumi.StringOutput
The password of the database
func (LookupDatabaseResultOutput) Port ¶ added in v2.3.7
func (o LookupDatabaseResultOutput) Port() pulumi.IntOutput
The port of the database
func (LookupDatabaseResultOutput) Region ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) Region() pulumi.StringOutput
The region of an existing Database
func (LookupDatabaseResultOutput) Size ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) Size() pulumi.StringOutput
Size of the database
func (LookupDatabaseResultOutput) Status ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) Status() pulumi.StringOutput
The status of the database
func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutput ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutput() LookupDatabaseResultOutput
func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx context.Context) LookupDatabaseResultOutput
func (LookupDatabaseResultOutput) Username ¶ added in v2.3.2
func (o LookupDatabaseResultOutput) Username() pulumi.StringOutput
The username of the database
func (LookupDatabaseResultOutput) Version ¶ added in v2.3.5
func (o LookupDatabaseResultOutput) Version() pulumi.StringOutput
The version of the database
type LookupDnsDomainNameArgs ¶
type LookupDnsDomainNameArgs struct { // The ID of this resource. Id *string `pulumi:"id"` // The name of the domain Name *string `pulumi:"name"` }
A collection of arguments for invoking getDnsDomainName.
type LookupDnsDomainNameOutputArgs ¶ added in v2.1.0
type LookupDnsDomainNameOutputArgs struct { // The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // The name of the domain Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getDnsDomainName.
func (LookupDnsDomainNameOutputArgs) ElementType ¶ added in v2.1.0
func (LookupDnsDomainNameOutputArgs) ElementType() reflect.Type
type LookupDnsDomainNameResult ¶
type LookupDnsDomainNameResult struct { // The ID of this resource. Id *string `pulumi:"id"` // The name of the domain Name *string `pulumi:"name"` }
A collection of values returned by getDnsDomainName.
func LookupDnsDomainName ¶
func LookupDnsDomainName(ctx *pulumi.Context, args *LookupDnsDomainNameArgs, opts ...pulumi.InvokeOption) (*LookupDnsDomainNameResult, error)
Get information on a domain. This data source provides the name and the id.
An error will be raised if the provided domain name is not in your Civo account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { domain, err := civo.LookupDnsDomainName(ctx, &civo.LookupDnsDomainNameArgs{ Name: pulumi.StringRef("domain.com"), }, nil) if err != nil { return err } ctx.Export("domainOutput", domain.Name) ctx.Export("domainIdOutput", domain.Id) return nil }) }
```
type LookupDnsDomainNameResultOutput ¶ added in v2.1.0
type LookupDnsDomainNameResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDnsDomainName.
func LookupDnsDomainNameOutput ¶ added in v2.1.0
func LookupDnsDomainNameOutput(ctx *pulumi.Context, args LookupDnsDomainNameOutputArgs, opts ...pulumi.InvokeOption) LookupDnsDomainNameResultOutput
func (LookupDnsDomainNameResultOutput) ElementType ¶ added in v2.1.0
func (LookupDnsDomainNameResultOutput) ElementType() reflect.Type
func (LookupDnsDomainNameResultOutput) Id ¶ added in v2.1.0
func (o LookupDnsDomainNameResultOutput) Id() pulumi.StringPtrOutput
The ID of this resource.
func (LookupDnsDomainNameResultOutput) Name ¶ added in v2.1.0
func (o LookupDnsDomainNameResultOutput) Name() pulumi.StringPtrOutput
The name of the domain
func (LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutput ¶ added in v2.1.0
func (o LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutput() LookupDnsDomainNameResultOutput
func (LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutputWithContext ¶ added in v2.1.0
func (o LookupDnsDomainNameResultOutput) ToLookupDnsDomainNameResultOutputWithContext(ctx context.Context) LookupDnsDomainNameResultOutput
type LookupDnsDomainRecordArgs ¶
type LookupDnsDomainRecordArgs struct { // The ID of the domain DomainId string `pulumi:"domainId"` // The name of the record Name string `pulumi:"name"` }
A collection of arguments for invoking getDnsDomainRecord.
type LookupDnsDomainRecordOutputArgs ¶ added in v2.1.0
type LookupDnsDomainRecordOutputArgs struct { // The ID of the domain DomainId pulumi.StringInput `pulumi:"domainId"` // The name of the record Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getDnsDomainRecord.
func (LookupDnsDomainRecordOutputArgs) ElementType ¶ added in v2.1.0
func (LookupDnsDomainRecordOutputArgs) ElementType() reflect.Type
type LookupDnsDomainRecordResult ¶
type LookupDnsDomainRecordResult struct { // The ID account of the domain AccountId string `pulumi:"accountId"` // The date when it was created in UTC format CreatedAt string `pulumi:"createdAt"` // The ID of the domain DomainId string `pulumi:"domainId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the record Name string `pulumi:"name"` // The priority of the record Priority int `pulumi:"priority"` // How long caching DNS servers should cache this record Ttl int `pulumi:"ttl"` // The choice of record type from A, CNAME, MX, SRV or TXT Type string `pulumi:"type"` // The date when it was updated in UTC format UpdatedAt string `pulumi:"updatedAt"` // The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record Value string `pulumi:"value"` }
A collection of values returned by getDnsDomainRecord.
func LookupDnsDomainRecord ¶
func LookupDnsDomainRecord(ctx *pulumi.Context, args *LookupDnsDomainRecordArgs, opts ...pulumi.InvokeOption) (*LookupDnsDomainRecordResult, error)
Get information on a DNS record. This data source provides the name, TTL, and zone file as configured on your Civo account.
An error will be raised if the provided domain name or record are not in your Civo account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { domain, err := civo.LookupDnsDomainName(ctx, &civo.LookupDnsDomainNameArgs{ Name: pulumi.StringRef("domain.com"), }, nil) if err != nil { return err } www, err := civo.LookupDnsDomainRecord(ctx, &civo.LookupDnsDomainRecordArgs{ DomainId: domain.Id, Name: "www", }, nil) if err != nil { return err } ctx.Export("recordType", www.Type) ctx.Export("recordTtl", www.Ttl) return nil }) }
```
type LookupDnsDomainRecordResultOutput ¶ added in v2.1.0
type LookupDnsDomainRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDnsDomainRecord.
func LookupDnsDomainRecordOutput ¶ added in v2.1.0
func LookupDnsDomainRecordOutput(ctx *pulumi.Context, args LookupDnsDomainRecordOutputArgs, opts ...pulumi.InvokeOption) LookupDnsDomainRecordResultOutput
func (LookupDnsDomainRecordResultOutput) AccountId ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) AccountId() pulumi.StringOutput
The ID account of the domain
func (LookupDnsDomainRecordResultOutput) CreatedAt ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) CreatedAt() pulumi.StringOutput
The date when it was created in UTC format
func (LookupDnsDomainRecordResultOutput) DomainId ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) DomainId() pulumi.StringOutput
The ID of the domain
func (LookupDnsDomainRecordResultOutput) ElementType ¶ added in v2.1.0
func (LookupDnsDomainRecordResultOutput) ElementType() reflect.Type
func (LookupDnsDomainRecordResultOutput) Id ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDnsDomainRecordResultOutput) Name ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) Name() pulumi.StringOutput
The name of the record
func (LookupDnsDomainRecordResultOutput) Priority ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) Priority() pulumi.IntOutput
The priority of the record
func (LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutput ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutput() LookupDnsDomainRecordResultOutput
func (LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutputWithContext ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) ToLookupDnsDomainRecordResultOutputWithContext(ctx context.Context) LookupDnsDomainRecordResultOutput
func (LookupDnsDomainRecordResultOutput) Ttl ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) Ttl() pulumi.IntOutput
How long caching DNS servers should cache this record
func (LookupDnsDomainRecordResultOutput) Type ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) Type() pulumi.StringOutput
The choice of record type from A, CNAME, MX, SRV or TXT
func (LookupDnsDomainRecordResultOutput) UpdatedAt ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) UpdatedAt() pulumi.StringOutput
The date when it was updated in UTC format
func (LookupDnsDomainRecordResultOutput) Value ¶ added in v2.1.0
func (o LookupDnsDomainRecordResultOutput) Value() pulumi.StringOutput
The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
type LookupFirewallArgs ¶ added in v2.1.1
type LookupFirewallArgs struct { // The ID of this resource. Id *string `pulumi:"id"` // The name of the firewall Name *string `pulumi:"name"` // The region where the firewall is Region *string `pulumi:"region"` }
A collection of arguments for invoking getFirewall.
type LookupFirewallOutputArgs ¶ added in v2.1.1
type LookupFirewallOutputArgs struct { // The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // The name of the firewall Name pulumi.StringPtrInput `pulumi:"name"` // The region where the firewall is Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getFirewall.
func (LookupFirewallOutputArgs) ElementType ¶ added in v2.1.1
func (LookupFirewallOutputArgs) ElementType() reflect.Type
type LookupFirewallResult ¶ added in v2.1.1
type LookupFirewallResult struct { // The ID of this resource. Id *string `pulumi:"id"` // The name of the firewall Name *string `pulumi:"name"` // The id of the associated network NetworkId string `pulumi:"networkId"` // The region where the firewall is Region *string `pulumi:"region"` }
A collection of values returned by getFirewall.
func LookupFirewall ¶ added in v2.1.1
func LookupFirewall(ctx *pulumi.Context, args *LookupFirewallArgs, opts ...pulumi.InvokeOption) (*LookupFirewallResult, error)
Retrieve information about a firewall for use in other resources.
This data source provides all of the firewall's properties as configured on your Civo account.
Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for a specific firewall inside that region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := civo.LookupFirewall(ctx, &civo.LookupFirewallArgs{ Name: pulumi.StringRef("test-firewall"), Region: pulumi.StringRef("LON1"), }, nil) if err != nil { return err } return nil }) }
```
type LookupFirewallResultOutput ¶ added in v2.1.1
type LookupFirewallResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFirewall.
func LookupFirewallOutput ¶ added in v2.1.1
func LookupFirewallOutput(ctx *pulumi.Context, args LookupFirewallOutputArgs, opts ...pulumi.InvokeOption) LookupFirewallResultOutput
func (LookupFirewallResultOutput) ElementType ¶ added in v2.1.1
func (LookupFirewallResultOutput) ElementType() reflect.Type
func (LookupFirewallResultOutput) Id ¶ added in v2.1.1
func (o LookupFirewallResultOutput) Id() pulumi.StringPtrOutput
The ID of this resource.
func (LookupFirewallResultOutput) Name ¶ added in v2.1.1
func (o LookupFirewallResultOutput) Name() pulumi.StringPtrOutput
The name of the firewall
func (LookupFirewallResultOutput) NetworkId ¶ added in v2.1.1
func (o LookupFirewallResultOutput) NetworkId() pulumi.StringOutput
The id of the associated network
func (LookupFirewallResultOutput) Region ¶ added in v2.1.1
func (o LookupFirewallResultOutput) Region() pulumi.StringPtrOutput
The region where the firewall is
func (LookupFirewallResultOutput) ToLookupFirewallResultOutput ¶ added in v2.1.1
func (o LookupFirewallResultOutput) ToLookupFirewallResultOutput() LookupFirewallResultOutput
func (LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext ¶ added in v2.1.1
func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx context.Context) LookupFirewallResultOutput
type LookupInstanceArgs ¶
type LookupInstanceArgs struct { // The hostname of the Instance Hostname *string `pulumi:"hostname"` // The ID of this resource. Id *string `pulumi:"id"` // The region of an existing Instance Region *string `pulumi:"region"` }
A collection of arguments for invoking getInstance.
type LookupInstanceOutputArgs ¶ added in v2.1.0
type LookupInstanceOutputArgs struct { // The hostname of the Instance Hostname pulumi.StringPtrInput `pulumi:"hostname"` // The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // The region of an existing Instance Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getInstance.
func (LookupInstanceOutputArgs) ElementType ¶ added in v2.1.0
func (LookupInstanceOutputArgs) ElementType() reflect.Type
type LookupInstanceResult ¶
type LookupInstanceResult struct { // Total cpu of the instance CpuCores int `pulumi:"cpuCores"` // The date of creation of the instance CreatedAt string `pulumi:"createdAt"` // The size of the disk DiskGb int `pulumi:"diskGb"` // The ID of the firewall used FirewallId string `pulumi:"firewallId"` // The hostname of the Instance Hostname *string `pulumi:"hostname"` // The ID of this resource. Id *string `pulumi:"id"` // Instance initial password InitialPassword string `pulumi:"initialPassword"` // The name of the initial user created on the server InitialUser string `pulumi:"initialUser"` // his will be the ID of the network NetworkId string `pulumi:"networkId"` // The notes of the instance Notes string `pulumi:"notes"` // The private IP PrivateIp string `pulumi:"privateIp"` // Is the ip that is used to route the public ip from the internet to the instance using NAT PseudoIp string `pulumi:"pseudoIp"` // The public IP PublicIp string `pulumi:"publicIp"` // Total ram of the instance RamMb int `pulumi:"ramMb"` // The region of an existing Instance Region *string `pulumi:"region"` // A fully qualified domain name ReverseDns string `pulumi:"reverseDns"` // The contents of a script uploaded Script string `pulumi:"script"` // The name of the size Size string `pulumi:"size"` // The ID SSH key SshkeyId string `pulumi:"sshkeyId"` // The status of the instance Status string `pulumi:"status"` // An optional list of tags Tags []string `pulumi:"tags"` // The ID for the disk image/template to used to build the instance Template string `pulumi:"template"` }
A collection of values returned by getInstance.
func LookupInstance ¶
func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)
Get information on an instance for use in other resources. This data source provides all of the instance's properties as configured on your Civo account.
Note: This data source returns a single instance. When specifying a hostname, an error will be raised if more than one instances found.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myhostaname, err := civo.LookupInstance(ctx, &civo.LookupInstanceArgs{ Hostname: pulumi.StringRef("myhostname.com"), }, nil) if err != nil { return err } ctx.Export("instanceOutput", myhostaname.PublicIp) return nil }) }
```
type LookupInstanceResultOutput ¶ added in v2.1.0
type LookupInstanceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstance.
func LookupInstanceOutput ¶ added in v2.1.0
func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput
func (LookupInstanceResultOutput) CpuCores ¶ added in v2.1.0
func (o LookupInstanceResultOutput) CpuCores() pulumi.IntOutput
Total cpu of the instance
func (LookupInstanceResultOutput) CreatedAt ¶ added in v2.1.0
func (o LookupInstanceResultOutput) CreatedAt() pulumi.StringOutput
The date of creation of the instance
func (LookupInstanceResultOutput) DiskGb ¶ added in v2.1.0
func (o LookupInstanceResultOutput) DiskGb() pulumi.IntOutput
The size of the disk
func (LookupInstanceResultOutput) ElementType ¶ added in v2.1.0
func (LookupInstanceResultOutput) ElementType() reflect.Type
func (LookupInstanceResultOutput) FirewallId ¶ added in v2.1.0
func (o LookupInstanceResultOutput) FirewallId() pulumi.StringOutput
The ID of the firewall used
func (LookupInstanceResultOutput) Hostname ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Hostname() pulumi.StringPtrOutput
The hostname of the Instance
func (LookupInstanceResultOutput) Id ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Id() pulumi.StringPtrOutput
The ID of this resource.
func (LookupInstanceResultOutput) InitialPassword ¶ added in v2.1.0
func (o LookupInstanceResultOutput) InitialPassword() pulumi.StringOutput
Instance initial password
func (LookupInstanceResultOutput) InitialUser ¶ added in v2.1.0
func (o LookupInstanceResultOutput) InitialUser() pulumi.StringOutput
The name of the initial user created on the server
func (LookupInstanceResultOutput) NetworkId ¶ added in v2.1.0
func (o LookupInstanceResultOutput) NetworkId() pulumi.StringOutput
his will be the ID of the network
func (LookupInstanceResultOutput) Notes ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Notes() pulumi.StringOutput
The notes of the instance
func (LookupInstanceResultOutput) PrivateIp ¶ added in v2.1.0
func (o LookupInstanceResultOutput) PrivateIp() pulumi.StringOutput
The private IP
func (LookupInstanceResultOutput) PseudoIp ¶ added in v2.1.0
func (o LookupInstanceResultOutput) PseudoIp() pulumi.StringOutput
Is the ip that is used to route the public ip from the internet to the instance using NAT
func (LookupInstanceResultOutput) PublicIp ¶ added in v2.1.0
func (o LookupInstanceResultOutput) PublicIp() pulumi.StringOutput
The public IP
func (LookupInstanceResultOutput) RamMb ¶ added in v2.1.0
func (o LookupInstanceResultOutput) RamMb() pulumi.IntOutput
Total ram of the instance
func (LookupInstanceResultOutput) Region ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Region() pulumi.StringPtrOutput
The region of an existing Instance
func (LookupInstanceResultOutput) ReverseDns ¶ added in v2.1.0
func (o LookupInstanceResultOutput) ReverseDns() pulumi.StringOutput
A fully qualified domain name
func (LookupInstanceResultOutput) Script ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Script() pulumi.StringOutput
The contents of a script uploaded
func (LookupInstanceResultOutput) Size ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Size() pulumi.StringOutput
The name of the size
func (LookupInstanceResultOutput) SshkeyId ¶ added in v2.1.0
func (o LookupInstanceResultOutput) SshkeyId() pulumi.StringOutput
The ID SSH key
func (LookupInstanceResultOutput) Status ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Status() pulumi.StringOutput
The status of the instance
func (LookupInstanceResultOutput) Tags ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Tags() pulumi.StringArrayOutput
An optional list of tags
func (LookupInstanceResultOutput) Template ¶ added in v2.1.0
func (o LookupInstanceResultOutput) Template() pulumi.StringOutput
The ID for the disk image/template to used to build the instance
func (LookupInstanceResultOutput) ToLookupInstanceResultOutput ¶ added in v2.1.0
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext ¶ added in v2.1.0
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
type LookupKubernetesClusterArgs ¶
type LookupKubernetesClusterArgs struct { // The ID of this resource. Id *string `pulumi:"id"` // The name of the Kubernetes Cluster Name *string `pulumi:"name"` // The region where cluster is running Region *string `pulumi:"region"` }
A collection of arguments for invoking getKubernetesCluster.
type LookupKubernetesClusterOutputArgs ¶ added in v2.1.0
type LookupKubernetesClusterOutputArgs struct { // The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // The name of the Kubernetes Cluster Name pulumi.StringPtrInput `pulumi:"name"` // The region where cluster is running Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getKubernetesCluster.
func (LookupKubernetesClusterOutputArgs) ElementType ¶ added in v2.1.0
func (LookupKubernetesClusterOutputArgs) ElementType() reflect.Type
type LookupKubernetesClusterResult ¶
type LookupKubernetesClusterResult struct { // The base URL of the API server on the Kubernetes master node ApiEndpoint string `pulumi:"apiEndpoint"` // A list of application installed Applications string `pulumi:"applications"` // The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel` Cni string `pulumi:"cni"` // The date where the Kubernetes cluster was create CreatedAt string `pulumi:"createdAt"` // The unique dns entry for the cluster in this case point to the master DnsEntry string `pulumi:"dnsEntry"` // The ID of this resource. Id *string `pulumi:"id"` InstalledApplications []GetKubernetesClusterInstalledApplication `pulumi:"installedApplications"` // A representation of the Kubernetes cluster's kubeconfig in yaml format Kubeconfig string `pulumi:"kubeconfig"` // The version of Kubernetes KubernetesVersion string `pulumi:"kubernetesVersion"` // The IP of the Kubernetes master node MasterIp string `pulumi:"masterIp"` // The name of the Kubernetes Cluster Name *string `pulumi:"name"` // The size of the Kubernetes cluster // // Deprecated: This field is deprecated and will be removed in a future version of the provider NumTargetNodes int `pulumi:"numTargetNodes"` Pools []GetKubernetesClusterPool `pulumi:"pools"` // If the Kubernetes cluster is ready Ready bool `pulumi:"ready"` // The region where cluster is running Region *string `pulumi:"region"` // The status of Kubernetes cluster Status string `pulumi:"status"` // A list of tags Tags []string `pulumi:"tags"` // The size of each node // // Deprecated: This field is deprecated and will be removed in a future version of the provider TargetNodesSize string `pulumi:"targetNodesSize"` }
A collection of values returned by getKubernetesCluster.
func LookupKubernetesCluster ¶
func LookupKubernetesCluster(ctx *pulumi.Context, args *LookupKubernetesClusterArgs, opts ...pulumi.InvokeOption) (*LookupKubernetesClusterResult, error)
Provides a Civo Kubernetes cluster data source.
Note: This data source returns a single Kubernetes cluster. When specifying a name, an error will be raised if more than one Kubernetes cluster found.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { my_cluster, err := civo.LookupKubernetesCluster(ctx, &civo.LookupKubernetesClusterArgs{ Name: pulumi.StringRef("my-super-cluster"), }, nil) if err != nil { return err } ctx.Export("kubernetesClusterOutput", my_cluster.MasterIp) return nil }) }
```
type LookupKubernetesClusterResultOutput ¶ added in v2.1.0
type LookupKubernetesClusterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getKubernetesCluster.
func LookupKubernetesClusterOutput ¶ added in v2.1.0
func LookupKubernetesClusterOutput(ctx *pulumi.Context, args LookupKubernetesClusterOutputArgs, opts ...pulumi.InvokeOption) LookupKubernetesClusterResultOutput
func (LookupKubernetesClusterResultOutput) ApiEndpoint ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) ApiEndpoint() pulumi.StringOutput
The base URL of the API server on the Kubernetes master node
func (LookupKubernetesClusterResultOutput) Applications ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Applications() pulumi.StringOutput
A list of application installed
func (LookupKubernetesClusterResultOutput) Cni ¶ added in v2.1.3
func (o LookupKubernetesClusterResultOutput) Cni() pulumi.StringOutput
The cni for the k3s to install (the default is `flannel`) valid options are `cilium` or `flannel`
func (LookupKubernetesClusterResultOutput) CreatedAt ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) CreatedAt() pulumi.StringOutput
The date where the Kubernetes cluster was create
func (LookupKubernetesClusterResultOutput) DnsEntry ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) DnsEntry() pulumi.StringOutput
The unique dns entry for the cluster in this case point to the master
func (LookupKubernetesClusterResultOutput) ElementType ¶ added in v2.1.0
func (LookupKubernetesClusterResultOutput) ElementType() reflect.Type
func (LookupKubernetesClusterResultOutput) Id ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Id() pulumi.StringPtrOutput
The ID of this resource.
func (LookupKubernetesClusterResultOutput) InstalledApplications ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) InstalledApplications() GetKubernetesClusterInstalledApplicationArrayOutput
func (LookupKubernetesClusterResultOutput) Kubeconfig ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Kubeconfig() pulumi.StringOutput
A representation of the Kubernetes cluster's kubeconfig in yaml format
func (LookupKubernetesClusterResultOutput) KubernetesVersion ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) KubernetesVersion() pulumi.StringOutput
The version of Kubernetes
func (LookupKubernetesClusterResultOutput) MasterIp ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) MasterIp() pulumi.StringOutput
The IP of the Kubernetes master node
func (LookupKubernetesClusterResultOutput) Name ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Name() pulumi.StringPtrOutput
The name of the Kubernetes Cluster
func (LookupKubernetesClusterResultOutput) NumTargetNodes
deprecated
added in
v2.1.0
func (o LookupKubernetesClusterResultOutput) NumTargetNodes() pulumi.IntOutput
The size of the Kubernetes cluster
Deprecated: This field is deprecated and will be removed in a future version of the provider
func (LookupKubernetesClusterResultOutput) Pools ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Pools() GetKubernetesClusterPoolArrayOutput
func (LookupKubernetesClusterResultOutput) Ready ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Ready() pulumi.BoolOutput
If the Kubernetes cluster is ready
func (LookupKubernetesClusterResultOutput) Region ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Region() pulumi.StringPtrOutput
The region where cluster is running
func (LookupKubernetesClusterResultOutput) Status ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Status() pulumi.StringOutput
The status of Kubernetes cluster
func (LookupKubernetesClusterResultOutput) Tags ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) Tags() pulumi.StringArrayOutput
A list of tags
func (LookupKubernetesClusterResultOutput) TargetNodesSize
deprecated
added in
v2.1.0
func (o LookupKubernetesClusterResultOutput) TargetNodesSize() pulumi.StringOutput
The size of each node
Deprecated: This field is deprecated and will be removed in a future version of the provider
func (LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutput ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutput() LookupKubernetesClusterResultOutput
func (LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutputWithContext ¶ added in v2.1.0
func (o LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutputWithContext(ctx context.Context) LookupKubernetesClusterResultOutput
type LookupNetworkArgs ¶
type LookupNetworkArgs struct { // The ID of this resource. Id *string `pulumi:"id"` // The label of an existing network Label *string `pulumi:"label"` // The region of an existing network Region *string `pulumi:"region"` }
A collection of arguments for invoking getNetwork.
type LookupNetworkOutputArgs ¶ added in v2.1.0
type LookupNetworkOutputArgs struct { // The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // The label of an existing network Label pulumi.StringPtrInput `pulumi:"label"` // The region of an existing network Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getNetwork.
func (LookupNetworkOutputArgs) ElementType ¶ added in v2.1.0
func (LookupNetworkOutputArgs) ElementType() reflect.Type
type LookupNetworkResult ¶
type LookupNetworkResult struct { // If is the default network Default bool `pulumi:"default"` // The ID of this resource. Id *string `pulumi:"id"` // The label of an existing network Label *string `pulumi:"label"` // The name of the network Name string `pulumi:"name"` // The region of an existing network Region *string `pulumi:"region"` }
A collection of values returned by getNetwork.
func LookupNetwork ¶
func LookupNetwork(ctx *pulumi.Context, args *LookupNetworkArgs, opts ...pulumi.InvokeOption) (*LookupNetworkResult, error)
Retrieve information about a network for use in other resources.
This data source provides all of the network's properties as configured on your Civo account.
Networks may be looked up by id or label, and you can optionally pass region if you want to make a lookup for a specific network inside that region.
type LookupNetworkResultOutput ¶ added in v2.1.0
type LookupNetworkResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNetwork.
func LookupNetworkOutput ¶ added in v2.1.0
func LookupNetworkOutput(ctx *pulumi.Context, args LookupNetworkOutputArgs, opts ...pulumi.InvokeOption) LookupNetworkResultOutput
func (LookupNetworkResultOutput) Default ¶ added in v2.1.0
func (o LookupNetworkResultOutput) Default() pulumi.BoolOutput
If is the default network
func (LookupNetworkResultOutput) ElementType ¶ added in v2.1.0
func (LookupNetworkResultOutput) ElementType() reflect.Type
func (LookupNetworkResultOutput) Id ¶ added in v2.1.0
func (o LookupNetworkResultOutput) Id() pulumi.StringPtrOutput
The ID of this resource.
func (LookupNetworkResultOutput) Label ¶ added in v2.1.0
func (o LookupNetworkResultOutput) Label() pulumi.StringPtrOutput
The label of an existing network
func (LookupNetworkResultOutput) Name ¶ added in v2.1.0
func (o LookupNetworkResultOutput) Name() pulumi.StringOutput
The name of the network
func (LookupNetworkResultOutput) Region ¶ added in v2.1.0
func (o LookupNetworkResultOutput) Region() pulumi.StringPtrOutput
The region of an existing network
func (LookupNetworkResultOutput) ToLookupNetworkResultOutput ¶ added in v2.1.0
func (o LookupNetworkResultOutput) ToLookupNetworkResultOutput() LookupNetworkResultOutput
func (LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext ¶ added in v2.1.0
func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx context.Context) LookupNetworkResultOutput
type LookupObjectStoreArgs ¶ added in v2.2.4
type LookupObjectStoreArgs struct { // The ID of the Object Store Id *string `pulumi:"id"` // The name of the Object Store Name *string `pulumi:"name"` // The region of an existing Object Store Region *string `pulumi:"region"` }
A collection of arguments for invoking getObjectStore.
type LookupObjectStoreCredentialArgs ¶ added in v2.3.0
type LookupObjectStoreCredentialArgs struct { // The ID of the Object Store Credential Id *string `pulumi:"id"` // The name of the Object Store Credential Name *string `pulumi:"name"` // The region of an existing Object Store Region *string `pulumi:"region"` }
A collection of arguments for invoking getObjectStoreCredential.
type LookupObjectStoreCredentialOutputArgs ¶ added in v2.3.0
type LookupObjectStoreCredentialOutputArgs struct { // The ID of the Object Store Credential Id pulumi.StringPtrInput `pulumi:"id"` // The name of the Object Store Credential Name pulumi.StringPtrInput `pulumi:"name"` // The region of an existing Object Store Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getObjectStoreCredential.
func (LookupObjectStoreCredentialOutputArgs) ElementType ¶ added in v2.3.0
func (LookupObjectStoreCredentialOutputArgs) ElementType() reflect.Type
type LookupObjectStoreCredentialResult ¶ added in v2.3.0
type LookupObjectStoreCredentialResult struct { // The access key id of the Object Store Credential AccessKeyId string `pulumi:"accessKeyId"` // The ID of the Object Store Credential Id *string `pulumi:"id"` // The name of the Object Store Credential Name *string `pulumi:"name"` // The region of an existing Object Store Region *string `pulumi:"region"` // The secret access key of the Object Store Credential SecretAccessKey string `pulumi:"secretAccessKey"` // The status of the Object Store Credential Status string `pulumi:"status"` }
A collection of values returned by getObjectStoreCredential.
func LookupObjectStoreCredential ¶ added in v2.3.0
func LookupObjectStoreCredential(ctx *pulumi.Context, args *LookupObjectStoreCredentialArgs, opts ...pulumi.InvokeOption) (*LookupObjectStoreCredentialResult, error)
Get information of an Object Store Credential for use in other resources. This data source provides all of the Object Store Credential's properties as configured on your Civo account.
Note: This data source returns a single Object Store Credential. When specifying a name, an error will be raised if more than one Object Store Credentials with the same name found.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Read a credential for the object store backup, err := civo.LookupObjectStoreCredential(ctx, &civo.LookupObjectStoreCredentialArgs{ Name: pulumi.StringRef("backup-server"), }, nil) if err != nil { return err } // Use the credential to create a bucket _, err = civo.NewObjectStore(ctx, "backup", &civo.ObjectStoreArgs{ Name: pulumi.String("backup-server"), MaxSizeGb: pulumi.Int(500), Region: pulumi.String("LON1"), AccessKeyId: pulumi.String(backup.AccessKeyId), }) if err != nil { return err } return nil }) }
```
type LookupObjectStoreCredentialResultOutput ¶ added in v2.3.0
type LookupObjectStoreCredentialResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getObjectStoreCredential.
func LookupObjectStoreCredentialOutput ¶ added in v2.3.0
func LookupObjectStoreCredentialOutput(ctx *pulumi.Context, args LookupObjectStoreCredentialOutputArgs, opts ...pulumi.InvokeOption) LookupObjectStoreCredentialResultOutput
func (LookupObjectStoreCredentialResultOutput) AccessKeyId ¶ added in v2.3.0
func (o LookupObjectStoreCredentialResultOutput) AccessKeyId() pulumi.StringOutput
The access key id of the Object Store Credential
func (LookupObjectStoreCredentialResultOutput) ElementType ¶ added in v2.3.0
func (LookupObjectStoreCredentialResultOutput) ElementType() reflect.Type
func (LookupObjectStoreCredentialResultOutput) Id ¶ added in v2.3.0
func (o LookupObjectStoreCredentialResultOutput) Id() pulumi.StringPtrOutput
The ID of the Object Store Credential
func (LookupObjectStoreCredentialResultOutput) Name ¶ added in v2.3.0
func (o LookupObjectStoreCredentialResultOutput) Name() pulumi.StringPtrOutput
The name of the Object Store Credential
func (LookupObjectStoreCredentialResultOutput) Region ¶ added in v2.3.0
func (o LookupObjectStoreCredentialResultOutput) Region() pulumi.StringPtrOutput
The region of an existing Object Store
func (LookupObjectStoreCredentialResultOutput) SecretAccessKey ¶ added in v2.3.0
func (o LookupObjectStoreCredentialResultOutput) SecretAccessKey() pulumi.StringOutput
The secret access key of the Object Store Credential
func (LookupObjectStoreCredentialResultOutput) Status ¶ added in v2.3.0
func (o LookupObjectStoreCredentialResultOutput) Status() pulumi.StringOutput
The status of the Object Store Credential
func (LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutput ¶ added in v2.3.0
func (o LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutput() LookupObjectStoreCredentialResultOutput
func (LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutputWithContext ¶ added in v2.3.0
func (o LookupObjectStoreCredentialResultOutput) ToLookupObjectStoreCredentialResultOutputWithContext(ctx context.Context) LookupObjectStoreCredentialResultOutput
type LookupObjectStoreOutputArgs ¶ added in v2.2.4
type LookupObjectStoreOutputArgs struct { // The ID of the Object Store Id pulumi.StringPtrInput `pulumi:"id"` // The name of the Object Store Name pulumi.StringPtrInput `pulumi:"name"` // The region of an existing Object Store Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getObjectStore.
func (LookupObjectStoreOutputArgs) ElementType ¶ added in v2.2.4
func (LookupObjectStoreOutputArgs) ElementType() reflect.Type
type LookupObjectStoreResult ¶ added in v2.2.4
type LookupObjectStoreResult struct { // The access key ID from the Object Store credential. If this is not set, a new credential will be created. AccessKeyId string `pulumi:"accessKeyId"` // The endpoint of the Object Store BucketUrl string `pulumi:"bucketUrl"` // The ID of the Object Store Id *string `pulumi:"id"` // The maximum size of the Object Store MaxSizeGb int `pulumi:"maxSizeGb"` // The name of the Object Store Name *string `pulumi:"name"` // The region of an existing Object Store Region *string `pulumi:"region"` // The status of the Object Store Status string `pulumi:"status"` }
A collection of values returned by getObjectStore.
func LookupObjectStore ¶ added in v2.2.4
func LookupObjectStore(ctx *pulumi.Context, args *LookupObjectStoreArgs, opts ...pulumi.InvokeOption) (*LookupObjectStoreResult, error)
Get information of an Object Store for use in other resources. This data source provides all of the Object Store's properties as configured on your Civo account.
Note: This data source returns a single Object Store. When specifying a name, an error will be raised if more than one Object Stores with the same name found.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := civo.LookupObjectStore(ctx, &civo.LookupObjectStoreArgs{ Name: pulumi.StringRef("backup-server"), }, nil) if err != nil { return err } return nil }) }
```
type LookupObjectStoreResultOutput ¶ added in v2.2.4
type LookupObjectStoreResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getObjectStore.
func LookupObjectStoreOutput ¶ added in v2.2.4
func LookupObjectStoreOutput(ctx *pulumi.Context, args LookupObjectStoreOutputArgs, opts ...pulumi.InvokeOption) LookupObjectStoreResultOutput
func (LookupObjectStoreResultOutput) AccessKeyId ¶ added in v2.2.4
func (o LookupObjectStoreResultOutput) AccessKeyId() pulumi.StringOutput
The access key ID from the Object Store credential. If this is not set, a new credential will be created.
func (LookupObjectStoreResultOutput) BucketUrl ¶ added in v2.3.0
func (o LookupObjectStoreResultOutput) BucketUrl() pulumi.StringOutput
The endpoint of the Object Store
func (LookupObjectStoreResultOutput) ElementType ¶ added in v2.2.4
func (LookupObjectStoreResultOutput) ElementType() reflect.Type
func (LookupObjectStoreResultOutput) Id ¶ added in v2.2.4
func (o LookupObjectStoreResultOutput) Id() pulumi.StringPtrOutput
The ID of the Object Store
func (LookupObjectStoreResultOutput) MaxSizeGb ¶ added in v2.2.4
func (o LookupObjectStoreResultOutput) MaxSizeGb() pulumi.IntOutput
The maximum size of the Object Store
func (LookupObjectStoreResultOutput) Name ¶ added in v2.2.4
func (o LookupObjectStoreResultOutput) Name() pulumi.StringPtrOutput
The name of the Object Store
func (LookupObjectStoreResultOutput) Region ¶ added in v2.2.4
func (o LookupObjectStoreResultOutput) Region() pulumi.StringPtrOutput
The region of an existing Object Store
func (LookupObjectStoreResultOutput) Status ¶ added in v2.2.4
func (o LookupObjectStoreResultOutput) Status() pulumi.StringOutput
The status of the Object Store
func (LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutput ¶ added in v2.2.4
func (o LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutput() LookupObjectStoreResultOutput
func (LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutputWithContext ¶ added in v2.2.4
func (o LookupObjectStoreResultOutput) ToLookupObjectStoreResultOutputWithContext(ctx context.Context) LookupObjectStoreResultOutput
type LookupReservedIpArgs ¶ added in v2.2.3
type LookupReservedIpArgs struct { // ID for the ip address Id *string `pulumi:"id"` // Name for the ip address Name *string `pulumi:"name"` }
A collection of arguments for invoking getReservedIp.
type LookupReservedIpOutputArgs ¶ added in v2.2.3
type LookupReservedIpOutputArgs struct { // ID for the ip address Id pulumi.StringPtrInput `pulumi:"id"` // Name for the ip address Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getReservedIp.
func (LookupReservedIpOutputArgs) ElementType ¶ added in v2.2.3
func (LookupReservedIpOutputArgs) ElementType() reflect.Type
type LookupReservedIpResult ¶ added in v2.2.3
type LookupReservedIpResult struct { // ID for the ip address Id *string `pulumi:"id"` // The ID of the instance the IP is attached to InstanceId string `pulumi:"instanceId"` // The name of the instance the IP is attached to InstanceName string `pulumi:"instanceName"` // The IP Address requested Ip string `pulumi:"ip"` // Name for the ip address Name *string `pulumi:"name"` // The region the ip address is in Region string `pulumi:"region"` }
A collection of values returned by getReservedIp.
func LookupReservedIp ¶ added in v2.2.3
func LookupReservedIp(ctx *pulumi.Context, args *LookupReservedIpArgs, opts ...pulumi.InvokeOption) (*LookupReservedIpResult, error)
type LookupReservedIpResultOutput ¶ added in v2.2.3
type LookupReservedIpResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getReservedIp.
func LookupReservedIpOutput ¶ added in v2.2.3
func LookupReservedIpOutput(ctx *pulumi.Context, args LookupReservedIpOutputArgs, opts ...pulumi.InvokeOption) LookupReservedIpResultOutput
func (LookupReservedIpResultOutput) ElementType ¶ added in v2.2.3
func (LookupReservedIpResultOutput) ElementType() reflect.Type
func (LookupReservedIpResultOutput) Id ¶ added in v2.2.3
func (o LookupReservedIpResultOutput) Id() pulumi.StringPtrOutput
ID for the ip address
func (LookupReservedIpResultOutput) InstanceId ¶ added in v2.2.3
func (o LookupReservedIpResultOutput) InstanceId() pulumi.StringOutput
The ID of the instance the IP is attached to
func (LookupReservedIpResultOutput) InstanceName ¶ added in v2.2.3
func (o LookupReservedIpResultOutput) InstanceName() pulumi.StringOutput
The name of the instance the IP is attached to
func (LookupReservedIpResultOutput) Ip ¶ added in v2.2.3
func (o LookupReservedIpResultOutput) Ip() pulumi.StringOutput
The IP Address requested
func (LookupReservedIpResultOutput) Name ¶ added in v2.2.3
func (o LookupReservedIpResultOutput) Name() pulumi.StringPtrOutput
Name for the ip address
func (LookupReservedIpResultOutput) Region ¶ added in v2.2.3
func (o LookupReservedIpResultOutput) Region() pulumi.StringOutput
The region the ip address is in
func (LookupReservedIpResultOutput) ToLookupReservedIpResultOutput ¶ added in v2.2.3
func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutput() LookupReservedIpResultOutput
func (LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext ¶ added in v2.2.3
func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext(ctx context.Context) LookupReservedIpResultOutput
type LookupSshKeyArgs ¶
type LookupSshKeyArgs struct { // The ID of this resource. Id *string `pulumi:"id"` // The name of the SSH key Name *string `pulumi:"name"` }
A collection of arguments for invoking getSshKey.
type LookupSshKeyOutputArgs ¶ added in v2.1.0
type LookupSshKeyOutputArgs struct { // The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // The name of the SSH key Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getSshKey.
func (LookupSshKeyOutputArgs) ElementType ¶ added in v2.1.0
func (LookupSshKeyOutputArgs) ElementType() reflect.Type
type LookupSshKeyResult ¶
type LookupSshKeyResult struct { // The fingerprint of the public key of the SSH key Fingerprint string `pulumi:"fingerprint"` // The ID of this resource. Id *string `pulumi:"id"` // The name of the SSH key Name *string `pulumi:"name"` }
A collection of values returned by getSshKey.
func LookupSshKey ¶
func LookupSshKey(ctx *pulumi.Context, args *LookupSshKeyArgs, opts ...pulumi.InvokeOption) (*LookupSshKeyResult, error)
Get information on a SSH key. This data source provides the name, and fingerprint as configured on your Civo account.
An error will be raised if the provided SSH key name does not exist in your Civo account.
type LookupSshKeyResultOutput ¶ added in v2.1.0
type LookupSshKeyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSshKey.
func LookupSshKeyOutput ¶ added in v2.1.0
func LookupSshKeyOutput(ctx *pulumi.Context, args LookupSshKeyOutputArgs, opts ...pulumi.InvokeOption) LookupSshKeyResultOutput
func (LookupSshKeyResultOutput) ElementType ¶ added in v2.1.0
func (LookupSshKeyResultOutput) ElementType() reflect.Type
func (LookupSshKeyResultOutput) Fingerprint ¶ added in v2.1.0
func (o LookupSshKeyResultOutput) Fingerprint() pulumi.StringOutput
The fingerprint of the public key of the SSH key
func (LookupSshKeyResultOutput) Id ¶ added in v2.1.0
func (o LookupSshKeyResultOutput) Id() pulumi.StringPtrOutput
The ID of this resource.
func (LookupSshKeyResultOutput) Name ¶ added in v2.1.0
func (o LookupSshKeyResultOutput) Name() pulumi.StringPtrOutput
The name of the SSH key
func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutput ¶ added in v2.1.0
func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutput() LookupSshKeyResultOutput
func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext ¶ added in v2.1.0
func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext(ctx context.Context) LookupSshKeyResultOutput
type LookupVolumeArgs ¶
type LookupVolumeArgs struct { // The ID of this resource. Id *string `pulumi:"id"` // The name of the volume Name *string `pulumi:"name"` // The region where volume is running Region *string `pulumi:"region"` }
A collection of arguments for invoking getVolume.
type LookupVolumeOutputArgs ¶ added in v2.1.0
type LookupVolumeOutputArgs struct { // The ID of this resource. Id pulumi.StringPtrInput `pulumi:"id"` // The name of the volume Name pulumi.StringPtrInput `pulumi:"name"` // The region where volume is running Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getVolume.
func (LookupVolumeOutputArgs) ElementType ¶ added in v2.1.0
func (LookupVolumeOutputArgs) ElementType() reflect.Type
type LookupVolumeResult ¶
type LookupVolumeResult struct { // The date of the creation of the volume CreatedAt string `pulumi:"createdAt"` // The ID of this resource. Id *string `pulumi:"id"` // The mount point of the volume MountPoint string `pulumi:"mountPoint"` // The name of the volume Name *string `pulumi:"name"` // The region where volume is running Region *string `pulumi:"region"` // The size of the volume (in GB) SizeGb int `pulumi:"sizeGb"` }
A collection of values returned by getVolume.
func LookupVolume ¶
func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)
Get information on a volume for use in other resources. This data source provides all of the volumes properties as configured on your Civo account.
An error will be raised if the provided volume name does not exist in your Civo account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myvolume, err := civo.LookupVolume(ctx, &civo.LookupVolumeArgs{ Name: pulumi.StringRef("test-volume-name"), }, nil) if err != nil { return err } ctx.Export("volumeOutput", myvolume) return nil }) }
```
type LookupVolumeResultOutput ¶ added in v2.1.0
type LookupVolumeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVolume.
func LookupVolumeOutput ¶ added in v2.1.0
func LookupVolumeOutput(ctx *pulumi.Context, args LookupVolumeOutputArgs, opts ...pulumi.InvokeOption) LookupVolumeResultOutput
func (LookupVolumeResultOutput) CreatedAt ¶ added in v2.1.0
func (o LookupVolumeResultOutput) CreatedAt() pulumi.StringOutput
The date of the creation of the volume
func (LookupVolumeResultOutput) ElementType ¶ added in v2.1.0
func (LookupVolumeResultOutput) ElementType() reflect.Type
func (LookupVolumeResultOutput) Id ¶ added in v2.1.0
func (o LookupVolumeResultOutput) Id() pulumi.StringPtrOutput
The ID of this resource.
func (LookupVolumeResultOutput) MountPoint ¶ added in v2.1.0
func (o LookupVolumeResultOutput) MountPoint() pulumi.StringOutput
The mount point of the volume
func (LookupVolumeResultOutput) Name ¶ added in v2.1.0
func (o LookupVolumeResultOutput) Name() pulumi.StringPtrOutput
The name of the volume
func (LookupVolumeResultOutput) Region ¶ added in v2.1.0
func (o LookupVolumeResultOutput) Region() pulumi.StringPtrOutput
The region where volume is running
func (LookupVolumeResultOutput) SizeGb ¶ added in v2.1.0
func (o LookupVolumeResultOutput) SizeGb() pulumi.IntOutput
The size of the volume (in GB)
func (LookupVolumeResultOutput) ToLookupVolumeResultOutput ¶ added in v2.1.0
func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput
func (LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext ¶ added in v2.1.0
func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput
type Network ¶
type Network struct { pulumi.CustomResourceState // The CIDR block for the network CidrV4 pulumi.StringOutput `pulumi:"cidrV4"` // If the network is default, this will be `true` Default pulumi.BoolOutput `pulumi:"default"` // Name for the network Label pulumi.StringOutput `pulumi:"label"` // The name of the network Name pulumi.StringOutput `pulumi:"name"` // List of nameservers for the network NameserversV4s pulumi.StringArrayOutput `pulumi:"nameserversV4s"` // The region of the network Region pulumi.StringOutput `pulumi:"region"` // End of the IPv4 allocation pool for VLAN VlanAllocationPoolV4End pulumi.StringPtrOutput `pulumi:"vlanAllocationPoolV4End"` // Start of the IPv4 allocation pool for VLAN VlanAllocationPoolV4Start pulumi.StringPtrOutput `pulumi:"vlanAllocationPoolV4Start"` // CIDR for VLAN IPv4 VlanCidrV4 pulumi.StringPtrOutput `pulumi:"vlanCidrV4"` // Gateway IP for VLAN IPv4 VlanGatewayIpV4 pulumi.StringPtrOutput `pulumi:"vlanGatewayIpV4"` // VLAN ID for the network VlanId pulumi.IntPtrOutput `pulumi:"vlanId"` // Physical interface for VLAN VlanPhysicalInterface pulumi.StringPtrOutput `pulumi:"vlanPhysicalInterface"` }
Provides a Civo network resource. This can be used to create, modify, and delete networks.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := civo.NewNetwork(ctx, "custom_net", &civo.NetworkArgs{ Label: pulumi.String("test_network"), }) if err != nil { return err } return nil }) }
```
## Import
using ID
```sh $ pulumi import civo:index/network:Network custom_net b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```
func GetNetwork ¶
func GetNetwork(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkState, opts ...pulumi.ResourceOption) (*Network, error)
GetNetwork gets an existing Network 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 NewNetwork ¶
func NewNetwork(ctx *pulumi.Context, name string, args *NetworkArgs, opts ...pulumi.ResourceOption) (*Network, error)
NewNetwork registers a new resource with the given unique name, arguments, and options.
func (*Network) ElementType ¶
func (*Network) ToNetworkOutput ¶
func (i *Network) ToNetworkOutput() NetworkOutput
func (*Network) ToNetworkOutputWithContext ¶
func (i *Network) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
type NetworkArgs ¶
type NetworkArgs struct { // The CIDR block for the network CidrV4 pulumi.StringPtrInput // Name for the network Label pulumi.StringInput // List of nameservers for the network NameserversV4s pulumi.StringArrayInput // The region of the network Region pulumi.StringPtrInput // End of the IPv4 allocation pool for VLAN VlanAllocationPoolV4End pulumi.StringPtrInput // Start of the IPv4 allocation pool for VLAN VlanAllocationPoolV4Start pulumi.StringPtrInput // CIDR for VLAN IPv4 VlanCidrV4 pulumi.StringPtrInput // Gateway IP for VLAN IPv4 VlanGatewayIpV4 pulumi.StringPtrInput // VLAN ID for the network VlanId pulumi.IntPtrInput // Physical interface for VLAN VlanPhysicalInterface pulumi.StringPtrInput }
The set of arguments for constructing a Network resource.
func (NetworkArgs) ElementType ¶
func (NetworkArgs) ElementType() reflect.Type
type NetworkArray ¶
type NetworkArray []NetworkInput
func (NetworkArray) ElementType ¶
func (NetworkArray) ElementType() reflect.Type
func (NetworkArray) ToNetworkArrayOutput ¶
func (i NetworkArray) ToNetworkArrayOutput() NetworkArrayOutput
func (NetworkArray) ToNetworkArrayOutputWithContext ¶
func (i NetworkArray) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput
type NetworkArrayInput ¶
type NetworkArrayInput interface { pulumi.Input ToNetworkArrayOutput() NetworkArrayOutput ToNetworkArrayOutputWithContext(context.Context) NetworkArrayOutput }
NetworkArrayInput is an input type that accepts NetworkArray and NetworkArrayOutput values. You can construct a concrete instance of `NetworkArrayInput` via:
NetworkArray{ NetworkArgs{...} }
type NetworkArrayOutput ¶
type NetworkArrayOutput struct{ *pulumi.OutputState }
func (NetworkArrayOutput) ElementType ¶
func (NetworkArrayOutput) ElementType() reflect.Type
func (NetworkArrayOutput) Index ¶
func (o NetworkArrayOutput) Index(i pulumi.IntInput) NetworkOutput
func (NetworkArrayOutput) ToNetworkArrayOutput ¶
func (o NetworkArrayOutput) ToNetworkArrayOutput() NetworkArrayOutput
func (NetworkArrayOutput) ToNetworkArrayOutputWithContext ¶
func (o NetworkArrayOutput) ToNetworkArrayOutputWithContext(ctx context.Context) NetworkArrayOutput
type NetworkInput ¶
type NetworkInput interface { pulumi.Input ToNetworkOutput() NetworkOutput ToNetworkOutputWithContext(ctx context.Context) NetworkOutput }
type NetworkMap ¶
type NetworkMap map[string]NetworkInput
func (NetworkMap) ElementType ¶
func (NetworkMap) ElementType() reflect.Type
func (NetworkMap) ToNetworkMapOutput ¶
func (i NetworkMap) ToNetworkMapOutput() NetworkMapOutput
func (NetworkMap) ToNetworkMapOutputWithContext ¶
func (i NetworkMap) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput
type NetworkMapInput ¶
type NetworkMapInput interface { pulumi.Input ToNetworkMapOutput() NetworkMapOutput ToNetworkMapOutputWithContext(context.Context) NetworkMapOutput }
NetworkMapInput is an input type that accepts NetworkMap and NetworkMapOutput values. You can construct a concrete instance of `NetworkMapInput` via:
NetworkMap{ "key": NetworkArgs{...} }
type NetworkMapOutput ¶
type NetworkMapOutput struct{ *pulumi.OutputState }
func (NetworkMapOutput) ElementType ¶
func (NetworkMapOutput) ElementType() reflect.Type
func (NetworkMapOutput) MapIndex ¶
func (o NetworkMapOutput) MapIndex(k pulumi.StringInput) NetworkOutput
func (NetworkMapOutput) ToNetworkMapOutput ¶
func (o NetworkMapOutput) ToNetworkMapOutput() NetworkMapOutput
func (NetworkMapOutput) ToNetworkMapOutputWithContext ¶
func (o NetworkMapOutput) ToNetworkMapOutputWithContext(ctx context.Context) NetworkMapOutput
type NetworkOutput ¶
type NetworkOutput struct{ *pulumi.OutputState }
func (NetworkOutput) CidrV4 ¶ added in v2.3.15
func (o NetworkOutput) CidrV4() pulumi.StringOutput
The CIDR block for the network
func (NetworkOutput) Default ¶ added in v2.2.3
func (o NetworkOutput) Default() pulumi.BoolOutput
If the network is default, this will be `true`
func (NetworkOutput) ElementType ¶
func (NetworkOutput) ElementType() reflect.Type
func (NetworkOutput) Label ¶ added in v2.2.3
func (o NetworkOutput) Label() pulumi.StringOutput
Name for the network
func (NetworkOutput) Name ¶ added in v2.2.3
func (o NetworkOutput) Name() pulumi.StringOutput
The name of the network
func (NetworkOutput) NameserversV4s ¶ added in v2.3.15
func (o NetworkOutput) NameserversV4s() pulumi.StringArrayOutput
List of nameservers for the network
func (NetworkOutput) Region ¶ added in v2.2.3
func (o NetworkOutput) Region() pulumi.StringOutput
The region of the network
func (NetworkOutput) ToNetworkOutput ¶
func (o NetworkOutput) ToNetworkOutput() NetworkOutput
func (NetworkOutput) ToNetworkOutputWithContext ¶
func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput
func (NetworkOutput) VlanAllocationPoolV4End ¶ added in v2.3.16
func (o NetworkOutput) VlanAllocationPoolV4End() pulumi.StringPtrOutput
End of the IPv4 allocation pool for VLAN
func (NetworkOutput) VlanAllocationPoolV4Start ¶ added in v2.3.16
func (o NetworkOutput) VlanAllocationPoolV4Start() pulumi.StringPtrOutput
Start of the IPv4 allocation pool for VLAN
func (NetworkOutput) VlanCidrV4 ¶ added in v2.3.16
func (o NetworkOutput) VlanCidrV4() pulumi.StringPtrOutput
CIDR for VLAN IPv4
func (NetworkOutput) VlanGatewayIpV4 ¶ added in v2.3.16
func (o NetworkOutput) VlanGatewayIpV4() pulumi.StringPtrOutput
Gateway IP for VLAN IPv4
func (NetworkOutput) VlanId ¶ added in v2.3.16
func (o NetworkOutput) VlanId() pulumi.IntPtrOutput
VLAN ID for the network
func (NetworkOutput) VlanPhysicalInterface ¶ added in v2.3.17
func (o NetworkOutput) VlanPhysicalInterface() pulumi.StringPtrOutput
Physical interface for VLAN
type NetworkState ¶
type NetworkState struct { // The CIDR block for the network CidrV4 pulumi.StringPtrInput // If the network is default, this will be `true` Default pulumi.BoolPtrInput // Name for the network Label pulumi.StringPtrInput // The name of the network Name pulumi.StringPtrInput // List of nameservers for the network NameserversV4s pulumi.StringArrayInput // The region of the network Region pulumi.StringPtrInput // End of the IPv4 allocation pool for VLAN VlanAllocationPoolV4End pulumi.StringPtrInput // Start of the IPv4 allocation pool for VLAN VlanAllocationPoolV4Start pulumi.StringPtrInput // CIDR for VLAN IPv4 VlanCidrV4 pulumi.StringPtrInput // Gateway IP for VLAN IPv4 VlanGatewayIpV4 pulumi.StringPtrInput // VLAN ID for the network VlanId pulumi.IntPtrInput // Physical interface for VLAN VlanPhysicalInterface pulumi.StringPtrInput }
func (NetworkState) ElementType ¶
func (NetworkState) ElementType() reflect.Type
type ObjectStore ¶ added in v2.2.4
type ObjectStore struct { pulumi.CustomResourceState // The access key ID from the Object Store credential. If this is not set, a new credential will be created. AccessKeyId pulumi.StringOutput `pulumi:"accessKeyId"` // The endpoint of the Object Store. It is generated by the provider. BucketUrl pulumi.StringOutput `pulumi:"bucketUrl"` // The maximum size of the Object Store. Default is 500GB. MaxSizeGb pulumi.IntPtrOutput `pulumi:"maxSizeGb"` // The name of the Object Store. Must be unique. Name pulumi.StringOutput `pulumi:"name"` // The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1) Region pulumi.StringOutput `pulumi:"region"` // The status of the Object Store. Status pulumi.StringOutput `pulumi:"status"` }
Provides an Object Store resource. This can be used to create, modify, and delete object stores.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { backupObjectStore, err := civo.NewObjectStore(ctx, "backup", &civo.ObjectStoreArgs{ Name: pulumi.String("backup-server"), MaxSizeGb: pulumi.Int(500), Region: pulumi.String("LON1"), }) if err != nil { return err } // If you create the bucket without credentials, you can read the credentials in this way _ = civo.LookupObjectStoreCredentialOutput(ctx, civo.GetObjectStoreCredentialOutputArgs{ Id: backupObjectStore.AccessKeyId, }, nil) return nil }) }
```
## Import
using ID
```sh $ pulumi import civo:index/objectStore:ObjectStore custom_object b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```
func GetObjectStore ¶ added in v2.2.4
func GetObjectStore(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ObjectStoreState, opts ...pulumi.ResourceOption) (*ObjectStore, error)
GetObjectStore gets an existing ObjectStore 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 NewObjectStore ¶ added in v2.2.4
func NewObjectStore(ctx *pulumi.Context, name string, args *ObjectStoreArgs, opts ...pulumi.ResourceOption) (*ObjectStore, error)
NewObjectStore registers a new resource with the given unique name, arguments, and options.
func (*ObjectStore) ElementType ¶ added in v2.2.4
func (*ObjectStore) ElementType() reflect.Type
func (*ObjectStore) ToObjectStoreOutput ¶ added in v2.2.4
func (i *ObjectStore) ToObjectStoreOutput() ObjectStoreOutput
func (*ObjectStore) ToObjectStoreOutputWithContext ¶ added in v2.2.4
func (i *ObjectStore) ToObjectStoreOutputWithContext(ctx context.Context) ObjectStoreOutput
type ObjectStoreArgs ¶ added in v2.2.4
type ObjectStoreArgs struct { // The access key ID from the Object Store credential. If this is not set, a new credential will be created. AccessKeyId pulumi.StringPtrInput // The maximum size of the Object Store. Default is 500GB. MaxSizeGb pulumi.IntPtrInput // The name of the Object Store. Must be unique. Name pulumi.StringPtrInput // The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1) Region pulumi.StringPtrInput }
The set of arguments for constructing a ObjectStore resource.
func (ObjectStoreArgs) ElementType ¶ added in v2.2.4
func (ObjectStoreArgs) ElementType() reflect.Type
type ObjectStoreArray ¶ added in v2.2.4
type ObjectStoreArray []ObjectStoreInput
func (ObjectStoreArray) ElementType ¶ added in v2.2.4
func (ObjectStoreArray) ElementType() reflect.Type
func (ObjectStoreArray) ToObjectStoreArrayOutput ¶ added in v2.2.4
func (i ObjectStoreArray) ToObjectStoreArrayOutput() ObjectStoreArrayOutput
func (ObjectStoreArray) ToObjectStoreArrayOutputWithContext ¶ added in v2.2.4
func (i ObjectStoreArray) ToObjectStoreArrayOutputWithContext(ctx context.Context) ObjectStoreArrayOutput
type ObjectStoreArrayInput ¶ added in v2.2.4
type ObjectStoreArrayInput interface { pulumi.Input ToObjectStoreArrayOutput() ObjectStoreArrayOutput ToObjectStoreArrayOutputWithContext(context.Context) ObjectStoreArrayOutput }
ObjectStoreArrayInput is an input type that accepts ObjectStoreArray and ObjectStoreArrayOutput values. You can construct a concrete instance of `ObjectStoreArrayInput` via:
ObjectStoreArray{ ObjectStoreArgs{...} }
type ObjectStoreArrayOutput ¶ added in v2.2.4
type ObjectStoreArrayOutput struct{ *pulumi.OutputState }
func (ObjectStoreArrayOutput) ElementType ¶ added in v2.2.4
func (ObjectStoreArrayOutput) ElementType() reflect.Type
func (ObjectStoreArrayOutput) Index ¶ added in v2.2.4
func (o ObjectStoreArrayOutput) Index(i pulumi.IntInput) ObjectStoreOutput
func (ObjectStoreArrayOutput) ToObjectStoreArrayOutput ¶ added in v2.2.4
func (o ObjectStoreArrayOutput) ToObjectStoreArrayOutput() ObjectStoreArrayOutput
func (ObjectStoreArrayOutput) ToObjectStoreArrayOutputWithContext ¶ added in v2.2.4
func (o ObjectStoreArrayOutput) ToObjectStoreArrayOutputWithContext(ctx context.Context) ObjectStoreArrayOutput
type ObjectStoreCredential ¶ added in v2.3.0
type ObjectStoreCredential struct { pulumi.CustomResourceState // The access key id of the Object Store Credential. It is generated by the provider. AccessKeyId pulumi.StringOutput `pulumi:"accessKeyId"` // The name of the Object Store Credential. Must be unique. Name pulumi.StringOutput `pulumi:"name"` // The region where the Object Store Credential will be created. Region pulumi.StringPtrOutput `pulumi:"region"` // The secret access key of the Object Store Credential. It is generated by the provider. SecretAccessKey pulumi.StringOutput `pulumi:"secretAccessKey"` // The status of the Object Store Credential. Status pulumi.StringOutput `pulumi:"status"` }
Provides an Object Store Credential resource. This can be used to create, modify, and delete object stores credential.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Create a simple credential for the object store _, err := civo.LookupObjectStoreCredential(ctx, &civo.LookupObjectStoreCredentialArgs{ Name: pulumi.StringRef("backup-server"), }, nil) if err != nil { return err } // Create a credential for the object store with a specific access key and secret key backupObjectStoreCredential, err := civo.NewObjectStoreCredential(ctx, "backup", &civo.ObjectStoreCredentialArgs{ Name: pulumi.String("backup-server"), AccessKeyId: pulumi.String("my-access-key"), SecretAccessKey: pulumi.String("my-secret-key"), }) if err != nil { return err } // Use the credential to create a bucket _, err = civo.NewObjectStore(ctx, "backup", &civo.ObjectStoreArgs{ Name: pulumi.String("backup-server"), MaxSizeGb: pulumi.Int(500), Region: pulumi.String("LON1"), AccessKeyId: backupObjectStoreCredential.AccessKeyId, }) if err != nil { return err } return nil }) }
```
## Import
using ID
```sh $ pulumi import civo:index/objectStoreCredential:ObjectStoreCredential custom_object b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```
func GetObjectStoreCredential ¶ added in v2.3.0
func GetObjectStoreCredential(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ObjectStoreCredentialState, opts ...pulumi.ResourceOption) (*ObjectStoreCredential, error)
GetObjectStoreCredential gets an existing ObjectStoreCredential 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 NewObjectStoreCredential ¶ added in v2.3.0
func NewObjectStoreCredential(ctx *pulumi.Context, name string, args *ObjectStoreCredentialArgs, opts ...pulumi.ResourceOption) (*ObjectStoreCredential, error)
NewObjectStoreCredential registers a new resource with the given unique name, arguments, and options.
func (*ObjectStoreCredential) ElementType ¶ added in v2.3.0
func (*ObjectStoreCredential) ElementType() reflect.Type
func (*ObjectStoreCredential) ToObjectStoreCredentialOutput ¶ added in v2.3.0
func (i *ObjectStoreCredential) ToObjectStoreCredentialOutput() ObjectStoreCredentialOutput
func (*ObjectStoreCredential) ToObjectStoreCredentialOutputWithContext ¶ added in v2.3.0
func (i *ObjectStoreCredential) ToObjectStoreCredentialOutputWithContext(ctx context.Context) ObjectStoreCredentialOutput
type ObjectStoreCredentialArgs ¶ added in v2.3.0
type ObjectStoreCredentialArgs struct { // The access key id of the Object Store Credential. It is generated by the provider. AccessKeyId pulumi.StringPtrInput // The name of the Object Store Credential. Must be unique. Name pulumi.StringPtrInput // The region where the Object Store Credential will be created. Region pulumi.StringPtrInput // The secret access key of the Object Store Credential. It is generated by the provider. SecretAccessKey pulumi.StringPtrInput }
The set of arguments for constructing a ObjectStoreCredential resource.
func (ObjectStoreCredentialArgs) ElementType ¶ added in v2.3.0
func (ObjectStoreCredentialArgs) ElementType() reflect.Type
type ObjectStoreCredentialArray ¶ added in v2.3.0
type ObjectStoreCredentialArray []ObjectStoreCredentialInput
func (ObjectStoreCredentialArray) ElementType ¶ added in v2.3.0
func (ObjectStoreCredentialArray) ElementType() reflect.Type
func (ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutput ¶ added in v2.3.0
func (i ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutput() ObjectStoreCredentialArrayOutput
func (ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutputWithContext ¶ added in v2.3.0
func (i ObjectStoreCredentialArray) ToObjectStoreCredentialArrayOutputWithContext(ctx context.Context) ObjectStoreCredentialArrayOutput
type ObjectStoreCredentialArrayInput ¶ added in v2.3.0
type ObjectStoreCredentialArrayInput interface { pulumi.Input ToObjectStoreCredentialArrayOutput() ObjectStoreCredentialArrayOutput ToObjectStoreCredentialArrayOutputWithContext(context.Context) ObjectStoreCredentialArrayOutput }
ObjectStoreCredentialArrayInput is an input type that accepts ObjectStoreCredentialArray and ObjectStoreCredentialArrayOutput values. You can construct a concrete instance of `ObjectStoreCredentialArrayInput` via:
ObjectStoreCredentialArray{ ObjectStoreCredentialArgs{...} }
type ObjectStoreCredentialArrayOutput ¶ added in v2.3.0
type ObjectStoreCredentialArrayOutput struct{ *pulumi.OutputState }
func (ObjectStoreCredentialArrayOutput) ElementType ¶ added in v2.3.0
func (ObjectStoreCredentialArrayOutput) ElementType() reflect.Type
func (ObjectStoreCredentialArrayOutput) Index ¶ added in v2.3.0
func (o ObjectStoreCredentialArrayOutput) Index(i pulumi.IntInput) ObjectStoreCredentialOutput
func (ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutput ¶ added in v2.3.0
func (o ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutput() ObjectStoreCredentialArrayOutput
func (ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutputWithContext ¶ added in v2.3.0
func (o ObjectStoreCredentialArrayOutput) ToObjectStoreCredentialArrayOutputWithContext(ctx context.Context) ObjectStoreCredentialArrayOutput
type ObjectStoreCredentialInput ¶ added in v2.3.0
type ObjectStoreCredentialInput interface { pulumi.Input ToObjectStoreCredentialOutput() ObjectStoreCredentialOutput ToObjectStoreCredentialOutputWithContext(ctx context.Context) ObjectStoreCredentialOutput }
type ObjectStoreCredentialMap ¶ added in v2.3.0
type ObjectStoreCredentialMap map[string]ObjectStoreCredentialInput
func (ObjectStoreCredentialMap) ElementType ¶ added in v2.3.0
func (ObjectStoreCredentialMap) ElementType() reflect.Type
func (ObjectStoreCredentialMap) ToObjectStoreCredentialMapOutput ¶ added in v2.3.0
func (i ObjectStoreCredentialMap) ToObjectStoreCredentialMapOutput() ObjectStoreCredentialMapOutput
func (ObjectStoreCredentialMap) ToObjectStoreCredentialMapOutputWithContext ¶ added in v2.3.0
func (i ObjectStoreCredentialMap) ToObjectStoreCredentialMapOutputWithContext(ctx context.Context) ObjectStoreCredentialMapOutput
type ObjectStoreCredentialMapInput ¶ added in v2.3.0
type ObjectStoreCredentialMapInput interface { pulumi.Input ToObjectStoreCredentialMapOutput() ObjectStoreCredentialMapOutput ToObjectStoreCredentialMapOutputWithContext(context.Context) ObjectStoreCredentialMapOutput }
ObjectStoreCredentialMapInput is an input type that accepts ObjectStoreCredentialMap and ObjectStoreCredentialMapOutput values. You can construct a concrete instance of `ObjectStoreCredentialMapInput` via:
ObjectStoreCredentialMap{ "key": ObjectStoreCredentialArgs{...} }
type ObjectStoreCredentialMapOutput ¶ added in v2.3.0
type ObjectStoreCredentialMapOutput struct{ *pulumi.OutputState }
func (ObjectStoreCredentialMapOutput) ElementType ¶ added in v2.3.0
func (ObjectStoreCredentialMapOutput) ElementType() reflect.Type
func (ObjectStoreCredentialMapOutput) MapIndex ¶ added in v2.3.0
func (o ObjectStoreCredentialMapOutput) MapIndex(k pulumi.StringInput) ObjectStoreCredentialOutput
func (ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutput ¶ added in v2.3.0
func (o ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutput() ObjectStoreCredentialMapOutput
func (ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutputWithContext ¶ added in v2.3.0
func (o ObjectStoreCredentialMapOutput) ToObjectStoreCredentialMapOutputWithContext(ctx context.Context) ObjectStoreCredentialMapOutput
type ObjectStoreCredentialOutput ¶ added in v2.3.0
type ObjectStoreCredentialOutput struct{ *pulumi.OutputState }
func (ObjectStoreCredentialOutput) AccessKeyId ¶ added in v2.3.0
func (o ObjectStoreCredentialOutput) AccessKeyId() pulumi.StringOutput
The access key id of the Object Store Credential. It is generated by the provider.
func (ObjectStoreCredentialOutput) ElementType ¶ added in v2.3.0
func (ObjectStoreCredentialOutput) ElementType() reflect.Type
func (ObjectStoreCredentialOutput) Name ¶ added in v2.3.0
func (o ObjectStoreCredentialOutput) Name() pulumi.StringOutput
The name of the Object Store Credential. Must be unique.
func (ObjectStoreCredentialOutput) Region ¶ added in v2.3.0
func (o ObjectStoreCredentialOutput) Region() pulumi.StringPtrOutput
The region where the Object Store Credential will be created.
func (ObjectStoreCredentialOutput) SecretAccessKey ¶ added in v2.3.0
func (o ObjectStoreCredentialOutput) SecretAccessKey() pulumi.StringOutput
The secret access key of the Object Store Credential. It is generated by the provider.
func (ObjectStoreCredentialOutput) Status ¶ added in v2.3.0
func (o ObjectStoreCredentialOutput) Status() pulumi.StringOutput
The status of the Object Store Credential.
func (ObjectStoreCredentialOutput) ToObjectStoreCredentialOutput ¶ added in v2.3.0
func (o ObjectStoreCredentialOutput) ToObjectStoreCredentialOutput() ObjectStoreCredentialOutput
func (ObjectStoreCredentialOutput) ToObjectStoreCredentialOutputWithContext ¶ added in v2.3.0
func (o ObjectStoreCredentialOutput) ToObjectStoreCredentialOutputWithContext(ctx context.Context) ObjectStoreCredentialOutput
type ObjectStoreCredentialState ¶ added in v2.3.0
type ObjectStoreCredentialState struct { // The access key id of the Object Store Credential. It is generated by the provider. AccessKeyId pulumi.StringPtrInput // The name of the Object Store Credential. Must be unique. Name pulumi.StringPtrInput // The region where the Object Store Credential will be created. Region pulumi.StringPtrInput // The secret access key of the Object Store Credential. It is generated by the provider. SecretAccessKey pulumi.StringPtrInput // The status of the Object Store Credential. Status pulumi.StringPtrInput }
func (ObjectStoreCredentialState) ElementType ¶ added in v2.3.0
func (ObjectStoreCredentialState) ElementType() reflect.Type
type ObjectStoreInput ¶ added in v2.2.4
type ObjectStoreInput interface { pulumi.Input ToObjectStoreOutput() ObjectStoreOutput ToObjectStoreOutputWithContext(ctx context.Context) ObjectStoreOutput }
type ObjectStoreMap ¶ added in v2.2.4
type ObjectStoreMap map[string]ObjectStoreInput
func (ObjectStoreMap) ElementType ¶ added in v2.2.4
func (ObjectStoreMap) ElementType() reflect.Type
func (ObjectStoreMap) ToObjectStoreMapOutput ¶ added in v2.2.4
func (i ObjectStoreMap) ToObjectStoreMapOutput() ObjectStoreMapOutput
func (ObjectStoreMap) ToObjectStoreMapOutputWithContext ¶ added in v2.2.4
func (i ObjectStoreMap) ToObjectStoreMapOutputWithContext(ctx context.Context) ObjectStoreMapOutput
type ObjectStoreMapInput ¶ added in v2.2.4
type ObjectStoreMapInput interface { pulumi.Input ToObjectStoreMapOutput() ObjectStoreMapOutput ToObjectStoreMapOutputWithContext(context.Context) ObjectStoreMapOutput }
ObjectStoreMapInput is an input type that accepts ObjectStoreMap and ObjectStoreMapOutput values. You can construct a concrete instance of `ObjectStoreMapInput` via:
ObjectStoreMap{ "key": ObjectStoreArgs{...} }
type ObjectStoreMapOutput ¶ added in v2.2.4
type ObjectStoreMapOutput struct{ *pulumi.OutputState }
func (ObjectStoreMapOutput) ElementType ¶ added in v2.2.4
func (ObjectStoreMapOutput) ElementType() reflect.Type
func (ObjectStoreMapOutput) MapIndex ¶ added in v2.2.4
func (o ObjectStoreMapOutput) MapIndex(k pulumi.StringInput) ObjectStoreOutput
func (ObjectStoreMapOutput) ToObjectStoreMapOutput ¶ added in v2.2.4
func (o ObjectStoreMapOutput) ToObjectStoreMapOutput() ObjectStoreMapOutput
func (ObjectStoreMapOutput) ToObjectStoreMapOutputWithContext ¶ added in v2.2.4
func (o ObjectStoreMapOutput) ToObjectStoreMapOutputWithContext(ctx context.Context) ObjectStoreMapOutput
type ObjectStoreOutput ¶ added in v2.2.4
type ObjectStoreOutput struct{ *pulumi.OutputState }
func (ObjectStoreOutput) AccessKeyId ¶ added in v2.2.4
func (o ObjectStoreOutput) AccessKeyId() pulumi.StringOutput
The access key ID from the Object Store credential. If this is not set, a new credential will be created.
func (ObjectStoreOutput) BucketUrl ¶ added in v2.3.0
func (o ObjectStoreOutput) BucketUrl() pulumi.StringOutput
The endpoint of the Object Store. It is generated by the provider.
func (ObjectStoreOutput) ElementType ¶ added in v2.2.4
func (ObjectStoreOutput) ElementType() reflect.Type
func (ObjectStoreOutput) MaxSizeGb ¶ added in v2.2.4
func (o ObjectStoreOutput) MaxSizeGb() pulumi.IntPtrOutput
The maximum size of the Object Store. Default is 500GB.
func (ObjectStoreOutput) Name ¶ added in v2.2.4
func (o ObjectStoreOutput) Name() pulumi.StringOutput
The name of the Object Store. Must be unique.
func (ObjectStoreOutput) Region ¶ added in v2.2.4
func (o ObjectStoreOutput) Region() pulumi.StringOutput
The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1)
func (ObjectStoreOutput) Status ¶ added in v2.2.4
func (o ObjectStoreOutput) Status() pulumi.StringOutput
The status of the Object Store.
func (ObjectStoreOutput) ToObjectStoreOutput ¶ added in v2.2.4
func (o ObjectStoreOutput) ToObjectStoreOutput() ObjectStoreOutput
func (ObjectStoreOutput) ToObjectStoreOutputWithContext ¶ added in v2.2.4
func (o ObjectStoreOutput) ToObjectStoreOutputWithContext(ctx context.Context) ObjectStoreOutput
type ObjectStoreState ¶ added in v2.2.4
type ObjectStoreState struct { // The access key ID from the Object Store credential. If this is not set, a new credential will be created. AccessKeyId pulumi.StringPtrInput // The endpoint of the Object Store. It is generated by the provider. BucketUrl pulumi.StringPtrInput // The maximum size of the Object Store. Default is 500GB. MaxSizeGb pulumi.IntPtrInput // The name of the Object Store. Must be unique. Name pulumi.StringPtrInput // The region for the Object Store, if not declared we use the region as declared in the provider (Defaults to LON1) Region pulumi.StringPtrInput // The status of the Object Store. Status pulumi.StringPtrInput }
func (ObjectStoreState) ElementType ¶ added in v2.2.4
func (ObjectStoreState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // The Base URL to use for CIVO API. ApiEndpoint pulumi.StringPtrOutput `pulumi:"apiEndpoint"` // Path to the Civo credentials file. Can be specified using CIVO_CREDENTIAL_FILE environment variable. CredentialsFile pulumi.StringPtrOutput `pulumi:"credentialsFile"` // If region is not set, then no region will be used and them you need expensify in every resource even if you expensify // here you can overwrite in a resource. Region pulumi.StringPtrOutput `pulumi:"region"` // This is the Civo API token. Alternatively, this can also be specified using `CIVO_TOKEN` environment variable. Token pulumi.StringPtrOutput `pulumi:"token"` }
The provider type for the civo package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // The Base URL to use for CIVO API. ApiEndpoint pulumi.StringPtrInput // Path to the Civo credentials file. Can be specified using CIVO_CREDENTIAL_FILE environment variable. CredentialsFile pulumi.StringPtrInput // If region is not set, then no region will be used and them you need expensify in every resource even if you expensify // here you can overwrite in a resource. Region pulumi.StringPtrInput // This is the Civo API token. Alternatively, this can also be specified using `CIVO_TOKEN` environment variable. Token pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ApiEndpoint ¶ added in v2.3.0
func (o ProviderOutput) ApiEndpoint() pulumi.StringPtrOutput
The Base URL to use for CIVO API.
func (ProviderOutput) CredentialsFile ¶ added in v2.4.0
func (o ProviderOutput) CredentialsFile() pulumi.StringPtrOutput
Path to the Civo credentials file. Can be specified using CIVO_CREDENTIAL_FILE environment variable.
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Region ¶ added in v2.2.3
func (o ProviderOutput) Region() pulumi.StringPtrOutput
If region is not set, then no region will be used and them you need expensify in every resource even if you expensify here you can overwrite in a resource.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶ added in v2.2.3
func (o ProviderOutput) Token() pulumi.StringPtrOutput
This is the Civo API token. Alternatively, this can also be specified using `CIVO_TOKEN` environment variable.
type ReservedIp ¶ added in v2.2.3
type ReservedIp struct { pulumi.CustomResourceState // The IP Address of the resource Ip pulumi.StringOutput `pulumi:"ip"` // Name for the ip address Name pulumi.StringOutput `pulumi:"name"` // The region of the ip Region pulumi.StringOutput `pulumi:"region"` }
Provides a Civo reserved IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Instancesor Load Balancer.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := civo.NewReservedIp(ctx, "www", &civo.ReservedIpArgs{ Name: pulumi.String("nginx-www"), }) if err != nil { return err } return nil }) }
```
## Import
terrafom import civo_reserved_ip.www 9f0e86fc-b2c6-46b4-82ed-2f28419f8ae3
func GetReservedIp ¶ added in v2.2.3
func GetReservedIp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ReservedIpState, opts ...pulumi.ResourceOption) (*ReservedIp, error)
GetReservedIp gets an existing ReservedIp 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 NewReservedIp ¶ added in v2.2.3
func NewReservedIp(ctx *pulumi.Context, name string, args *ReservedIpArgs, opts ...pulumi.ResourceOption) (*ReservedIp, error)
NewReservedIp registers a new resource with the given unique name, arguments, and options.
func (*ReservedIp) ElementType ¶ added in v2.2.3
func (*ReservedIp) ElementType() reflect.Type
func (*ReservedIp) ToReservedIpOutput ¶ added in v2.2.3
func (i *ReservedIp) ToReservedIpOutput() ReservedIpOutput
func (*ReservedIp) ToReservedIpOutputWithContext ¶ added in v2.2.3
func (i *ReservedIp) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput
type ReservedIpArgs ¶ added in v2.2.3
type ReservedIpArgs struct { // Name for the ip address Name pulumi.StringPtrInput // The region of the ip Region pulumi.StringPtrInput }
The set of arguments for constructing a ReservedIp resource.
func (ReservedIpArgs) ElementType ¶ added in v2.2.3
func (ReservedIpArgs) ElementType() reflect.Type
type ReservedIpArray ¶ added in v2.2.3
type ReservedIpArray []ReservedIpInput
func (ReservedIpArray) ElementType ¶ added in v2.2.3
func (ReservedIpArray) ElementType() reflect.Type
func (ReservedIpArray) ToReservedIpArrayOutput ¶ added in v2.2.3
func (i ReservedIpArray) ToReservedIpArrayOutput() ReservedIpArrayOutput
func (ReservedIpArray) ToReservedIpArrayOutputWithContext ¶ added in v2.2.3
func (i ReservedIpArray) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput
type ReservedIpArrayInput ¶ added in v2.2.3
type ReservedIpArrayInput interface { pulumi.Input ToReservedIpArrayOutput() ReservedIpArrayOutput ToReservedIpArrayOutputWithContext(context.Context) ReservedIpArrayOutput }
ReservedIpArrayInput is an input type that accepts ReservedIpArray and ReservedIpArrayOutput values. You can construct a concrete instance of `ReservedIpArrayInput` via:
ReservedIpArray{ ReservedIpArgs{...} }
type ReservedIpArrayOutput ¶ added in v2.2.3
type ReservedIpArrayOutput struct{ *pulumi.OutputState }
func (ReservedIpArrayOutput) ElementType ¶ added in v2.2.3
func (ReservedIpArrayOutput) ElementType() reflect.Type
func (ReservedIpArrayOutput) Index ¶ added in v2.2.3
func (o ReservedIpArrayOutput) Index(i pulumi.IntInput) ReservedIpOutput
func (ReservedIpArrayOutput) ToReservedIpArrayOutput ¶ added in v2.2.3
func (o ReservedIpArrayOutput) ToReservedIpArrayOutput() ReservedIpArrayOutput
func (ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext ¶ added in v2.2.3
func (o ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput
type ReservedIpInput ¶ added in v2.2.3
type ReservedIpInput interface { pulumi.Input ToReservedIpOutput() ReservedIpOutput ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput }
type ReservedIpMap ¶ added in v2.2.3
type ReservedIpMap map[string]ReservedIpInput
func (ReservedIpMap) ElementType ¶ added in v2.2.3
func (ReservedIpMap) ElementType() reflect.Type
func (ReservedIpMap) ToReservedIpMapOutput ¶ added in v2.2.3
func (i ReservedIpMap) ToReservedIpMapOutput() ReservedIpMapOutput
func (ReservedIpMap) ToReservedIpMapOutputWithContext ¶ added in v2.2.3
func (i ReservedIpMap) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput
type ReservedIpMapInput ¶ added in v2.2.3
type ReservedIpMapInput interface { pulumi.Input ToReservedIpMapOutput() ReservedIpMapOutput ToReservedIpMapOutputWithContext(context.Context) ReservedIpMapOutput }
ReservedIpMapInput is an input type that accepts ReservedIpMap and ReservedIpMapOutput values. You can construct a concrete instance of `ReservedIpMapInput` via:
ReservedIpMap{ "key": ReservedIpArgs{...} }
type ReservedIpMapOutput ¶ added in v2.2.3
type ReservedIpMapOutput struct{ *pulumi.OutputState }
func (ReservedIpMapOutput) ElementType ¶ added in v2.2.3
func (ReservedIpMapOutput) ElementType() reflect.Type
func (ReservedIpMapOutput) MapIndex ¶ added in v2.2.3
func (o ReservedIpMapOutput) MapIndex(k pulumi.StringInput) ReservedIpOutput
func (ReservedIpMapOutput) ToReservedIpMapOutput ¶ added in v2.2.3
func (o ReservedIpMapOutput) ToReservedIpMapOutput() ReservedIpMapOutput
func (ReservedIpMapOutput) ToReservedIpMapOutputWithContext ¶ added in v2.2.3
func (o ReservedIpMapOutput) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput
type ReservedIpOutput ¶ added in v2.2.3
type ReservedIpOutput struct{ *pulumi.OutputState }
func (ReservedIpOutput) ElementType ¶ added in v2.2.3
func (ReservedIpOutput) ElementType() reflect.Type
func (ReservedIpOutput) Ip ¶ added in v2.2.3
func (o ReservedIpOutput) Ip() pulumi.StringOutput
The IP Address of the resource
func (ReservedIpOutput) Name ¶ added in v2.2.3
func (o ReservedIpOutput) Name() pulumi.StringOutput
Name for the ip address
func (ReservedIpOutput) Region ¶ added in v2.2.3
func (o ReservedIpOutput) Region() pulumi.StringOutput
The region of the ip
func (ReservedIpOutput) ToReservedIpOutput ¶ added in v2.2.3
func (o ReservedIpOutput) ToReservedIpOutput() ReservedIpOutput
func (ReservedIpOutput) ToReservedIpOutputWithContext ¶ added in v2.2.3
func (o ReservedIpOutput) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput
type ReservedIpState ¶ added in v2.2.3
type ReservedIpState struct { // The IP Address of the resource Ip pulumi.StringPtrInput // Name for the ip address Name pulumi.StringPtrInput // The region of the ip Region pulumi.StringPtrInput }
func (ReservedIpState) ElementType ¶ added in v2.2.3
func (ReservedIpState) ElementType() reflect.Type
type SshKey ¶
type SshKey struct { pulumi.CustomResourceState // a string containing the SSH finger print. Fingerprint pulumi.StringOutput `pulumi:"fingerprint"` // a string that will be the reference for the SSH key. Name pulumi.StringOutput `pulumi:"name"` // a string containing the SSH public key. PublicKey pulumi.StringOutput `pulumi:"publicKey"` }
Provides a Civo SSH key resource to allow you to manage SSH keys for instance access. Keys created with this resource can be referenced in your instance configuration via their ID.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "~/.ssh/id_rsa.pub", }, nil) if err != nil { return err } _, err = civo.NewSshKey(ctx, "my-user", &civo.SshKeyArgs{ Name: pulumi.String("my-user"), PublicKey: pulumi.String(invokeFile.Result), }) if err != nil { return err } return nil }) }
```
## Import
using ID
```sh $ pulumi import civo:index/sshKey:SshKey mykey 87ca2ee4-57d3-4420-b9b6-411b0b4b2a0e ```
func GetSshKey ¶
func GetSshKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SshKeyState, opts ...pulumi.ResourceOption) (*SshKey, error)
GetSshKey gets an existing SshKey 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 NewSshKey ¶
func NewSshKey(ctx *pulumi.Context, name string, args *SshKeyArgs, opts ...pulumi.ResourceOption) (*SshKey, error)
NewSshKey registers a new resource with the given unique name, arguments, and options.
func (*SshKey) ElementType ¶
func (*SshKey) ToSshKeyOutput ¶
func (i *SshKey) ToSshKeyOutput() SshKeyOutput
func (*SshKey) ToSshKeyOutputWithContext ¶
func (i *SshKey) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
type SshKeyArgs ¶
type SshKeyArgs struct { // a string that will be the reference for the SSH key. Name pulumi.StringPtrInput // a string containing the SSH public key. PublicKey pulumi.StringInput }
The set of arguments for constructing a SshKey resource.
func (SshKeyArgs) ElementType ¶
func (SshKeyArgs) ElementType() reflect.Type
type SshKeyArray ¶
type SshKeyArray []SshKeyInput
func (SshKeyArray) ElementType ¶
func (SshKeyArray) ElementType() reflect.Type
func (SshKeyArray) ToSshKeyArrayOutput ¶
func (i SshKeyArray) ToSshKeyArrayOutput() SshKeyArrayOutput
func (SshKeyArray) ToSshKeyArrayOutputWithContext ¶
func (i SshKeyArray) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput
type SshKeyArrayInput ¶
type SshKeyArrayInput interface { pulumi.Input ToSshKeyArrayOutput() SshKeyArrayOutput ToSshKeyArrayOutputWithContext(context.Context) SshKeyArrayOutput }
SshKeyArrayInput is an input type that accepts SshKeyArray and SshKeyArrayOutput values. You can construct a concrete instance of `SshKeyArrayInput` via:
SshKeyArray{ SshKeyArgs{...} }
type SshKeyArrayOutput ¶
type SshKeyArrayOutput struct{ *pulumi.OutputState }
func (SshKeyArrayOutput) ElementType ¶
func (SshKeyArrayOutput) ElementType() reflect.Type
func (SshKeyArrayOutput) Index ¶
func (o SshKeyArrayOutput) Index(i pulumi.IntInput) SshKeyOutput
func (SshKeyArrayOutput) ToSshKeyArrayOutput ¶
func (o SshKeyArrayOutput) ToSshKeyArrayOutput() SshKeyArrayOutput
func (SshKeyArrayOutput) ToSshKeyArrayOutputWithContext ¶
func (o SshKeyArrayOutput) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput
type SshKeyInput ¶
type SshKeyInput interface { pulumi.Input ToSshKeyOutput() SshKeyOutput ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput }
type SshKeyMap ¶
type SshKeyMap map[string]SshKeyInput
func (SshKeyMap) ElementType ¶
func (SshKeyMap) ToSshKeyMapOutput ¶
func (i SshKeyMap) ToSshKeyMapOutput() SshKeyMapOutput
func (SshKeyMap) ToSshKeyMapOutputWithContext ¶
func (i SshKeyMap) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput
type SshKeyMapInput ¶
type SshKeyMapInput interface { pulumi.Input ToSshKeyMapOutput() SshKeyMapOutput ToSshKeyMapOutputWithContext(context.Context) SshKeyMapOutput }
SshKeyMapInput is an input type that accepts SshKeyMap and SshKeyMapOutput values. You can construct a concrete instance of `SshKeyMapInput` via:
SshKeyMap{ "key": SshKeyArgs{...} }
type SshKeyMapOutput ¶
type SshKeyMapOutput struct{ *pulumi.OutputState }
func (SshKeyMapOutput) ElementType ¶
func (SshKeyMapOutput) ElementType() reflect.Type
func (SshKeyMapOutput) MapIndex ¶
func (o SshKeyMapOutput) MapIndex(k pulumi.StringInput) SshKeyOutput
func (SshKeyMapOutput) ToSshKeyMapOutput ¶
func (o SshKeyMapOutput) ToSshKeyMapOutput() SshKeyMapOutput
func (SshKeyMapOutput) ToSshKeyMapOutputWithContext ¶
func (o SshKeyMapOutput) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput
type SshKeyOutput ¶
type SshKeyOutput struct{ *pulumi.OutputState }
func (SshKeyOutput) ElementType ¶
func (SshKeyOutput) ElementType() reflect.Type
func (SshKeyOutput) Fingerprint ¶ added in v2.2.3
func (o SshKeyOutput) Fingerprint() pulumi.StringOutput
a string containing the SSH finger print.
func (SshKeyOutput) Name ¶ added in v2.2.3
func (o SshKeyOutput) Name() pulumi.StringOutput
a string that will be the reference for the SSH key.
func (SshKeyOutput) PublicKey ¶ added in v2.2.3
func (o SshKeyOutput) PublicKey() pulumi.StringOutput
a string containing the SSH public key.
func (SshKeyOutput) ToSshKeyOutput ¶
func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput
func (SshKeyOutput) ToSshKeyOutputWithContext ¶
func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
type SshKeyState ¶
type SshKeyState struct { // a string containing the SSH finger print. Fingerprint pulumi.StringPtrInput // a string that will be the reference for the SSH key. Name pulumi.StringPtrInput // a string containing the SSH public key. PublicKey pulumi.StringPtrInput }
func (SshKeyState) ElementType ¶
func (SshKeyState) ElementType() reflect.Type
type Volume ¶
type Volume struct { pulumi.CustomResourceState // The mount point of the volume (from instance's perspective) MountPoint pulumi.StringOutput `pulumi:"mountPoint"` // A name that you wish to use to refer to this volume Name pulumi.StringOutput `pulumi:"name"` // The network that the volume belongs to NetworkId pulumi.StringOutput `pulumi:"networkId"` // The region for the volume, if not declare we use the region in declared in the provider. Region pulumi.StringPtrOutput `pulumi:"region"` // A minimum of 1 and a maximum of your available disk space from your quota specifies the size of the volume in gigabytes SizeGb pulumi.IntOutput `pulumi:"sizeGb"` // The type of the volume VolumeType pulumi.StringPtrOutput `pulumi:"volumeType"` }
Provides a Civo volume which can be attached to an instance in order to provide expanded storage.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-civo/sdk/v2/go/civo" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Get network defaultNetwork, err := civo.LookupNetwork(ctx, &civo.LookupNetworkArgs{ Label: pulumi.StringRef("Default"), }, nil) if err != nil { return err } // Create volume _, err = civo.NewVolume(ctx, "db", &civo.VolumeArgs{ Name: pulumi.String("backup-data"), SizeGb: pulumi.Int(5), NetworkId: pulumi.String(defaultNetwork.Id), }, pulumi.DependsOn([]pulumi.Resource{ defaultNetwork, })) if err != nil { return err } return nil }) }
```
## Import
using ID
```sh $ pulumi import civo:index/volume:Volume db 506f78a4-e098-11e5-ad9f-000f53306ae1 ```
func GetVolume ¶
func GetVolume(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)
GetVolume gets an existing Volume 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 NewVolume ¶
func NewVolume(ctx *pulumi.Context, name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)
NewVolume registers a new resource with the given unique name, arguments, and options.
func (*Volume) ElementType ¶
func (*Volume) ToVolumeOutput ¶
func (i *Volume) ToVolumeOutput() VolumeOutput
func (*Volume) ToVolumeOutputWithContext ¶
func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
type VolumeArgs ¶
type VolumeArgs struct { // A name that you wish to use to refer to this volume Name pulumi.StringPtrInput // The network that the volume belongs to NetworkId pulumi.StringInput // The region for the volume, if not declare we use the region in declared in the provider. Region pulumi.StringPtrInput // A minimum of 1 and a maximum of your available disk space from your quota specifies the size of the volume in gigabytes SizeGb pulumi.IntInput // The type of the volume VolumeType pulumi.StringPtrInput }
The set of arguments for constructing a Volume resource.
func (VolumeArgs) ElementType ¶
func (VolumeArgs) ElementType() reflect.Type
type VolumeArray ¶
type VolumeArray []VolumeInput
func (VolumeArray) ElementType ¶
func (VolumeArray) ElementType() reflect.Type
func (VolumeArray) ToVolumeArrayOutput ¶
func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput
func (VolumeArray) ToVolumeArrayOutputWithContext ¶
func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput
type VolumeArrayInput ¶
type VolumeArrayInput interface { pulumi.Input ToVolumeArrayOutput() VolumeArrayOutput ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput }
VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:
VolumeArray{ VolumeArgs{...} }
type VolumeArrayOutput ¶
type VolumeArrayOutput struct{ *pulumi.OutputState }
func (VolumeArrayOutput) ElementType ¶
func (VolumeArrayOutput) ElementType() reflect.Type
func (VolumeArrayOutput) Index ¶
func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput
func (VolumeArrayOutput) ToVolumeArrayOutput ¶
func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput
func (VolumeArrayOutput) ToVolumeArrayOutputWithContext ¶
func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput
type VolumeAttachment ¶
type VolumeAttachment struct { pulumi.CustomResourceState // The ID of target instance for attachment InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The region for the volume attachment Region pulumi.StringPtrOutput `pulumi:"region"` // The ID of target volume for attachment VolumeId pulumi.StringOutput `pulumi:"volumeId"` }
Manages volume attachment/detachment to an instance.
func GetVolumeAttachment ¶
func GetVolumeAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VolumeAttachmentState, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)
GetVolumeAttachment gets an existing VolumeAttachment 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 NewVolumeAttachment ¶
func NewVolumeAttachment(ctx *pulumi.Context, name string, args *VolumeAttachmentArgs, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)
NewVolumeAttachment registers a new resource with the given unique name, arguments, and options.
func (*VolumeAttachment) ElementType ¶
func (*VolumeAttachment) ElementType() reflect.Type
func (*VolumeAttachment) ToVolumeAttachmentOutput ¶
func (i *VolumeAttachment) ToVolumeAttachmentOutput() VolumeAttachmentOutput
func (*VolumeAttachment) ToVolumeAttachmentOutputWithContext ¶
func (i *VolumeAttachment) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
type VolumeAttachmentArgs ¶
type VolumeAttachmentArgs struct { // The ID of target instance for attachment InstanceId pulumi.StringInput // The region for the volume attachment Region pulumi.StringPtrInput // The ID of target volume for attachment VolumeId pulumi.StringInput }
The set of arguments for constructing a VolumeAttachment resource.
func (VolumeAttachmentArgs) ElementType ¶
func (VolumeAttachmentArgs) ElementType() reflect.Type
type VolumeAttachmentArray ¶
type VolumeAttachmentArray []VolumeAttachmentInput
func (VolumeAttachmentArray) ElementType ¶
func (VolumeAttachmentArray) ElementType() reflect.Type
func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutput ¶
func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext ¶
func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
type VolumeAttachmentArrayInput ¶
type VolumeAttachmentArrayInput interface { pulumi.Input ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput ToVolumeAttachmentArrayOutputWithContext(context.Context) VolumeAttachmentArrayOutput }
VolumeAttachmentArrayInput is an input type that accepts VolumeAttachmentArray and VolumeAttachmentArrayOutput values. You can construct a concrete instance of `VolumeAttachmentArrayInput` via:
VolumeAttachmentArray{ VolumeAttachmentArgs{...} }
type VolumeAttachmentArrayOutput ¶
type VolumeAttachmentArrayOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentArrayOutput) ElementType ¶
func (VolumeAttachmentArrayOutput) ElementType() reflect.Type
func (VolumeAttachmentArrayOutput) Index ¶
func (o VolumeAttachmentArrayOutput) Index(i pulumi.IntInput) VolumeAttachmentOutput
func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput ¶
func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext ¶
func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput
type VolumeAttachmentInput ¶
type VolumeAttachmentInput interface { pulumi.Input ToVolumeAttachmentOutput() VolumeAttachmentOutput ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput }
type VolumeAttachmentMap ¶
type VolumeAttachmentMap map[string]VolumeAttachmentInput
func (VolumeAttachmentMap) ElementType ¶
func (VolumeAttachmentMap) ElementType() reflect.Type
func (VolumeAttachmentMap) ToVolumeAttachmentMapOutput ¶
func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
func (VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext ¶
func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
type VolumeAttachmentMapInput ¶
type VolumeAttachmentMapInput interface { pulumi.Input ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput ToVolumeAttachmentMapOutputWithContext(context.Context) VolumeAttachmentMapOutput }
VolumeAttachmentMapInput is an input type that accepts VolumeAttachmentMap and VolumeAttachmentMapOutput values. You can construct a concrete instance of `VolumeAttachmentMapInput` via:
VolumeAttachmentMap{ "key": VolumeAttachmentArgs{...} }
type VolumeAttachmentMapOutput ¶
type VolumeAttachmentMapOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentMapOutput) ElementType ¶
func (VolumeAttachmentMapOutput) ElementType() reflect.Type
func (VolumeAttachmentMapOutput) MapIndex ¶
func (o VolumeAttachmentMapOutput) MapIndex(k pulumi.StringInput) VolumeAttachmentOutput
func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput ¶
func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext ¶
func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput
type VolumeAttachmentOutput ¶
type VolumeAttachmentOutput struct{ *pulumi.OutputState }
func (VolumeAttachmentOutput) ElementType ¶
func (VolumeAttachmentOutput) ElementType() reflect.Type
func (VolumeAttachmentOutput) InstanceId ¶ added in v2.2.3
func (o VolumeAttachmentOutput) InstanceId() pulumi.StringOutput
The ID of target instance for attachment
func (VolumeAttachmentOutput) Region ¶ added in v2.2.3
func (o VolumeAttachmentOutput) Region() pulumi.StringPtrOutput
The region for the volume attachment
func (VolumeAttachmentOutput) ToVolumeAttachmentOutput ¶
func (o VolumeAttachmentOutput) ToVolumeAttachmentOutput() VolumeAttachmentOutput
func (VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext ¶
func (o VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
func (VolumeAttachmentOutput) VolumeId ¶ added in v2.2.3
func (o VolumeAttachmentOutput) VolumeId() pulumi.StringOutput
The ID of target volume for attachment
type VolumeAttachmentState ¶
type VolumeAttachmentState struct { // The ID of target instance for attachment InstanceId pulumi.StringPtrInput // The region for the volume attachment Region pulumi.StringPtrInput // The ID of target volume for attachment VolumeId pulumi.StringPtrInput }
func (VolumeAttachmentState) ElementType ¶
func (VolumeAttachmentState) ElementType() reflect.Type
type VolumeInput ¶
type VolumeInput interface { pulumi.Input ToVolumeOutput() VolumeOutput ToVolumeOutputWithContext(ctx context.Context) VolumeOutput }
type VolumeMap ¶
type VolumeMap map[string]VolumeInput
func (VolumeMap) ElementType ¶
func (VolumeMap) ToVolumeMapOutput ¶
func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput
func (VolumeMap) ToVolumeMapOutputWithContext ¶
func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput
type VolumeMapInput ¶
type VolumeMapInput interface { pulumi.Input ToVolumeMapOutput() VolumeMapOutput ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput }
VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:
VolumeMap{ "key": VolumeArgs{...} }
type VolumeMapOutput ¶
type VolumeMapOutput struct{ *pulumi.OutputState }
func (VolumeMapOutput) ElementType ¶
func (VolumeMapOutput) ElementType() reflect.Type
func (VolumeMapOutput) MapIndex ¶
func (o VolumeMapOutput) MapIndex(k pulumi.StringInput) VolumeOutput
func (VolumeMapOutput) ToVolumeMapOutput ¶
func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput
func (VolumeMapOutput) ToVolumeMapOutputWithContext ¶
func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput
type VolumeOutput ¶
type VolumeOutput struct{ *pulumi.OutputState }
func (VolumeOutput) ElementType ¶
func (VolumeOutput) ElementType() reflect.Type
func (VolumeOutput) MountPoint ¶ added in v2.2.3
func (o VolumeOutput) MountPoint() pulumi.StringOutput
The mount point of the volume (from instance's perspective)
func (VolumeOutput) Name ¶ added in v2.2.3
func (o VolumeOutput) Name() pulumi.StringOutput
A name that you wish to use to refer to this volume
func (VolumeOutput) NetworkId ¶ added in v2.2.3
func (o VolumeOutput) NetworkId() pulumi.StringOutput
The network that the volume belongs to
func (VolumeOutput) Region ¶ added in v2.2.3
func (o VolumeOutput) Region() pulumi.StringPtrOutput
The region for the volume, if not declare we use the region in declared in the provider.
func (VolumeOutput) SizeGb ¶ added in v2.2.3
func (o VolumeOutput) SizeGb() pulumi.IntOutput
A minimum of 1 and a maximum of your available disk space from your quota specifies the size of the volume in gigabytes
func (VolumeOutput) ToVolumeOutput ¶
func (o VolumeOutput) ToVolumeOutput() VolumeOutput
func (VolumeOutput) ToVolumeOutputWithContext ¶
func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
func (VolumeOutput) VolumeType ¶ added in v2.4.6
func (o VolumeOutput) VolumeType() pulumi.StringPtrOutput
The type of the volume
type VolumeState ¶
type VolumeState struct { // The mount point of the volume (from instance's perspective) MountPoint pulumi.StringPtrInput // A name that you wish to use to refer to this volume Name pulumi.StringPtrInput // The network that the volume belongs to NetworkId pulumi.StringPtrInput // The region for the volume, if not declare we use the region in declared in the provider. Region pulumi.StringPtrInput // A minimum of 1 and a maximum of your available disk space from your quota specifies the size of the volume in gigabytes SizeGb pulumi.IntPtrInput // The type of the volume VolumeType pulumi.StringPtrInput }
func (VolumeState) ElementType ¶
func (VolumeState) ElementType() reflect.Type
Source Files
¶
- database.go
- dnsDomainName.go
- dnsDomainRecord.go
- doc.go
- firewall.go
- getDatabase.go
- getDatabaseVersion.go
- getDiskImage.go
- getDnsDomainName.go
- getDnsDomainRecord.go
- getFirewall.go
- getInstance.go
- getInstances.go
- getKubernetesCluster.go
- getKubernetesVersion.go
- getLoadBalancer.go
- getNetwork.go
- getObjectStore.go
- getObjectStoreCredential.go
- getRegion.go
- getReservedIp.go
- getSize.go
- getSshKey.go
- getVolume.go
- init.go
- instance.go
- instanceReservedIpAssignment.go
- kubernetesCluster.go
- kubernetesNodePool.go
- network.go
- objectStore.go
- objectStoreCredential.go
- provider.go
- pulumiTypes.go
- reservedIp.go
- sshKey.go
- volume.go
- volumeAttachment.go