VirtualNetworksOperations interface
Interface representing a VirtualNetworks operations.
Properties
| create |
The operation to create or update a virtual network. Please note some properties can be set only during virtualNetwork network creation. |
| delete | The operation to delete a virtual network. |
| get | The operation to get a virtual network. |
| list |
Lists all of the virtual networks in the specified subscription. Use the nextLink property in the response to get the next page of virtualNetwork networks. |
| list |
Lists all of the virtual networks in the specified resource group. Use the nextLink property in the response to get the next page of virtualNetwork networks. |
| update |
Updates a virtual network tags. |
Property Details
createOrUpdate
The operation to create or update a virtual network. Please note some properties can be set only during virtualNetwork network creation.
createOrUpdate: (resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams) => PollerLike<OperationState<VirtualNetwork>, VirtualNetwork>
Property Value
(resourceGroupName: string, virtualNetworkName: string, resource: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams) => PollerLike<OperationState<VirtualNetwork>, VirtualNetwork>
delete
The operation to delete a virtual network.
delete: (resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
The operation to get a virtual network.
get: (resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams) => Promise<VirtualNetwork>
Property Value
(resourceGroupName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams) => Promise<VirtualNetwork>
listAll
Lists all of the virtual networks in the specified subscription. Use the nextLink property in the response to get the next page of virtualNetwork networks.
listAll: (options?: VirtualNetworksListAllOptionalParams) => PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>
Property Value
(options?: VirtualNetworksListAllOptionalParams) => PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>
listByResourceGroup
Lists all of the virtual networks in the specified resource group. Use the nextLink property in the response to get the next page of virtualNetwork networks.
listByResourceGroup: (resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>
Property Value
(resourceGroupName: string, options?: VirtualNetworksListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<VirtualNetwork, VirtualNetwork[], PageSettings>
updateTags
Updates a virtual network tags.
updateTags: (resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateTagsOptionalParams) => PollerLike<OperationState<VirtualNetwork>, VirtualNetwork>
Property Value
(resourceGroupName: string, virtualNetworkName: string, properties: VirtualNetworkTagsUpdate, options?: VirtualNetworksUpdateTagsOptionalParams) => PollerLike<OperationState<VirtualNetwork>, VirtualNetwork>