1. Packages
  2. Google Cloud Native
  3. API Docs
  4. migrationcenter
  5. migrationcenter/v1
  6. getGroup

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.migrationcenter/v1.getGroup

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Gets the details of a group.

Using getGroup

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 getGroup(args: GetGroupArgs, opts?: InvokeOptions): Promise<GetGroupResult>
function getGroupOutput(args: GetGroupOutputArgs, opts?: InvokeOptions): Output<GetGroupResult>
Copy
def get_group(group_id: Optional[str] = None,
              location: Optional[str] = None,
              project: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetGroupResult
def get_group_output(group_id: Optional[pulumi.Input[str]] = None,
              location: Optional[pulumi.Input[str]] = None,
              project: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetGroupResult]
Copy
func LookupGroup(ctx *Context, args *LookupGroupArgs, opts ...InvokeOption) (*LookupGroupResult, error)
func LookupGroupOutput(ctx *Context, args *LookupGroupOutputArgs, opts ...InvokeOption) LookupGroupResultOutput
Copy

> Note: This function is named LookupGroup in the Go SDK.

public static class GetGroup 
{
    public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetGroupResult> Invoke(GetGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
public static Output<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:migrationcenter/v1:getGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GroupId This property is required. string
Location This property is required. string
Project string
GroupId This property is required. string
Location This property is required. string
Project string
groupId This property is required. String
location This property is required. String
project String
groupId This property is required. string
location This property is required. string
project string
group_id This property is required. str
location This property is required. str
project str
groupId This property is required. String
location This property is required. String
project String

getGroup Result

The following output properties are available:

CreateTime string
The timestamp when the group was created.
Description string
Optional. The description of the group.
DisplayName string
Optional. User-friendly display name.
Labels Dictionary<string, string>
Labels as key value pairs.
Name string
The name of the group.
UpdateTime string
The timestamp when the group was last updated.
CreateTime string
The timestamp when the group was created.
Description string
Optional. The description of the group.
DisplayName string
Optional. User-friendly display name.
Labels map[string]string
Labels as key value pairs.
Name string
The name of the group.
UpdateTime string
The timestamp when the group was last updated.
createTime String
The timestamp when the group was created.
description String
Optional. The description of the group.
displayName String
Optional. User-friendly display name.
labels Map<String,String>
Labels as key value pairs.
name String
The name of the group.
updateTime String
The timestamp when the group was last updated.
createTime string
The timestamp when the group was created.
description string
Optional. The description of the group.
displayName string
Optional. User-friendly display name.
labels {[key: string]: string}
Labels as key value pairs.
name string
The name of the group.
updateTime string
The timestamp when the group was last updated.
create_time str
The timestamp when the group was created.
description str
Optional. The description of the group.
display_name str
Optional. User-friendly display name.
labels Mapping[str, str]
Labels as key value pairs.
name str
The name of the group.
update_time str
The timestamp when the group was last updated.
createTime String
The timestamp when the group was created.
description String
Optional. The description of the group.
displayName String
Optional. User-friendly display name.
labels Map<String>
Labels as key value pairs.
name String
The name of the group.
updateTime String
The timestamp when the group was last updated.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi