UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

219 lines (218 loc) • 7.73 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * The Role Assignment resource format. * * Uses Azure REST API version 2017-04-26. In version 2.x of the Azure Native provider, it used API version 2017-04-26. */ export declare class RoleAssignment extends pulumi.CustomResource { /** * Get an existing RoleAssignment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RoleAssignment; /** * Returns true if the given object is an instance of RoleAssignment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RoleAssignment; /** * The name of the metadata object. */ readonly assignmentName: pulumi.Output<string>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Widget types set for the assignment. */ readonly conflationPolicies: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Connectors set for the assignment. */ readonly connectors: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Localized description for the metadata. */ readonly description: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Localized display names for the metadata. */ readonly displayName: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Interactions set for the assignment. */ readonly interactions: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Kpis set for the assignment. */ readonly kpis: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Links set for the assignment. */ readonly links: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Resource name. */ readonly name: pulumi.Output<string>; /** * The principals being assigned to. */ readonly principals: pulumi.Output<outputs.customerinsights.AssignmentPrincipalResponse[]>; /** * Profiles set for the assignment. */ readonly profiles: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Provisioning state. */ readonly provisioningState: pulumi.Output<string>; /** * The Role assignments set for the relationship links. */ readonly relationshipLinks: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * The Role assignments set for the relationships. */ readonly relationships: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Type of roles. */ readonly role: pulumi.Output<string>; /** * The Role assignments set for the assignment. */ readonly roleAssignments: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Sas Policies set for the assignment. */ readonly sasPolicies: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * The Role assignments set for the assignment. */ readonly segments: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * The hub name. */ readonly tenantId: pulumi.Output<string>; /** * Resource type. */ readonly type: pulumi.Output<string>; /** * Views set for the assignment. */ readonly views: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Widget types set for the assignment. */ readonly widgetTypes: pulumi.Output<outputs.customerinsights.ResourceSetDescriptionResponse | undefined>; /** * Create a RoleAssignment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RoleAssignmentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a RoleAssignment resource. */ export interface RoleAssignmentArgs { /** * The assignment name */ assignmentName?: pulumi.Input<string>; /** * Widget types set for the assignment. */ conflationPolicies?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * Connectors set for the assignment. */ connectors?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * Localized description for the metadata. */ description?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * Localized display names for the metadata. */ displayName?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The name of the hub. */ hubName: pulumi.Input<string>; /** * Interactions set for the assignment. */ interactions?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * Kpis set for the assignment. */ kpis?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * Links set for the assignment. */ links?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * The principals being assigned to. */ principals: pulumi.Input<pulumi.Input<inputs.customerinsights.AssignmentPrincipalArgs>[]>; /** * Profiles set for the assignment. */ profiles?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * The Role assignments set for the relationship links. */ relationshipLinks?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * The Role assignments set for the relationships. */ relationships?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * Type of roles. */ role: pulumi.Input<enums.customerinsights.RoleTypes>; /** * The Role assignments set for the assignment. */ roleAssignments?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * Sas Policies set for the assignment. */ sasPolicies?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * The Role assignments set for the assignment. */ segments?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * Views set for the assignment. */ views?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; /** * Widget types set for the assignment. */ widgetTypes?: pulumi.Input<inputs.customerinsights.ResourceSetDescriptionArgs>; }