azure-native-v2.scvmm.VirtualNetwork
Explore with Pulumi AI
The VirtualNetworks resource definition. Azure REST API version: 2022-05-21-preview. Prior API version in Azure Native 1.x: 2020-06-05-preview.
Other available API versions: 2023-04-01-preview, 2023-10-07, 2024-06-01.
Create VirtualNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualNetwork(name: string, args: VirtualNetworkArgs, opts?: CustomResourceOptions);
@overload
def VirtualNetwork(resource_name: str,
args: VirtualNetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
resource_group_name: Optional[str] = None,
inventory_item_id: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
uuid: Optional[str] = None,
virtual_network_name: Optional[str] = None,
vmm_server_id: Optional[str] = None)
func NewVirtualNetwork(ctx *Context, name string, args VirtualNetworkArgs, opts ...ResourceOption) (*VirtualNetwork, error)
public VirtualNetwork(string name, VirtualNetworkArgs args, CustomResourceOptions? opts = null)
public VirtualNetwork(String name, VirtualNetworkArgs args)
public VirtualNetwork(String name, VirtualNetworkArgs args, CustomResourceOptions options)
type: azure-native:scvmm:VirtualNetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VirtualNetworkArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. VirtualNetworkArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VirtualNetworkArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VirtualNetworkArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. VirtualNetworkArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplevirtualNetworkResourceResourceFromScvmm = new AzureNative.Scvmm.VirtualNetwork("examplevirtualNetworkResourceResourceFromScvmm", new()
{
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
ResourceGroupName = "string",
InventoryItemId = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
Uuid = "string",
VirtualNetworkName = "string",
VmmServerId = "string",
});
example, err := scvmm.NewVirtualNetwork(ctx, "examplevirtualNetworkResourceResourceFromScvmm", &scvmm.VirtualNetworkArgs{
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
ResourceGroupName: "string",
InventoryItemId: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
Uuid: "string",
VirtualNetworkName: "string",
VmmServerId: "string",
})
var examplevirtualNetworkResourceResourceFromScvmm = new VirtualNetwork("examplevirtualNetworkResourceResourceFromScvmm", VirtualNetworkArgs.builder()
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.inventoryItemId("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.uuid("string")
.virtualNetworkName("string")
.vmmServerId("string")
.build());
examplevirtual_network_resource_resource_from_scvmm = azure_native.scvmm.VirtualNetwork("examplevirtualNetworkResourceResourceFromScvmm",
extended_location={
name: string,
type: string,
},
resource_group_name=string,
inventory_item_id=string,
location=string,
tags={
string: string,
},
uuid=string,
virtual_network_name=string,
vmm_server_id=string)
const examplevirtualNetworkResourceResourceFromScvmm = new azure_native.scvmm.VirtualNetwork("examplevirtualNetworkResourceResourceFromScvmm", {
extendedLocation: {
name: "string",
type: "string",
},
resourceGroupName: "string",
inventoryItemId: "string",
location: "string",
tags: {
string: "string",
},
uuid: "string",
virtualNetworkName: "string",
vmmServerId: "string",
});
type: azure-native:scvmm:VirtualNetwork
properties:
extendedLocation:
name: string
type: string
inventoryItemId: string
location: string
resourceGroupName: string
tags:
string: string
uuid: string
virtualNetworkName: string
vmmServerId: string
VirtualNetwork Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VirtualNetwork resource accepts the following input properties:
- Extended
Location This property is required. Pulumi.Azure Native. Sc Vmm. Inputs. Extended Location - The extended location.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Inventory
Item stringId - Gets or sets the inventory Item ID for the resource.
- Location
Changes to this property will trigger replacement.
- Gets or sets the location.
- Dictionary<string, string>
- Resource tags
- Uuid string
- Unique ID of the virtual network.
- Virtual
Network Name Changes to this property will trigger replacement.
- Name of the VirtualNetwork.
- Vmm
Server stringId - ARM Id of the vmmServer resource in which this resource resides.
- Extended
Location This property is required. ExtendedLocation Args - The extended location.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Inventory
Item stringId - Gets or sets the inventory Item ID for the resource.
- Location
Changes to this property will trigger replacement.
- Gets or sets the location.
- map[string]string
- Resource tags
- Uuid string
- Unique ID of the virtual network.
- Virtual
Network Name Changes to this property will trigger replacement.
- Name of the VirtualNetwork.
- Vmm
Server stringId - ARM Id of the vmmServer resource in which this resource resides.
- extended
Location This property is required. ExtendedLocation - The extended location.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- inventory
Item StringId - Gets or sets the inventory Item ID for the resource.
- location
Changes to this property will trigger replacement.
- Gets or sets the location.
- Map<String,String>
- Resource tags
- uuid String
- Unique ID of the virtual network.
- virtual
Network Name Changes to this property will trigger replacement.
- Name of the VirtualNetwork.
- vmm
Server StringId - ARM Id of the vmmServer resource in which this resource resides.
- extended
Location This property is required. ExtendedLocation - The extended location.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- inventory
Item stringId - Gets or sets the inventory Item ID for the resource.
- location
Changes to this property will trigger replacement.
- Gets or sets the location.
- {[key: string]: string}
- Resource tags
- uuid string
- Unique ID of the virtual network.
- virtual
Network Name Changes to this property will trigger replacement.
- Name of the VirtualNetwork.
- vmm
Server stringId - ARM Id of the vmmServer resource in which this resource resides.
- extended_
location This property is required. ExtendedLocation Args - The extended location.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- inventory_
item_ strid - Gets or sets the inventory Item ID for the resource.
- location
Changes to this property will trigger replacement.
- Gets or sets the location.
- Mapping[str, str]
- Resource tags
- uuid str
- Unique ID of the virtual network.
- virtual_
network_ name Changes to this property will trigger replacement.
- Name of the VirtualNetwork.
- vmm_
server_ strid - ARM Id of the vmmServer resource in which this resource resides.
- extended
Location This property is required. Property Map - The extended location.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- inventory
Item StringId - Gets or sets the inventory Item ID for the resource.
- location
Changes to this property will trigger replacement.
- Gets or sets the location.
- Map<String>
- Resource tags
- uuid String
- Unique ID of the virtual network.
- virtual
Network Name Changes to this property will trigger replacement.
- Name of the VirtualNetwork.
- vmm
Server StringId - ARM Id of the vmmServer resource in which this resource resides.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualNetwork resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource Name
- Network
Name string - Name of the virtual network in vmmServer.
- Provisioning
State string - Gets or sets the provisioning state.
- System
Data Pulumi.Azure Native. Sc Vmm. Outputs. System Data Response - The system data.
- Type string
- Resource Type
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource Name
- Network
Name string - Name of the virtual network in vmmServer.
- Provisioning
State string - Gets or sets the provisioning state.
- System
Data SystemData Response - The system data.
- Type string
- Resource Type
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource Name
- network
Name String - Name of the virtual network in vmmServer.
- provisioning
State String - Gets or sets the provisioning state.
- system
Data SystemData Response - The system data.
- type String
- Resource Type
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource Name
- network
Name string - Name of the virtual network in vmmServer.
- provisioning
State string - Gets or sets the provisioning state.
- system
Data SystemData Response - The system data.
- type string
- Resource Type
- id str
- The provider-assigned unique ID for this managed resource.
- 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
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource Name
- network
Name String - Name of the virtual network in vmmServer.
- provisioning
State String - Gets or sets the provisioning state.
- system
Data Property Map - The system data.
- type String
- Resource Type
Supporting Types
ExtendedLocation, ExtendedLocationArgs
ExtendedLocationResponse, ExtendedLocationResponseArgs
SystemDataResponse, SystemDataResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:scvmm:VirtualNetwork HRVirtualNetwork /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0