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
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 50 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 50 external networks that could access Kubernetes master through HTTPS.
351 352 353 354 355 356 357 358 359 360 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 351 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.
351 352 353 354 355 356 357 358 359 360 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 351 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 |