Scaleway v1.25.0 published on Saturday, Mar 22, 2025 by pulumiverse
scaleway.instance.getPlacementGroup
Explore with Pulumi AI
Gets information about a Security Group.
Using getPlacementGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPlacementGroup(args: GetPlacementGroupArgs, opts?: InvokeOptions): Promise<GetPlacementGroupResult>
function getPlacementGroupOutput(args: GetPlacementGroupOutputArgs, opts?: InvokeOptions): Output<GetPlacementGroupResult>def get_placement_group(name: Optional[str] = None,
                        placement_group_id: Optional[str] = None,
                        project_id: Optional[str] = None,
                        zone: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetPlacementGroupResult
def get_placement_group_output(name: Optional[pulumi.Input[str]] = None,
                        placement_group_id: Optional[pulumi.Input[str]] = None,
                        project_id: Optional[pulumi.Input[str]] = None,
                        zone: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetPlacementGroupResult]func LookupPlacementGroup(ctx *Context, args *LookupPlacementGroupArgs, opts ...InvokeOption) (*LookupPlacementGroupResult, error)
func LookupPlacementGroupOutput(ctx *Context, args *LookupPlacementGroupOutputArgs, opts ...InvokeOption) LookupPlacementGroupResultOutput> Note: This function is named LookupPlacementGroup in the Go SDK.
public static class GetPlacementGroup 
{
    public static Task<GetPlacementGroupResult> InvokeAsync(GetPlacementGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetPlacementGroupResult> Invoke(GetPlacementGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPlacementGroupResult> getPlacementGroup(GetPlacementGroupArgs args, InvokeOptions options)
public static Output<GetPlacementGroupResult> getPlacementGroup(GetPlacementGroupArgs args, InvokeOptions options)
fn::invoke:
  function: scaleway:instance/getPlacementGroup:getPlacementGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The placement group name. Only one of nameandplacement_group_idshould be specified.
- PlacementGroup stringId 
- The placement group id. Only one of nameandplacement_group_idshould be specified.
- ProjectId string
- project_id) The ID of the project the placement group is associated with.
- Zone string
- zone) The zone in which the placement group exists.
- Name string
- The placement group name. Only one of nameandplacement_group_idshould be specified.
- PlacementGroup stringId 
- The placement group id. Only one of nameandplacement_group_idshould be specified.
- ProjectId string
- project_id) The ID of the project the placement group is associated with.
- Zone string
- zone) The zone in which the placement group exists.
- name String
- The placement group name. Only one of nameandplacement_group_idshould be specified.
- placementGroup StringId 
- The placement group id. Only one of nameandplacement_group_idshould be specified.
- projectId String
- project_id) The ID of the project the placement group is associated with.
- zone String
- zone) The zone in which the placement group exists.
- name string
- The placement group name. Only one of nameandplacement_group_idshould be specified.
- placementGroup stringId 
- The placement group id. Only one of nameandplacement_group_idshould be specified.
- projectId string
- project_id) The ID of the project the placement group is associated with.
- zone string
- zone) The zone in which the placement group exists.
- name str
- The placement group name. Only one of nameandplacement_group_idshould be specified.
- placement_group_ strid 
- The placement group id. Only one of nameandplacement_group_idshould be specified.
- project_id str
- project_id) The ID of the project the placement group is associated with.
- zone str
- zone) The zone in which the placement group exists.
- name String
- The placement group name. Only one of nameandplacement_group_idshould be specified.
- placementGroup StringId 
- The placement group id. Only one of nameandplacement_group_idshould be specified.
- projectId String
- project_id) The ID of the project the placement group is associated with.
- zone String
- zone) The zone in which the placement group exists.
getPlacementGroup Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- OrganizationId string
- The organization ID the placement group is associated with.
- PolicyMode string
- The policy mode of the placement group.
- PolicyRespected bool
- Is true when the policy is respected.
- PolicyType string
- The policy type of the placement group.
- ProjectId string
- List<string>
- A list of tags to apply to the placement group.
- Name string
- PlacementGroup stringId 
- Zone string
- Id string
- The provider-assigned unique ID for this managed resource.
- OrganizationId string
- The organization ID the placement group is associated with.
- PolicyMode string
- The policy mode of the placement group.
- PolicyRespected bool
- Is true when the policy is respected.
- PolicyType string
- The policy type of the placement group.
- ProjectId string
- []string
- A list of tags to apply to the placement group.
- Name string
- PlacementGroup stringId 
- Zone string
- id String
- The provider-assigned unique ID for this managed resource.
- organizationId String
- The organization ID the placement group is associated with.
- policyMode String
- The policy mode of the placement group.
- policyRespected Boolean
- Is true when the policy is respected.
- policyType String
- The policy type of the placement group.
- projectId String
- List<String>
- A list of tags to apply to the placement group.
- name String
- placementGroup StringId 
- zone String
- id string
- The provider-assigned unique ID for this managed resource.
- organizationId string
- The organization ID the placement group is associated with.
- policyMode string
- The policy mode of the placement group.
- policyRespected boolean
- Is true when the policy is respected.
- policyType string
- The policy type of the placement group.
- projectId string
- string[]
- A list of tags to apply to the placement group.
- name string
- placementGroup stringId 
- zone string
- id str
- The provider-assigned unique ID for this managed resource.
- organization_id str
- The organization ID the placement group is associated with.
- policy_mode str
- The policy mode of the placement group.
- policy_respected bool
- Is true when the policy is respected.
- policy_type str
- The policy type of the placement group.
- project_id str
- Sequence[str]
- A list of tags to apply to the placement group.
- name str
- placement_group_ strid 
- zone str
- id String
- The provider-assigned unique ID for this managed resource.
- organizationId String
- The organization ID the placement group is associated with.
- policyMode String
- The policy mode of the placement group.
- policyRespected Boolean
- Is true when the policy is respected.
- policyType String
- The policy type of the placement group.
- projectId String
- List<String>
- A list of tags to apply to the placement group.
- name String
- placementGroup StringId 
- zone String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the scalewayTerraform Provider.
