@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get properties of a partner namespace.
*
* Uses Azure REST API version 2025-02-15.
*
* Other available API versions: 2022-06-15, 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 getPartnerNamespace(args: GetPartnerNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetPartnerNamespaceResult>;
export interface GetPartnerNamespaceArgs {
/**
* Name of the partner namespace.
*/
partnerNamespaceName: string;
/**
* The name of the resource group within the user's subscription.
*/
resourceGroupName: string;
}
/**
* EventGrid Partner Namespace.
*/
export interface GetPartnerNamespaceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace.
*/
readonly disableLocalAuth?: boolean;
/**
* Endpoint for the partner namespace.
*/
readonly endpoint: string;
/**
* Fully qualified identifier of the resource.
*/
readonly id: string;
/**
* This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
*/
readonly inboundIpRules?: outputs.eventgrid.InboundIpRuleResponse[];
/**
* Location of the resource.
*/
readonly location: string;
/**
* Minimum TLS version of the publisher allowed to publish to this partner namespace
*/
readonly minimumTlsVersionAllowed?: string;
/**
* Name of the resource.
*/
readonly name: string;
/**
* The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format:
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.
*/
readonly partnerRegistrationFullyQualifiedId?: string;
/**
* This determines if events published to this partner namespace should use the source attribute in the event payload
* or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic.
*/
readonly partnerTopicRoutingMode?: string;
/**
* List of private endpoint connections.
*/
readonly privateEndpointConnections: outputs.eventgrid.PrivateEndpointConnectionResponse[];
/**
* Provisioning state of the partner namespace.
*/
readonly provisioningState: string;
/**
* This determines if traffic is allowed over public network. By default it is enabled.
* You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" />
*/
readonly publicNetworkAccess?: 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 namespace.
*
* Uses Azure REST API version 2025-02-15.
*
* Other available API versions: 2022-06-15, 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 getPartnerNamespaceOutput(args: GetPartnerNamespaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPartnerNamespaceResult>;
export interface GetPartnerNamespaceOutputArgs {
/**
* Name of the partner namespace.
*/
partnerNamespaceName: pulumi.Input<string>;
/**
* The name of the resource group within the user's subscription.
*/
resourceGroupName: pulumi.Input<string>;
}