# equinix\_fabric\_asn (Resource) Fabric V4 API compatible resource allows creation and management of Equinix Fabric Autonomous System Numbers (ASNs). A PRIVATE\_ASN is provisioned by Equinix in the given metro and range. A PUBLIC\_ASN is registered by number and RIR region and stays in the PENDING state until the signed ownership challenge is provided in `ownership_challenge_details.signature`. Additional Documentation: * API: ## Schema[​](#schema "Direct link to Schema") ### Required[​](#required "Direct link to Required") * `project` (Attributes) Project this ASN belongs to (see [below for nested schema](#nestedatt--project)) * `type` (String) ASN type. One of: PUBLIC\_ASN, PRIVATE\_ASN ### Optional[​](#optional "Direct link to Optional") * `location` (Attributes) Location of a PRIVATE\_ASN (see [below for nested schema](#nestedatt--location)) * `number` (Number) Autonomous System Number. Required for a PUBLIC\_ASN; assigned by Equinix for a PRIVATE\_ASN * `ownership_challenge_details` (Attributes) Ownership challenge of a PUBLIC\_ASN. Sign the returned message and set the signature to complete the verification (see [below for nested schema](#nestedatt--ownership_challenge_details)) * `range` (String) Range of a PRIVATE\_ASN. One of: 16\_BIT, 32\_BIT * `rir_region` (String) Regional Internet Registry region of a PUBLIC\_ASN. One of: AFRINIC, APNIC, ARIN, LACNIC, RIPE\_NCC * `timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts)) ### Read-Only[​](#read-only "Direct link to Read-Only") * `assets` (Attributes List) Assets (services) the ASN is attached to (see [below for nested schema](#nestedatt--assets)) * `change` (Attributes) Current state of the latest change on the ASN (see [below for nested schema](#nestedatt--change)) * `change_log` (Attributes) Details of the last change on the ASN (see [below for nested schema](#nestedatt--change_log)) * `href` (String) URL of the ASN resource * `id` (String) The unique identifier of the resource * `state` (String) State of the ASN. One of: REQUESTED, PROVISIONING, PENDING, PROVISIONED, ATTACHED, FAILED, PROVISIONING\_FAILED, DEPROVISIONING, DEPROVISIONING\_FAILED, DEPROVISIONED * `uuid` (String) Equinix-assigned UUID of the ASN []() ### Nested Schema for `project`[​](#nested-schema-for-project "Direct link to nested-schema-for-project") Required: * `project_id` (String) Equinix-assigned project ID []() ### Nested Schema for `location`[​](#nested-schema-for-location "Direct link to nested-schema-for-location") Required: * `metro_code` (String) Two-letter metro code (e.g. SV, DC, AM) []() ### Nested Schema for `ownership_challenge_details`[​](#nested-schema-for-ownership_challenge_details "Direct link to nested-schema-for-ownership_challenge_details") Required: * `type` (String) Ownership challenge type. One of: RPKI, LOA Optional: * `signature` (String, Sensitive) Signed challenge value. Can be set at creation or updated in place Read-Only: * `message` (String) Challenge message to sign []() ### Nested Schema for `timeouts`[​](#nested-schema-for-timeouts "Direct link to nested-schema-for-timeouts") Optional: * `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. * `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. * `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). []() ### Nested Schema for `assets`[​](#nested-schema-for-assets "Direct link to nested-schema-for-assets") Read-Only: * `announcing_metro` (String) Metro announcing the ASN * `ip_blocks` (Attributes List) IP blocks announced with the ASN (see [below for nested schema](#nestedatt--assets--ip_blocks)) * `service` (Attributes) Service the ASN is attached to (see [below for nested schema](#nestedatt--assets--service)) * `uuid` (String) Asset identifier []() ### Nested Schema for `assets.ip_blocks`[​](#nested-schema-for-assetsip_blocks "Direct link to nested-schema-for-assetsip_blocks") Read-Only: * `href` (String) URI to the IP block * `type` (String) IP block reference type. One of: IPV4\_IP\_BLOCK, IPV6\_IP\_BLOCK * `uuid` (String) IP block identifier []() ### Nested Schema for `assets.service`[​](#nested-schema-for-assetsservice "Direct link to nested-schema-for-assetsservice") Read-Only: * `href` (String) URI to the service * `type` (String) Service type. One of: IA * `uuid` (String) Service identifier []() ### Nested Schema for `change`[​](#nested-schema-for-change "Direct link to nested-schema-for-change") Read-Only: * `href` (String) URI to the change resource []() ### Nested Schema for `change_log`[​](#nested-schema-for-change_log "Direct link to nested-schema-for-change_log") Read-Only: * `created_date_time` (String) Creation date and time * `deleted_date_time` (String) Deletion date and time * `updated_date_time` (String) Last update date and time