Skip to main content

equinix_fabric_service_profiles (Data Source)

Fabric V4 API compatible data resource that allow user to fetch Service Profile by name filter criteria

Additional documentation:

Example Usage

data "equinix_fabric_service_profiles" "test" {
and_filters = true
filter {
property = "/type"
operator = "="
values = ["L2_PROFILE"]
}
filter {
property = "/name"
operator = "="
values = ["SP_ResourceCreation_PFCR"]
}
pagination {
offset = 0
limit = 5
}
sort {
direction = "ASC"
property = "/name"
}
}

output "number_of_returned_service_profiles" {
value = length(data.equinix_fabric_service_profiles.test.data)
}

output "first_service_profile_name" {
value = data.equinix_fabric_service_profiles.test.data.0.name
}

output "first_service_profile_uuid" {
value = data.equinix_fabric_service_profiles.test.data.0.uuid
}

output "first_service_profile_description" {
value = data.equinix_fabric_service_profiles.test.data.0.description
}

output "first_service_profile_state" {
value = data.equinix_fabric_service_profiles.test.data.0.state
}

output "first_service_profile_visibility" {
value = data.equinix_fabric_service_profiles.test.data.0.visibility
}

output "first_service_profile_metros_code" {
value = data.equinix_fabric_service_profiles.test.data.0.metros.0.code
}

output "first_service_profile_metros_name" {
value = data.equinix_fabric_service_profiles.test.data.0.metros.0.name
}

output "first_service_profile_metros_display_name" {
value = data.equinix_fabric_service_profiles.test.data.0.metros.0.display_name
}

output "first_service_profile_type" {
value = data.equinix_fabric_service_profiles.test.data.0.type
}

Schema

Required

  • filter (Block List, Min: 1, Max: 10) Filters for the Data Source Search Request (If and_filters is not set to true you cannot provide more than one filter block) (see below for nested schema)

Optional

  • and_filters (Boolean) Optional boolean flag to indicate if the filters will be AND'd together. Defaults to false
  • pagination (Block Set, Max: 1) Pagination details for the Data Source Search Request (see below for nested schema)
  • sort (Block List) Filters for the Data Source Search Request (see below for nested schema)
  • view_point (String) flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide

Read-Only

  • data (List of Object) List of Service Profiles (see below for nested schema)
  • id (String) The ID of this resource.

Nested Schema for filter

Required:

  • operator (String) Operators to use on your filtered field with the values given. One of [=]
  • property (String) Property to apply operator and values to. One of [/name /uuid /state /metros/code /visibility /type /project/projectId]
  • values (List of String) The values that you want to apply the property+operator combination to in order to filter your data search

Nested Schema for pagination

Optional:

  • limit (Number) Number of elements to be requested per page. Number must be between 1 and 100. Default is 20
  • offset (Number) The page offset for the pagination request. Index of the first element. Default is 0.

Nested Schema for sort

Optional:

  • direction (String) The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC
  • property (String) The property name to use in sorting. One of [/name /uuid /state /location/metroCode /location/metroName /package/code /changeLog/createdDateTime /changeLog/updatedDateTime]. Defaults to /changeLog/updatedDateTime

Nested Schema for data

Read-Only:

Nested Schema for data.access_point_type_configs

Read-Only:

  • allow_bandwidth_auto_approval (Boolean)
  • allow_bandwidth_upgrade (Boolean)
  • allow_custom_bandwidth (Boolean)
  • allow_remote_connections (Boolean)
  • api_config (Set of Object) (see below for nested schema)
  • authentication_key (Set of Object) (see below for nested schema)
  • bandwidth_alert_threshold (Number)
  • connection_label (String)
  • connection_redundancy_required (Boolean)
  • enable_auto_generate_service_key (Boolean)
  • link_protocol_config (Set of Object) (see below for nested schema)
  • selective_redundancy (Boolean)
  • supported_bandwidths (List of Number)
  • type (String)
  • uuid (String)

Nested Schema for data.access_point_type_configs.api_config

Read-Only:

  • allow_over_subscription (Boolean)
  • api_available (Boolean)
  • bandwidth_from_api (Boolean)
  • equinix_managed_port (Boolean)
  • equinix_managed_vlan (Boolean)
  • integration_id (String)
  • over_subscription_limit (Number)

Nested Schema for data.access_point_type_configs.authentication_key

Read-Only:

  • description (String)
  • label (String)
  • required (Boolean)

Read-Only:

  • encapsulation (String)
  • encapsulation_strategy (String)
  • reuse_vlan_s_tag (Boolean)

Nested Schema for data.account

Read-Only:

  • account_name (String)
  • account_number (Number)
  • global_cust_id (String)
  • global_org_id (String)
  • global_organization_name (String)
  • org_id (Number)
  • organization_name (String)
  • ucm_id (String)

Nested Schema for data.change_log

Read-Only:

  • created_by (String)
  • created_by_email (String)
  • created_by_full_name (String)
  • created_date_time (String)
  • deleted_by (String)
  • deleted_by_email (String)
  • deleted_by_full_name (String)
  • deleted_date_time (String)
  • updated_by (String)
  • updated_by_email (String)
  • updated_by_full_name (String)
  • updated_date_time (String)

Nested Schema for data.custom_fields

Read-Only:

  • capture_in_email (Boolean)
  • data_type (String)
  • description (String)
  • label (String)
  • options (List of String)
  • required (Boolean)

Nested Schema for data.marketing_info

Read-Only:

Nested Schema for data.marketing_info.process_step

Read-Only:

  • description (String)
  • sub_title (String)
  • title (String)

Nested Schema for data.metros

Read-Only:

  • code (String)
  • display_name (String)
  • ibxs (List of String)
  • in_trail (Boolean)
  • name (String)
  • seller_regions (Map of String)

Nested Schema for data.notifications

Read-Only:

  • emails (List of String)
  • send_interval (String)
  • type (String)

Nested Schema for data.ports

Read-Only:

  • cross_connect_id (String)
  • location (Set of Object) (see below for nested schema)
  • seller_region (String)
  • seller_region_description (String)
  • type (String)
  • uuid (String)

Nested Schema for data.ports.location

Read-Only:

  • ibx (String)
  • metro_code (String)
  • metro_name (String)
  • region (String)

Nested Schema for data.project

Read-Only:

  • href (String)
  • project_id (String)

Nested Schema for data.virtual_devices

Read-Only:

Nested Schema for data.virtual_devices.location

Read-Only:

  • ibx (String)
  • metro_code (String)
  • metro_name (String)
  • region (String)
Was this page helpful?