Class: Google::Container::V1beta1::MasterAuthorizedNetworksConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/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

Instance Attribute Details

#cidr_blocksArray<Google::Container::V1beta1::MasterAuthorizedNetworksConfig::CidrBlock>

Returns cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.

Returns:



367
368
369
370
371
372
373
374
375
376
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 367

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

#enabledtrue, false

Returns Whether or not master authorized networks is enabled.

Returns:

  • (true, false)

    Whether or not master authorized networks is enabled.



367
368
369
370
371
372
373
374
375
376
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 367

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