Skip to content

Delete Core Network Policy Version

networkmanager_delete_core_network_policy_version R Documentation

Deletes a policy version from a core network

Description

Deletes a policy version from a core network. You can't delete the current LIVE policy.

Usage

networkmanager_delete_core_network_policy_version(CoreNetworkId,
  PolicyVersionId)

Arguments

CoreNetworkId

[required] The ID of a core network for the deleted policy.

PolicyVersionId

[required] The version ID of the deleted policy.

Value

A list with the following syntax:

list(
  CoreNetworkPolicy = list(
    CoreNetworkId = "string",
    PolicyVersionId = 123,
    Alias = "LIVE"|"LATEST",
    Description = "string",
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    ChangeSetState = "PENDING_GENERATION"|"FAILED_GENERATION"|"READY_TO_EXECUTE"|"EXECUTING"|"EXECUTION_SUCCEEDED"|"OUT_OF_DATE",
    PolicyErrors = list(
      list(
        ErrorCode = "string",
        Message = "string",
        Path = "string"
      )
    ),
    PolicyDocument = "string"
  )
)

Request syntax

svc$delete_core_network_policy_version(
  CoreNetworkId = "string",
  PolicyVersionId = 123
)