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