GetNetwork
Get a network within GCE from its name.
Using GetNetwork
function getNetwork(args: GetNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkResult>function get_network(name=None, project=None, opts=None)func LookupNetwork(ctx *Context, args *LookupNetworkArgs, opts ...InvokeOption) (*LookupNetworkResult, error)Note: This function is named
LookupNetworkin the Go SDK.
public static class GetNetwork {
public static Task<GetNetworkResult> InvokeAsync(GetNetworkArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetNetwork Result
The following output properties are available:
- Description string
Description of this network.
- Gateway
Ipv4 string The IP address of the gateway.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Self
Link string The URI of the resource.
- Subnetworks
Self List<string>Links the list of subnetworks which belong to the network
- Project string
- Description string
Description of this network.
- Gateway
Ipv4 string The IP address of the gateway.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Self
Link string The URI of the resource.
- Subnetworks
Self []stringLinks the list of subnetworks which belong to the network
- Project string
- description string
Description of this network.
- gateway
Ipv4 string The IP address of the gateway.
- id string
The provider-assigned unique ID for this managed resource.
- name string
- self
Link string The URI of the resource.
- subnetworks
Self string[]Links the list of subnetworks which belong to the network
- project string
- description str
Description of this network.
- gateway_
ipv4 str The IP address of the gateway.
- id str
The provider-assigned unique ID for this managed resource.
- name str
- self_
link str The URI of the resource.
- subnetworks_
self_ List[str]links the list of subnetworks which belong to the network
- project str
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.