@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get properties of a client.
*
* Uses Azure REST API version 2025-02-15.
*
* Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native eventgrid [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getClient(args: GetClientArgs, opts?: pulumi.InvokeOptions): Promise<GetClientResult>;
export interface GetClientArgs {
/**
* Name of the client.
*/
clientName: string;
/**
* Name of the namespace.
*/
namespaceName: string;
/**
* The name of the resource group within the user's subscription.
*/
resourceGroupName: string;
}
/**
* The Client resource.
*/
export interface GetClientResult {
/**
* Attributes for the client. Supported values are int, bool, string, string[].
* Example:
* "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }
*/
readonly attributes?: any;
/**
* The name presented by the client for authentication. The default value is the name of the resource.
*/
readonly authenticationName?: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The client certificate authentication information.
*/
readonly clientCertificateAuthentication?: outputs.eventgrid.ClientCertificateAuthenticationResponse;
/**
* Description for the Client resource.
*/
readonly description?: string;
/**
* Fully qualified identifier of the resource.
*/
readonly id: string;
/**
* Name of the resource.
*/
readonly name: string;
/**
* Provisioning state of the Client resource.
*/
readonly provisioningState: string;
/**
* Indicates if the client is enabled or not. Default value is Enabled.
*/
readonly state?: string;
/**
* The system metadata relating to the Event Grid resource.
*/
readonly systemData: outputs.eventgrid.SystemDataResponse;
/**
* Type of the resource.
*/
readonly type: string;
}
/**
* Get properties of a client.
*
* Uses Azure REST API version 2025-02-15.
*
* Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native eventgrid [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getClientOutput(args: GetClientOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClientResult>;
export interface GetClientOutputArgs {
/**
* Name of the client.
*/
clientName: pulumi.Input<string>;
/**
* Name of the namespace.
*/
namespaceName: pulumi.Input<string>;
/**
* The name of the resource group within the user's subscription.
*/
resourceGroupName: pulumi.Input<string>;
}