Skip to main content

equinix_fabric_port (Source de données)

Ressource de données compatible avec l'API Fabric V4 qui permet à l'utilisateur de récupérer le port par uuid.

Documentation complémentaire :

Exemple d'utilisation

data "equinix_fabric_port" "port_data_name" {
uuid = "<uuid_of_port>"
}

output "id" {
value = data.equinix_fabric_port.port_data_name.id
}

output "name" {
value = data.equinix_fabric_port.port_data_name.name
}

output "state" {
value = data.equinix_fabric_port.port_data_name.state
}

output "account_name" {
value = data.equinix_fabric_port.port_data_name.account.0.account_name
}

output "type" {
value = data.equinix_fabric_port.port_data_name.type
}

output "bandwidth" {
value = data.equinix_fabric_port.port_data_name.bandwidth
}

output "used_bandwidth" {
value = data.equinix_fabric_port.port_data_name.used_bandwidth
}

output "encapsulation_type" {
value = data.equinix_fabric_port.port_data_name.encapsulation.0.type
}

output "ibx" {
value = data.equinix_fabric_port.port_data_name.location.0.ibx
}

output "metro_code" {
value = data.equinix_fabric_port.port_data_name.location.0.metro_code
}

output "metro_name" {
value = data.equinix_fabric_port.port_data_name.location.0.metro_name
}

output "region" {
value = data.equinix_fabric_port.port_data_name.location.0.region
}

output "device_redundancy_enabled" {
value = data.equinix_fabric_port.port_data_name.device.0.redundancy.0.enabled
}

output "device_redundancy_priority" {
value = data.equinix_fabric_port.port_data_name.device.0.redundancy.0.priority
}

Schéma

Exigée

  • uuid (Chaîne) Identifiant de port attribué par Equinix

En lecture seule

  • account (Set of Object) Customer account information that is associated with this port (see below for nested schema)
  • available_bandwidth (Nombre) Largeur de bande disponible du port en Mbps
  • bandwidth (Nombre) Largeur de bande du port en Mbps
  • change_log (Ensemble d'objets) Capture les informations sur les modifications du cycle de vie des ports (voir ci-dessous pour le schéma imbriqué)
  • description (Chaîne) Description du port
  • device (Set of Object) Port device (see below for nested schema)
  • encapsulation (Ensemble d'objets) Protocole d'encapsulation de port (voir ci-dessous pour le schéma imbriqué)
  • href (Chaîne) Informations sur l'URI du port
  • id (Chaîne) L'identifiant de cette ressource.
  • lag_enabled (booléen) Port Lag
  • location (Set of Object) Port location information (see below for nested schema)
  • name (Chaîne) Nom du port
  • operation (Ensemble d'objets) Données opérationnelles spécifiques au port (voir ci-dessous pour le schéma imbriqué)
  • redundancy (Ensemble d'objets) Informations sur la redondance du port (voir ci-dessous pour le schéma imbriqué)
  • service_type (Chaîne) Type de service portuaire
  • state (Chaîne) État du port
  • type (Chaîne) Type de port
  • used_bandwidth (Nombre) Largeur de bande utilisée par le port en Mbps

Schéma imbriqué pour account

En lecture seule :

  • account_name (Chaîne)
  • account_number (Nombre)
  • global_cust_id (Chaîne)
  • global_org_id (Chaîne)
  • global_organization_name (Chaîne)
  • org_id (Nombre)
  • organization_name (Chaîne)
  • ucm_id (Chaîne)

Schéma imbriqué pour change_log

En lecture seule :

  • created_by (Chaîne)
  • created_by_email (Chaîne)
  • created_by_full_name (Chaîne)
  • created_date_time (Chaîne)
  • deleted_by (Chaîne)
  • deleted_by_email (Chaîne)
  • deleted_by_full_name (Chaîne)
  • deleted_date_time (Chaîne)
  • updated_by (Chaîne)
  • updated_by_email (Chaîne)
  • updated_by_full_name (Chaîne)
  • updated_date_time (Chaîne)

Schéma imbriqué pour device

En lecture seule :

Schéma imbriqué pour device.redundancy

En lecture seule :

  • enabled (booléen)
  • group (Chaîne)
  • priority (Chaîne)

Schéma imbriqué pour encapsulation

En lecture seule :

  • tag_protocol_id (Chaîne)
  • type (Chaîne)

Schéma imbriqué pour location

En lecture seule :

  • ibx (Chaîne)
  • metro_code (Chaîne)
  • metro_name (Chaîne)
  • region (Chaîne)

Schéma imbriqué pour operation

En lecture seule :

  • connection_count (Nombre)
  • op_status_changed_at (Chaîne)
  • operational_status (Chaîne)

Schéma imbriqué pour redundancy

En lecture seule :

  • enabled (booléen)
  • group (Chaîne)
  • priority (Chaîne)
Cette page vous a-t-elle été utile ?