deleteOdbNetwork method
Deletes the specified ODB network.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter deleteAssociatedResources :
Specifies whether to delete associated OCI networking resources along with
the ODB network.
Parameter odbNetworkId :
The unique identifier of the ODB network to delete.
Implementation
Future<void> deleteOdbNetwork({
required bool deleteAssociatedResources,
required String odbNetworkId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'Odb.DeleteOdbNetwork'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'deleteAssociatedResources': deleteAssociatedResources,
'odbNetworkId': odbNetworkId,
},
);
}