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.networkconnectivity/v1.getInternalRange
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 internal range.
Using getInternalRange
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 getInternalRange(args: GetInternalRangeArgs, opts?: InvokeOptions): Promise<GetInternalRangeResult>
function getInternalRangeOutput(args: GetInternalRangeOutputArgs, opts?: InvokeOptions): Output<GetInternalRangeResult>
def get_internal_range(internal_range_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInternalRangeResult
def get_internal_range_output(internal_range_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInternalRangeResult]
func LookupInternalRange(ctx *Context, args *LookupInternalRangeArgs, opts ...InvokeOption) (*LookupInternalRangeResult, error)
func LookupInternalRangeOutput(ctx *Context, args *LookupInternalRangeOutputArgs, opts ...InvokeOption) LookupInternalRangeResultOutput
> Note: This function is named LookupInternalRange
in the Go SDK.
public static class GetInternalRange
{
public static Task<GetInternalRangeResult> InvokeAsync(GetInternalRangeArgs args, InvokeOptions? opts = null)
public static Output<GetInternalRangeResult> Invoke(GetInternalRangeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInternalRangeResult> getInternalRange(GetInternalRangeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:networkconnectivity/v1:getInternalRange
arguments:
# arguments dictionary
The following arguments are supported:
- Internal
Range stringId - Location string
- Project string
- Internal
Range stringId - Location string
- Project string
- internal
Range StringId - location String
- project String
- internal
Range stringId - location string
- project string
- internal_
range_ strid - location str
- project str
- internal
Range StringId - location String
- project String
getInternalRange Result
The following output properties are available:
- Create
Time string - Time when the internal range was created.
- Description string
- A description of this resource.
- Ip
Cidr stringRange - The IP range that this internal range defines.
- Labels Dictionary<string, string>
- User-defined labels.
- Name string
- Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
- Network string
- The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123
- Overlaps List<string>
- Optional. Types of resources that are allowed to overlap with the current internal range.
- Peering string
- The type of peering set for this internal range.
- Prefix
Length int - An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
- Target
Cidr List<string>Range - Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
- Update
Time string - Time when the internal range was updated.
- Usage string
- The type of usage set for this InternalRange.
- Users List<string>
- The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
- Create
Time string - Time when the internal range was created.
- Description string
- A description of this resource.
- Ip
Cidr stringRange - The IP range that this internal range defines.
- Labels map[string]string
- User-defined labels.
- Name string
- Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
- Network string
- The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123
- Overlaps []string
- Optional. Types of resources that are allowed to overlap with the current internal range.
- Peering string
- The type of peering set for this internal range.
- Prefix
Length int - An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
- Target
Cidr []stringRange - Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
- Update
Time string - Time when the internal range was updated.
- Usage string
- The type of usage set for this InternalRange.
- Users []string
- The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
- create
Time String - Time when the internal range was created.
- description String
- A description of this resource.
- ip
Cidr StringRange - The IP range that this internal range defines.
- labels Map<String,String>
- User-defined labels.
- name String
- Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
- network String
- The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123
- overlaps List<String>
- Optional. Types of resources that are allowed to overlap with the current internal range.
- peering String
- The type of peering set for this internal range.
- prefix
Length Integer - An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
- target
Cidr List<String>Range - Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
- update
Time String - Time when the internal range was updated.
- usage String
- The type of usage set for this InternalRange.
- users List<String>
- The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
- create
Time string - Time when the internal range was created.
- description string
- A description of this resource.
- ip
Cidr stringRange - The IP range that this internal range defines.
- labels {[key: string]: string}
- User-defined labels.
- name string
- Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
- network string
- The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123
- overlaps string[]
- Optional. Types of resources that are allowed to overlap with the current internal range.
- peering string
- The type of peering set for this internal range.
- prefix
Length number - An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
- target
Cidr string[]Range - Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
- update
Time string - Time when the internal range was updated.
- usage string
- The type of usage set for this InternalRange.
- users string[]
- The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
- create_
time str - Time when the internal range was created.
- description str
- A description of this resource.
- ip_
cidr_ strrange - The IP range that this internal range defines.
- labels Mapping[str, str]
- User-defined labels.
- name str
- Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
- network str
- The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123
- overlaps Sequence[str]
- Optional. Types of resources that are allowed to overlap with the current internal range.
- peering str
- The type of peering set for this internal range.
- prefix_
length int - An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
- target_
cidr_ Sequence[str]range - Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
- update_
time str - Time when the internal range was updated.
- usage str
- The type of usage set for this InternalRange.
- users Sequence[str]
- The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
- create
Time String - Time when the internal range was created.
- description String
- A description of this resource.
- ip
Cidr StringRange - The IP range that this internal range defines.
- labels Map<String>
- User-defined labels.
- name String
- Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names
- network String
- The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123
- overlaps List<String>
- Optional. Types of resources that are allowed to overlap with the current internal range.
- peering String
- The type of peering set for this internal range.
- prefix
Length Number - An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.
- target
Cidr List<String>Range - Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the "10.0.0.0/8" address space. This can be used to search in other rfc-1918 address spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
- update
Time String - Time when the internal range was updated.
- usage String
- The type of usage set for this InternalRange.
- users List<String>
- The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.
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