1. Packages
  2. Nutanix
  3. API Docs
  4. PcUnregistrationV2
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

nutanix.PcUnregistrationV2

Explore with Pulumi AI

nutanix logo
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

    Unregister a registered remote cluster from the local cluster. This process is asynchronous, creating an un-registration task and returning its UUID.

    Create PcUnregistrationV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PcUnregistrationV2(name: string, args: PcUnregistrationV2Args, opts?: CustomResourceOptions);
    @overload
    def PcUnregistrationV2(resource_name: str,
                           args: PcUnregistrationV2Args,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def PcUnregistrationV2(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           ext_id: Optional[str] = None,
                           pc_ext_id: Optional[str] = None)
    func NewPcUnregistrationV2(ctx *Context, name string, args PcUnregistrationV2Args, opts ...ResourceOption) (*PcUnregistrationV2, error)
    public PcUnregistrationV2(string name, PcUnregistrationV2Args args, CustomResourceOptions? opts = null)
    public PcUnregistrationV2(String name, PcUnregistrationV2Args args)
    public PcUnregistrationV2(String name, PcUnregistrationV2Args args, CustomResourceOptions options)
    
    type: nutanix:PcUnregistrationV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PcUnregistrationV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PcUnregistrationV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PcUnregistrationV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PcUnregistrationV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PcUnregistrationV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var pcUnregistrationV2Resource = new Nutanix.PcUnregistrationV2("pcUnregistrationV2Resource", new()
    {
        ExtId = "string",
        PcExtId = "string",
    });
    
    example, err := nutanix.NewPcUnregistrationV2(ctx, "pcUnregistrationV2Resource", &nutanix.PcUnregistrationV2Args{
    	ExtId:   pulumi.String("string"),
    	PcExtId: pulumi.String("string"),
    })
    
    var pcUnregistrationV2Resource = new PcUnregistrationV2("pcUnregistrationV2Resource", PcUnregistrationV2Args.builder()
        .extId("string")
        .pcExtId("string")
        .build());
    
    pc_unregistration_v2_resource = nutanix.PcUnregistrationV2("pcUnregistrationV2Resource",
        ext_id="string",
        pc_ext_id="string")
    
    const pcUnregistrationV2Resource = new nutanix.PcUnregistrationV2("pcUnregistrationV2Resource", {
        extId: "string",
        pcExtId: "string",
    });
    
    type: nutanix:PcUnregistrationV2
    properties:
        extId: string
        pcExtId: string
    

    PcUnregistrationV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PcUnregistrationV2 resource accepts the following input properties:

    ExtId string

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    PcExtId string
    -(Required) The external identifier of the domain manager (Prism Central) resource
    ExtId string

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    PcExtId string
    -(Required) The external identifier of the domain manager (Prism Central) resource
    extId String

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    pcExtId String
    -(Required) The external identifier of the domain manager (Prism Central) resource
    extId string

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    pcExtId string
    -(Required) The external identifier of the domain manager (Prism Central) resource
    ext_id str

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    pc_ext_id str
    -(Required) The external identifier of the domain manager (Prism Central) resource
    extId String

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    pcExtId String
    -(Required) The external identifier of the domain manager (Prism Central) resource

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PcUnregistrationV2 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing PcUnregistrationV2 Resource

    Get an existing PcUnregistrationV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PcUnregistrationV2State, opts?: CustomResourceOptions): PcUnregistrationV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ext_id: Optional[str] = None,
            pc_ext_id: Optional[str] = None) -> PcUnregistrationV2
    func GetPcUnregistrationV2(ctx *Context, name string, id IDInput, state *PcUnregistrationV2State, opts ...ResourceOption) (*PcUnregistrationV2, error)
    public static PcUnregistrationV2 Get(string name, Input<string> id, PcUnregistrationV2State? state, CustomResourceOptions? opts = null)
    public static PcUnregistrationV2 get(String name, Output<String> id, PcUnregistrationV2State state, CustomResourceOptions options)
    resources:  _:    type: nutanix:PcUnregistrationV2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ExtId string

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    PcExtId string
    -(Required) The external identifier of the domain manager (Prism Central) resource
    ExtId string

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    PcExtId string
    -(Required) The external identifier of the domain manager (Prism Central) resource
    extId String

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    pcExtId String
    -(Required) The external identifier of the domain manager (Prism Central) resource
    extId string

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    pcExtId string
    -(Required) The external identifier of the domain manager (Prism Central) resource
    ext_id str

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    pc_ext_id str
    -(Required) The external identifier of the domain manager (Prism Central) resource
    extId String

    -(Required) Cluster UUID of a remote cluster.

    See detailed information in Nutanix PC Unregistration V4.

    pcExtId String
    -(Required) The external identifier of the domain manager (Prism Central) resource

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg