Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig (v0.11.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig.

Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cidr_blocks

def cidr_blocks() -> ::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>
Returns

#cidr_blocks=

def cidr_blocks=(value) -> ::Array<::Google::Cloud::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>
Parameter
Returns

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether or not master authorized networks is enabled.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether or not master authorized networks is enabled.
Returns
  • (::Boolean) — Whether or not master authorized networks is enabled.