Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
nutanix.getAccessControlPolicies
Explore with Pulumi AI
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
List<Piers
Karsenbarg. Nutanix. Inputs. Get Access Control Policies Metadata> - The Access Control Policy kind metadata.
- Metadatas
[]Get
Access Control Policies Metadata - The Access Control Policy kind metadata.
- metadatas
List<Get
Access Control Policies Metadata> - The Access Control Policy kind metadata.
- metadatas
Get
Access Control Policies Metadata[] - The Access Control Policy kind metadata.
- metadatas
Sequence[Get
Access Control Policies Metadata] - The Access Control Policy kind metadata.
- metadatas List<Property Map>
- The Access Control Policy kind metadata.
getAccessControlPolicies Result
The following output properties are available:
- Api
Version string - The version of the API.
- Entities
List<Piers
Karsenbarg. Nutanix. Outputs. Get Access Control Policies Entity> - List of Access Control Policies
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadatas
List<Piers
Karsenbarg. Nutanix. Outputs. Get Access Control Policies Metadata> - The Access Control Policy kind metadata.
- Api
Version string - The version of the API.
- Entities
[]Get
Access Control Policies Entity - List of Access Control Policies
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadatas
[]Get
Access Control Policies Metadata - The Access Control Policy kind metadata.
- api
Version String - The version of the API.
- entities
List<Get
Access Control Policies Entity> - List of Access Control Policies
- id String
- The provider-assigned unique ID for this managed resource.
- metadatas
List<Get
Access Control Policies Metadata> - The Access Control Policy kind metadata.
- api
Version string - The version of the API.
- entities
Get
Access Control Policies Entity[] - List of Access Control Policies
- id string
- The provider-assigned unique ID for this managed resource.
- metadatas
Get
Access Control Policies Metadata[] - The Access Control Policy kind metadata.
- api_
version str - The version of the API.
- entities
Sequence[Get
Access Control Policies Entity] - List of Access Control Policies
- id str
- The provider-assigned unique ID for this managed resource.
- metadatas
Sequence[Get
Access Control Policies Metadata] - The Access Control Policy kind metadata.
- api
Version 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
- Access
Control stringPolicy Id - Api
Version string - The version of the API.
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity Category> - The category values represented as a dictionary of key > list of values.
- Context
Filter List<PiersLists Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity Context Filter List> - Description string
- The description of the Access Control Policy.
- Metadata Dictionary<string, string>
- The Access Control Policy kind metadata.
- Name string
- the name(Optional).
- Owner
Reference Dictionary<string, string> - The reference to a user.
- Project
Reference Dictionary<string, string> - The reference to a project.
- Role
References List<PiersKarsenbarg. Nutanix. Inputs. Get Access Control Policies Entity Role Reference> - The reference to a role.
- State string
- The state of the Access Control Policy.
- User
Group List<PiersReference Lists Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity User Group Reference List> - The User group(s) being assigned a given role.
- User
Reference List<PiersLists Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity User Reference List> - The User(s) being assigned a given role.
- Access
Control stringPolicy Id - Api
Version string - The version of the API.
- Categories
[]Get
Access Control Policies Entity Category - The category values represented as a dictionary of key > list of values.
- Context
Filter []GetLists Access Control Policies Entity Context Filter List - Description string
- The description of the Access Control Policy.
- Metadata map[string]string
- The Access Control Policy kind metadata.
- Name string
- the name(Optional).
- Owner
Reference map[string]string - The reference to a user.
- Project
Reference map[string]string - The reference to a project.
- Role
References []GetAccess Control Policies Entity Role Reference - The reference to a role.
- State string
- The state of the Access Control Policy.
- User
Group []GetReference Lists Access Control Policies Entity User Group Reference List - The User group(s) being assigned a given role.
- User
Reference []GetLists Access Control Policies Entity User Reference List - The User(s) being assigned a given role.
- access
Control StringPolicy Id - api
Version String - The version of the API.
- categories
List<Get
Access Control Policies Entity Category> - The category values represented as a dictionary of key > list of values.
- context
Filter List<GetLists Access Control Policies Entity Context Filter List> - description String
- The description of the Access Control Policy.
- metadata Map<String,String>
- The Access Control Policy kind metadata.
- name String
- the name(Optional).
- owner
Reference Map<String,String> - The reference to a user.
- project
Reference Map<String,String> - The reference to a project.
- role
References List<GetAccess Control Policies Entity Role Reference> - The reference to a role.
- state String
- The state of the Access Control Policy.
- user
Group List<GetReference Lists Access Control Policies Entity User Group Reference List> - The User group(s) being assigned a given role.
- user
Reference List<GetLists Access Control Policies Entity User Reference List> - The User(s) being assigned a given role.
- access
Control stringPolicy Id - api
Version string - The version of the API.
- categories
Get
Access Control Policies Entity Category[] - The category values represented as a dictionary of key > list of values.
- context
Filter GetLists Access Control Policies Entity Context Filter List[] - description string
- The description of the Access Control Policy.
- metadata {[key: string]: string}
- The Access Control Policy kind metadata.
- name string
- the name(Optional).
- owner
Reference {[key: string]: string} - The reference to a user.
- project
Reference {[key: string]: string} - The reference to a project.
- role
References GetAccess Control Policies Entity Role Reference[] - The reference to a role.
- state string
- The state of the Access Control Policy.
- user
Group GetReference Lists Access Control Policies Entity User Group Reference List[] - The User group(s) being assigned a given role.
- user
Reference GetLists Access Control Policies Entity User Reference List[] - The User(s) being assigned a given role.
- access_
control_ strpolicy_ id - api_
version str - The version of the API.
- categories
Sequence[Get
Access Control Policies Entity Category] - The category values represented as a dictionary of key > list of values.
- context_
filter_ Sequence[Getlists Access Control Policies Entity Context Filter List] - 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[GetAccess Control Policies Entity Role Reference] - The reference to a role.
- state str
- The state of the Access Control Policy.
- user_
group_ Sequence[Getreference_ lists Access Control Policies Entity User Group Reference List] - The User group(s) being assigned a given role.
- user_
reference_ Sequence[Getlists Access Control Policies Entity User Reference List] - The User(s) being assigned a given role.
- access
Control StringPolicy Id - api
Version String - The version of the API.
- categories List<Property Map>
- The category values represented as a dictionary of key > list of values.
- context
Filter List<Property Map>Lists - description String
- The description of the Access Control Policy.
- metadata Map<String>
- The Access Control Policy kind metadata.
- name String
- the name(Optional).
- owner
Reference Map<String> - The reference to a user.
- project
Reference Map<String> - The reference to a project.
- role
References List<Property Map> - The reference to a role.
- state String
- The state of the Access Control Policy.
- user
Group List<Property Map>Reference Lists - The User group(s) being assigned a given role.
- user
Reference List<Property Map>Lists - The User(s) being assigned a given role.
GetAccessControlPoliciesEntityCategory
GetAccessControlPoliciesEntityContextFilterList
- Entity
Filter List<PiersExpression Lists Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity Context Filter List Entity Filter Expression List> - A list of Entity filter expressions.
- Scope
Filter List<PiersExpression Lists Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity Context Filter List Scope Filter Expression List> - The device ID which is used to uniquely identify this particular disk.
- Entity
Filter []GetExpression Lists Access Control Policies Entity Context Filter List Entity Filter Expression List - A list of Entity filter expressions.
- Scope
Filter []GetExpression Lists Access Control Policies Entity Context Filter List Scope Filter Expression List - The device ID which is used to uniquely identify this particular disk.
- entity
Filter List<GetExpression Lists Access Control Policies Entity Context Filter List Entity Filter Expression List> - A list of Entity filter expressions.
- scope
Filter List<GetExpression Lists Access Control Policies Entity Context Filter List Scope Filter Expression List> - The device ID which is used to uniquely identify this particular disk.
- entity
Filter GetExpression Lists Access Control Policies Entity Context Filter List Entity Filter Expression List[] - A list of Entity filter expressions.
- scope
Filter GetExpression Lists Access Control Policies Entity 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 Policies Entity Context Filter List Entity Filter Expression List] - A list of Entity filter expressions.
- scope_
filter_ Sequence[Getexpression_ lists Access Control Policies Entity Context Filter List Scope Filter Expression List] - The device ID which is used to uniquely identify this particular disk.
- entity
Filter List<Property Map>Expression Lists - A list of Entity filter expressions.
- scope
Filter List<Property Map>Expression Lists - The device ID which is used to uniquely identify this particular disk.
GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionList
- Left
Hand stringSide Entity Type - The LHS of the filter expression - the entity type.
- Operator string
- The operator in the filter expression.
- Right
Hand List<PiersSides Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity Context Filter List Entity Filter Expression List Right Hand Side> - The right hand side (RHS) of an scope expression.
- Left
Hand stringSide Entity Type - The LHS of the filter expression - the entity type.
- Operator string
- The operator in the filter expression.
- Right
Hand []GetSides Access Control Policies Entity Context Filter List Entity Filter Expression List Right Hand Side - The right hand side (RHS) of an scope expression.
- left
Hand StringSide Entity Type - The LHS of the filter expression - the entity type.
- operator String
- The operator in the filter expression.
- right
Hand List<GetSides Access Control Policies Entity Context Filter List Entity Filter Expression List Right Hand Side> - The right hand side (RHS) of an scope expression.
- left
Hand stringSide Entity Type - The LHS of the filter expression - the entity type.
- operator string
- The operator in the filter expression.
- right
Hand GetSides Access Control Policies Entity 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 Policies Entity Context Filter List Entity Filter Expression List Right Hand Side] - The right hand side (RHS) of an scope expression.
- left
Hand StringSide Entity Type - The LHS of the filter expression - the entity type.
- operator String
- The operator in the filter expression.
- right
Hand List<Property Map>Sides - The right hand side (RHS) of an scope expression.
GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSide
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity 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.
- Uuid
Lists List<string> - The explicit list of UUIDs for the given kind.
- Categories
[]Get
Access Control Policies Entity 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.
- Uuid
Lists []string - The explicit list of UUIDs for the given kind.
- categories
List<Get
Access Control Policies Entity 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.
- uuid
Lists List<String> - The explicit list of UUIDs for the given kind.
- categories
Get
Access Control Policies Entity 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.
- uuid
Lists string[] - The explicit list of UUIDs for the given kind.
- categories
Sequence[Get
Access Control Policies Entity 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.
- uuid
Lists List<String> - The explicit list of UUIDs for the given kind.
GetAccessControlPoliciesEntityContextFilterListEntityFilterExpressionListRightHandSideCategory
GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionList
- Left
Hand stringSide - The LHS of the filter expression - the scope type.
- Operator string
- The operator in the filter expression.
- Right
Hand List<PiersSides Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity Context Filter List Scope Filter Expression List Right Hand Side> - The right hand side (RHS) of an scope expression.
- Left
Hand stringSide - The LHS of the filter expression - the scope type.
- Operator string
- The operator in the filter expression.
- Right
Hand []GetSides Access Control Policies Entity Context Filter List Scope Filter Expression List Right Hand Side - The right hand side (RHS) of an scope expression.
- left
Hand StringSide - The LHS of the filter expression - the scope type.
- operator String
- The operator in the filter expression.
- right
Hand List<GetSides Access Control Policies Entity Context Filter List Scope Filter Expression List Right Hand Side> - The right hand side (RHS) of an scope expression.
- left
Hand stringSide - The LHS of the filter expression - the scope type.
- operator string
- The operator in the filter expression.
- right
Hand GetSides Access Control Policies Entity 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 Policies Entity Context Filter List Scope Filter Expression List Right Hand Side] - The right hand side (RHS) of an scope expression.
- left
Hand StringSide - The LHS of the filter expression - the scope type.
- operator String
- The operator in the filter expression.
- right
Hand List<Property Map>Sides - The right hand side (RHS) of an scope expression.
GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSide
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Get Access Control Policies Entity 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.
- Uuid
Lists List<string> - The explicit list of UUIDs for the given kind.
- Categories
[]Get
Access Control Policies Entity 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.
- Uuid
Lists []string - The explicit list of UUIDs for the given kind.
- categories
List<Get
Access Control Policies Entity 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.
- uuid
Lists List<String> - The explicit list of UUIDs for the given kind.
- categories
Get
Access Control Policies Entity 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.
- uuid
Lists string[] - The explicit list of UUIDs for the given kind.
- categories
Sequence[Get
Access Control Policies Entity 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.
- uuid
Lists List<String> - The explicit list of UUIDs for the given kind.
GetAccessControlPoliciesEntityContextFilterListScopeFilterExpressionListRightHandSideCategory
GetAccessControlPoliciesEntityRoleReference
GetAccessControlPoliciesEntityUserGroupReferenceList
GetAccessControlPoliciesEntityUserReferenceList
GetAccessControlPoliciesMetadata
- filter str
- kind str
- The kind name (Default value: project)(Required).
- length int
- offset int
- sort_
attribute str - sort_
order str
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.