Skip to main content

interfaces_virtual_machine_scale_set_network_interfaces

Creates, updates, deletes, gets or lists an interfaces_virtual_machine_scale_set_network_interfaces resource.

Overview

Nameinterfaces_virtual_machine_scale_set_network_interfaces
TypeResource
Idazure.network.interfaces_virtual_machine_scale_set_network_interfaces

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the resulting NetworkInterface resource.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
etagstringA unique read-only string that changes whenever the resource is updated.
extendedLocationobjectThe extended location of the network interface.
propertiesobjectProperties of the network interface.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, subscriptionIdapi-version, $expandGet the specified network interface in a virtual machine scale set.
listselectresourceGroupName, virtualMachineScaleSetName, subscriptionIdapi-versionGets all network interfaces in a virtual machine scale set.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
networkInterfaceNamestringThe name of the network interface.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
virtualMachineScaleSetNamestringThe name of the virtual machine scale set.
virtualmachineIndexstringThe virtual machine index.
$expandstringExpands referenced resources.
api-versionstringClient API version.

SELECT examples

Get the specified network interface in a virtual machine scale set.

SELECT
id,
name,
etag,
extendedLocation,
properties,
systemData,
type
FROM azure.network.interfaces_virtual_machine_scale_set_network_interfaces
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND virtualMachineScaleSetName = '{{ virtualMachineScaleSetName }}' -- required
AND virtualmachineIndex = '{{ virtualmachineIndex }}' -- required
AND networkInterfaceName = '{{ networkInterfaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
AND $expand = '{{ $expand }}'
;