published on Tuesday, May 26, 2026 by Piers Karsenbarg
published on Tuesday, May 26, 2026 by Piers Karsenbarg
Initiate change password request for a system user on a supported product.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const changeAdminAosPassword = new nutanix.PasswordChangeRequestV2("change_admin_aos_password", {
extId: "557329fc-6f28-44e4-8905-12c54d704ff9",
currentPassword: "M4zGWn^Haxs0za~",
newPassword: "*yk@1+U0syIr",
});
import pulumi
import pulumi_nutanix as nutanix
change_admin_aos_password = nutanix.PasswordChangeRequestV2("change_admin_aos_password",
ext_id="557329fc-6f28-44e4-8905-12c54d704ff9",
current_password="M4zGWn^Haxs0za~",
new_password="*yk@1+U0syIr")
package main
import (
"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nutanix.NewPasswordChangeRequestV2(ctx, "change_admin_aos_password", &nutanix.PasswordChangeRequestV2Args{
ExtId: pulumi.String("557329fc-6f28-44e4-8905-12c54d704ff9"),
CurrentPassword: pulumi.String("M4zGWn^Haxs0za~"),
NewPassword: pulumi.String("*yk@1+U0syIr"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
var changeAdminAosPassword = new Nutanix.PasswordChangeRequestV2("change_admin_aos_password", new()
{
ExtId = "557329fc-6f28-44e4-8905-12c54d704ff9",
CurrentPassword = "M4zGWn^Haxs0za~",
NewPassword = "*yk@1+U0syIr",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.PasswordChangeRequestV2;
import com.pulumi.nutanix.PasswordChangeRequestV2Args;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var changeAdminAosPassword = new PasswordChangeRequestV2("changeAdminAosPassword", PasswordChangeRequestV2Args.builder()
.extId("557329fc-6f28-44e4-8905-12c54d704ff9")
.currentPassword("M4zGWn^Haxs0za~")
.newPassword("*yk@1+U0syIr")
.build());
}
}
resources:
changeAdminAosPassword:
type: nutanix:PasswordChangeRequestV2
name: change_admin_aos_password
properties:
extId: 557329fc-6f28-44e4-8905-12c54d704ff9
currentPassword: M4zGWn^Haxs0za~
newPassword: '*yk@1+U0syIr'
pulumi {
required_providers {
nutanix = {
source = "pulumi/nutanix"
}
}
}
resource "nutanix_passwordchangerequestv2" "change_admin_aos_password" {
ext_id = "557329fc-6f28-44e4-8905-12c54d704ff9"
current_password = "M4zGWn^Haxs0za~"
new_password = "*yk@1+U0syIr"
}
Create PasswordChangeRequestV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PasswordChangeRequestV2(name: string, args: PasswordChangeRequestV2Args, opts?: CustomResourceOptions);@overload
def PasswordChangeRequestV2(resource_name: str,
args: PasswordChangeRequestV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def PasswordChangeRequestV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
ext_id: Optional[str] = None,
new_password: Optional[str] = None,
current_password: Optional[str] = None)func NewPasswordChangeRequestV2(ctx *Context, name string, args PasswordChangeRequestV2Args, opts ...ResourceOption) (*PasswordChangeRequestV2, error)public PasswordChangeRequestV2(string name, PasswordChangeRequestV2Args args, CustomResourceOptions? opts = null)
public PasswordChangeRequestV2(String name, PasswordChangeRequestV2Args args)
public PasswordChangeRequestV2(String name, PasswordChangeRequestV2Args args, CustomResourceOptions options)
type: nutanix:PasswordChangeRequestV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "nutanix_passwordchangerequestv2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PasswordChangeRequestV2Args
- 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 PasswordChangeRequestV2Args
- 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 PasswordChangeRequestV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PasswordChangeRequestV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PasswordChangeRequestV2Args
- 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 passwordChangeRequestV2Resource = new Nutanix.PasswordChangeRequestV2("passwordChangeRequestV2Resource", new()
{
ExtId = "string",
NewPassword = "string",
CurrentPassword = "string",
});
example, err := nutanix.NewPasswordChangeRequestV2(ctx, "passwordChangeRequestV2Resource", &nutanix.PasswordChangeRequestV2Args{
ExtId: pulumi.String("string"),
NewPassword: pulumi.String("string"),
CurrentPassword: pulumi.String("string"),
})
resource "nutanix_passwordchangerequestv2" "passwordChangeRequestV2Resource" {
ext_id = "string"
new_password = "string"
current_password = "string"
}
var passwordChangeRequestV2Resource = new PasswordChangeRequestV2("passwordChangeRequestV2Resource", PasswordChangeRequestV2Args.builder()
.extId("string")
.newPassword("string")
.currentPassword("string")
.build());
password_change_request_v2_resource = nutanix.PasswordChangeRequestV2("passwordChangeRequestV2Resource",
ext_id="string",
new_password="string",
current_password="string")
const passwordChangeRequestV2Resource = new nutanix.PasswordChangeRequestV2("passwordChangeRequestV2Resource", {
extId: "string",
newPassword: "string",
currentPassword: "string",
});
type: nutanix:PasswordChangeRequestV2
properties:
currentPassword: string
extId: string
newPassword: string
PasswordChangeRequestV2 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 PasswordChangeRequestV2 resource accepts the following input properties:
- Ext
Id string - -(Required) External identifier of the system user password.
- New
Password string -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- Current
Password string - -(Optional) Existing password of a user account.
- Ext
Id string - -(Required) External identifier of the system user password.
- New
Password string -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- Current
Password string - -(Optional) Existing password of a user account.
- ext_
id string - -(Required) External identifier of the system user password.
- new_
password string -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current_
password string - -(Optional) Existing password of a user account.
- ext
Id String - -(Required) External identifier of the system user password.
- new
Password String -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current
Password String - -(Optional) Existing password of a user account.
- ext
Id string - -(Required) External identifier of the system user password.
- new
Password string -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current
Password string - -(Optional) Existing password of a user account.
- ext_
id str - -(Required) External identifier of the system user password.
- new_
password str -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current_
password str - -(Optional) Existing password of a user account.
- ext
Id String - -(Required) External identifier of the system user password.
- new
Password String -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current
Password String - -(Optional) Existing password of a user account.
Outputs
All input properties are implicitly available as output properties. Additionally, the PasswordChangeRequestV2 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 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 PasswordChangeRequestV2 Resource
Get an existing PasswordChangeRequestV2 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?: PasswordChangeRequestV2State, opts?: CustomResourceOptions): PasswordChangeRequestV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
current_password: Optional[str] = None,
ext_id: Optional[str] = None,
new_password: Optional[str] = None) -> PasswordChangeRequestV2func GetPasswordChangeRequestV2(ctx *Context, name string, id IDInput, state *PasswordChangeRequestV2State, opts ...ResourceOption) (*PasswordChangeRequestV2, error)public static PasswordChangeRequestV2 Get(string name, Input<string> id, PasswordChangeRequestV2State? state, CustomResourceOptions? opts = null)public static PasswordChangeRequestV2 get(String name, Output<String> id, PasswordChangeRequestV2State state, CustomResourceOptions options)resources: _: type: nutanix:PasswordChangeRequestV2 get: id: ${id}import {
to = nutanix_passwordchangerequestv2.example
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.
- Current
Password string - -(Optional) Existing password of a user account.
- Ext
Id string - -(Required) External identifier of the system user password.
- New
Password string -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- Current
Password string - -(Optional) Existing password of a user account.
- Ext
Id string - -(Required) External identifier of the system user password.
- New
Password string -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current_
password string - -(Optional) Existing password of a user account.
- ext_
id string - -(Required) External identifier of the system user password.
- new_
password string -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current
Password String - -(Optional) Existing password of a user account.
- ext
Id String - -(Required) External identifier of the system user password.
- new
Password String -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current
Password string - -(Optional) Existing password of a user account.
- ext
Id string - -(Required) External identifier of the system user password.
- new
Password string -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current_
password str - -(Optional) Existing password of a user account.
- ext_
id str - -(Required) External identifier of the system user password.
- new_
password str -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
- current
Password String - -(Optional) Existing password of a user account.
- ext
Id String - -(Required) External identifier of the system user password.
- new
Password String -(Required) New password for a user account.
See detailed information in Nutanix Initiate password update for a system user V4.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
published on Tuesday, May 26, 2026 by Piers Karsenbarg