updateNetworkScope

Updates the name or the Regions of a network scope. You must specify at least one of Name or NetworkScopeRegions. The network scope must be in the AVAILABLE state. You can't change the access mode of a network scope.

A change to the Regions takes effect asynchronously, and the network scope is in the UPDATING state until the change is complete. A change to the name only takes effect immediately.

Samples

// Example Adding a Region to a network scope
val resp = networkManagerClient.updateNetworkScope {
    networkScopeId = "network-scope-0123456789abcdef0"
    networkScopeRegions = listOf<String>(
        "us-east-1",
        "us-west-2",
        "eu-west-1"
    )
}