1. Packages
  2. Azure Native
  3. API Docs
  4. scvmm
  5. getVirtualNetwork
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.scvmm.getVirtualNetwork

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Implements VirtualNetwork GET method.

Uses Azure REST API version 2023-04-01-preview.

Other available API versions: 2022-05-21-preview, 2023-10-07, 2024-06-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native scvmm [ApiVersion]. See the version guide for details.

Using getVirtualNetwork

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 getVirtualNetwork(args: GetVirtualNetworkArgs, opts?: InvokeOptions): Promise<GetVirtualNetworkResult>
function getVirtualNetworkOutput(args: GetVirtualNetworkOutputArgs, opts?: InvokeOptions): Output<GetVirtualNetworkResult>
Copy
def get_virtual_network(resource_group_name: Optional[str] = None,
                        virtual_network_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetVirtualNetworkResult
def get_virtual_network_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                        virtual_network_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetVirtualNetworkResult]
Copy
func LookupVirtualNetwork(ctx *Context, args *LookupVirtualNetworkArgs, opts ...InvokeOption) (*LookupVirtualNetworkResult, error)
func LookupVirtualNetworkOutput(ctx *Context, args *LookupVirtualNetworkOutputArgs, opts ...InvokeOption) LookupVirtualNetworkResultOutput
Copy

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

public static class GetVirtualNetwork 
{
    public static Task<GetVirtualNetworkResult> InvokeAsync(GetVirtualNetworkArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualNetworkResult> Invoke(GetVirtualNetworkInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVirtualNetworkResult> getVirtualNetwork(GetVirtualNetworkArgs args, InvokeOptions options)
public static Output<GetVirtualNetworkResult> getVirtualNetwork(GetVirtualNetworkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:scvmm:getVirtualNetwork
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
VirtualNetworkName
This property is required.
Changes to this property will trigger replacement.
string
Name of the VirtualNetwork.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
VirtualNetworkName
This property is required.
Changes to this property will trigger replacement.
string
Name of the VirtualNetwork.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
virtualNetworkName
This property is required.
Changes to this property will trigger replacement.
String
Name of the VirtualNetwork.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
virtualNetworkName
This property is required.
Changes to this property will trigger replacement.
string
Name of the VirtualNetwork.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
virtual_network_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the VirtualNetwork.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
virtualNetworkName
This property is required.
Changes to this property will trigger replacement.
String
Name of the VirtualNetwork.

getVirtualNetwork Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
ExtendedLocation Pulumi.AzureNative.ScVmm.Outputs.ExtendedLocationResponse
The extended location.
Id string
Resource Id
Location string
Gets or sets the location.
Name string
Resource Name
NetworkName string
Name of the virtual network in vmmServer.
ProvisioningState string
Gets or sets the provisioning state.
SystemData Pulumi.AzureNative.ScVmm.Outputs.SystemDataResponse
The system data.
Type string
Resource Type
InventoryItemId string
Gets or sets the inventory Item ID for the resource.
Tags Dictionary<string, string>
Resource tags
Uuid string
Unique ID of the virtual network.
VmmServerId string
ARM Id of the vmmServer resource in which this resource resides.
AzureApiVersion string
The Azure API version of the resource.
ExtendedLocation ExtendedLocationResponse
The extended location.
Id string
Resource Id
Location string
Gets or sets the location.
Name string
Resource Name
NetworkName string
Name of the virtual network in vmmServer.
ProvisioningState string
Gets or sets the provisioning state.
SystemData SystemDataResponse
The system data.
Type string
Resource Type
InventoryItemId string
Gets or sets the inventory Item ID for the resource.
Tags map[string]string
Resource tags
Uuid string
Unique ID of the virtual network.
VmmServerId string
ARM Id of the vmmServer resource in which this resource resides.
azureApiVersion String
The Azure API version of the resource.
extendedLocation ExtendedLocationResponse
The extended location.
id String
Resource Id
location String
Gets or sets the location.
name String
Resource Name
networkName String
Name of the virtual network in vmmServer.
provisioningState String
Gets or sets the provisioning state.
systemData SystemDataResponse
The system data.
type String
Resource Type
inventoryItemId String
Gets or sets the inventory Item ID for the resource.
tags Map<String,String>
Resource tags
uuid String
Unique ID of the virtual network.
vmmServerId String
ARM Id of the vmmServer resource in which this resource resides.
azureApiVersion string
The Azure API version of the resource.
extendedLocation ExtendedLocationResponse
The extended location.
id string
Resource Id
location string
Gets or sets the location.
name string
Resource Name
networkName string
Name of the virtual network in vmmServer.
provisioningState string
Gets or sets the provisioning state.
systemData SystemDataResponse
The system data.
type string
Resource Type
inventoryItemId string
Gets or sets the inventory Item ID for the resource.
tags {[key: string]: string}
Resource tags
uuid string
Unique ID of the virtual network.
vmmServerId string
ARM Id of the vmmServer resource in which this resource resides.
azure_api_version str
The Azure API version of the resource.
extended_location ExtendedLocationResponse
The extended location.
id str
Resource Id
location str
Gets or sets the location.
name str
Resource Name
network_name str
Name of the virtual network in vmmServer.
provisioning_state str
Gets or sets the provisioning state.
system_data SystemDataResponse
The system data.
type str
Resource Type
inventory_item_id str
Gets or sets the inventory Item ID for the resource.
tags Mapping[str, str]
Resource tags
uuid str
Unique ID of the virtual network.
vmm_server_id str
ARM Id of the vmmServer resource in which this resource resides.
azureApiVersion String
The Azure API version of the resource.
extendedLocation Property Map
The extended location.
id String
Resource Id
location String
Gets or sets the location.
name String
Resource Name
networkName String
Name of the virtual network in vmmServer.
provisioningState String
Gets or sets the provisioning state.
systemData Property Map
The system data.
type String
Resource Type
inventoryItemId String
Gets or sets the inventory Item ID for the resource.
tags Map<String>
Resource tags
uuid String
Unique ID of the virtual network.
vmmServerId String
ARM Id of the vmmServer resource in which this resource resides.

Supporting Types

ExtendedLocationResponse

Name string
The extended location name.
Type string
The extended location type.
Name string
The extended location name.
Type string
The extended location type.
name String
The extended location name.
type String
The extended location type.
name string
The extended location name.
type string
The extended location type.
name str
The extended location name.
type str
The extended location type.
name String
The extended location name.
type String
The extended location type.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi