This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 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 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Implements VirtualNetwork GET method.
Uses Azure REST API version 2022-05-21-preview.
Other available API versions: 2023-04-01-preview, 2023-10-07, 2024-06-01.
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>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]func LookupVirtualNetwork(ctx *Context, args *LookupVirtualNetworkArgs, opts ...InvokeOption) (*LookupVirtualNetworkResult, error)
func LookupVirtualNetworkOutput(ctx *Context, args *LookupVirtualNetworkOutputArgs, opts ...InvokeOption) LookupVirtualNetworkResultOutput> 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)
}public static CompletableFuture<GetVirtualNetworkResult> getVirtualNetwork(GetVirtualNetworkArgs args, InvokeOptions options)
public static Output<GetVirtualNetworkResult> getVirtualNetwork(GetVirtualNetworkArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:scvmm:getVirtualNetwork
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group.
- VirtualNetwork stringName 
- Name of the VirtualNetwork.
- ResourceGroup stringName 
- The name of the resource group.
- VirtualNetwork stringName 
- Name of the VirtualNetwork.
- resourceGroup StringName 
- The name of the resource group.
- virtualNetwork StringName 
- Name of the VirtualNetwork.
- resourceGroup stringName 
- The name of the resource group.
- virtualNetwork stringName 
- Name of the VirtualNetwork.
- resource_group_ strname 
- The name of the resource group.
- virtual_network_ strname 
- Name of the VirtualNetwork.
- resourceGroup StringName 
- The name of the resource group.
- virtualNetwork StringName 
- Name of the VirtualNetwork.
getVirtualNetwork Result
The following output properties are available:
- ExtendedLocation Pulumi.Azure Native. Sc Vmm. Outputs. Extended Location Response 
- 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.Azure Native. Sc Vmm. Outputs. System Data Response 
- The system data.
- Type string
- Resource Type
- InventoryItem stringId 
- Gets or sets the inventory Item ID for the resource.
- Dictionary<string, string>
- Resource tags
- Uuid string
- Unique ID of the virtual network.
- VmmServer stringId 
- ARM Id of the vmmServer resource in which this resource resides.
- ExtendedLocation ExtendedLocation Response 
- 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 SystemData Response 
- The system data.
- Type string
- Resource Type
- InventoryItem stringId 
- Gets or sets the inventory Item ID for the resource.
- map[string]string
- Resource tags
- Uuid string
- Unique ID of the virtual network.
- VmmServer stringId 
- ARM Id of the vmmServer resource in which this resource resides.
- extendedLocation ExtendedLocation Response 
- 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 SystemData Response 
- The system data.
- type String
- Resource Type
- inventoryItem StringId 
- Gets or sets the inventory Item ID for the resource.
- Map<String,String>
- Resource tags
- uuid String
- Unique ID of the virtual network.
- vmmServer StringId 
- ARM Id of the vmmServer resource in which this resource resides.
- extendedLocation ExtendedLocation Response 
- 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 SystemData Response 
- The system data.
- type string
- Resource Type
- inventoryItem stringId 
- Gets or sets the inventory Item ID for the resource.
- {[key: string]: string}
- Resource tags
- uuid string
- Unique ID of the virtual network.
- vmmServer stringId 
- ARM Id of the vmmServer resource in which this resource resides.
- extended_location ExtendedLocation Response 
- 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 SystemData Response 
- The system data.
- type str
- Resource Type
- inventory_item_ strid 
- Gets or sets the inventory Item ID for the resource.
- Mapping[str, str]
- Resource tags
- uuid str
- Unique ID of the virtual network.
- vmm_server_ strid 
- ARM Id of the vmmServer resource in which this resource resides.
- 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
- inventoryItem StringId 
- Gets or sets the inventory Item ID for the resource.
- Map<String>
- Resource tags
- uuid String
- Unique ID of the virtual network.
- vmmServer StringId 
- ARM Id of the vmmServer resource in which this resource resides.
Supporting Types
ExtendedLocationResponse  
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi