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