azure-native.connectedvmwarevsphere.getVirtualNetwork
Explore with Pulumi AI
Implements virtual network GET method.
Uses Azure REST API version 2023-12-01.
Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native connectedvmwarevsphere [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>
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 dictionary
The following arguments are supported:
- Resource
Group stringName - The Resource Group Name.
- Virtual
Network stringName - Name of the virtual network resource.
- Resource
Group stringName - The Resource Group Name.
- Virtual
Network stringName - Name of the virtual network resource.
- resource
Group StringName - The Resource Group Name.
- virtual
Network StringName - Name of the virtual network resource.
- resource
Group stringName - The Resource Group Name.
- virtual
Network stringName - Name of the virtual network resource.
- resource_
group_ strname - The Resource Group Name.
- virtual_
network_ strname - Name of the virtual network resource.
- resource
Group StringName - The Resource Group Name.
- virtual
Network StringName - Name of the virtual network resource.
getVirtualNetwork Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Custom
Resource stringName - Gets the name of the corresponding resource in Kubernetes.
- Id string
- Gets or sets the Id.
- Location string
- Gets or sets the location.
- Mo
Name string - Gets or sets the vCenter Managed Object name for the virtual network.
- Name string
- Gets or sets the name.
- Provisioning
State string - Gets the provisioning state.
- Statuses
List<Pulumi.
Azure Native. Connected VMwarev Sphere. Outputs. Resource Status Response> - The resource status information.
- System
Data 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.
- Extended
Location Pulumi.Azure Native. Connected VMwarev Sphere. Outputs. Extended Location Response - Gets or sets the extended location.
- Inventory
Item 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.
- Mo
Ref stringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- Dictionary<string, string>
- Gets or sets the Resource tags.
- VCenter
Id string - Gets or sets the ARM Id of the vCenter resource in which this template resides.
- Azure
Api stringVersion - The Azure API version of the resource.
- Custom
Resource stringName - Gets the name of the corresponding resource in Kubernetes.
- Id string
- Gets or sets the Id.
- Location string
- Gets or sets the location.
- Mo
Name string - Gets or sets the vCenter Managed Object name for the virtual network.
- Name string
- Gets or sets the name.
- Provisioning
State string - Gets the provisioning state.
- Statuses
[]Resource
Status Response - The resource status information.
- System
Data 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.
- Extended
Location ExtendedLocation Response - Gets or sets the extended location.
- Inventory
Item 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.
- Mo
Ref 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
Id string - Gets or sets the ARM Id of the vCenter resource in which this template resides.
- azure
Api StringVersion - The Azure API version of the resource.
- custom
Resource StringName - Gets the name of the corresponding resource in Kubernetes.
- id String
- Gets or sets the Id.
- location String
- Gets or sets the location.
- mo
Name String - Gets or sets the vCenter Managed Object name for the virtual network.
- name String
- Gets or sets the name.
- provisioning
State String - Gets the provisioning state.
- statuses
List<Resource
Status Response> - The resource status information.
- system
Data 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.
- extended
Location ExtendedLocation Response - Gets or sets the extended location.
- inventory
Item 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.
- mo
Ref StringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- Map<String,String>
- Gets or sets the Resource tags.
- v
Center StringId - Gets or sets the ARM Id of the vCenter resource in which this template resides.
- azure
Api stringVersion - The Azure API version of the resource.
- custom
Resource stringName - Gets the name of the corresponding resource in Kubernetes.
- id string
- Gets or sets the Id.
- location string
- Gets or sets the location.
- mo
Name string - Gets or sets the vCenter Managed Object name for the virtual network.
- name string
- Gets or sets the name.
- provisioning
State string - Gets the provisioning state.
- statuses
Resource
Status Response[] - The resource status information.
- system
Data 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.
- extended
Location ExtendedLocation Response - Gets or sets the extended location.
- inventory
Item 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.
- mo
Ref stringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- {[key: string]: string}
- Gets or sets the Resource tags.
- v
Center stringId - Gets or sets the ARM Id of the vCenter resource in which this template resides.
- azure_
api_ strversion - The Azure API version of the resource.
- 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 the provisioning state.
- statuses
Sequence[Resource
Status 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.
- azure
Api StringVersion - The Azure API version of the resource.
- custom
Resource StringName - Gets the name of the corresponding resource in Kubernetes.
- id String
- Gets or sets the Id.
- location String
- Gets or sets the location.
- mo
Name String - Gets or sets the vCenter Managed Object name for the virtual network.
- name String
- Gets or sets the name.
- provisioning
State String - Gets the provisioning state.
- statuses List<Property Map>
- The resource status information.
- system
Data 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.
- extended
Location Property Map - Gets or sets the extended location.
- inventory
Item 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.
- mo
Ref StringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual network.
- Map<String>
- Gets or sets the Resource tags.
- v
Center StringId - Gets or sets the ARM Id of the vCenter resource in which this template resides.
Supporting Types
ExtendedLocationResponse
ResourceStatusResponse
- Last
Updated 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 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 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 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.
- last
Updated 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0