1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkconnectivity
  5. networkconnectivity/v1
  6. getInternalRange

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-native logo

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:

    InternalRangeId string
    Location string
    Project string
    InternalRangeId string
    Location string
    Project string
    internalRangeId String
    location String
    project String
    internalRangeId string
    location string
    project string
    internalRangeId String
    location String
    project String

    getInternalRange Result

    The following output properties are available:

    CreateTime string
    Time when the internal range was created.
    Description string
    A description of this resource.
    IpCidrRange string
    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.
    PrefixLength 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.
    TargetCidrRange List<string>
    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.
    UpdateTime 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.
    CreateTime string
    Time when the internal range was created.
    Description string
    A description of this resource.
    IpCidrRange string
    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.
    PrefixLength 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.
    TargetCidrRange []string
    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.
    UpdateTime 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.
    createTime String
    Time when the internal range was created.
    description String
    A description of this resource.
    ipCidrRange String
    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.
    prefixLength 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.
    targetCidrRange List<String>
    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.
    updateTime 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.
    createTime string
    Time when the internal range was created.
    description string
    A description of this resource.
    ipCidrRange string
    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.
    prefixLength 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.
    targetCidrRange string[]
    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.
    updateTime 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_range str
    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_range Sequence[str]
    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.
    createTime String
    Time when the internal range was created.
    description String
    A description of this resource.
    ipCidrRange String
    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.
    prefixLength 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.
    targetCidrRange List<String>
    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.
    updateTime 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-native logo

    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