Skip to main content

sol_network_operations

Creates, updates, deletes, gets or lists a sol_network_operations resource.

Overview

Namesol_network_operations
TypeResource
Idaws.tnb.sol_network_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringID of this network operation occurrence. (pattern: <code>^no-[a-f0-9]{17}$</code>)
arnstringNetwork operation ARN. (pattern: <code>^arn:(aws|aws-cn|aws-iso|aws-iso-b|aws-us-gov):tnb:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]):\d{12}:(network-operation/no-[a-f0-9]{17})$</code>)
errorobjectError related to this specific network operation occurrence.
lcm_operation_typestringType of the operation represented by this occurrence. (INSTANTIATE, UPDATE, TERMINATE)
metadataobjectMetadata of this network operation occurrence.
ns_instance_idstringID of the network operation instance. (pattern: <code>^ni-[a-f0-9]{17}$</code>)
operation_statestringThe state of the network operation. (PROCESSING, COMPLETED, FAILED, CANCELLING, CANCELLED)
tagsobjectA tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
tasksarrayAll tasks associated with this operation occurrence.
update_typestringType of the update. Only present if the network operation lcmOperationType is UPDATE. (MODIFY_VNF_INFORMATION, UPDATE_NS)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_sol_network_operationselectns_lcm_op_occ_id, regionGets the details of a network operation, including the tasks involved in the network operation and the status of the tasks. A network operation is any operation that is done to your network, such as network instance instantiation or termination.
list_sol_network_operationsselectregionmax_results, nextpage_opaque_marker, nsInstanceIdLists details for a network operation, including when the operation started and the status of the operation. A network operation is any operation that is done to your network, such as network instance instantiation or termination.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ns_lcm_op_occ_idstringThe identifier of the network operation.
regionstringAWS region (default: us-east-1)
max_resultsintegerThe maximum number of results to include in the response.
nextpage_opaque_markerstringThe token for the next page of results.
nsInstanceIdstringNetwork instance id filter, to retrieve network operations associated to a network instance.

SELECT examples

Gets the details of a network operation, including the tasks involved in the network operation and the status of the tasks. A network operation is any operation that is done to your network, such as network instance instantiation or termination.

SELECT
id,
arn,
error,
lcm_operation_type,
metadata,
ns_instance_id,
operation_state,
tags,
tasks,
update_type
FROM aws.tnb.sol_network_operations
WHERE ns_lcm_op_occ_id = '{{ ns_lcm_op_occ_id }}' -- required
AND region = '{{ region }}' -- required
;