1. Packages
  2. Nutanix
  3. API Docs
  4. getAccessControlPolicies
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

nutanix.getAccessControlPolicies

Explore with Pulumi AI

nutanix logo
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

    Describes a list of access control policies.

    Example Usage

    data "nutanix_access_control_policies" "test" {}
    

    Using getAccessControlPolicies

    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 getAccessControlPolicies(args: GetAccessControlPoliciesArgs, opts?: InvokeOptions): Promise<GetAccessControlPoliciesResult>
    function getAccessControlPoliciesOutput(args: GetAccessControlPoliciesOutputArgs, opts?: InvokeOptions): Output<GetAccessControlPoliciesResult>
    def get_access_control_policies(metadatas: Optional[Sequence[GetAccessControlPoliciesMetadata]] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetAccessControlPoliciesResult
    def get_access_control_policies_output(metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[GetAccessControlPoliciesMetadataArgs]]]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetAccessControlPoliciesResult]
    func GetAccessControlPolicies(ctx *Context, args *GetAccessControlPoliciesArgs, opts ...InvokeOption) (*GetAccessControlPoliciesResult, error)
    func GetAccessControlPoliciesOutput(ctx *Context, args *GetAccessControlPoliciesOutputArgs, opts ...InvokeOption) GetAccessControlPoliciesResultOutput

    > Note: This function is named GetAccessControlPolicies in the Go SDK.

    public static class GetAccessControlPolicies 
    {
        public static Task<GetAccessControlPoliciesResult> InvokeAsync(GetAccessControlPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<GetAccessControlPoliciesResult> Invoke(GetAccessControlPoliciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccessControlPoliciesResult> getAccessControlPolicies(GetAccessControlPoliciesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: nutanix:index/getAccessControlPolicies:getAccessControlPolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Metadatas []GetAccessControlPoliciesMetadata
    • The Access Control Policy kind metadata.
    metadatas List<GetAccessControlPoliciesMetadata>
    • The Access Control Policy kind metadata.
    metadatas GetAccessControlPoliciesMetadata[]
    • The Access Control Policy kind metadata.
    metadatas Sequence[GetAccessControlPoliciesMetadata]
    • The Access Control Policy kind metadata.
    metadatas List<Property Map>
    • The Access Control Policy kind metadata.

    getAccessControlPolicies Result

    The following output properties are available:

    ApiVersion string
    The version of the API.
    Entities List<PiersKarsenbarg.Nutanix.Outputs.GetAccessControlPoliciesEntity>
    List of Access Control Policies
    Id string
    The provider-assigned unique ID for this managed resource.
    Metadatas List<PiersKarsenbarg.Nutanix.Outputs.GetAccessControlPoliciesMetadata>
    • The Access Control Policy kind metadata.
    ApiVersion string
    The version of the API.
    Entities []GetAccessControlPoliciesEntity
    List of Access Control Policies
    Id string
    The provider-assigned unique ID for this managed resource.
    Metadatas []GetAccessControlPoliciesMetadata
    • The Access Control Policy kind metadata.
    apiVersion String
    The version of the API.
    entities List<GetAccessControlPoliciesEntity>
    List of Access Control Policies
    id String
    The provider-assigned unique ID for this managed resource.
    metadatas List<GetAccessControlPoliciesMetadata>
    • The Access Control Policy kind metadata.
    apiVersion string
    The version of the API.
    entities GetAccessControlPoliciesEntity[]
    List of Access Control Policies
    id string
    The provider-assigned unique ID for this managed resource.
    metadatas GetAccessControlPoliciesMetadata[]
    • The Access Control Policy kind metadata.
    api_version str
    The version of the API.
    entities Sequence[GetAccessControlPoliciesEntity]
    List of Access Control Policies
    id str
    The provider-assigned unique ID for this managed resource.
    metadatas Sequence[GetAccessControlPoliciesMetadata]
    • The Access Control Policy kind metadata.
    apiVersion String
    The version of the API.
    entities List<Property Map>
    List of Access Control Policies
    id String
    The provider-assigned unique ID for this managed resource.
    metadatas List<Property Map>
    • The Access Control Policy kind metadata.

    Supporting Types

    GetAccessControlPoliciesEntity

    AccessControlPolicyId string
    ApiVersion string
    The version of the API.
    Categories List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPoliciesEntityCategory>
    • The category values represented as a dictionary of key > list of values.
    ContextFilterLists List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPoliciesEntityContextFilterList>
    Description string
    • The description of the Access Control Policy.
    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.Inputs.GetAccessControlPoliciesEntityRoleReference>
    • The reference to a role.
    State string
    • The state of the Access Control Policy.
    UserGroupReferenceLists List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPoliciesEntityUserGroupReferenceList>
    • The User group(s) being assigned a given role.
    UserReferenceLists List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPoliciesEntityUserReferenceList>
    • The User(s) being assigned a given role.
    AccessControlPolicyId string
    ApiVersion string
    The version of the API.
    Categories []GetAccessControlPoliciesEntityCategory
    • The category values represented as a dictionary of key > list of values.
    ContextFilterLists []GetAccessControlPoliciesEntityContextFilterList
    Description string
    • The description of the Access Control Policy.
    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 []GetAccessControlPoliciesEntityRoleReference
    • The reference to a role.
    State string
    • The state of the Access Control Policy.
    UserGroupReferenceLists []GetAccessControlPoliciesEntityUserGroupReferenceList
    • The User group(s) being assigned a given role.
    UserReferenceLists []GetAccessControlPoliciesEntityUserReferenceList
    • The User(s) being assigned a given role.
    accessControlPolicyId String
    apiVersion String
    The version of the API.
    categories List<GetAccessControlPoliciesEntityCategory>
    • The category values represented as a dictionary of key > list of values.
    contextFilterLists List<GetAccessControlPoliciesEntityContextFilterList>
    description String
    • The description of the Access Control Policy.
    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<GetAccessControlPoliciesEntityRoleReference>
    • The reference to a role.
    state String
    • The state of the Access Control Policy.
    userGroupReferenceLists List<GetAccessControlPoliciesEntityUserGroupReferenceList>
    • The User group(s) being assigned a given role.
    userReferenceLists List<GetAccessControlPoliciesEntityUserReferenceList>
    • The User(s) being assigned a given role.
    accessControlPolicyId string
    apiVersion string
    The version of the API.
    categories GetAccessControlPoliciesEntityCategory[]
    • The category values represented as a dictionary of key > list of values.
    contextFilterLists GetAccessControlPoliciesEntityContextFilterList[]
    description string
    • The description of the Access Control Policy.
    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 GetAccessControlPoliciesEntityRoleReference[]
    • The reference to a role.
    state string
    • The state of the Access Control Policy.
    userGroupReferenceLists GetAccessControlPoliciesEntityUserGroupReferenceList[]
    • The User group(s) being assigned a given role.
    userReferenceLists GetAccessControlPoliciesEntityUserReferenceList[]
    • The User(s) being assigned a given role.
    access_control_policy_id str
    api_version str
    The version of the API.
    categories Sequence[GetAccessControlPoliciesEntityCategory]
    • The category values represented as a dictionary of key > list of values.
    context_filter_lists Sequence[GetAccessControlPoliciesEntityContextFilterList]
    description str
    • The description of the Access Control Policy.
    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[GetAccessControlPoliciesEntityRoleReference]
    • The reference to a role.
    state str
    • The state of the Access Control Policy.
    user_group_reference_lists Sequence[GetAccessControlPoliciesEntityUserGroupReferenceList]
    • The User group(s) being assigned a given role.
    user_reference_lists Sequence[GetAccessControlPoliciesEntityUserReferenceList]
    • The User(s) being assigned a given role.
    accessControlPolicyId String
    apiVersion String
    The version of the API.
    categories List<Property Map>
    • The category values represented as a dictionary of key > list of values.
    contextFilterLists List<Property Map>
    description String
    • The description of the Access Control Policy.
    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.
    userGroupReferenceLists List<Property Map>
    • The User group(s) being assigned a given role.
    userReferenceLists List<Property Map>
    • The User(s) being assigned a given role.

    GetAccessControlPoliciesEntityCategory

    Name string
    • the name(Optional).
    Value string
    • value of the key.
    Name string
    • the name(Optional).
    Value string
    • value of the key.
    name String
    • the name(Optional).
    value String
    • value of the key.
    name string
    • the name(Optional).
    value string
    • value of the key.
    name str
    • the name(Optional).
    value str
    • value of the key.
    name String
    • the name(Optional).
    value String
    • value of the key.

    GetAccessControlPoliciesEntityContextFilterList

    entityFilterExpressionLists List<Property Map>
    A list of Entity filter expressions.
    scopeFilterExpressionLists List<Property Map>
    • The device ID which is used to uniquely identify this particular disk.

    GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionList

    LeftHandSideEntityType string
    • The LHS of the filter expression - the entity type.
    Operator string
    • The operator in the filter expression.
    RightHandSides List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSide>
    • The right hand side (RHS) of an scope expression.
    LeftHandSideEntityType string
    • The LHS of the filter expression - the entity type.
    Operator string
    • The operator in the filter expression.
    RightHandSides []GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSide
    • The right hand side (RHS) of an scope expression.
    leftHandSideEntityType String
    • The LHS of the filter expression - the entity type.
    operator String
    • The operator in the filter expression.
    rightHandSides List<GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSide>
    • The right hand side (RHS) of an scope expression.
    leftHandSideEntityType string
    • The LHS of the filter expression - the entity type.
    operator string
    • The operator in the filter expression.
    rightHandSides GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSide[]
    • The right hand side (RHS) of an scope expression.
    left_hand_side_entity_type str
    • The LHS of the filter expression - the entity type.
    operator str
    • The operator in the filter expression.
    right_hand_sides Sequence[GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSide]
    • The right hand side (RHS) of an scope expression.
    leftHandSideEntityType String
    • The LHS of the filter expression - the entity type.
    operator String
    • The operator in the filter expression.
    rightHandSides List<Property Map>
    • The right hand side (RHS) of an scope expression.

    GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSide

    Categories List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSideCategory>
    • 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 []GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSideCategory
    • 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<GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSideCategory>
    • 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 GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSideCategory[]
    • 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[GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSideCategory]
    • 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.

    GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSideCategory

    Name string
    • the name(Optional).
    Values List<string>
    • value of the key.
    Name string
    • the name(Optional).
    Values []string
    • value of the key.
    name String
    • the name(Optional).
    values List<String>
    • value of the key.
    name string
    • the name(Optional).
    values string[]
    • value of the key.
    name str
    • the name(Optional).
    values Sequence[str]
    • value of the key.
    name String
    • the name(Optional).
    values List<String>
    • value of the key.

    GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionList

    LeftHandSide string
    • The LHS of the filter expression - the scope type.
    Operator string
    • The operator in the filter expression.
    RightHandSides List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSide>
    • The right hand side (RHS) of an scope expression.
    LeftHandSide string
    • The LHS of the filter expression - the scope type.
    Operator string
    • The operator in the filter expression.
    RightHandSides []GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSide
    • The right hand side (RHS) of an scope expression.
    leftHandSide String
    • The LHS of the filter expression - the scope type.
    operator String
    • The operator in the filter expression.
    rightHandSides List<GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSide>
    • The right hand side (RHS) of an scope expression.
    leftHandSide string
    • The LHS of the filter expression - the scope type.
    operator string
    • The operator in the filter expression.
    rightHandSides GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSide[]
    • The right hand side (RHS) of an scope expression.
    left_hand_side str
    • The LHS of the filter expression - the scope type.
    operator str
    • The operator in the filter expression.
    right_hand_sides Sequence[GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSide]
    • The right hand side (RHS) of an scope expression.
    leftHandSide String
    • The LHS of the filter expression - the scope type.
    operator String
    • The operator in the filter expression.
    rightHandSides List<Property Map>
    • The right hand side (RHS) of an scope expression.

    GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSide

    Categories List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSideCategory>
    • 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 []GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSideCategory
    • 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<GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSideCategory>
    • 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 GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSideCategory[]
    • 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[GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSideCategory]
    • 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.

    GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSideCategory

    Name string
    • the name(Optional).
    Values List<string>
    • value of the key.
    Name string
    • the name(Optional).
    Values []string
    • value of the key.
    name String
    • the name(Optional).
    values List<String>
    • value of the key.
    name string
    • the name(Optional).
    values string[]
    • value of the key.
    name str
    • the name(Optional).
    values Sequence[str]
    • value of the key.
    name String
    • the name(Optional).
    values List<String>
    • value of the key.

    GetAccessControlPoliciesEntityRoleReference

    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • the name(Optional).
    Uuid string
    • the UUID(Required).
    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • the name(Optional).
    Uuid string
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • the name(Optional).
    uuid String
    • the UUID(Required).
    kind string
    • The kind name (Default value: project)(Required).
    name string
    • the name(Optional).
    uuid string
    • the UUID(Required).
    kind str
    • The kind name (Default value: project)(Required).
    name str
    • the name(Optional).
    uuid str
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • the name(Optional).
    uuid String
    • the UUID(Required).

    GetAccessControlPoliciesEntityUserGroupReferenceList

    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • the name(Optional).
    Uuid string
    • the UUID(Required).
    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • the name(Optional).
    Uuid string
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • the name(Optional).
    uuid String
    • the UUID(Required).
    kind string
    • The kind name (Default value: project)(Required).
    name string
    • the name(Optional).
    uuid string
    • the UUID(Required).
    kind str
    • The kind name (Default value: project)(Required).
    name str
    • the name(Optional).
    uuid str
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • the name(Optional).
    uuid String
    • the UUID(Required).

    GetAccessControlPoliciesEntityUserReferenceList

    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • the name(Optional).
    Uuid string
    • the UUID(Required).
    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • the name(Optional).
    Uuid string
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • the name(Optional).
    uuid String
    • the UUID(Required).
    kind string
    • The kind name (Default value: project)(Required).
    name string
    • the name(Optional).
    uuid string
    • the UUID(Required).
    kind str
    • The kind name (Default value: project)(Required).
    name str
    • the name(Optional).
    uuid str
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • the name(Optional).
    uuid String
    • the UUID(Required).

    GetAccessControlPoliciesMetadata

    Filter string
    Kind string
    • The kind name (Default value: project)(Required).
    Length int
    Offset int
    SortAttribute string
    SortOrder string
    Filter string
    Kind string
    • The kind name (Default value: project)(Required).
    Length int
    Offset int
    SortAttribute string
    SortOrder string
    filter String
    kind String
    • The kind name (Default value: project)(Required).
    length Integer
    offset Integer
    sortAttribute String
    sortOrder String
    filter string
    kind string
    • The kind name (Default value: project)(Required).
    length number
    offset number
    sortAttribute string
    sortOrder string
    filter str
    kind str
    • The kind name (Default value: project)(Required).
    length int
    offset int
    sort_attribute str
    sort_order str
    filter String
    kind String
    • The kind name (Default value: project)(Required).
    length Number
    offset Number
    sortAttribute String
    sortOrder String

    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.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg