UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

85 lines (84 loc) 2.73 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a Security Group. */ export declare function getPlacementGroup(args?: GetPlacementGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetPlacementGroupResult>; /** * A collection of arguments for invoking getPlacementGroup. */ export interface GetPlacementGroupArgs { /** * The placement group name. Only one of `name` and `placementGroupId` should be specified. */ name?: string; /** * The placement group id. Only one of `name` and `placementGroupId` should be specified. */ placementGroupId?: string; /** * `projectId`) The ID of the project the placement group is associated with. */ projectId?: string; /** * `zone`) The zone in which the placement group exists. */ zone?: string; } /** * A collection of values returned by getPlacementGroup. */ export interface GetPlacementGroupResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; /** * The organization ID the placement group is associated with. */ readonly organizationId: string; readonly placementGroupId?: string; /** * The [policy mode](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) of the placement group. */ readonly policyMode: string; /** * Is true when the policy is respected. */ readonly policyRespected: boolean; /** * The [policy type](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) of the placement group. */ readonly policyType: string; readonly projectId: string; /** * A list of tags to apply to the placement group. */ readonly tags: string[]; readonly zone?: string; } /** * Gets information about a Security Group. */ export declare function getPlacementGroupOutput(args?: GetPlacementGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPlacementGroupResult>; /** * A collection of arguments for invoking getPlacementGroup. */ export interface GetPlacementGroupOutputArgs { /** * The placement group name. Only one of `name` and `placementGroupId` should be specified. */ name?: pulumi.Input<string>; /** * The placement group id. Only one of `name` and `placementGroupId` should be specified. */ placementGroupId?: pulumi.Input<string>; /** * `projectId`) The ID of the project the placement group is associated with. */ projectId?: pulumi.Input<string>; /** * `zone`) The zone in which the placement group exists. */ zone?: pulumi.Input<string>; }