1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networksecurity
  5. networksecurity/v1
  6. getAddressGroup

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.networksecurity/v1.getAddressGroup

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 details of a single address group.

Using getAddressGroup

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 getAddressGroup(args: GetAddressGroupArgs, opts?: InvokeOptions): Promise<GetAddressGroupResult>
function getAddressGroupOutput(args: GetAddressGroupOutputArgs, opts?: InvokeOptions): Output<GetAddressGroupResult>
Copy
def get_address_group(address_group_id: Optional[str] = None,
                      location: Optional[str] = None,
                      project: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAddressGroupResult
def get_address_group_output(address_group_id: Optional[pulumi.Input[str]] = None,
                      location: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAddressGroupResult]
Copy
func LookupAddressGroup(ctx *Context, args *LookupAddressGroupArgs, opts ...InvokeOption) (*LookupAddressGroupResult, error)
func LookupAddressGroupOutput(ctx *Context, args *LookupAddressGroupOutputArgs, opts ...InvokeOption) LookupAddressGroupResultOutput
Copy

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

public static class GetAddressGroup 
{
    public static Task<GetAddressGroupResult> InvokeAsync(GetAddressGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetAddressGroupResult> Invoke(GetAddressGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAddressGroupResult> getAddressGroup(GetAddressGroupArgs args, InvokeOptions options)
public static Output<GetAddressGroupResult> getAddressGroup(GetAddressGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:networksecurity/v1:getAddressGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AddressGroupId This property is required. string
Location This property is required. string
Project string
AddressGroupId This property is required. string
Location This property is required. string
Project string
addressGroupId This property is required. String
location This property is required. String
project String
addressGroupId This property is required. string
location This property is required. string
project string
address_group_id This property is required. str
location This property is required. str
project str
addressGroupId This property is required. String
location This property is required. String
project String

getAddressGroup Result

The following output properties are available:

Capacity int
Capacity of the Address Group
CreateTime string
The timestamp when the resource was created.
Description string
Optional. Free-text description of the resource.
Items List<string>
Optional. List of items.
Labels Dictionary<string, string>
Optional. Set of label tags associated with the AddressGroup resource.
Name string
Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/.
SelfLink string
Server-defined fully-qualified URL for this resource.
Type string
The type of the Address Group. Possible values are "IPv4" or "IPV6".
UpdateTime string
The timestamp when the resource was updated.
Capacity int
Capacity of the Address Group
CreateTime string
The timestamp when the resource was created.
Description string
Optional. Free-text description of the resource.
Items []string
Optional. List of items.
Labels map[string]string
Optional. Set of label tags associated with the AddressGroup resource.
Name string
Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/.
SelfLink string
Server-defined fully-qualified URL for this resource.
Type string
The type of the Address Group. Possible values are "IPv4" or "IPV6".
UpdateTime string
The timestamp when the resource was updated.
capacity Integer
Capacity of the Address Group
createTime String
The timestamp when the resource was created.
description String
Optional. Free-text description of the resource.
items List<String>
Optional. List of items.
labels Map<String,String>
Optional. Set of label tags associated with the AddressGroup resource.
name String
Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/.
selfLink String
Server-defined fully-qualified URL for this resource.
type String
The type of the Address Group. Possible values are "IPv4" or "IPV6".
updateTime String
The timestamp when the resource was updated.
capacity number
Capacity of the Address Group
createTime string
The timestamp when the resource was created.
description string
Optional. Free-text description of the resource.
items string[]
Optional. List of items.
labels {[key: string]: string}
Optional. Set of label tags associated with the AddressGroup resource.
name string
Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/.
selfLink string
Server-defined fully-qualified URL for this resource.
type string
The type of the Address Group. Possible values are "IPv4" or "IPV6".
updateTime string
The timestamp when the resource was updated.
capacity int
Capacity of the Address Group
create_time str
The timestamp when the resource was created.
description str
Optional. Free-text description of the resource.
items Sequence[str]
Optional. List of items.
labels Mapping[str, str]
Optional. Set of label tags associated with the AddressGroup resource.
name str
Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/.
self_link str
Server-defined fully-qualified URL for this resource.
type str
The type of the Address Group. Possible values are "IPv4" or "IPV6".
update_time str
The timestamp when the resource was updated.
capacity Number
Capacity of the Address Group
createTime String
The timestamp when the resource was created.
description String
Optional. Free-text description of the resource.
items List<String>
Optional. List of items.
labels Map<String>
Optional. Set of label tags associated with the AddressGroup resource.
name String
Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/.
selfLink String
Server-defined fully-qualified URL for this resource.
type String
The type of the Address Group. Possible values are "IPv4" or "IPV6".
updateTime String
The timestamp when the resource was 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