Documentation
¶
Index ¶
- type GetDnsZoneArgs
- type GetDnsZoneResult
- type RecordSet
- func (*RecordSet) ElementType() reflect.Type
- func (i *RecordSet) ToRecordSetOutput() RecordSetOutput
- func (i *RecordSet) ToRecordSetOutputWithContext(ctx context.Context) RecordSetOutput
- func (i *RecordSet) ToRecordSetPtrOutput() RecordSetPtrOutput
- func (i *RecordSet) ToRecordSetPtrOutputWithContext(ctx context.Context) RecordSetPtrOutput
- type RecordSetArgs
- type RecordSetArray
- type RecordSetArrayInput
- type RecordSetArrayOutput
- func (RecordSetArrayOutput) ElementType() reflect.Type
- func (o RecordSetArrayOutput) Index(i pulumi.IntInput) RecordSetOutput
- func (o RecordSetArrayOutput) ToRecordSetArrayOutput() RecordSetArrayOutput
- func (o RecordSetArrayOutput) ToRecordSetArrayOutputWithContext(ctx context.Context) RecordSetArrayOutput
- type RecordSetInput
- type RecordSetMap
- type RecordSetMapInput
- type RecordSetMapOutput
- type RecordSetOutput
- func (RecordSetOutput) ElementType() reflect.Type
- func (o RecordSetOutput) ToRecordSetOutput() RecordSetOutput
- func (o RecordSetOutput) ToRecordSetOutputWithContext(ctx context.Context) RecordSetOutput
- func (o RecordSetOutput) ToRecordSetPtrOutput() RecordSetPtrOutput
- func (o RecordSetOutput) ToRecordSetPtrOutputWithContext(ctx context.Context) RecordSetPtrOutput
- type RecordSetPtrInput
- type RecordSetPtrOutput
- type RecordSetState
- type Zone
- type ZoneArgs
- type ZoneArray
- type ZoneArrayInput
- type ZoneArrayOutput
- type ZoneInput
- type ZoneMap
- type ZoneMapInput
- type ZoneMapOutput
- type ZoneOutput
- func (ZoneOutput) ElementType() reflect.Type
- func (o ZoneOutput) ToZoneOutput() ZoneOutput
- func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
- func (o ZoneOutput) ToZonePtrOutput() ZonePtrOutput
- func (o ZoneOutput) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput
- type ZonePtrInput
- type ZonePtrOutput
- type ZoneState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDnsZoneArgs ¶
type GetDnsZoneArgs struct { // Try to obtain zone ID by listing all projects // (requires admin role by default, depends on your policy configuration) AllProjects *string `pulumi:"allProjects"` // Attributes of the DNS Service scheduler. Attributes map[string]interface{} `pulumi:"attributes"` // The time the zone was created. CreatedAt *string `pulumi:"createdAt"` // A description of the zone. Description *string `pulumi:"description"` // The email contact for the zone record. Email *string `pulumi:"email"` // An array of master DNS servers. When `type` is `SECONDARY`. Masters []string `pulumi:"masters"` // The name of the zone. Name *string `pulumi:"name"` // The ID of the pool hosting the zone. PoolId *string `pulumi:"poolId"` // The ID of the project the DNS zone is obtained from, // sets `X-Auth-Sudo-Tenant-ID` header (requires an assigned user role in target project) ProjectId *string `pulumi:"projectId"` // The region in which to obtain the V2 DNS client. // A DNS client is needed to retrieve zone ids. If omitted, the // `region` argument of the provider is used. Region *string `pulumi:"region"` // The serial number of the zone. Serial *int `pulumi:"serial"` // The zone's status. Status *string `pulumi:"status"` // The time the zone was transferred. TransferredAt *string `pulumi:"transferredAt"` // The time to live (TTL) of the zone. Ttl *int `pulumi:"ttl"` // The type of the zone. Can either be `PRIMARY` or `SECONDARY`. Type *string `pulumi:"type"` // The time the zone was last updated. UpdatedAt *string `pulumi:"updatedAt"` // The version of the zone. Version *int `pulumi:"version"` }
A collection of arguments for invoking getDnsZone.
type GetDnsZoneResult ¶
type GetDnsZoneResult struct { AllProjects *string `pulumi:"allProjects"` // Attributes of the DNS Service scheduler. Attributes map[string]interface{} `pulumi:"attributes"` // The time the zone was created. CreatedAt string `pulumi:"createdAt"` // See Argument Reference above. Description *string `pulumi:"description"` // See Argument Reference above. Email *string `pulumi:"email"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // An array of master DNS servers. When `type` is `SECONDARY`. Masters []string `pulumi:"masters"` // See Argument Reference above. Name *string `pulumi:"name"` // The ID of the pool hosting the zone. PoolId string `pulumi:"poolId"` // The project ID that owns the zone. ProjectId string `pulumi:"projectId"` // See Argument Reference above. Region string `pulumi:"region"` // The serial number of the zone. Serial int `pulumi:"serial"` // See Argument Reference above. Status *string `pulumi:"status"` // The time the zone was transferred. TransferredAt string `pulumi:"transferredAt"` // See Argument Reference above. Ttl *int `pulumi:"ttl"` // See Argument Reference above. Type *string `pulumi:"type"` // The time the zone was last updated. UpdatedAt string `pulumi:"updatedAt"` // The version of the zone. Version int `pulumi:"version"` }
A collection of values returned by getDnsZone.
func GetDnsZone ¶
func GetDnsZone(ctx *pulumi.Context, args *GetDnsZoneArgs, opts ...pulumi.InvokeOption) (*GetDnsZoneResult, error)
Use this data source to get the ID of an available OpenStack DNS zone.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/dns" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "example.com" _, err := dns.GetDnsZone(ctx, &dns.GetDnsZoneArgs{ Name: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type RecordSet ¶
type RecordSet struct { pulumi.CustomResourceState // A description of the record set. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the record set. Note the `.` at the end of the name. // Changing this creates a new DNS record set. Name pulumi.StringOutput `pulumi:"name"` // An array of DNS records. _Note:_ if an IPv6 address // contains brackets (`[ ]`), the brackets will be stripped and the modified // address will be recorded in the state. Records pulumi.StringArrayOutput `pulumi:"records"` // The region in which to obtain the V2 DNS client. // If omitted, the `region` argument of the provider is used. // Changing this creates a new DNS record set. Region pulumi.StringOutput `pulumi:"region"` // The time to live (TTL) of the record set. Ttl pulumi.IntOutput `pulumi:"ttl"` // The type of record set. Examples: "A", "MX". // Changing this creates a new DNS record set. Type pulumi.StringOutput `pulumi:"type"` // Map of additional options. Changing this creates a // new record set. ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"` // The ID of the zone in which to create the record set. // Changing this creates a new DNS record set. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Manages a DNS record set in the OpenStack DNS Service.
## Example Usage ### Automatically detect the correct network
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/dns" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleZone, err := dns.NewZone(ctx, "exampleZone", &dns.ZoneArgs{ Description: pulumi.String("a zone"), Email: pulumi.String("email2@example.com"), Ttl: pulumi.Int(6000), Type: pulumi.String("PRIMARY"), }) if err != nil { return err } _, err = dns.NewRecordSet(ctx, "rsExampleCom", &dns.RecordSetArgs{ Description: pulumi.String("An example record set"), Records: pulumi.StringArray{ pulumi.String("10.0.0.1"), }, Ttl: pulumi.Int(3000), Type: pulumi.String("A"), ZoneId: exampleZone.ID(), }) if err != nil { return err } return nil }) }
```
## Import
This resource can be imported by specifying the zone ID and recordset ID, separated by a forward slash.
```sh
$ pulumi import openstack:dns/recordSet:RecordSet recordset_1 <zone_id>/<recordset_id>
```
func GetRecordSet ¶
func GetRecordSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RecordSetState, opts ...pulumi.ResourceOption) (*RecordSet, error)
GetRecordSet gets an existing RecordSet 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 NewRecordSet ¶
func NewRecordSet(ctx *pulumi.Context, name string, args *RecordSetArgs, opts ...pulumi.ResourceOption) (*RecordSet, error)
NewRecordSet registers a new resource with the given unique name, arguments, and options.
func (*RecordSet) ElementType ¶ added in v2.10.0
func (*RecordSet) ToRecordSetOutput ¶ added in v2.10.0
func (i *RecordSet) ToRecordSetOutput() RecordSetOutput
func (*RecordSet) ToRecordSetOutputWithContext ¶ added in v2.10.0
func (i *RecordSet) ToRecordSetOutputWithContext(ctx context.Context) RecordSetOutput
func (*RecordSet) ToRecordSetPtrOutput ¶ added in v2.14.1
func (i *RecordSet) ToRecordSetPtrOutput() RecordSetPtrOutput
func (*RecordSet) ToRecordSetPtrOutputWithContext ¶ added in v2.14.1
func (i *RecordSet) ToRecordSetPtrOutputWithContext(ctx context.Context) RecordSetPtrOutput
type RecordSetArgs ¶
type RecordSetArgs struct { // A description of the record set. Description pulumi.StringPtrInput // The name of the record set. Note the `.` at the end of the name. // Changing this creates a new DNS record set. Name pulumi.StringPtrInput // An array of DNS records. _Note:_ if an IPv6 address // contains brackets (`[ ]`), the brackets will be stripped and the modified // address will be recorded in the state. Records pulumi.StringArrayInput // The region in which to obtain the V2 DNS client. // If omitted, the `region` argument of the provider is used. // Changing this creates a new DNS record set. Region pulumi.StringPtrInput // The time to live (TTL) of the record set. Ttl pulumi.IntPtrInput // The type of record set. Examples: "A", "MX". // Changing this creates a new DNS record set. Type pulumi.StringPtrInput // Map of additional options. Changing this creates a // new record set. ValueSpecs pulumi.MapInput // The ID of the zone in which to create the record set. // Changing this creates a new DNS record set. ZoneId pulumi.StringInput }
The set of arguments for constructing a RecordSet resource.
func (RecordSetArgs) ElementType ¶
func (RecordSetArgs) ElementType() reflect.Type
type RecordSetArray ¶ added in v2.14.1
type RecordSetArray []RecordSetInput
func (RecordSetArray) ElementType ¶ added in v2.14.1
func (RecordSetArray) ElementType() reflect.Type
func (RecordSetArray) ToRecordSetArrayOutput ¶ added in v2.14.1
func (i RecordSetArray) ToRecordSetArrayOutput() RecordSetArrayOutput
func (RecordSetArray) ToRecordSetArrayOutputWithContext ¶ added in v2.14.1
func (i RecordSetArray) ToRecordSetArrayOutputWithContext(ctx context.Context) RecordSetArrayOutput
type RecordSetArrayInput ¶ added in v2.14.1
type RecordSetArrayInput interface { pulumi.Input ToRecordSetArrayOutput() RecordSetArrayOutput ToRecordSetArrayOutputWithContext(context.Context) RecordSetArrayOutput }
RecordSetArrayInput is an input type that accepts RecordSetArray and RecordSetArrayOutput values. You can construct a concrete instance of `RecordSetArrayInput` via:
RecordSetArray{ RecordSetArgs{...} }
type RecordSetArrayOutput ¶ added in v2.14.1
type RecordSetArrayOutput struct{ *pulumi.OutputState }
func (RecordSetArrayOutput) ElementType ¶ added in v2.14.1
func (RecordSetArrayOutput) ElementType() reflect.Type
func (RecordSetArrayOutput) Index ¶ added in v2.14.1
func (o RecordSetArrayOutput) Index(i pulumi.IntInput) RecordSetOutput
func (RecordSetArrayOutput) ToRecordSetArrayOutput ¶ added in v2.14.1
func (o RecordSetArrayOutput) ToRecordSetArrayOutput() RecordSetArrayOutput
func (RecordSetArrayOutput) ToRecordSetArrayOutputWithContext ¶ added in v2.14.1
func (o RecordSetArrayOutput) ToRecordSetArrayOutputWithContext(ctx context.Context) RecordSetArrayOutput
type RecordSetInput ¶ added in v2.10.0
type RecordSetInput interface { pulumi.Input ToRecordSetOutput() RecordSetOutput ToRecordSetOutputWithContext(ctx context.Context) RecordSetOutput }
type RecordSetMap ¶ added in v2.14.1
type RecordSetMap map[string]RecordSetInput
func (RecordSetMap) ElementType ¶ added in v2.14.1
func (RecordSetMap) ElementType() reflect.Type
func (RecordSetMap) ToRecordSetMapOutput ¶ added in v2.14.1
func (i RecordSetMap) ToRecordSetMapOutput() RecordSetMapOutput
func (RecordSetMap) ToRecordSetMapOutputWithContext ¶ added in v2.14.1
func (i RecordSetMap) ToRecordSetMapOutputWithContext(ctx context.Context) RecordSetMapOutput
type RecordSetMapInput ¶ added in v2.14.1
type RecordSetMapInput interface { pulumi.Input ToRecordSetMapOutput() RecordSetMapOutput ToRecordSetMapOutputWithContext(context.Context) RecordSetMapOutput }
RecordSetMapInput is an input type that accepts RecordSetMap and RecordSetMapOutput values. You can construct a concrete instance of `RecordSetMapInput` via:
RecordSetMap{ "key": RecordSetArgs{...} }
type RecordSetMapOutput ¶ added in v2.14.1
type RecordSetMapOutput struct{ *pulumi.OutputState }
func (RecordSetMapOutput) ElementType ¶ added in v2.14.1
func (RecordSetMapOutput) ElementType() reflect.Type
func (RecordSetMapOutput) MapIndex ¶ added in v2.14.1
func (o RecordSetMapOutput) MapIndex(k pulumi.StringInput) RecordSetOutput
func (RecordSetMapOutput) ToRecordSetMapOutput ¶ added in v2.14.1
func (o RecordSetMapOutput) ToRecordSetMapOutput() RecordSetMapOutput
func (RecordSetMapOutput) ToRecordSetMapOutputWithContext ¶ added in v2.14.1
func (o RecordSetMapOutput) ToRecordSetMapOutputWithContext(ctx context.Context) RecordSetMapOutput
type RecordSetOutput ¶ added in v2.10.0
type RecordSetOutput struct {
*pulumi.OutputState
}
func (RecordSetOutput) ElementType ¶ added in v2.10.0
func (RecordSetOutput) ElementType() reflect.Type
func (RecordSetOutput) ToRecordSetOutput ¶ added in v2.10.0
func (o RecordSetOutput) ToRecordSetOutput() RecordSetOutput
func (RecordSetOutput) ToRecordSetOutputWithContext ¶ added in v2.10.0
func (o RecordSetOutput) ToRecordSetOutputWithContext(ctx context.Context) RecordSetOutput
func (RecordSetOutput) ToRecordSetPtrOutput ¶ added in v2.14.1
func (o RecordSetOutput) ToRecordSetPtrOutput() RecordSetPtrOutput
func (RecordSetOutput) ToRecordSetPtrOutputWithContext ¶ added in v2.14.1
func (o RecordSetOutput) ToRecordSetPtrOutputWithContext(ctx context.Context) RecordSetPtrOutput
type RecordSetPtrInput ¶ added in v2.14.1
type RecordSetPtrInput interface { pulumi.Input ToRecordSetPtrOutput() RecordSetPtrOutput ToRecordSetPtrOutputWithContext(ctx context.Context) RecordSetPtrOutput }
type RecordSetPtrOutput ¶ added in v2.14.1
type RecordSetPtrOutput struct {
*pulumi.OutputState
}
func (RecordSetPtrOutput) ElementType ¶ added in v2.14.1
func (RecordSetPtrOutput) ElementType() reflect.Type
func (RecordSetPtrOutput) ToRecordSetPtrOutput ¶ added in v2.14.1
func (o RecordSetPtrOutput) ToRecordSetPtrOutput() RecordSetPtrOutput
func (RecordSetPtrOutput) ToRecordSetPtrOutputWithContext ¶ added in v2.14.1
func (o RecordSetPtrOutput) ToRecordSetPtrOutputWithContext(ctx context.Context) RecordSetPtrOutput
type RecordSetState ¶
type RecordSetState struct { // A description of the record set. Description pulumi.StringPtrInput // The name of the record set. Note the `.` at the end of the name. // Changing this creates a new DNS record set. Name pulumi.StringPtrInput // An array of DNS records. _Note:_ if an IPv6 address // contains brackets (`[ ]`), the brackets will be stripped and the modified // address will be recorded in the state. Records pulumi.StringArrayInput // The region in which to obtain the V2 DNS client. // If omitted, the `region` argument of the provider is used. // Changing this creates a new DNS record set. Region pulumi.StringPtrInput // The time to live (TTL) of the record set. Ttl pulumi.IntPtrInput // The type of record set. Examples: "A", "MX". // Changing this creates a new DNS record set. Type pulumi.StringPtrInput // Map of additional options. Changing this creates a // new record set. ValueSpecs pulumi.MapInput // The ID of the zone in which to create the record set. // Changing this creates a new DNS record set. ZoneId pulumi.StringPtrInput }
func (RecordSetState) ElementType ¶
func (RecordSetState) ElementType() reflect.Type
type Zone ¶
type Zone struct { pulumi.CustomResourceState // Attributes for the DNS Service scheduler. // Changing this creates a new zone. Attributes pulumi.MapOutput `pulumi:"attributes"` // A description of the zone. Description pulumi.StringPtrOutput `pulumi:"description"` // Disable wait for zone to reach ACTIVE // status. The check is enabled by default. If this argument is true, zone // will be considered as created/updated if OpenStack request returned success. DisableStatusCheck pulumi.BoolPtrOutput `pulumi:"disableStatusCheck"` // The email contact for the zone record. Email pulumi.StringPtrOutput `pulumi:"email"` // An array of master DNS servers. For when `type` is // `SECONDARY`. Masters pulumi.StringArrayOutput `pulumi:"masters"` // The name of the zone. Note the `.` at the end of the name. // Changing this creates a new DNS zone. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project DNS zone is created // for, sets `X-Auth-Sudo-Tenant-ID` header (requires an assigned // user role in target project) ProjectId pulumi.StringOutput `pulumi:"projectId"` // The region in which to obtain the V2 Compute client. // Keypairs are associated with accounts, but a Compute client is needed to // create one. If omitted, the `region` argument of the provider is used. // Changing this creates a new DNS zone. Region pulumi.StringOutput `pulumi:"region"` // The time to live (TTL) of the zone. Ttl pulumi.IntOutput `pulumi:"ttl"` // The type of zone. Can either be `PRIMARY` or `SECONDARY`. // Changing this creates a new zone. Type pulumi.StringOutput `pulumi:"type"` // Map of additional options. Changing this creates a // new zone. ValueSpecs pulumi.MapOutput `pulumi:"valueSpecs"` }
Manages a DNS zone in the OpenStack DNS Service.
## Example Usage ### Automatically detect the correct network
```go package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/dns" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dns.NewZone(ctx, "example_com", &dns.ZoneArgs{ Description: pulumi.String("An example zone"), Email: pulumi.String("jdoe@example.com"), Ttl: pulumi.Int(3000), Type: pulumi.String("PRIMARY"), }) if err != nil { return err } return nil }) }
```
## Import
This resource can be imported by specifying the zone ID with optional project ID ¶
```sh
$ pulumi import openstack:dns/zone:Zone zone_1 <zone_id>
```
```sh
$ pulumi import openstack:dns/zone:Zone zone_1 <zone_id>:<project_id>
```
func GetZone ¶
func GetZone(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)
GetZone gets an existing Zone 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 NewZone ¶
func NewZone(ctx *pulumi.Context, name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)
NewZone registers a new resource with the given unique name, arguments, and options.
func (*Zone) ElementType ¶ added in v2.10.0
func (*Zone) ToZoneOutput ¶ added in v2.10.0
func (i *Zone) ToZoneOutput() ZoneOutput
func (*Zone) ToZoneOutputWithContext ¶ added in v2.10.0
func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
func (*Zone) ToZonePtrOutput ¶ added in v2.14.1
func (i *Zone) ToZonePtrOutput() ZonePtrOutput
func (*Zone) ToZonePtrOutputWithContext ¶ added in v2.14.1
func (i *Zone) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput
type ZoneArgs ¶
type ZoneArgs struct { // Attributes for the DNS Service scheduler. // Changing this creates a new zone. Attributes pulumi.MapInput // A description of the zone. Description pulumi.StringPtrInput // Disable wait for zone to reach ACTIVE // status. The check is enabled by default. If this argument is true, zone // will be considered as created/updated if OpenStack request returned success. DisableStatusCheck pulumi.BoolPtrInput // The email contact for the zone record. Email pulumi.StringPtrInput // An array of master DNS servers. For when `type` is // `SECONDARY`. Masters pulumi.StringArrayInput // The name of the zone. Note the `.` at the end of the name. // Changing this creates a new DNS zone. Name pulumi.StringPtrInput // The ID of the project DNS zone is created // for, sets `X-Auth-Sudo-Tenant-ID` header (requires an assigned // user role in target project) ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Compute client. // Keypairs are associated with accounts, but a Compute client is needed to // create one. If omitted, the `region` argument of the provider is used. // Changing this creates a new DNS zone. Region pulumi.StringPtrInput // The time to live (TTL) of the zone. Ttl pulumi.IntPtrInput // The type of zone. Can either be `PRIMARY` or `SECONDARY`. // Changing this creates a new zone. Type pulumi.StringPtrInput // Map of additional options. Changing this creates a // new zone. ValueSpecs pulumi.MapInput }
The set of arguments for constructing a Zone resource.
func (ZoneArgs) ElementType ¶
type ZoneArray ¶ added in v2.14.1
type ZoneArray []ZoneInput
func (ZoneArray) ElementType ¶ added in v2.14.1
func (ZoneArray) ToZoneArrayOutput ¶ added in v2.14.1
func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput
func (ZoneArray) ToZoneArrayOutputWithContext ¶ added in v2.14.1
func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput
type ZoneArrayInput ¶ added in v2.14.1
type ZoneArrayInput interface { pulumi.Input ToZoneArrayOutput() ZoneArrayOutput ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput }
ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:
ZoneArray{ ZoneArgs{...} }
type ZoneArrayOutput ¶ added in v2.14.1
type ZoneArrayOutput struct{ *pulumi.OutputState }
func (ZoneArrayOutput) ElementType ¶ added in v2.14.1
func (ZoneArrayOutput) ElementType() reflect.Type
func (ZoneArrayOutput) Index ¶ added in v2.14.1
func (o ZoneArrayOutput) Index(i pulumi.IntInput) ZoneOutput
func (ZoneArrayOutput) ToZoneArrayOutput ¶ added in v2.14.1
func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput
func (ZoneArrayOutput) ToZoneArrayOutputWithContext ¶ added in v2.14.1
func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput
type ZoneInput ¶ added in v2.10.0
type ZoneInput interface { pulumi.Input ToZoneOutput() ZoneOutput ToZoneOutputWithContext(ctx context.Context) ZoneOutput }
type ZoneMap ¶ added in v2.14.1
func (ZoneMap) ElementType ¶ added in v2.14.1
func (ZoneMap) ToZoneMapOutput ¶ added in v2.14.1
func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput
func (ZoneMap) ToZoneMapOutputWithContext ¶ added in v2.14.1
func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput
type ZoneMapInput ¶ added in v2.14.1
type ZoneMapInput interface { pulumi.Input ToZoneMapOutput() ZoneMapOutput ToZoneMapOutputWithContext(context.Context) ZoneMapOutput }
ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:
ZoneMap{ "key": ZoneArgs{...} }
type ZoneMapOutput ¶ added in v2.14.1
type ZoneMapOutput struct{ *pulumi.OutputState }
func (ZoneMapOutput) ElementType ¶ added in v2.14.1
func (ZoneMapOutput) ElementType() reflect.Type
func (ZoneMapOutput) MapIndex ¶ added in v2.14.1
func (o ZoneMapOutput) MapIndex(k pulumi.StringInput) ZoneOutput
func (ZoneMapOutput) ToZoneMapOutput ¶ added in v2.14.1
func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput
func (ZoneMapOutput) ToZoneMapOutputWithContext ¶ added in v2.14.1
func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput
type ZoneOutput ¶ added in v2.10.0
type ZoneOutput struct {
*pulumi.OutputState
}
func (ZoneOutput) ElementType ¶ added in v2.10.0
func (ZoneOutput) ElementType() reflect.Type
func (ZoneOutput) ToZoneOutput ¶ added in v2.10.0
func (o ZoneOutput) ToZoneOutput() ZoneOutput
func (ZoneOutput) ToZoneOutputWithContext ¶ added in v2.10.0
func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
func (ZoneOutput) ToZonePtrOutput ¶ added in v2.14.1
func (o ZoneOutput) ToZonePtrOutput() ZonePtrOutput
func (ZoneOutput) ToZonePtrOutputWithContext ¶ added in v2.14.1
func (o ZoneOutput) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput
type ZonePtrInput ¶ added in v2.14.1
type ZonePtrInput interface { pulumi.Input ToZonePtrOutput() ZonePtrOutput ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput }
type ZonePtrOutput ¶ added in v2.14.1
type ZonePtrOutput struct {
*pulumi.OutputState
}
func (ZonePtrOutput) ElementType ¶ added in v2.14.1
func (ZonePtrOutput) ElementType() reflect.Type
func (ZonePtrOutput) ToZonePtrOutput ¶ added in v2.14.1
func (o ZonePtrOutput) ToZonePtrOutput() ZonePtrOutput
func (ZonePtrOutput) ToZonePtrOutputWithContext ¶ added in v2.14.1
func (o ZonePtrOutput) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput
type ZoneState ¶
type ZoneState struct { // Attributes for the DNS Service scheduler. // Changing this creates a new zone. Attributes pulumi.MapInput // A description of the zone. Description pulumi.StringPtrInput // Disable wait for zone to reach ACTIVE // status. The check is enabled by default. If this argument is true, zone // will be considered as created/updated if OpenStack request returned success. DisableStatusCheck pulumi.BoolPtrInput // The email contact for the zone record. Email pulumi.StringPtrInput // An array of master DNS servers. For when `type` is // `SECONDARY`. Masters pulumi.StringArrayInput // The name of the zone. Note the `.` at the end of the name. // Changing this creates a new DNS zone. Name pulumi.StringPtrInput // The ID of the project DNS zone is created // for, sets `X-Auth-Sudo-Tenant-ID` header (requires an assigned // user role in target project) ProjectId pulumi.StringPtrInput // The region in which to obtain the V2 Compute client. // Keypairs are associated with accounts, but a Compute client is needed to // create one. If omitted, the `region` argument of the provider is used. // Changing this creates a new DNS zone. Region pulumi.StringPtrInput // The time to live (TTL) of the zone. Ttl pulumi.IntPtrInput // The type of zone. Can either be `PRIMARY` or `SECONDARY`. // Changing this creates a new zone. Type pulumi.StringPtrInput // Map of additional options. Changing this creates a // new zone. ValueSpecs pulumi.MapInput }