@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
87 lines (86 loc) • 3.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about a Security Group.
*/
/** @deprecated scaleway.index/getinstanceplacementgroup.getInstancePlacementGroup has been deprecated in favor of scaleway.instance/getplacementgroup.getPlacementGroup */
export declare function getInstancePlacementGroup(args?: GetInstancePlacementGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetInstancePlacementGroupResult>;
/**
* A collection of arguments for invoking getInstancePlacementGroup.
*/
export interface GetInstancePlacementGroupArgs {
/**
* 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 getInstancePlacementGroup.
*/
export interface GetInstancePlacementGroupResult {
/**
* 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.
*/
/** @deprecated scaleway.index/getinstanceplacementgroup.getInstancePlacementGroup has been deprecated in favor of scaleway.instance/getplacementgroup.getPlacementGroup */
export declare function getInstancePlacementGroupOutput(args?: GetInstancePlacementGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstancePlacementGroupResult>;
/**
* A collection of arguments for invoking getInstancePlacementGroup.
*/
export interface GetInstancePlacementGroupOutputArgs {
/**
* 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>;
}