@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.63 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get properties of a partner destination.
*
* Uses Azure REST API version 2024-12-15-preview.
*
* Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-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 getPartnerDestination(args: GetPartnerDestinationArgs, opts?: pulumi.InvokeOptions): Promise<GetPartnerDestinationResult>;
export interface GetPartnerDestinationArgs {
/**
* Name of the partner destination.
*/
partnerDestinationName: string;
/**
* The name of the resource group within the user's subscription.
*/
resourceGroupName: string;
}
/**
* Event Grid Partner Destination.
*/
export interface GetPartnerDestinationResult {
/**
* Activation state of the partner destination.
*/
readonly activationState?: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Endpoint Base URL of the partner destination
*/
readonly endpointBaseUrl?: string;
/**
* Endpoint context associated with this partner destination.
*/
readonly endpointServiceContext?: string;
/**
* Expiration time of the partner destination. If this timer expires and the partner destination was never activated,
* the partner destination and corresponding channel are deleted.
*/
readonly expirationTimeIfNotActivatedUtc?: string;
/**
* Fully qualified identifier of the resource.
*/
readonly id: string;
/**
* Location of the resource.
*/
readonly location: string;
/**
* Context or helpful message that can be used during the approval process.
*/
readonly messageForActivation?: string;
/**
* Name of the resource.
*/
readonly name: string;
/**
* The immutable Id of the corresponding partner registration.
*/
readonly partnerRegistrationImmutableId?: string;
/**
* Provisioning state of the partner destination.
*/
readonly provisioningState: string;
/**
* The system metadata relating to the Event Grid resource.
*/
readonly systemData: outputs.eventgrid.SystemDataResponse;
/**
* Tags of the resource.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Type of the resource.
*/
readonly type: string;
}
/**
* Get properties of a partner destination.
*
* Uses Azure REST API version 2024-12-15-preview.
*
* Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-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 getPartnerDestinationOutput(args: GetPartnerDestinationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPartnerDestinationResult>;
export interface GetPartnerDestinationOutputArgs {
/**
* Name of the partner destination.
*/
partnerDestinationName: pulumi.Input<string>;
/**
* The name of the resource group within the user's subscription.
*/
resourceGroupName: pulumi.Input<string>;
}