Skip to content

Delete Core Network

networkmanager_delete_core_network R Documentation

Deletes a core network along with all core network policies

Description

Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.

Usage

networkmanager_delete_core_network(CoreNetworkId)

Arguments

CoreNetworkId

[required] The network ID of the deleted core network.

Value

A list with the following syntax:

list(
  CoreNetwork = list(
    GlobalNetworkId = "string",
    CoreNetworkId = "string",
    CoreNetworkArn = "string",
    Description = "string",
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    State = "CREATING"|"UPDATING"|"AVAILABLE"|"DELETING",
    Segments = list(
      list(
        Name = "string",
        EdgeLocations = list(
          "string"
        ),
        SharedSegments = list(
          "string"
        )
      )
    ),
    NetworkFunctionGroups = list(
      list(
        Name = "string",
        EdgeLocations = list(
          "string"
        ),
        Segments = list(
          SendVia = list(
            "string"
          ),
          SendTo = list(
            "string"
          )
        )
      )
    ),
    Edges = list(
      list(
        EdgeLocation = "string",
        Asn = 123,
        InsideCidrBlocks = list(
          "string"
        )
      )
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$delete_core_network(
  CoreNetworkId = "string"
)