@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.15 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the role assignment in the hub.
*
* Uses Azure REST API version 2017-04-26.
*/
export declare function getRoleAssignment(args: GetRoleAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleAssignmentResult>;
export interface GetRoleAssignmentArgs {
/**
* The name of the role assignment.
*/
assignmentName: string;
/**
* The name of the hub.
*/
hubName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* The Role Assignment resource format.
*/
export interface GetRoleAssignmentResult {
/**
* The name of the metadata object.
*/
readonly assignmentName: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Widget types set for the assignment.
*/
readonly conflationPolicies?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Connectors set for the assignment.
*/
readonly connectors?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Localized description for the metadata.
*/
readonly description?: {
[key: string]: string;
};
/**
* Localized display names for the metadata.
*/
readonly displayName?: {
[key: string]: string;
};
/**
* Resource ID.
*/
readonly id: string;
/**
* Interactions set for the assignment.
*/
readonly interactions?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Kpis set for the assignment.
*/
readonly kpis?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Links set for the assignment.
*/
readonly links?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Resource name.
*/
readonly name: string;
/**
* The principals being assigned to.
*/
readonly principals: outputs.customerinsights.AssignmentPrincipalResponse[];
/**
* Profiles set for the assignment.
*/
readonly profiles?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Provisioning state.
*/
readonly provisioningState: string;
/**
* The Role assignments set for the relationship links.
*/
readonly relationshipLinks?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* The Role assignments set for the relationships.
*/
readonly relationships?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Type of roles.
*/
readonly role: string;
/**
* The Role assignments set for the assignment.
*/
readonly roleAssignments?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Sas Policies set for the assignment.
*/
readonly sasPolicies?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* The Role assignments set for the assignment.
*/
readonly segments?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* The hub name.
*/
readonly tenantId: string;
/**
* Resource type.
*/
readonly type: string;
/**
* Views set for the assignment.
*/
readonly views?: outputs.customerinsights.ResourceSetDescriptionResponse;
/**
* Widget types set for the assignment.
*/
readonly widgetTypes?: outputs.customerinsights.ResourceSetDescriptionResponse;
}
/**
* Gets the role assignment in the hub.
*
* Uses Azure REST API version 2017-04-26.
*/
export declare function getRoleAssignmentOutput(args: GetRoleAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoleAssignmentResult>;
export interface GetRoleAssignmentOutputArgs {
/**
* The name of the role assignment.
*/
assignmentName: pulumi.Input<string>;
/**
* The name of the hub.
*/
hubName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}