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

92 lines (91 loc) 2.93 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This operation retrieves a single standard assignment, given its name and the scope it was created at. * * Uses Azure REST API version 2024-08-01. */ export declare function getStandardAssignment(args: GetStandardAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetStandardAssignmentResult>; export interface GetStandardAssignmentArgs { /** * The identifier of the resource. */ resourceId: string; /** * The standard assignments assignment key - unique key for the standard assignment */ standardAssignmentName: string; } /** * Security Assignment on a resource group over a given scope */ export interface GetStandardAssignmentResult { /** * Standard item with key as applied to this standard assignment over the given scope */ readonly assignedStandard?: outputs.security.AssignedStandardItemResponse; /** * Additional data about assignment that has Attest effect */ readonly attestationData?: outputs.security.StandardAssignmentPropertiesResponseAttestationData; /** * 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 (Audit/Exempt/Attest) */ readonly effect?: string; /** * Excluded scopes, filter out the descendants of the scope (on management scopes) */ readonly excludedScopes?: string[]; /** * Additional data about assignment that has Exempt effect */ readonly exemptionData?: outputs.security.StandardAssignmentPropertiesResponseExemptionData; /** * Expiration date of this assignment as a full ISO date */ readonly expiresOn?: string; /** * Resource Id */ readonly id: string; /** * The standard assignment metadata. */ readonly metadata?: outputs.security.StandardAssignmentMetadataResponse; /** * Resource name */ readonly name: string; /** * Resource type */ readonly type: string; } /** * This operation retrieves a single standard assignment, given its name and the scope it was created at. * * Uses Azure REST API version 2024-08-01. */ export declare function getStandardAssignmentOutput(args: GetStandardAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStandardAssignmentResult>; export interface GetStandardAssignmentOutputArgs { /** * The identifier of the resource. */ resourceId: pulumi.Input<string>; /** * The standard assignments assignment key - unique key for the standard assignment */ standardAssignmentName: pulumi.Input<string>; }