func NewQosPolicy(ctx *pulumi.Context,
	name string, args *QosPolicyArgs, opts ...pulumi.ResourceOption) (*QosPolicy, error) {
	if args == nil {
		args = &QosPolicyArgs{}
	}

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