1. Packages
  2. Azure Native
  3. API Docs
  4. scvmm
  5. getVirtualNetwork
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.scvmm.getVirtualNetwork

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Implements VirtualNetwork GET method. Azure REST API version: 2022-05-21-preview.

    Other available API versions: 2023-04-01-preview, 2023-10-07.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:scvmm:getVirtualNetwork
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group.
    VirtualNetworkName string
    Name of the VirtualNetwork.
    ResourceGroupName string
    The name of the resource group.
    VirtualNetworkName string
    Name of the VirtualNetwork.
    resourceGroupName String
    The name of the resource group.
    virtualNetworkName String
    Name of the VirtualNetwork.
    resourceGroupName string
    The name of the resource group.
    virtualNetworkName string
    Name of the VirtualNetwork.
    resource_group_name str
    The name of the resource group.
    virtual_network_name str
    Name of the VirtualNetwork.
    resourceGroupName String
    The name of the resource group.
    virtualNetworkName String
    Name of the VirtualNetwork.

    getVirtualNetwork Result

    The following output properties are available:

    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.
    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.
    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.
    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.
    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.
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi