Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::MasterAuthorizedNetworksConfig (v0.37.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::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::V1beta1::MasterAuthorizedNetworksConfig::CidrBlock>
Returns

#cidr_blocks=

def cidr_blocks=(value) -> ::Array<::Google::Cloud::Container::V1beta1::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.

#gcp_public_cidrs_access_enabled

def gcp_public_cidrs_access_enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether master is accessbile via Google Compute Engine Public IP addresses.

#gcp_public_cidrs_access_enabled=

def gcp_public_cidrs_access_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether master is accessbile via Google Compute Engine Public IP addresses.
Returns
  • (::Boolean) — Whether master is accessbile via Google Compute Engine Public IP addresses.