Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse
scaleway.getInstancePlacementGroup
Explore with Pulumi AI
Gets information about a Security Group.
Using getInstancePlacementGroup
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 getInstancePlacementGroup(args: GetInstancePlacementGroupArgs, opts?: InvokeOptions): Promise<GetInstancePlacementGroupResult>
function getInstancePlacementGroupOutput(args: GetInstancePlacementGroupOutputArgs, opts?: InvokeOptions): Output<GetInstancePlacementGroupResult>
def get_instance_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) -> GetInstancePlacementGroupResult
def get_instance_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[GetInstancePlacementGroupResult]
func LookupInstancePlacementGroup(ctx *Context, args *LookupInstancePlacementGroupArgs, opts ...InvokeOption) (*LookupInstancePlacementGroupResult, error)
func LookupInstancePlacementGroupOutput(ctx *Context, args *LookupInstancePlacementGroupOutputArgs, opts ...InvokeOption) LookupInstancePlacementGroupResultOutput
> Note: This function is named LookupInstancePlacementGroup
in the Go SDK.
public static class GetInstancePlacementGroup
{
public static Task<GetInstancePlacementGroupResult> InvokeAsync(GetInstancePlacementGroupArgs args, InvokeOptions? opts = null)
public static Output<GetInstancePlacementGroupResult> Invoke(GetInstancePlacementGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstancePlacementGroupResult> getInstancePlacementGroup(GetInstancePlacementGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getInstancePlacementGroup:getInstancePlacementGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The placement group name. Only one of
name
andplacement_group_id
should be specified. - Placement
Group stringId - The placement group id. Only one of
name
andplacement_group_id
should be specified. - Project
Id 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
name
andplacement_group_id
should be specified. - Placement
Group stringId - The placement group id. Only one of
name
andplacement_group_id
should be specified. - Project
Id 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
name
andplacement_group_id
should be specified. - placement
Group StringId - The placement group id. Only one of
name
andplacement_group_id
should be specified. - project
Id 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
name
andplacement_group_id
should be specified. - placement
Group stringId - The placement group id. Only one of
name
andplacement_group_id
should be specified. - project
Id 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
name
andplacement_group_id
should be specified. - placement_
group_ strid - The placement group id. Only one of
name
andplacement_group_id
should 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
name
andplacement_group_id
should be specified. - placement
Group StringId - The placement group id. Only one of
name
andplacement_group_id
should be specified. - project
Id 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.
getInstancePlacementGroup Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The organization ID the placement group is associated with.
- Policy
Mode string - The policy mode of the placement group.
- Policy
Respected bool - Is true when the policy is respected.
- Policy
Type string - The policy type of the placement group.
- Project
Id string - List<string>
- A list of tags to apply to the placement group.
- Name string
- Placement
Group stringId - Zone string
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The organization ID the placement group is associated with.
- Policy
Mode string - The policy mode of the placement group.
- Policy
Respected bool - Is true when the policy is respected.
- Policy
Type string - The policy type of the placement group.
- Project
Id string - []string
- A list of tags to apply to the placement group.
- Name string
- Placement
Group stringId - Zone string
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The organization ID the placement group is associated with.
- policy
Mode String - The policy mode of the placement group.
- policy
Respected Boolean - Is true when the policy is respected.
- policy
Type String - The policy type of the placement group.
- project
Id String - List<String>
- A list of tags to apply to the placement group.
- name String
- placement
Group StringId - zone String
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The organization ID the placement group is associated with.
- policy
Mode string - The policy mode of the placement group.
- policy
Respected boolean - Is true when the policy is respected.
- policy
Type string - The policy type of the placement group.
- project
Id string - string[]
- A list of tags to apply to the placement group.
- name string
- placement
Group 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.
- organization
Id String - The organization ID the placement group is associated with.
- policy
Mode String - The policy mode of the placement group.
- policy
Respected Boolean - Is true when the policy is respected.
- policy
Type String - The policy type of the placement group.
- project
Id String - List<String>
- A list of tags to apply to the placement group.
- name String
- placement
Group StringId - zone String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.