// NewLinkedService registers a new resource with the given unique name, arguments, and options.
NewLinkedService registers a new resource with the given unique name, arguments, and options.
// NewLinkedService registers a new resource with the given unique name arguments and options .
func NewLinkedService(ctx *pulumi.Context,
	name string, args *LinkedServiceArgs, opts ...pulumi.ResourceOption) (*LinkedService, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.ResourceGroupName == nil {
		return nil, errors.New("invalid value for required argument 'ResourceGroupName'")
	}
	var resource LinkedService
	err := ctx.RegisterResource("azure:loganalytics/linkedService:LinkedService", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewLinkedService ( ctx * pulumi . Context , name string , args * LinkedServiceArgs , opts ... pulumi . ResourceOption ) ( * LinkedService , error ) { if args == nil { return nil , errors . New ( " " ) } if args . ResourceGroupName == nil { return nil , errors . New ( " " ) } var resource LinkedService err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewLinkedService registers a new resource with the given unique name, arguments, and options.
NewLinkedService registers a new resource with the given unique name arguments and options .