func NewTransferAccept(ctx *pulumi.Context,
	name string, args *TransferAcceptArgs, opts ...pulumi.ResourceOption) (*TransferAccept, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}

	if args.Key == nil {
		return nil, errors.New("invalid value for required argument 'Key'")
	}
	if args.ZoneTransferRequestId == nil {
		return nil, errors.New("invalid value for required argument 'ZoneTransferRequestId'")
	}
	var resource TransferAccept
	err := ctx.RegisterResource("openstack:dns/transferAccept:TransferAccept", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewTransferAccept registers a new resource with the given unique name, arguments, and options.
NewTransferAccept registers a new resource with the given unique name, arguments, and options.
// NewTransferAccept registers a new resource with the given unique name arguments and options .
func NewTransferAccept(ctx *pulumi.Context,
	name string, args *TransferAcceptArgs, opts ...pulumi.ResourceOption) (*TransferAccept, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.Key == nil {
		return nil, errors.New("invalid value for required argument 'Key'")
	}
	if args.ZoneTransferRequestId == nil {
		return nil, errors.New("invalid value for required argument 'ZoneTransferRequestId'")
	}
	var resource TransferAccept
	err := ctx.RegisterResource("openstack:dns/transferAccept:TransferAccept", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewTransferAccept ( ctx * pulumi . Context , name string , args * TransferAcceptArgs , opts ... pulumi . ResourceOption ) ( * TransferAccept , error ) { if args == nil { return nil , errors . New ( " " ) } if args . Key == nil { return nil , errors . New ( " " ) } if args . ZoneTransferRequestId == nil { return nil , errors . New ( " " ) } var resource TransferAccept err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewTransferAccept registers a new resource with the given unique name, arguments, and options.
NewTransferAccept registers a new resource with the given unique name arguments and options .