Skip to main content

interfaces_cloud_service_network_interfaces

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

Overview

Nameinterfaces_cloud_service_network_interfaces
TypeResource
Idazure.network.interfaces_cloud_service_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, cloudServiceName, roleInstanceName, networkInterfaceName, subscriptionIdapi-version, $expandGet the specified network interface in a cloud service.
listselectresourceGroupName, cloudServiceName, subscriptionIdapi-versionGets all network interfaces in a cloud service.

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
cloudServiceNamestringThe name of the cloud service.
networkInterfaceNamestringThe name of the network interface.
resourceGroupNamestringThe name of the resource group.
roleInstanceNamestringThe name of role instance.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$expandstringExpands referenced resources.
api-versionstringClient API version.

SELECT examples

Get the specified network interface in a cloud service.

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