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

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