func NewZone(ctx *pulumi.Context,
	name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error) {
	if args == nil {
		args = &ZoneArgs{}
	}

	var resource Zone
	err := ctx.RegisterResource("openstack:dns/zone:Zone", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewZone registers a new resource with the given unique name, arguments, and options.
NewZone registers a new resource with the given unique name, arguments, and options.
// NewZone registers a new resource with the given unique name arguments and options .
func NewZone(ctx *pulumi.Context,
	name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error) {
	if args == nil {
		args = &ZoneArgs{}
	}
	var resource Zone
	err := ctx.RegisterResource("openstack:dns/zone:Zone", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewZone ( ctx * pulumi . Context , name string , args * ZoneArgs , opts ... pulumi . ResourceOption ) ( * Zone , error ) { if args == nil { args = & ZoneArgs { } } var resource Zone err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewZone registers a new resource with the given unique name, arguments, and options.
NewZone registers a new resource with the given unique name arguments and options .