These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.connectedvmwarevsphere.getVirtualNetwork
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Implements virtual network GET method. API Version: 2020-10-01-preview.
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:connectedvmwarevsphere:getVirtualNetwork
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The Resource Group Name.
- VirtualNetwork stringName 
- Name of the virtual network resource.
- ResourceGroup stringName 
- The Resource Group Name.
- VirtualNetwork stringName 
- Name of the virtual network resource.
- resourceGroup StringName 
- The Resource Group Name.
- virtualNetwork StringName 
- Name of the virtual network resource.
- resourceGroup stringName 
- The Resource Group Name.
- virtualNetwork stringName 
- Name of the virtual network resource.
- resource_group_ strname 
- The Resource Group Name.
- virtual_network_ strname 
- Name of the virtual network resource.
- resourceGroup StringName 
- The Resource Group Name.
- virtualNetwork StringName 
- Name of the virtual network resource.
getVirtualNetwork Result
The following output properties are available:
- CustomResource stringName 
- Gets the name of the corresponding resource in Kubernetes.
- Id string
- Gets or sets the Id.
- Location string
- Gets or sets the location.
- MoName string
- Gets or sets the vCenter Managed Object name for the virtual network.
- Name string
- Gets or sets the name.
- ProvisioningState string
- Gets or sets the provisioning state.
- Statuses
List<Pulumi.Azure Native. Connected VMwarev Sphere. Outputs. Resource Status Response> 
- The resource status information.
- SystemData Pulumi.Azure Native. Connected VMwarev Sphere. Outputs. System Data Response 
- The system data.
- Type string
- Gets or sets the type of the resource.
- Uuid string
- Gets or sets a unique identifier for this resource.
- ExtendedLocation Pulumi.Azure Native. Connected VMwarev Sphere. Outputs. Extended Location Response 
- Gets or sets the extended location.
- InventoryItem stringId 
- Gets or sets the inventory Item ID for the virtual network.
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- MoRef stringId 
- Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- Dictionary<string, string>
- Gets or sets the Resource tags.
- VCenterId string
- Gets or sets the ARM Id of the vCenter resource in which this template resides.
- CustomResource stringName 
- Gets the name of the corresponding resource in Kubernetes.
- Id string
- Gets or sets the Id.
- Location string
- Gets or sets the location.
- MoName string
- Gets or sets the vCenter Managed Object name for the virtual network.
- Name string
- Gets or sets the name.
- ProvisioningState string
- Gets or sets the provisioning state.
- Statuses
[]ResourceStatus Response 
- The resource status information.
- SystemData SystemData Response 
- The system data.
- Type string
- Gets or sets the type of the resource.
- Uuid string
- Gets or sets a unique identifier for this resource.
- ExtendedLocation ExtendedLocation Response 
- Gets or sets the extended location.
- InventoryItem stringId 
- Gets or sets the inventory Item ID for the virtual network.
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- MoRef stringId 
- Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- map[string]string
- Gets or sets the Resource tags.
- VCenterId string
- Gets or sets the ARM Id of the vCenter resource in which this template resides.
- customResource StringName 
- Gets the name of the corresponding resource in Kubernetes.
- id String
- Gets or sets the Id.
- location String
- Gets or sets the location.
- moName String
- Gets or sets the vCenter Managed Object name for the virtual network.
- name String
- Gets or sets the name.
- provisioningState String
- Gets or sets the provisioning state.
- statuses
List<ResourceStatus Response> 
- The resource status information.
- systemData SystemData Response 
- The system data.
- type String
- Gets or sets the type of the resource.
- uuid String
- Gets or sets a unique identifier for this resource.
- extendedLocation ExtendedLocation Response 
- Gets or sets the extended location.
- inventoryItem StringId 
- Gets or sets the inventory Item ID for the virtual network.
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- moRef StringId 
- Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- Map<String,String>
- Gets or sets the Resource tags.
- vCenter StringId 
- Gets or sets the ARM Id of the vCenter resource in which this template resides.
- customResource stringName 
- Gets the name of the corresponding resource in Kubernetes.
- id string
- Gets or sets the Id.
- location string
- Gets or sets the location.
- moName string
- Gets or sets the vCenter Managed Object name for the virtual network.
- name string
- Gets or sets the name.
- provisioningState string
- Gets or sets the provisioning state.
- statuses
ResourceStatus Response[] 
- The resource status information.
- systemData SystemData Response 
- The system data.
- type string
- Gets or sets the type of the resource.
- uuid string
- Gets or sets a unique identifier for this resource.
- extendedLocation ExtendedLocation Response 
- Gets or sets the extended location.
- inventoryItem stringId 
- Gets or sets the inventory Item ID for the virtual network.
- kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- moRef stringId 
- Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- {[key: string]: string}
- Gets or sets the Resource tags.
- vCenter stringId 
- Gets or sets the ARM Id of the vCenter resource in which this template resides.
- custom_resource_ strname 
- Gets the name of the corresponding resource in Kubernetes.
- id str
- Gets or sets the Id.
- location str
- Gets or sets the location.
- mo_name str
- Gets or sets the vCenter Managed Object name for the virtual network.
- name str
- Gets or sets the name.
- provisioning_state str
- Gets or sets the provisioning state.
- statuses
Sequence[ResourceStatus Response] 
- The resource status information.
- system_data SystemData Response 
- The system data.
- type str
- Gets or sets the type of the resource.
- uuid str
- Gets or sets a unique identifier for this resource.
- extended_location ExtendedLocation Response 
- Gets or sets the extended location.
- inventory_item_ strid 
- Gets or sets the inventory Item ID for the virtual network.
- kind str
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- mo_ref_ strid 
- Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- Mapping[str, str]
- Gets or sets the Resource tags.
- v_center_ strid 
- Gets or sets the ARM Id of the vCenter resource in which this template resides.
- customResource StringName 
- Gets the name of the corresponding resource in Kubernetes.
- id String
- Gets or sets the Id.
- location String
- Gets or sets the location.
- moName String
- Gets or sets the vCenter Managed Object name for the virtual network.
- name String
- Gets or sets the name.
- provisioningState String
- Gets or sets the provisioning state.
- statuses List<Property Map>
- The resource status information.
- systemData Property Map
- The system data.
- type String
- Gets or sets the type of the resource.
- uuid String
- Gets or sets a unique identifier for this resource.
- extendedLocation Property Map
- Gets or sets the extended location.
- inventoryItem StringId 
- Gets or sets the inventory Item ID for the virtual network.
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- moRef StringId 
- Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- Map<String>
- Gets or sets the Resource tags.
- vCenter StringId 
- Gets or sets the ARM Id of the vCenter resource in which this template resides.
Supporting Types
ExtendedLocationResponse  
ResourceStatusResponse  
- LastUpdated stringAt 
- The last update time for this condition.
- Message string
- A human readable message indicating details about the status.
- Reason string
- The reason for the condition's status.
- Severity string
- Severity with which to treat failures of this type of condition.
- Status string
- Status of the condition.
- Type string
- The type of the condition.
- LastUpdated stringAt 
- The last update time for this condition.
- Message string
- A human readable message indicating details about the status.
- Reason string
- The reason for the condition's status.
- Severity string
- Severity with which to treat failures of this type of condition.
- Status string
- Status of the condition.
- Type string
- The type of the condition.
- lastUpdated StringAt 
- The last update time for this condition.
- message String
- A human readable message indicating details about the status.
- reason String
- The reason for the condition's status.
- severity String
- Severity with which to treat failures of this type of condition.
- status String
- Status of the condition.
- type String
- The type of the condition.
- lastUpdated stringAt 
- The last update time for this condition.
- message string
- A human readable message indicating details about the status.
- reason string
- The reason for the condition's status.
- severity string
- Severity with which to treat failures of this type of condition.
- status string
- Status of the condition.
- type string
- The type of the condition.
- last_updated_ strat 
- The last update time for this condition.
- message str
- A human readable message indicating details about the status.
- reason str
- The reason for the condition's status.
- severity str
- Severity with which to treat failures of this type of condition.
- status str
- Status of the condition.
- type str
- The type of the condition.
- lastUpdated StringAt 
- The last update time for this condition.
- message String
- A human readable message indicating details about the status.
- reason String
- The reason for the condition's status.
- severity String
- Severity with which to treat failures of this type of condition.
- status String
- Status of the condition.
- type String
- The type of the condition.
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-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi