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.89.1 published on Sunday, Mar 2, 2025 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.89.1 published on Sunday, Mar 2, 2025 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)
public static Output<GetRoleAssignmentResult> getRoleAssignment(GetRoleAssignmentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:customerinsights:getRoleAssignment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AssignmentName string
- The name of the role assignment.
- HubName string
- The name of the hub.
- ResourceGroup stringName 
- The name of the resource group.
- AssignmentName string
- The name of the role assignment.
- HubName string
- The name of the hub.
- ResourceGroup stringName 
- The name of the resource group.
- assignmentName String
- The name of the role assignment.
- hubName String
- The name of the hub.
- resourceGroup StringName 
- The name of the resource group.
- assignmentName string
- The name of the role assignment.
- hubName string
- The name of the hub.
- resourceGroup 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.
- assignmentName String
- The name of the role assignment.
- hubName String
- The name of the hub.
- resourceGroup StringName 
- The name of the resource group.
getRoleAssignment Result
The following output properties are available:
- AssignmentName 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.
- ProvisioningState string
- Provisioning state.
- Role string
- Type of roles.
- TenantId string
- The hub name.
- Type string
- Resource type.
- ConflationPolicies 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.
- DisplayName 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.
- RelationshipLinks 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.
- RoleAssignments Pulumi.Azure Native. Customer Insights. Outputs. Resource Set Description Response 
- The Role assignments set for the assignment.
- SasPolicies 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.
- WidgetTypes Pulumi.Azure Native. Customer Insights. Outputs. Resource Set Description Response 
- Widget types set for the assignment.
- AssignmentName string
- The name of the metadata object.
- Id string
- Resource ID.
- Name string
- Resource name.
- Principals
[]AssignmentPrincipal Response 
- The principals being assigned to.
- ProvisioningState string
- Provisioning state.
- Role string
- Type of roles.
- TenantId string
- The hub name.
- Type string
- Resource type.
- ConflationPolicies ResourceSet Description Response 
- Widget types set for the assignment.
- Connectors
ResourceSet Description Response 
- Connectors set for the assignment.
- Description map[string]string
- Localized description for the metadata.
- DisplayName map[string]string
- Localized display names for the metadata.
- Interactions
ResourceSet Description Response 
- Interactions set for the assignment.
- Kpis
ResourceSet Description Response 
- Kpis set for the assignment.
- Links
ResourceSet Description Response 
- Links set for the assignment.
- Profiles
ResourceSet Description Response 
- Profiles set for the assignment.
- RelationshipLinks ResourceSet Description Response 
- The Role assignments set for the relationship links.
- Relationships
ResourceSet Description Response 
- The Role assignments set for the relationships.
- RoleAssignments ResourceSet Description Response 
- The Role assignments set for the assignment.
- SasPolicies ResourceSet Description Response 
- Sas Policies set for the assignment.
- Segments
ResourceSet Description Response 
- The Role assignments set for the assignment.
- Views
ResourceSet Description Response 
- Views set for the assignment.
- WidgetTypes ResourceSet Description Response 
- Widget types set for the assignment.
- assignmentName String
- The name of the metadata object.
- id String
- Resource ID.
- name String
- Resource name.
- principals
List<AssignmentPrincipal Response> 
- The principals being assigned to.
- provisioningState String
- Provisioning state.
- role String
- Type of roles.
- tenantId String
- The hub name.
- type String
- Resource type.
- conflationPolicies ResourceSet Description Response 
- Widget types set for the assignment.
- connectors
ResourceSet Description Response 
- Connectors set for the assignment.
- description Map<String,String>
- Localized description for the metadata.
- displayName Map<String,String>
- Localized display names for the metadata.
- interactions
ResourceSet Description Response 
- Interactions set for the assignment.
- kpis
ResourceSet Description Response 
- Kpis set for the assignment.
- links
ResourceSet Description Response 
- Links set for the assignment.
- profiles
ResourceSet Description Response 
- Profiles set for the assignment.
- relationshipLinks ResourceSet Description Response 
- The Role assignments set for the relationship links.
- relationships
ResourceSet Description Response 
- The Role assignments set for the relationships.
- roleAssignments ResourceSet Description Response 
- The Role assignments set for the assignment.
- sasPolicies ResourceSet Description Response 
- Sas Policies set for the assignment.
- segments
ResourceSet Description Response 
- The Role assignments set for the assignment.
- views
ResourceSet Description Response 
- Views set for the assignment.
- widgetTypes ResourceSet Description Response 
- Widget types set for the assignment.
- assignmentName string
- The name of the metadata object.
- id string
- Resource ID.
- name string
- Resource name.
- principals
AssignmentPrincipal Response[] 
- The principals being assigned to.
- provisioningState string
- Provisioning state.
- role string
- Type of roles.
- tenantId string
- The hub name.
- type string
- Resource type.
- conflationPolicies ResourceSet Description Response 
- Widget types set for the assignment.
- connectors
ResourceSet Description Response 
- Connectors set for the assignment.
- description {[key: string]: string}
- Localized description for the metadata.
- displayName {[key: string]: string}
- Localized display names for the metadata.
- interactions
ResourceSet Description Response 
- Interactions set for the assignment.
- kpis
ResourceSet Description Response 
- Kpis set for the assignment.
- links
ResourceSet Description Response 
- Links set for the assignment.
- profiles
ResourceSet Description Response 
- Profiles set for the assignment.
- relationshipLinks ResourceSet Description Response 
- The Role assignments set for the relationship links.
- relationships
ResourceSet Description Response 
- The Role assignments set for the relationships.
- roleAssignments ResourceSet Description Response 
- The Role assignments set for the assignment.
- sasPolicies ResourceSet Description Response 
- Sas Policies set for the assignment.
- segments
ResourceSet Description Response 
- The Role assignments set for the assignment.
- views
ResourceSet Description Response 
- Views set for the assignment.
- widgetTypes 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[AssignmentPrincipal 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
ResourceSet 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
ResourceSet Description Response 
- Interactions set for the assignment.
- kpis
ResourceSet Description Response 
- Kpis set for the assignment.
- links
ResourceSet Description Response 
- Links set for the assignment.
- profiles
ResourceSet Description Response 
- Profiles set for the assignment.
- relationship_links ResourceSet Description Response 
- The Role assignments set for the relationship links.
- relationships
ResourceSet 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
ResourceSet Description Response 
- The Role assignments set for the assignment.
- views
ResourceSet Description Response 
- Views set for the assignment.
- widget_types ResourceSet Description Response 
- Widget types set for the assignment.
- assignmentName String
- The name of the metadata object.
- id String
- Resource ID.
- name String
- Resource name.
- principals List<Property Map>
- The principals being assigned to.
- provisioningState String
- Provisioning state.
- role String
- Type of roles.
- tenantId String
- The hub name.
- type String
- Resource type.
- conflationPolicies Property Map
- Widget types set for the assignment.
- connectors Property Map
- Connectors set for the assignment.
- description Map<String>
- Localized description for the metadata.
- displayName 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.
- relationshipLinks Property Map
- The Role assignments set for the relationship links.
- relationships Property Map
- The Role assignments set for the relationships.
- roleAssignments Property Map
- The Role assignments set for the assignment.
- sasPolicies 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.
- widgetTypes Property Map
- Widget types set for the assignment.
Supporting Types
AssignmentPrincipalResponse  
- PrincipalId string
- The principal id being assigned to.
- PrincipalType string
- The Type of the principal ID.
- PrincipalMetadata Dictionary<string, string>
- Other metadata for the principal.
- PrincipalId string
- The principal id being assigned to.
- PrincipalType string
- The Type of the principal ID.
- PrincipalMetadata map[string]string
- Other metadata for the principal.
- principalId String
- The principal id being assigned to.
- principalType String
- The Type of the principal ID.
- principalMetadata Map<String,String>
- Other metadata for the principal.
- principalId string
- The principal id being assigned to.
- principalType string
- The Type of the principal ID.
- principalMetadata {[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.
- principalId String
- The principal id being assigned to.
- principalType String
- The Type of the principal ID.
- principalMetadata 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.89.1 published on Sunday, Mar 2, 2025 by Pulumi