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

72 lines (71 loc) 2.36 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the details of the specified registration assignment. * * Uses Azure REST API version 2022-10-01. */ export declare function getRegistrationAssignment(args: GetRegistrationAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistrationAssignmentResult>; export interface GetRegistrationAssignmentArgs { /** * The flag indicating whether to return the registration definition details along with the registration assignment details. */ expandRegistrationDefinition?: boolean; /** * The GUID of the registration assignment. */ registrationAssignmentId: string; /** * The scope of the resource. */ scope: string; } /** * The registration assignment. */ export interface GetRegistrationAssignmentResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The fully qualified path of the registration assignment. */ readonly id: string; /** * The name of the registration assignment. */ readonly name: string; /** * The properties of a registration assignment. */ readonly properties: outputs.managedservices.RegistrationAssignmentPropertiesResponse; /** * The metadata for the registration assignment resource. */ readonly systemData: outputs.managedservices.SystemDataResponse; /** * The type of the Azure resource (Microsoft.ManagedServices/registrationAssignments). */ readonly type: string; } /** * Gets the details of the specified registration assignment. * * Uses Azure REST API version 2022-10-01. */ export declare function getRegistrationAssignmentOutput(args: GetRegistrationAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegistrationAssignmentResult>; export interface GetRegistrationAssignmentOutputArgs { /** * The flag indicating whether to return the registration definition details along with the registration assignment details. */ expandRegistrationDefinition?: pulumi.Input<boolean>; /** * The GUID of the registration assignment. */ registrationAssignmentId: pulumi.Input<string>; /** * The scope of the resource. */ scope: pulumi.Input<string>; }