Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getAccessControlPolicy
Explore with Pulumi AI
Describes an Access Control Policy.
Using getAccessControlPolicy
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 getAccessControlPolicy(args: GetAccessControlPolicyArgs, opts?: InvokeOptions): Promise<GetAccessControlPolicyResult>
function getAccessControlPolicyOutput(args: GetAccessControlPolicyOutputArgs, opts?: InvokeOptions): Output<GetAccessControlPolicyResult>def get_access_control_policy(access_control_policy_id: Optional[str] = None,
                              access_control_policy_name: Optional[str] = None,
                              categories: Optional[Sequence[GetAccessControlPolicyCategory]] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAccessControlPolicyResult
def get_access_control_policy_output(access_control_policy_id: Optional[pulumi.Input[str]] = None,
                              access_control_policy_name: Optional[pulumi.Input[str]] = None,
                              categories: Optional[pulumi.Input[Sequence[pulumi.Input[GetAccessControlPolicyCategoryArgs]]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetAccessControlPolicyResult]func LookupAccessControlPolicy(ctx *Context, args *LookupAccessControlPolicyArgs, opts ...InvokeOption) (*LookupAccessControlPolicyResult, error)
func LookupAccessControlPolicyOutput(ctx *Context, args *LookupAccessControlPolicyOutputArgs, opts ...InvokeOption) LookupAccessControlPolicyResultOutput> Note: This function is named LookupAccessControlPolicy in the Go SDK.
public static class GetAccessControlPolicy 
{
    public static Task<GetAccessControlPolicyResult> InvokeAsync(GetAccessControlPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessControlPolicyResult> Invoke(GetAccessControlPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccessControlPolicyResult> getAccessControlPolicy(GetAccessControlPolicyArgs args, InvokeOptions options)
public static Output<GetAccessControlPolicyResult> getAccessControlPolicy(GetAccessControlPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getAccessControlPolicy:getAccessControlPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccessControl stringPolicy Id 
- (Required) The UUID of an access control policy.
 
- AccessControl stringPolicy Name 
- Categories
List<PiersKarsenbarg. Nutanix. Inputs. Get Access Control Policy Category> 
- The category values represented as a dictionary of key > list of values.
 
- AccessControl stringPolicy Id 
- (Required) The UUID of an access control policy.
 
- AccessControl stringPolicy Name 
- Categories
[]GetAccess Control Policy Category 
- The category values represented as a dictionary of key > list of values.
 
- accessControl StringPolicy Id 
- (Required) The UUID of an access control policy.
 
- accessControl StringPolicy Name 
- categories
List<GetAccess Control Policy Category> 
- The category values represented as a dictionary of key > list of values.
 
- accessControl stringPolicy Id 
- (Required) The UUID of an access control policy.
 
- accessControl stringPolicy Name 
- categories
GetAccess Control Policy Category[] 
- The category values represented as a dictionary of key > list of values.
 
- access_control_ strpolicy_ id 
- (Required) The UUID of an access control policy.
 
- access_control_ strpolicy_ name 
- categories
Sequence[GetAccess Control Policy Category] 
- The category values represented as a dictionary of key > list of values.
 
- accessControl StringPolicy Id 
- (Required) The UUID of an access control policy.
 
- accessControl StringPolicy Name 
- categories List<Property Map>
- The category values represented as a dictionary of key > list of values.
 
getAccessControlPolicy Result
The following output properties are available:
- ApiVersion string
- The version of the API.
- Categories
List<PiersKarsenbarg. Nutanix. Outputs. Get Access Control Policy Category> 
- The category values represented as a dictionary of key > list of values.
 
- ContextFilter List<PiersLists Karsenbarg. Nutanix. Outputs. Get Access Control Policy Context Filter List> 
- Description string
- The description of the Access Control Policy.
 
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata Dictionary<string, string>
- The Access Control Policy kind metadata.
 
- Name string
- the name(Optional).
 
- OwnerReference Dictionary<string, string>
- The reference to a user.
 
- ProjectReference Dictionary<string, string>
- The reference to a project.
 
- RoleReferences List<PiersKarsenbarg. Nutanix. Outputs. Get Access Control Policy Role Reference> 
- The reference to a role.
 
- State string
- The state of the Access Control Policy.
 
- UserGroup List<PiersReference Lists Karsenbarg. Nutanix. Outputs. Get Access Control Policy User Group Reference List> 
- The User group(s) being assigned a given role.
 
- UserReference List<PiersLists Karsenbarg. Nutanix. Outputs. Get Access Control Policy User Reference List> 
- The User(s) being assigned a given role.
 
- AccessControl stringPolicy Id 
- AccessControl stringPolicy Name 
- ApiVersion string
- The version of the API.
- Categories
[]GetAccess Control Policy Category 
- The category values represented as a dictionary of key > list of values.
 
- ContextFilter []GetLists Access Control Policy Context Filter List 
- Description string
- The description of the Access Control Policy.
 
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata map[string]string
- The Access Control Policy kind metadata.
 
- Name string
- the name(Optional).
 
- OwnerReference map[string]string
- The reference to a user.
 
- ProjectReference map[string]string
- The reference to a project.
 
- RoleReferences []GetAccess Control Policy Role Reference 
- The reference to a role.
 
- State string
- The state of the Access Control Policy.
 
- UserGroup []GetReference Lists Access Control Policy User Group Reference List 
- The User group(s) being assigned a given role.
 
- UserReference []GetLists Access Control Policy User Reference List 
- The User(s) being assigned a given role.
 
- AccessControl stringPolicy Id 
- AccessControl stringPolicy Name 
- apiVersion String
- The version of the API.
- categories
List<GetAccess Control Policy Category> 
- The category values represented as a dictionary of key > list of values.
 
- contextFilter List<GetLists Access Control Policy Context Filter List> 
- description String
- The description of the Access Control Policy.
 
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String,String>
- The Access Control Policy kind metadata.
 
- name String
- the name(Optional).
 
- ownerReference Map<String,String>
- The reference to a user.
 
- projectReference Map<String,String>
- The reference to a project.
 
- roleReferences List<GetAccess Control Policy Role Reference> 
- The reference to a role.
 
- state String
- The state of the Access Control Policy.
 
- userGroup List<GetReference Lists Access Control Policy User Group Reference List> 
- The User group(s) being assigned a given role.
 
- userReference List<GetLists Access Control Policy User Reference List> 
- The User(s) being assigned a given role.
 
- accessControl StringPolicy Id 
- accessControl StringPolicy Name 
- apiVersion string
- The version of the API.
- categories
GetAccess Control Policy Category[] 
- The category values represented as a dictionary of key > list of values.
 
- contextFilter GetLists Access Control Policy Context Filter List[] 
- description string
- The description of the Access Control Policy.
 
- id string
- The provider-assigned unique ID for this managed resource.
- metadata {[key: string]: string}
- The Access Control Policy kind metadata.
 
- name string
- the name(Optional).
 
- ownerReference {[key: string]: string}
- The reference to a user.
 
- projectReference {[key: string]: string}
- The reference to a project.
 
- roleReferences GetAccess Control Policy Role Reference[] 
- The reference to a role.
 
- state string
- The state of the Access Control Policy.
 
- userGroup GetReference Lists Access Control Policy User Group Reference List[] 
- The User group(s) being assigned a given role.
 
- userReference GetLists Access Control Policy User Reference List[] 
- The User(s) being assigned a given role.
 
- accessControl stringPolicy Id 
- accessControl stringPolicy Name 
- api_version str
- The version of the API.
- categories
Sequence[GetAccess Control Policy Category] 
- The category values represented as a dictionary of key > list of values.
 
- context_filter_ Sequence[Getlists Access Control Policy Context Filter List] 
- description str
- The description of the Access Control Policy.
 
- id str
- The provider-assigned unique ID for this managed resource.
- metadata Mapping[str, str]
- The Access Control Policy kind metadata.
 
- name str
- the name(Optional).
 
- owner_reference Mapping[str, str]
- The reference to a user.
 
- project_reference Mapping[str, str]
- The reference to a project.
 
- role_references Sequence[GetAccess Control Policy Role Reference] 
- The reference to a role.
 
- state str
- The state of the Access Control Policy.
 
- user_group_ Sequence[Getreference_ lists Access Control Policy User Group Reference List] 
- The User group(s) being assigned a given role.
 
- user_reference_ Sequence[Getlists Access Control Policy User Reference List] 
- The User(s) being assigned a given role.
 
- access_control_ strpolicy_ id 
- access_control_ strpolicy_ name 
- apiVersion String
- The version of the API.
- categories List<Property Map>
- The category values represented as a dictionary of key > list of values.
 
- contextFilter List<Property Map>Lists 
- description String
- The description of the Access Control Policy.
 
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String>
- The Access Control Policy kind metadata.
 
- name String
- the name(Optional).
 
- ownerReference Map<String>
- The reference to a user.
 
- projectReference Map<String>
- The reference to a project.
 
- roleReferences List<Property Map>
- The reference to a role.
 
- state String
- The state of the Access Control Policy.
 
- userGroup List<Property Map>Reference Lists 
- The User group(s) being assigned a given role.
 
- userReference List<Property Map>Lists 
- The User(s) being assigned a given role.
 
- accessControl StringPolicy Id 
- accessControl StringPolicy Name 
Supporting Types
GetAccessControlPolicyCategory    
GetAccessControlPolicyContextFilterList      
- EntityFilter List<PiersExpression Lists Karsenbarg. Nutanix. Inputs. Get Access Control Policy Context Filter List Entity Filter Expression List> 
- A list of Entity filter expressions.
- ScopeFilter List<PiersExpression Lists Karsenbarg. Nutanix. Inputs. Get Access Control Policy Context Filter List Scope Filter Expression List> 
- The device ID which is used to uniquely identify this particular disk.
 
- EntityFilter []GetExpression Lists Access Control Policy Context Filter List Entity Filter Expression List 
- A list of Entity filter expressions.
- ScopeFilter []GetExpression Lists Access Control Policy Context Filter List Scope Filter Expression List 
- The device ID which is used to uniquely identify this particular disk.
 
- entityFilter List<GetExpression Lists Access Control Policy Context Filter List Entity Filter Expression List> 
- A list of Entity filter expressions.
- scopeFilter List<GetExpression Lists Access Control Policy Context Filter List Scope Filter Expression List> 
- The device ID which is used to uniquely identify this particular disk.
 
- entityFilter GetExpression Lists Access Control Policy Context Filter List Entity Filter Expression List[] 
- A list of Entity filter expressions.
- scopeFilter GetExpression Lists Access Control Policy Context Filter List Scope Filter Expression List[] 
- The device ID which is used to uniquely identify this particular disk.
 
- entity_filter_ Sequence[Getexpression_ lists Access Control Policy Context Filter List Entity Filter Expression List] 
- A list of Entity filter expressions.
- scope_filter_ Sequence[Getexpression_ lists Access Control Policy Context Filter List Scope Filter Expression List] 
- The device ID which is used to uniquely identify this particular disk.
 
- entityFilter List<Property Map>Expression Lists 
- A list of Entity filter expressions.
- scopeFilter List<Property Map>Expression Lists 
- The device ID which is used to uniquely identify this particular disk.
 
GetAccessControlPolicyContextFilterListEntityFilterExpressionList          
- LeftHand stringSide Entity Type 
- The LHS of the filter expression - the entity type.
 
- Operator string
- The operator in the filter expression.
 
- RightHand List<PiersSides Karsenbarg. Nutanix. Inputs. Get Access Control Policy Context Filter List Entity Filter Expression List Right Hand Side> 
- The right hand side (RHS) of an scope expression.
 
- LeftHand stringSide Entity Type 
- The LHS of the filter expression - the entity type.
 
- Operator string
- The operator in the filter expression.
 
- RightHand []GetSides Access Control Policy Context Filter List Entity Filter Expression List Right Hand Side 
- The right hand side (RHS) of an scope expression.
 
- leftHand StringSide Entity Type 
- The LHS of the filter expression - the entity type.
 
- operator String
- The operator in the filter expression.
 
- rightHand List<GetSides Access Control Policy Context Filter List Entity Filter Expression List Right Hand Side> 
- The right hand side (RHS) of an scope expression.
 
- leftHand stringSide Entity Type 
- The LHS of the filter expression - the entity type.
 
- operator string
- The operator in the filter expression.
 
- rightHand GetSides Access Control Policy Context Filter List Entity Filter Expression List Right Hand Side[] 
- The right hand side (RHS) of an scope expression.
 
- left_hand_ strside_ entity_ type 
- The LHS of the filter expression - the entity type.
 
- operator str
- The operator in the filter expression.
 
- right_hand_ Sequence[Getsides Access Control Policy Context Filter List Entity Filter Expression List Right Hand Side] 
- The right hand side (RHS) of an scope expression.
 
- leftHand StringSide Entity Type 
- The LHS of the filter expression - the entity type.
 
- operator String
- The operator in the filter expression.
 
- rightHand List<Property Map>Sides 
- The right hand side (RHS) of an scope expression.
 
GetAccessControlPolicyContextFilterListEntityFilterExpressionListRightHandSide             
- Categories
List<PiersKarsenbarg. Nutanix. Inputs. Get Access Control Policy Context Filter List Entity Filter Expression List Right Hand Side Category> 
- The category values represented as a dictionary of key > list of values.
 
- Collection string
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- UuidLists List<string>
- The explicit list of UUIDs for the given kind.
 
- Categories
[]GetAccess Control Policy Context Filter List Entity Filter Expression List Right Hand Side Category 
- The category values represented as a dictionary of key > list of values.
 
- Collection string
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- UuidLists []string
- The explicit list of UUIDs for the given kind.
 
- categories
List<GetAccess Control Policy Context Filter List Entity Filter Expression List Right Hand Side Category> 
- The category values represented as a dictionary of key > list of values.
 
- collection String
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- uuidLists List<String>
- The explicit list of UUIDs for the given kind.
 
- categories
GetAccess Control Policy Context Filter List Entity Filter Expression List Right Hand Side Category[] 
- The category values represented as a dictionary of key > list of values.
 
- collection string
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- uuidLists string[]
- The explicit list of UUIDs for the given kind.
 
- categories
Sequence[GetAccess Control Policy Context Filter List Entity Filter Expression List Right Hand Side Category] 
- The category values represented as a dictionary of key > list of values.
 
- collection str
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- uuid_lists Sequence[str]
- The explicit list of UUIDs for the given kind.
 
- categories List<Property Map>
- The category values represented as a dictionary of key > list of values.
 
- collection String
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- uuidLists List<String>
- The explicit list of UUIDs for the given kind.
 
GetAccessControlPolicyContextFilterListEntityFilterExpressionListRightHandSideCategory              
GetAccessControlPolicyContextFilterListScopeFilterExpressionList          
- LeftHand stringSide 
- The LHS of the filter expression - the scope type.
 
- Operator string
- The operator in the filter expression.
 
- RightHand List<PiersSides Karsenbarg. Nutanix. Inputs. Get Access Control Policy Context Filter List Scope Filter Expression List Right Hand Side> 
- The right hand side (RHS) of an scope expression.
 
- LeftHand stringSide 
- The LHS of the filter expression - the scope type.
 
- Operator string
- The operator in the filter expression.
 
- RightHand []GetSides Access Control Policy Context Filter List Scope Filter Expression List Right Hand Side 
- The right hand side (RHS) of an scope expression.
 
- leftHand StringSide 
- The LHS of the filter expression - the scope type.
 
- operator String
- The operator in the filter expression.
 
- rightHand List<GetSides Access Control Policy Context Filter List Scope Filter Expression List Right Hand Side> 
- The right hand side (RHS) of an scope expression.
 
- leftHand stringSide 
- The LHS of the filter expression - the scope type.
 
- operator string
- The operator in the filter expression.
 
- rightHand GetSides Access Control Policy Context Filter List Scope Filter Expression List Right Hand Side[] 
- The right hand side (RHS) of an scope expression.
 
- left_hand_ strside 
- The LHS of the filter expression - the scope type.
 
- operator str
- The operator in the filter expression.
 
- right_hand_ Sequence[Getsides Access Control Policy Context Filter List Scope Filter Expression List Right Hand Side] 
- The right hand side (RHS) of an scope expression.
 
- leftHand StringSide 
- The LHS of the filter expression - the scope type.
 
- operator String
- The operator in the filter expression.
 
- rightHand List<Property Map>Sides 
- The right hand side (RHS) of an scope expression.
 
GetAccessControlPolicyContextFilterListScopeFilterExpressionListRightHandSide             
- Categories
List<PiersKarsenbarg. Nutanix. Inputs. Get Access Control Policy Context Filter List Scope Filter Expression List Right Hand Side Category> 
- The category values represented as a dictionary of key > list of values.
 
- Collection string
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- UuidLists List<string>
- The explicit list of UUIDs for the given kind.
 
- Categories
[]GetAccess Control Policy Context Filter List Scope Filter Expression List Right Hand Side Category 
- The category values represented as a dictionary of key > list of values.
 
- Collection string
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- UuidLists []string
- The explicit list of UUIDs for the given kind.
 
- categories
List<GetAccess Control Policy Context Filter List Scope Filter Expression List Right Hand Side Category> 
- The category values represented as a dictionary of key > list of values.
 
- collection String
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- uuidLists List<String>
- The explicit list of UUIDs for the given kind.
 
- categories
GetAccess Control Policy Context Filter List Scope Filter Expression List Right Hand Side Category[] 
- The category values represented as a dictionary of key > list of values.
 
- collection string
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- uuidLists string[]
- The explicit list of UUIDs for the given kind.
 
- categories
Sequence[GetAccess Control Policy Context Filter List Scope Filter Expression List Right Hand Side Category] 
- The category values represented as a dictionary of key > list of values.
 
- collection str
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- uuid_lists Sequence[str]
- The explicit list of UUIDs for the given kind.
 
- categories List<Property Map>
- The category values represented as a dictionary of key > list of values.
 
- collection String
- A representative term for supported groupings of entities. ALL = All the entities of a given kind.
 
- uuidLists List<String>
- The explicit list of UUIDs for the given kind.
 
GetAccessControlPolicyContextFilterListScopeFilterExpressionListRightHandSideCategory              
GetAccessControlPolicyRoleReference     
GetAccessControlPolicyUserGroupReferenceList       
GetAccessControlPolicyUserReferenceList      
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
