@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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, 2025-03-13. 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getVirtualNetwork(args: GetVirtualNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualNetworkResult>;
export interface GetVirtualNetworkArgs {
/**
* The name of the resource group.
*/
resourceGroupName: string;
/**
* Name of the VirtualNetwork.
*/
virtualNetworkName: string;
}
/**
* The VirtualNetworks resource definition.
*/
export interface GetVirtualNetworkResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The extended location.
*/
readonly extendedLocation: outputs.scvmm.ExtendedLocationResponse;
/**
* Resource Id
*/
readonly id: string;
/**
* Gets or sets the inventory Item ID for the resource.
*/
readonly inventoryItemId?: string;
/**
* Gets or sets the location.
*/
readonly location: string;
/**
* Resource Name
*/
readonly name: string;
/**
* Name of the virtual network in vmmServer.
*/
readonly networkName: string;
/**
* Gets or sets the provisioning state.
*/
readonly provisioningState: string;
/**
* The system data.
*/
readonly systemData: outputs.scvmm.SystemDataResponse;
/**
* Resource tags
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource Type
*/
readonly type: string;
/**
* Unique ID of the virtual network.
*/
readonly uuid?: string;
/**
* ARM Id of the vmmServer resource in which this resource resides.
*/
readonly vmmServerId?: string;
}
/**
* 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, 2025-03-13. 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getVirtualNetworkOutput(args: GetVirtualNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualNetworkResult>;
export interface GetVirtualNetworkOutputArgs {
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the VirtualNetwork.
*/
virtualNetworkName: pulumi.Input<string>;
}