import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a specific standard assignment for the requested scope by resourceId * * Uses Azure REST API version 2021-08-01-preview. */ export declare function getAssignment(args: GetAssignmentArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetAssignmentArgs { /** * The security assignment key - unique key for the standard assignment */ assignmentId: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Security Assignment on a resource group over a given scope */ export interface GetAssignmentResult { /** * Additional data about the assignment */ readonly additionalData?: outputs.security.AssignmentPropertiesAdditionalDataResponse; /** * Component item with key as applied to this standard assignment over the given scope */ readonly assignedComponent?: outputs.security.AssignedComponentItemResponse; /** * Standard item with key as applied to this standard assignment over the given scope */ readonly assignedStandard?: outputs.security.AssignedStandardItemResponse; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * description of the standardAssignment */ readonly description?: string; /** * display name of the standardAssignment */ readonly displayName?: string; /** * expected effect of this assignment (Disable/Exempt/etc) */ readonly effect?: string; /** * Entity tag is used for comparing two or more entities from the same requested resource. */ readonly etag?: string; /** * Expiration date of this assignment as a full ISO date */ readonly expiresOn?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Kind of the resource */ readonly kind?: string; /** * The geo-location where the resource lives */ readonly location?: string; /** * The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs. */ readonly metadata?: any; /** * The name of the resource */ readonly name: string; /** * Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription */ readonly scope?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.security.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a specific standard assignment for the requested scope by resourceId * * Uses Azure REST API version 2021-08-01-preview. */ export declare function getAssignmentOutput(args: GetAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetAssignmentOutputArgs { /** * The security assignment key - unique key for the standard assignment */ assignmentId: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; } //# sourceMappingURL=getAssignment.d.ts.map