pub struct NetworkProtectNetwork {
pub description: Option<String>,
pub name: String,
pub prefix: String,
pub rule_set_id: Option<String>,
pub endpoint_policies: Vec<NetworkProtectEndpointPolicy>,
pub advertise: bool,
}Expand description
NetworkProtectNetwork : Shared Network Protect network attributes.
Fields§
§description: Option<String>Optional descriptive text for the network. This metadata does not change traffic handling. Null clears it on update.
name: StringA human-readable name, unique within the customer.
prefix: StringThe CIDR block to protect, masked to its network address. It cannot be changed after creation.
rule_set_id: Option<String>The backend-assigned rule set applied to this network.
endpoint_policies: Vec<NetworkProtectEndpointPolicy>Complete endpoint policy configuration. A network has at most one policy per region and may have no policies.
advertise: boolDesired advertisement state, which is not the same as observed route state. Enabling it requires approved LOA, valid ROA, and a ready default-region delivery policy. A later ROA failure does not turn an existing advertisement off; losing LOA approval or the last ready default endpoint does.
Implementations§
Source§impl NetworkProtectNetwork
impl NetworkProtectNetwork
Sourcepub fn new(
name: String,
prefix: String,
endpoint_policies: Vec<NetworkProtectEndpointPolicy>,
advertise: bool,
) -> NetworkProtectNetwork
pub fn new( name: String, prefix: String, endpoint_policies: Vec<NetworkProtectEndpointPolicy>, advertise: bool, ) -> NetworkProtectNetwork
Shared Network Protect network attributes.