GetRegionInstanceGroup
Get a Compute Region Instance Group within GCE. For more information, see the official documentation and API.
The most common use of this datasource will be to fetch information about the instances inside regional managed instance groups, for instance:
Using GetRegionInstanceGroup
function getRegionInstanceGroup(args: GetRegionInstanceGroupArgs, opts?: InvokeOptions): Promise<GetRegionInstanceGroupResult>function get_region_instance_group(name=None, project=None, region=None, self_link=None, opts=None)func GetRegionInstanceGroup(ctx *Context, args *GetRegionInstanceGroupArgs, opts ...InvokeOption) (*GetRegionInstanceGroupResult, error)public static class GetRegionInstanceGroup {
public static Task<GetRegionInstanceGroupResult> InvokeAsync(GetRegionInstanceGroupArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Name string
The name of the instance group. One of
nameorself_linkmust be provided.- Project string
The ID of the project in which the resource belongs. If
self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.- Region string
The region in which the resource belongs. If
self_linkis provided, this value is ignored. If neitherself_linknorregionare provided, the provider region is used.- Self
Link string The link to the instance group. One of
nameorself_linkmust be provided.
- Name string
The name of the instance group. One of
nameorself_linkmust be provided.- Project string
The ID of the project in which the resource belongs. If
self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.- Region string
The region in which the resource belongs. If
self_linkis provided, this value is ignored. If neitherself_linknorregionare provided, the provider region is used.- Self
Link string The link to the instance group. One of
nameorself_linkmust be provided.
- name string
The name of the instance group. One of
nameorself_linkmust be provided.- project string
The ID of the project in which the resource belongs. If
self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.- region string
The region in which the resource belongs. If
self_linkis provided, this value is ignored. If neitherself_linknorregionare provided, the provider region is used.- self
Link string The link to the instance group. One of
nameorself_linkmust be provided.
- name str
The name of the instance group. One of
nameorself_linkmust be provided.- project str
The ID of the project in which the resource belongs. If
self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.- region str
The region in which the resource belongs. If
self_linkis provided, this value is ignored. If neitherself_linknorregionare provided, the provider region is used.- self_
link str The link to the instance group. One of
nameorself_linkmust be provided.
GetRegionInstanceGroup Result
The following output properties are available:
Supporting Types
GetRegionInstanceGroupInstance
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Instance string
URL to the instance.
- Named
Ports List<GetRegion Instance Group Instance Named Port Args> List of named ports in the group, as a list of resources, each containing:
- Status string
String description of current state of the instance.
- Instance string
URL to the instance.
- Named
Ports []GetRegion Instance Group Instance Named Port List of named ports in the group, as a list of resources, each containing:
- Status string
String description of current state of the instance.
- instance string
URL to the instance.
- named
Ports GetRegion Instance Group Instance Named Port[] List of named ports in the group, as a list of resources, each containing:
- status string
String description of current state of the instance.
- instance str
URL to the instance.
- named_
ports List[GetRegion Instance Group Instance Named Port] List of named ports in the group, as a list of resources, each containing:
- status str
String description of current state of the instance.
GetRegionInstanceGroupInstanceNamedPort
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.