Viewing docs for Nutanix v0.14.0
published on Thursday, May 21, 2026 by Piers Karsenbarg
published on Thursday, May 21, 2026 by Piers Karsenbarg
Viewing docs for Nutanix v0.14.0
published on Thursday, May 21, 2026 by Piers Karsenbarg
published on Thursday, May 21, 2026 by Piers Karsenbarg
Provides a datasource to retrieve authorization policy with authorization policy uuid .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const get_acp = nutanix.getAuthorizationPolicyV2({
extId: "ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
});
import pulumi
import pulumi_nutanix as nutanix
get_acp = nutanix.get_authorization_policy_v2(ext_id="ba250e3e-1db1-4950-917f-a9e2ea35b8e3")
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.GetAuthorizationPolicyV2(ctx, &nutanix.LookupAuthorizationPolicyV2Args{
ExtId: "ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
}, nil)
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 get_acp = Nutanix.GetAuthorizationPolicyV2.Invoke(new()
{
ExtId = "ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetAuthorizationPolicyV2Args;
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) {
final var get-acp = NutanixFunctions.getAuthorizationPolicyV2(GetAuthorizationPolicyV2Args.builder()
.extId("ba250e3e-1db1-4950-917f-a9e2ea35b8e3")
.build());
}
}
variables:
get-acp:
fn::invoke:
function: nutanix:getAuthorizationPolicyV2
arguments:
extId: ba250e3e-1db1-4950-917f-a9e2ea35b8e3
Example coming soon!
Using getAuthorizationPolicyV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAuthorizationPolicyV2(args: GetAuthorizationPolicyV2Args, opts?: InvokeOptions): Promise<GetAuthorizationPolicyV2Result>
function getAuthorizationPolicyV2Output(args: GetAuthorizationPolicyV2OutputArgs, opts?: InvokeOptions): Output<GetAuthorizationPolicyV2Result>def get_authorization_policy_v2(ext_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAuthorizationPolicyV2Result
def get_authorization_policy_v2_output(ext_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAuthorizationPolicyV2Result]func LookupAuthorizationPolicyV2(ctx *Context, args *LookupAuthorizationPolicyV2Args, opts ...InvokeOption) (*LookupAuthorizationPolicyV2Result, error)
func LookupAuthorizationPolicyV2Output(ctx *Context, args *LookupAuthorizationPolicyV2OutputArgs, opts ...InvokeOption) LookupAuthorizationPolicyV2ResultOutput> Note: This function is named LookupAuthorizationPolicyV2 in the Go SDK.
public static class GetAuthorizationPolicyV2
{
public static Task<GetAuthorizationPolicyV2Result> InvokeAsync(GetAuthorizationPolicyV2Args args, InvokeOptions? opts = null)
public static Output<GetAuthorizationPolicyV2Result> Invoke(GetAuthorizationPolicyV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAuthorizationPolicyV2Result> getAuthorizationPolicyV2(GetAuthorizationPolicyV2Args args, InvokeOptions options)
public static Output<GetAuthorizationPolicyV2Result> getAuthorizationPolicyV2(GetAuthorizationPolicyV2Args args, InvokeOptions options)
fn::invoke:
function: nutanix:index/getAuthorizationPolicyV2:getAuthorizationPolicyV2
arguments:
# arguments dictionarydata "nutanix_getauthorizationpolicyv2" "name" {
# arguments
}The following arguments are supported:
- Ext
Id string - Authorization Policy UUID
- Ext
Id string - Authorization Policy UUID
- ext_
id string - Authorization Policy UUID
- ext
Id String - Authorization Policy UUID
- ext
Id string - Authorization Policy UUID
- ext_
id str - Authorization Policy UUID
- ext
Id String - Authorization Policy UUID
getAuthorizationPolicyV2 Result
The following output properties are available:
- string
- Type of Authorization Policy.
PREDEFINED_READ_ONLY: System-defined read-only ACP, i.e. no modifications allowed.SERVICE_DEFINED_READ_ONLY: Read-only ACP defined by a service.PREDEFINED_UPDATE_IDENTITY_ONLY: System-defined ACP prohibiting any modifications from customer.SERVICE_DEFINED: ACP defined by a service.USER_DEFINED: ACP defined by an User.
- Client
Name string - Client that created the entity.
- Created
By string - User or Service Name that created the Authorization Policy.
- Created
Time string - The creation time of the Authorization Policy.
- Description string
- Description of the Authorization Policy.
- Display
Name string - Name of the Authorization Policy.
- Entities
List<Piers
Karsenbarg. Nutanix. Outputs. Get Authorization Policy V2Entity> - The entities being qualified by the Authorization Policy.
- Ext
Id string - ext_id of Authorization policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<Piers
Karsenbarg. Nutanix. Outputs. Get Authorization Policy V2Identity> - The identities for which the Authorization Policy is created.
- Is
System boolDefined - Flag identifying if the Authorization Policy is system defined or not.
- Last
Updated stringTime - The time when the Authorization Policy was last updated.
- Role string
- The Role associated with the Authorization Policy.
- string
- Type of Authorization Policy.
PREDEFINED_READ_ONLY: System-defined read-only ACP, i.e. no modifications allowed.SERVICE_DEFINED_READ_ONLY: Read-only ACP defined by a service.PREDEFINED_UPDATE_IDENTITY_ONLY: System-defined ACP prohibiting any modifications from customer.SERVICE_DEFINED: ACP defined by a service.USER_DEFINED: ACP defined by an User.
- Client
Name string - Client that created the entity.
- Created
By string - User or Service Name that created the Authorization Policy.
- Created
Time string - The creation time of the Authorization Policy.
- Description string
- Description of the Authorization Policy.
- Display
Name string - Name of the Authorization Policy.
- Entities
[]Get
Authorization Policy V2Entity - The entities being qualified by the Authorization Policy.
- Ext
Id string - ext_id of Authorization policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]Get
Authorization Policy V2Identity - The identities for which the Authorization Policy is created.
- Is
System boolDefined - Flag identifying if the Authorization Policy is system defined or not.
- Last
Updated stringTime - The time when the Authorization Policy was last updated.
- Role string
- The Role associated with the Authorization Policy.
- string
- Type of Authorization Policy.
PREDEFINED_READ_ONLY: System-defined read-only ACP, i.e. no modifications allowed.SERVICE_DEFINED_READ_ONLY: Read-only ACP defined by a service.PREDEFINED_UPDATE_IDENTITY_ONLY: System-defined ACP prohibiting any modifications from customer.SERVICE_DEFINED: ACP defined by a service.USER_DEFINED: ACP defined by an User.
- client_
name string - Client that created the entity.
- created_
by string - User or Service Name that created the Authorization Policy.
- created_
time string - The creation time of the Authorization Policy.
- description string
- Description of the Authorization Policy.
- display_
name string - Name of the Authorization Policy.
- entities list(object)
- The entities being qualified by the Authorization Policy.
- ext_
id string - ext_id of Authorization policy.
- id string
- The provider-assigned unique ID for this managed resource.
- identities list(object)
- The identities for which the Authorization Policy is created.
- is_
system_ booldefined - Flag identifying if the Authorization Policy is system defined or not.
- last_
updated_ stringtime - The time when the Authorization Policy was last updated.
- role string
- The Role associated with the Authorization Policy.
- String
- Type of Authorization Policy.
PREDEFINED_READ_ONLY: System-defined read-only ACP, i.e. no modifications allowed.SERVICE_DEFINED_READ_ONLY: Read-only ACP defined by a service.PREDEFINED_UPDATE_IDENTITY_ONLY: System-defined ACP prohibiting any modifications from customer.SERVICE_DEFINED: ACP defined by a service.USER_DEFINED: ACP defined by an User.
- client
Name String - Client that created the entity.
- created
By String - User or Service Name that created the Authorization Policy.
- created
Time String - The creation time of the Authorization Policy.
- description String
- Description of the Authorization Policy.
- display
Name String - Name of the Authorization Policy.
- entities
List<Get
Authorization Policy V2Entity> - The entities being qualified by the Authorization Policy.
- ext
Id String - ext_id of Authorization policy.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<Get
Authorization Policy V2Identity> - The identities for which the Authorization Policy is created.
- is
System BooleanDefined - Flag identifying if the Authorization Policy is system defined or not.
- last
Updated StringTime - The time when the Authorization Policy was last updated.
- role String
- The Role associated with the Authorization Policy.
- string
- Type of Authorization Policy.
PREDEFINED_READ_ONLY: System-defined read-only ACP, i.e. no modifications allowed.SERVICE_DEFINED_READ_ONLY: Read-only ACP defined by a service.PREDEFINED_UPDATE_IDENTITY_ONLY: System-defined ACP prohibiting any modifications from customer.SERVICE_DEFINED: ACP defined by a service.USER_DEFINED: ACP defined by an User.
- client
Name string - Client that created the entity.
- created
By string - User or Service Name that created the Authorization Policy.
- created
Time string - The creation time of the Authorization Policy.
- description string
- Description of the Authorization Policy.
- display
Name string - Name of the Authorization Policy.
- entities
Get
Authorization Policy V2Entity[] - The entities being qualified by the Authorization Policy.
- ext
Id string - ext_id of Authorization policy.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
Get
Authorization Policy V2Identity[] - The identities for which the Authorization Policy is created.
- is
System booleanDefined - Flag identifying if the Authorization Policy is system defined or not.
- last
Updated stringTime - The time when the Authorization Policy was last updated.
- role string
- The Role associated with the Authorization Policy.
- str
- Type of Authorization Policy.
PREDEFINED_READ_ONLY: System-defined read-only ACP, i.e. no modifications allowed.SERVICE_DEFINED_READ_ONLY: Read-only ACP defined by a service.PREDEFINED_UPDATE_IDENTITY_ONLY: System-defined ACP prohibiting any modifications from customer.SERVICE_DEFINED: ACP defined by a service.USER_DEFINED: ACP defined by an User.
- client_
name str - Client that created the entity.
- created_
by str - User or Service Name that created the Authorization Policy.
- created_
time str - The creation time of the Authorization Policy.
- description str
- Description of the Authorization Policy.
- display_
name str - Name of the Authorization Policy.
- entities
Sequence[Get
Authorization Policy V2Entity] - The entities being qualified by the Authorization Policy.
- ext_
id str - ext_id of Authorization policy.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[Get
Authorization Policy V2Identity] - The identities for which the Authorization Policy is created.
- is_
system_ booldefined - Flag identifying if the Authorization Policy is system defined or not.
- last_
updated_ strtime - The time when the Authorization Policy was last updated.
- role str
- The Role associated with the Authorization Policy.
- String
- Type of Authorization Policy.
PREDEFINED_READ_ONLY: System-defined read-only ACP, i.e. no modifications allowed.SERVICE_DEFINED_READ_ONLY: Read-only ACP defined by a service.PREDEFINED_UPDATE_IDENTITY_ONLY: System-defined ACP prohibiting any modifications from customer.SERVICE_DEFINED: ACP defined by a service.USER_DEFINED: ACP defined by an User.
- client
Name String - Client that created the entity.
- created
By String - User or Service Name that created the Authorization Policy.
- created
Time String - The creation time of the Authorization Policy.
- description String
- Description of the Authorization Policy.
- display
Name String - Name of the Authorization Policy.
- entities List<Property Map>
- The entities being qualified by the Authorization Policy.
- ext
Id String - ext_id of Authorization policy.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- The identities for which the Authorization Policy is created.
- is
System BooleanDefined - Flag identifying if the Authorization Policy is system defined or not.
- last
Updated StringTime - The time when the Authorization Policy was last updated.
- role String
- The Role associated with the Authorization Policy.
Supporting Types
GetAuthorizationPolicyV2Entity
- Reserved string
- Reserved string
- reserved string
- reserved String
- reserved string
- reserved str
- reserved String
GetAuthorizationPolicyV2Identity
- Reserved string
- Reserved string
- reserved string
- reserved String
- reserved string
- reserved str
- reserved String
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
Viewing docs for Nutanix v0.14.0
published on Thursday, May 21, 2026 by Piers Karsenbarg
published on Thursday, May 21, 2026 by Piers Karsenbarg