@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.36 kB
TypeScript
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>;
}