@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
124 lines • 3.53 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about an Interlink Partner.
*
* A partner is an organization that provides shared connections at PoPs, allowing you to create hosted links without owning physical infrastructure.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve a partner by its ID
* const byId = scaleway.interlink.getPartner({
* partnerId: "fr-par/11111111-1111-1111-1111-111111111111",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve a partner by name
* const byName = scaleway.interlink.getPartner({
* name: "FreePro",
* });
* ```
*/
export declare function getPartner(args?: GetPartnerArgs, opts?: pulumi.InvokeOptions): Promise<GetPartnerResult>;
/**
* A collection of arguments for invoking getPartner.
*/
export interface GetPartnerArgs {
/**
* The name of the partner to filter for. Conflicts with `partnerId`.
*/
name?: string;
/**
* The ID of the partner. Can be a plain UUID or a regional ID. Conflicts with `name`.
*/
partnerId?: string;
/**
* `region`) The region in which the partner operates.
*/
region?: string;
}
/**
* A collection of values returned by getPartner.
*/
export interface GetPartnerResult {
/**
* Contact email address of the partner.
*/
readonly contactEmail: string;
/**
* Creation date of the partner.
*/
readonly createdAt: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* URL of the partner's logo.
*/
readonly logoUrl: string;
readonly name: string;
readonly partnerId?: string;
/**
* URL of the partner's portal.
*/
readonly portalUrl: string;
readonly region?: string;
/**
* Last update date of the partner.
*/
readonly updatedAt: string;
}
/**
* Gets information about an Interlink Partner.
*
* A partner is an organization that provides shared connections at PoPs, allowing you to create hosted links without owning physical infrastructure.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve a partner by its ID
* const byId = scaleway.interlink.getPartner({
* partnerId: "fr-par/11111111-1111-1111-1111-111111111111",
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Retrieve a partner by name
* const byName = scaleway.interlink.getPartner({
* name: "FreePro",
* });
* ```
*/
export declare function getPartnerOutput(args?: GetPartnerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPartnerResult>;
/**
* A collection of arguments for invoking getPartner.
*/
export interface GetPartnerOutputArgs {
/**
* The name of the partner to filter for. Conflicts with `partnerId`.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the partner. Can be a plain UUID or a regional ID. Conflicts with `name`.
*/
partnerId?: pulumi.Input<string | undefined>;
/**
* `region`) The region in which the partner operates.
*/
region?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getPartner.d.ts.map