Skip to main content

network_interfaces_administrative_states

Creates, updates, deletes, gets or lists a network_interfaces_administrative_states resource.

Overview

Namenetwork_interfaces_administrative_states
TypeResource
Idazure.managed_network_fabric.network_interfaces_administrative_states

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updateexecsubscriptionId, resourceGroupName, networkDeviceName, networkInterfaceNameUpdate the admin state of the Network Interface.

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
networkDeviceNamestringName of the Network Device.
networkInterfaceNamestringName of the Network Interface.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

Lifecycle Methods

Update the admin state of the Network Interface.

EXEC azure.managed_network_fabric.network_interfaces_administrative_states.update 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@networkDeviceName='{{ networkDeviceName }}' --required,
@networkInterfaceName='{{ networkInterfaceName }}' --required
@@json=
'{
"state": "{{ state }}",
"resourceIds": "{{ resourceIds }}"
}'
;