Class: Google::Container::V1::MasterAuthorizedNetworksConfig
- Inherits:
-
Object
- Object
- Google::Container::V1::MasterAuthorizedNetworksConfig
- Defined in:
- lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb
Overview
Master authorized networks is a Beta feature. 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.
Defined Under Namespace
Classes: CidrBlock
Instance Attribute Summary collapse
-
#cidr_blocks ⇒ Array<Google::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>
Cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
-
#enabled ⇒ true, false
Whether or not master authorized networks is enabled.
Instance Attribute Details
#cidr_blocks ⇒ Array<Google::Container::V1::MasterAuthorizedNetworksConfig::CidrBlock>
Returns cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
220 221 222 223 224 225 226 227 228 229 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 220 class MasterAuthorizedNetworksConfig # CidrBlock contains an optional name and one CIDR block. # @!attribute [rw] display_name # @return [String] # display_name is an optional field for users to identify CIDR blocks. # @!attribute [rw] cidr_block # @return [String] # cidr_block must be specified in CIDR notation. class CidrBlock; end end |
#enabled ⇒ true, false
Returns Whether or not master authorized networks is enabled.
220 221 222 223 224 225 226 227 228 229 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 220 class MasterAuthorizedNetworksConfig # CidrBlock contains an optional name and one CIDR block. # @!attribute [rw] display_name # @return [String] # display_name is an optional field for users to identify CIDR blocks. # @!attribute [rw] cidr_block # @return [String] # cidr_block must be specified in CIDR notation. class CidrBlock; end end |