1. Packages
  2. Nutanix
  3. API Docs
  4. getAccessControlPolicy
Nutanix v0.0.55 published on Monday, Jul 22, 2024 by Piers Karsenbarg

nutanix.getAccessControlPolicy

Explore with Pulumi AI

nutanix logo
Nutanix v0.0.55 published on Monday, Jul 22, 2024 by Piers Karsenbarg

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: nutanix:index/getAccessControlPolicy:getAccessControlPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccessControlPolicyId string
    • (Required) The UUID of an access control policy.
    AccessControlPolicyName string
    Categories List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPolicyCategory>
    • The category values represented as a dictionary of key > list of values.
    AccessControlPolicyId string
    • (Required) The UUID of an access control policy.
    AccessControlPolicyName string
    Categories []GetAccessControlPolicyCategory
    • The category values represented as a dictionary of key > list of values.
    accessControlPolicyId String
    • (Required) The UUID of an access control policy.
    accessControlPolicyName String
    categories List<GetAccessControlPolicyCategory>
    • The category values represented as a dictionary of key > list of values.
    accessControlPolicyId string
    • (Required) The UUID of an access control policy.
    accessControlPolicyName string
    categories GetAccessControlPolicyCategory[]
    • The category values represented as a dictionary of key > list of values.
    access_control_policy_id str
    • (Required) The UUID of an access control policy.
    access_control_policy_name str
    categories Sequence[GetAccessControlPolicyCategory]
    • The category values represented as a dictionary of key > list of values.
    accessControlPolicyId String
    • (Required) The UUID of an access control policy.
    accessControlPolicyName String
    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.GetAccessControlPolicyCategory>
    • The category values represented as a dictionary of key > list of values.
    ContextFilterLists List<PiersKarsenbarg.Nutanix.Outputs.GetAccessControlPolicyContextFilterList>
    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.GetAccessControlPolicyRoleReference>
    • The reference to a role.
    State string
    • The state of the Access Control Policy.
    UserGroupReferenceLists List<PiersKarsenbarg.Nutanix.Outputs.GetAccessControlPolicyUserGroupReferenceList>
    • The User group(s) being assigned a given role.
    UserReferenceLists List<PiersKarsenbarg.Nutanix.Outputs.GetAccessControlPolicyUserReferenceList>
    • The User(s) being assigned a given role.
    AccessControlPolicyId string
    AccessControlPolicyName string
    ApiVersion string
    The version of the API.
    Categories []GetAccessControlPolicyCategory
    • The category values represented as a dictionary of key > list of values.
    ContextFilterLists []GetAccessControlPolicyContextFilterList
    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 []GetAccessControlPolicyRoleReference
    • The reference to a role.
    State string
    • The state of the Access Control Policy.
    UserGroupReferenceLists []GetAccessControlPolicyUserGroupReferenceList
    • The User group(s) being assigned a given role.
    UserReferenceLists []GetAccessControlPolicyUserReferenceList
    • The User(s) being assigned a given role.
    AccessControlPolicyId string
    AccessControlPolicyName string
    apiVersion String
    The version of the API.
    categories List<GetAccessControlPolicyCategory>
    • The category values represented as a dictionary of key > list of values.
    contextFilterLists List<GetAccessControlPolicyContextFilterList>
    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<GetAccessControlPolicyRoleReference>
    • The reference to a role.
    state String
    • The state of the Access Control Policy.
    userGroupReferenceLists List<GetAccessControlPolicyUserGroupReferenceList>
    • The User group(s) being assigned a given role.
    userReferenceLists List<GetAccessControlPolicyUserReferenceList>
    • The User(s) being assigned a given role.
    accessControlPolicyId String
    accessControlPolicyName String
    apiVersion string
    The version of the API.
    categories GetAccessControlPolicyCategory[]
    • The category values represented as a dictionary of key > list of values.
    contextFilterLists GetAccessControlPolicyContextFilterList[]
    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 GetAccessControlPolicyRoleReference[]
    • The reference to a role.
    state string
    • The state of the Access Control Policy.
    userGroupReferenceLists GetAccessControlPolicyUserGroupReferenceList[]
    • The User group(s) being assigned a given role.
    userReferenceLists GetAccessControlPolicyUserReferenceList[]
    • The User(s) being assigned a given role.
    accessControlPolicyId string
    accessControlPolicyName string
    api_version str
    The version of the API.
    categories Sequence[GetAccessControlPolicyCategory]
    • The category values represented as a dictionary of key > list of values.
    context_filter_lists Sequence[GetAccessControlPolicyContextFilterList]
    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[GetAccessControlPolicyRoleReference]
    • The reference to a role.
    state str
    • The state of the Access Control Policy.
    user_group_reference_lists Sequence[GetAccessControlPolicyUserGroupReferenceList]
    • The User group(s) being assigned a given role.
    user_reference_lists Sequence[GetAccessControlPolicyUserReferenceList]
    • The User(s) being assigned a given role.
    access_control_policy_id str
    access_control_policy_name str
    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.
    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.
    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.
    accessControlPolicyId String
    accessControlPolicyName String

    Supporting Types

    GetAccessControlPolicyCategory

    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.

    GetAccessControlPolicyContextFilterList

    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.

    GetAccessControlPolicyContextFilterListEntityFilterExpressionList

    LeftHandSideEntityType string
    • The LHS of the filter expression - the entity type.
    Operator string
    • The operator in the filter expression.
    RightHandSides List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPolicyContextFilterListEntityFilterExpressionListRightHandSide>
    • 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 []GetAccessControlPolicyContextFilterListEntityFilterExpressionListRightHandSide
    • 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<GetAccessControlPolicyContextFilterListEntityFilterExpressionListRightHandSide>
    • 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 GetAccessControlPolicyContextFilterListEntityFilterExpressionListRightHandSide[]
    • 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[GetAccessControlPolicyContextFilterListEntityFilterExpressionListRightHandSide]
    • 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.

    GetAccessControlPolicyContextFilterListEntityFilterExpressionListRightHandSide

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

    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.

    GetAccessControlPolicyContextFilterListScopeFilterExpressionList

    LeftHandSide string
    • The LHS of the filter expression - the scope type.
    Operator string
    • The operator in the filter expression.
    RightHandSides List<PiersKarsenbarg.Nutanix.Inputs.GetAccessControlPolicyContextFilterListScopeFilterExpressionListRightHandSide>
    • 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 []GetAccessControlPolicyContextFilterListScopeFilterExpressionListRightHandSide
    • 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<GetAccessControlPolicyContextFilterListScopeFilterExpressionListRightHandSide>
    • 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 GetAccessControlPolicyContextFilterListScopeFilterExpressionListRightHandSide[]
    • 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[GetAccessControlPolicyContextFilterListScopeFilterExpressionListRightHandSide]
    • 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.

    GetAccessControlPolicyContextFilterListScopeFilterExpressionListRightHandSide

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

    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.

    GetAccessControlPolicyRoleReference

    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).

    GetAccessControlPolicyUserGroupReferenceList

    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).

    GetAccessControlPolicyUserReferenceList

    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).

    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.0.55 published on Monday, Jul 22, 2024 by Piers Karsenbarg