Gets the Network Device resource details.
Uses Azure REST API version 2023-06-15.
Other available API versions: 2023-02-01-preview, 2024-02-15-preview, 2024-06-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native managednetworkfabric [ApiVersion]. See the version guide for details.
Using getNetworkDevice
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNetworkDevice(args: GetNetworkDeviceArgs, opts?: InvokeOptions): Promise<GetNetworkDeviceResult>
function getNetworkDeviceOutput(args: GetNetworkDeviceOutputArgs, opts?: InvokeOptions): Output<GetNetworkDeviceResult>def get_network_device(network_device_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkDeviceResult
def get_network_device_output(network_device_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkDeviceResult]func LookupNetworkDevice(ctx *Context, args *LookupNetworkDeviceArgs, opts ...InvokeOption) (*LookupNetworkDeviceResult, error)
func LookupNetworkDeviceOutput(ctx *Context, args *LookupNetworkDeviceOutputArgs, opts ...InvokeOption) LookupNetworkDeviceResultOutput> Note: This function is named LookupNetworkDevice in the Go SDK.
public static class GetNetworkDevice
{
public static Task<GetNetworkDeviceResult> InvokeAsync(GetNetworkDeviceArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkDeviceResult> Invoke(GetNetworkDeviceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkDeviceResult> getNetworkDevice(GetNetworkDeviceArgs args, InvokeOptions options)
public static Output<GetNetworkDeviceResult> getNetworkDevice(GetNetworkDeviceArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:managednetworkfabric:getNetworkDevice
arguments:
# arguments dictionaryThe following arguments are supported:
- Network
Device stringName - Name of the Network Device.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Network
Device stringName - Name of the Network Device.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- network
Device StringName - Name of the Network Device.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- network
Device stringName - Name of the Network Device.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- network_
device_ strname - Name of the Network Device.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- network
Device StringName - Name of the Network Device.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getNetworkDevice Result
The following output properties are available:
- Administrative
State string - Administrative state of the resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Configuration
State string - Configuration state of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Management
Ipv4Address string - Management IPv4 Address.
- Management
Ipv6Address string - Management IPv6 Address.
- Name string
- The name of the resource
- Network
Device stringRole - NetworkDeviceRole is the device role: Example: CE | ToR.
- Network
Rack stringId - Reference to network rack resource id.
- Provisioning
State string - Provisioning state of the resource.
- Serial
Number string - Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
- System
Data Pulumi.Azure Native. Managed Network Fabric. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Version string
- Current version of the device as defined in SKU.
- Annotation string
- Switch configuration description.
- Host
Name string - The host name of the device.
- Network
Device stringSku - Network Device SKU name.
- Dictionary<string, string>
- Resource tags.
- Administrative
State string - Administrative state of the resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Configuration
State string - Configuration state of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Management
Ipv4Address string - Management IPv4 Address.
- Management
Ipv6Address string - Management IPv6 Address.
- Name string
- The name of the resource
- Network
Device stringRole - NetworkDeviceRole is the device role: Example: CE | ToR.
- Network
Rack stringId - Reference to network rack resource id.
- Provisioning
State string - Provisioning state of the resource.
- Serial
Number string - Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Version string
- Current version of the device as defined in SKU.
- Annotation string
- Switch configuration description.
- Host
Name string - The host name of the device.
- Network
Device stringSku - Network Device SKU name.
- map[string]string
- Resource tags.
- administrative
State String - Administrative state of the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- configuration
State String - Configuration state of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- management
Ipv4Address String - Management IPv4 Address.
- management
Ipv6Address String - Management IPv6 Address.
- name String
- The name of the resource
- network
Device StringRole - NetworkDeviceRole is the device role: Example: CE | ToR.
- network
Rack StringId - Reference to network rack resource id.
- provisioning
State String - Provisioning state of the resource.
- serial
Number String - Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version String
- Current version of the device as defined in SKU.
- annotation String
- Switch configuration description.
- host
Name String - The host name of the device.
- network
Device StringSku - Network Device SKU name.
- Map<String,String>
- Resource tags.
- administrative
State string - Administrative state of the resource.
- azure
Api stringVersion - The Azure API version of the resource.
- configuration
State string - Configuration state of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- management
Ipv4Address string - Management IPv4 Address.
- management
Ipv6Address string - Management IPv6 Address.
- name string
- The name of the resource
- network
Device stringRole - NetworkDeviceRole is the device role: Example: CE | ToR.
- network
Rack stringId - Reference to network rack resource id.
- provisioning
State string - Provisioning state of the resource.
- serial
Number string - Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version string
- Current version of the device as defined in SKU.
- annotation string
- Switch configuration description.
- host
Name string - The host name of the device.
- network
Device stringSku - Network Device SKU name.
- {[key: string]: string}
- Resource tags.
- administrative_
state str - Administrative state of the resource.
- azure_
api_ strversion - The Azure API version of the resource.
- configuration_
state str - Configuration state of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- management_
ipv4_ straddress - Management IPv4 Address.
- management_
ipv6_ straddress - Management IPv6 Address.
- name str
- The name of the resource
- network_
device_ strrole - NetworkDeviceRole is the device role: Example: CE | ToR.
- network_
rack_ strid - Reference to network rack resource id.
- provisioning_
state str - Provisioning state of the resource.
- serial_
number str - Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version str
- Current version of the device as defined in SKU.
- annotation str
- Switch configuration description.
- host_
name str - The host name of the device.
- network_
device_ strsku - Network Device SKU name.
- Mapping[str, str]
- Resource tags.
- administrative
State String - Administrative state of the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- configuration
State String - Configuration state of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- management
Ipv4Address String - Management IPv4 Address.
- management
Ipv6Address String - Management IPv6 Address.
- name String
- The name of the resource
- network
Device StringRole - NetworkDeviceRole is the device role: Example: CE | ToR.
- network
Rack StringId - Reference to network rack resource id.
- provisioning
State String - Provisioning state of the resource.
- serial
Number String - Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version String
- Current version of the device as defined in SKU.
- annotation String
- Switch configuration description.
- host
Name String - The host name of the device.
- network
Device StringSku - Network Device SKU name.
- Map<String>
- Resource tags.
Supporting Types
SystemDataResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
