This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.customerinsights.getRoleAssignment
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets the role assignment in the hub. Azure REST API version: 2017-04-26.
Using getRoleAssignment
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 getRoleAssignment(args: GetRoleAssignmentArgs, opts?: InvokeOptions): Promise<GetRoleAssignmentResult>
function getRoleAssignmentOutput(args: GetRoleAssignmentOutputArgs, opts?: InvokeOptions): Output<GetRoleAssignmentResult>
def get_role_assignment(assignment_name: Optional[str] = None,
hub_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRoleAssignmentResult
def get_role_assignment_output(assignment_name: Optional[pulumi.Input[str]] = None,
hub_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoleAssignmentResult]
func LookupRoleAssignment(ctx *Context, args *LookupRoleAssignmentArgs, opts ...InvokeOption) (*LookupRoleAssignmentResult, error)
func LookupRoleAssignmentOutput(ctx *Context, args *LookupRoleAssignmentOutputArgs, opts ...InvokeOption) LookupRoleAssignmentResultOutput
> Note: This function is named LookupRoleAssignment
in the Go SDK.
public static class GetRoleAssignment
{
public static Task<GetRoleAssignmentResult> InvokeAsync(GetRoleAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetRoleAssignmentResult> Invoke(GetRoleAssignmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRoleAssignmentResult> getRoleAssignment(GetRoleAssignmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:customerinsights:getRoleAssignment
arguments:
# arguments dictionary
The following arguments are supported:
- Assignment
Name string - The name of the role assignment.
- Hub
Name string - The name of the hub.
- Resource
Group stringName - The name of the resource group.
- Assignment
Name string - The name of the role assignment.
- Hub
Name string - The name of the hub.
- Resource
Group stringName - The name of the resource group.
- assignment
Name String - The name of the role assignment.
- hub
Name String - The name of the hub.
- resource
Group StringName - The name of the resource group.
- assignment
Name string - The name of the role assignment.
- hub
Name string - The name of the hub.
- resource
Group stringName - The name of the resource group.
- assignment_
name str - The name of the role assignment.
- hub_
name str - The name of the hub.
- resource_
group_ strname - The name of the resource group.
- assignment
Name String - The name of the role assignment.
- hub
Name String - The name of the hub.
- resource
Group StringName - The name of the resource group.
getRoleAssignment Result
The following output properties are available:
- Assignment
Name string - The name of the metadata object.
- Id string
- Resource ID.
- Name string
- Resource name.
- Principals
List<Pulumi.
Azure Native. Customer Insights. Outputs. Assignment Principal Response> - The principals being assigned to.
- Provisioning
State string - Provisioning state.
- Role string
- Type of roles.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Conflation
Policies Pulumi.Azure Native. Customer Insights. Outputs. Resource Set Description Response - Widget types set for the assignment.
- Connectors
Pulumi.
Azure Native. Customer Insights. Outputs. Resource Set Description Response - Connectors set for the assignment.
- Description Dictionary<string, string>
- Localized description for the metadata.
- Display
Name Dictionary<string, string> - Localized display names for the metadata.
- Interactions
Pulumi.
Azure Native. Customer Insights. Outputs. Resource Set Description Response - Interactions set for the assignment.
- Kpis
Pulumi.
Azure Native. Customer Insights. Outputs. Resource Set Description Response - Kpis set for the assignment.
- Links
Pulumi.
Azure Native. Customer Insights. Outputs. Resource Set Description Response - Links set for the assignment.
- Profiles
Pulumi.
Azure Native. Customer Insights. Outputs. Resource Set Description Response - Profiles set for the assignment.
- Relationship
Links Pulumi.Azure Native. Customer Insights. Outputs. Resource Set Description Response - The Role assignments set for the relationship links.
- Relationships
Pulumi.
Azure Native. Customer Insights. Outputs. Resource Set Description Response - The Role assignments set for the relationships.
- Role
Assignments Pulumi.Azure Native. Customer Insights. Outputs. Resource Set Description Response - The Role assignments set for the assignment.
- Sas
Policies Pulumi.Azure Native. Customer Insights. Outputs. Resource Set Description Response - Sas Policies set for the assignment.
- Segments
Pulumi.
Azure Native. Customer Insights. Outputs. Resource Set Description Response - The Role assignments set for the assignment.
- Views
Pulumi.
Azure Native. Customer Insights. Outputs. Resource Set Description Response - Views set for the assignment.
- Widget
Types Pulumi.Azure Native. Customer Insights. Outputs. Resource Set Description Response - Widget types set for the assignment.
- Assignment
Name string - The name of the metadata object.
- Id string
- Resource ID.
- Name string
- Resource name.
- Principals
[]Assignment
Principal Response - The principals being assigned to.
- Provisioning
State string - Provisioning state.
- Role string
- Type of roles.
- Tenant
Id string - The hub name.
- Type string
- Resource type.
- Conflation
Policies ResourceSet Description Response - Widget types set for the assignment.
- Connectors
Resource
Set Description Response - Connectors set for the assignment.
- Description map[string]string
- Localized description for the metadata.
- Display
Name map[string]string - Localized display names for the metadata.
- Interactions
Resource
Set Description Response - Interactions set for the assignment.
- Kpis
Resource
Set Description Response - Kpis set for the assignment.
- Links
Resource
Set Description Response - Links set for the assignment.
- Profiles
Resource
Set Description Response - Profiles set for the assignment.
- Relationship
Links ResourceSet Description Response - The Role assignments set for the relationship links.
- Relationships
Resource
Set Description Response - The Role assignments set for the relationships.
- Role
Assignments ResourceSet Description Response - The Role assignments set for the assignment.
- Sas
Policies ResourceSet Description Response - Sas Policies set for the assignment.
- Segments
Resource
Set Description Response - The Role assignments set for the assignment.
- Views
Resource
Set Description Response - Views set for the assignment.
- Widget
Types ResourceSet Description Response - Widget types set for the assignment.
- assignment
Name String - The name of the metadata object.
- id String
- Resource ID.
- name String
- Resource name.
- principals
List<Assignment
Principal Response> - The principals being assigned to.
- provisioning
State String - Provisioning state.
- role String
- Type of roles.
- tenant
Id String - The hub name.
- type String
- Resource type.
- conflation
Policies ResourceSet Description Response - Widget types set for the assignment.
- connectors
Resource
Set Description Response - Connectors set for the assignment.
- description Map<String,String>
- Localized description for the metadata.
- display
Name Map<String,String> - Localized display names for the metadata.
- interactions
Resource
Set Description Response - Interactions set for the assignment.
- kpis
Resource
Set Description Response - Kpis set for the assignment.
- links
Resource
Set Description Response - Links set for the assignment.
- profiles
Resource
Set Description Response - Profiles set for the assignment.
- relationship
Links ResourceSet Description Response - The Role assignments set for the relationship links.
- relationships
Resource
Set Description Response - The Role assignments set for the relationships.
- role
Assignments ResourceSet Description Response - The Role assignments set for the assignment.
- sas
Policies ResourceSet Description Response - Sas Policies set for the assignment.
- segments
Resource
Set Description Response - The Role assignments set for the assignment.
- views
Resource
Set Description Response - Views set for the assignment.
- widget
Types ResourceSet Description Response - Widget types set for the assignment.
- assignment
Name string - The name of the metadata object.
- id string
- Resource ID.
- name string
- Resource name.
- principals
Assignment
Principal Response[] - The principals being assigned to.
- provisioning
State string - Provisioning state.
- role string
- Type of roles.
- tenant
Id string - The hub name.
- type string
- Resource type.
- conflation
Policies ResourceSet Description Response - Widget types set for the assignment.
- connectors
Resource
Set Description Response - Connectors set for the assignment.
- description {[key: string]: string}
- Localized description for the metadata.
- display
Name {[key: string]: string} - Localized display names for the metadata.
- interactions
Resource
Set Description Response - Interactions set for the assignment.
- kpis
Resource
Set Description Response - Kpis set for the assignment.
- links
Resource
Set Description Response - Links set for the assignment.
- profiles
Resource
Set Description Response - Profiles set for the assignment.
- relationship
Links ResourceSet Description Response - The Role assignments set for the relationship links.
- relationships
Resource
Set Description Response - The Role assignments set for the relationships.
- role
Assignments ResourceSet Description Response - The Role assignments set for the assignment.
- sas
Policies ResourceSet Description Response - Sas Policies set for the assignment.
- segments
Resource
Set Description Response - The Role assignments set for the assignment.
- views
Resource
Set Description Response - Views set for the assignment.
- widget
Types ResourceSet Description Response - Widget types set for the assignment.
- assignment_
name str - The name of the metadata object.
- id str
- Resource ID.
- name str
- Resource name.
- principals
Sequence[Assignment
Principal Response] - The principals being assigned to.
- provisioning_
state str - Provisioning state.
- role str
- Type of roles.
- tenant_
id str - The hub name.
- type str
- Resource type.
- conflation_
policies ResourceSet Description Response - Widget types set for the assignment.
- connectors
Resource
Set Description Response - Connectors set for the assignment.
- description Mapping[str, str]
- Localized description for the metadata.
- display_
name Mapping[str, str] - Localized display names for the metadata.
- interactions
Resource
Set Description Response - Interactions set for the assignment.
- kpis
Resource
Set Description Response - Kpis set for the assignment.
- links
Resource
Set Description Response - Links set for the assignment.
- profiles
Resource
Set Description Response - Profiles set for the assignment.
- relationship_
links ResourceSet Description Response - The Role assignments set for the relationship links.
- relationships
Resource
Set Description Response - The Role assignments set for the relationships.
- role_
assignments ResourceSet Description Response - The Role assignments set for the assignment.
- sas_
policies ResourceSet Description Response - Sas Policies set for the assignment.
- segments
Resource
Set Description Response - The Role assignments set for the assignment.
- views
Resource
Set Description Response - Views set for the assignment.
- widget_
types ResourceSet Description Response - Widget types set for the assignment.
- assignment
Name String - The name of the metadata object.
- id String
- Resource ID.
- name String
- Resource name.
- principals List<Property Map>
- The principals being assigned to.
- provisioning
State String - Provisioning state.
- role String
- Type of roles.
- tenant
Id String - The hub name.
- type String
- Resource type.
- conflation
Policies Property Map - Widget types set for the assignment.
- connectors Property Map
- Connectors set for the assignment.
- description Map<String>
- Localized description for the metadata.
- display
Name Map<String> - Localized display names for the metadata.
- interactions Property Map
- Interactions set for the assignment.
- kpis Property Map
- Kpis set for the assignment.
- links Property Map
- Links set for the assignment.
- profiles Property Map
- Profiles set for the assignment.
- relationship
Links Property Map - The Role assignments set for the relationship links.
- relationships Property Map
- The Role assignments set for the relationships.
- role
Assignments Property Map - The Role assignments set for the assignment.
- sas
Policies Property Map - Sas Policies set for the assignment.
- segments Property Map
- The Role assignments set for the assignment.
- views Property Map
- Views set for the assignment.
- widget
Types Property Map - Widget types set for the assignment.
Supporting Types
AssignmentPrincipalResponse
- Principal
Id string - The principal id being assigned to.
- Principal
Type string - The Type of the principal ID.
- Principal
Metadata Dictionary<string, string> - Other metadata for the principal.
- Principal
Id string - The principal id being assigned to.
- Principal
Type string - The Type of the principal ID.
- Principal
Metadata map[string]string - Other metadata for the principal.
- principal
Id String - The principal id being assigned to.
- principal
Type String - The Type of the principal ID.
- principal
Metadata Map<String,String> - Other metadata for the principal.
- principal
Id string - The principal id being assigned to.
- principal
Type string - The Type of the principal ID.
- principal
Metadata {[key: string]: string} - Other metadata for the principal.
- principal_
id str - The principal id being assigned to.
- principal_
type str - The Type of the principal ID.
- principal_
metadata Mapping[str, str] - Other metadata for the principal.
- principal
Id String - The principal id being assigned to.
- principal
Type String - The Type of the principal ID.
- principal
Metadata Map<String> - Other metadata for the principal.
ResourceSetDescriptionResponse
- Elements List<string>
- The elements included in the set.
- Exceptions List<string>
- The elements that are not included in the set, in case elements contains '*' indicating 'all'.
- Elements []string
- The elements included in the set.
- Exceptions []string
- The elements that are not included in the set, in case elements contains '*' indicating 'all'.
- elements List<String>
- The elements included in the set.
- exceptions List<String>
- The elements that are not included in the set, in case elements contains '*' indicating 'all'.
- elements string[]
- The elements included in the set.
- exceptions string[]
- The elements that are not included in the set, in case elements contains '*' indicating 'all'.
- elements Sequence[str]
- The elements included in the set.
- exceptions Sequence[str]
- The elements that are not included in the set, in case elements contains '*' indicating 'all'.
- elements List<String>
- The elements included in the set.
- exceptions List<String>
- The elements that are not included in the set, in case elements contains '*' indicating 'all'.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi