Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::AzureClusters::Rest::ServiceStub (v0.8.2)

Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::AzureClusters::Rest::ServiceStub.

REST service stub for the AzureClusters service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_azure_client

def create_azure_client(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_azure_client REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_azure_cluster

def create_azure_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_azure_cluster REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_azure_node_pool

def create_azure_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_azure_node_pool REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_azure_client

def delete_azure_client(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_azure_client REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_azure_cluster

def delete_azure_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_azure_cluster REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_azure_node_pool

def delete_azure_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_azure_node_pool REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#generate_azure_access_token

def generate_azure_access_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::GenerateAzureAccessTokenResponse

Baseline implementation for the generate_azure_access_token REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#generate_azure_cluster_agent_token

def generate_azure_cluster_agent_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::GenerateAzureClusterAgentTokenResponse

Baseline implementation for the generate_azure_cluster_agent_token REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_azure_client

def get_azure_client(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AzureClient

Baseline implementation for the get_azure_client REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_azure_cluster

def get_azure_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AzureCluster

Baseline implementation for the get_azure_cluster REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_azure_json_web_keys

def get_azure_json_web_keys(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AzureJsonWebKeys

Baseline implementation for the get_azure_json_web_keys REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_azure_node_pool

def get_azure_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AzureNodePool

Baseline implementation for the get_azure_node_pool REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_azure_open_id_config

def get_azure_open_id_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AzureOpenIdConfig

Baseline implementation for the get_azure_open_id_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_azure_server_config

def get_azure_server_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::AzureServerConfig

Baseline implementation for the get_azure_server_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_azure_clients

def list_azure_clients(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsResponse

Baseline implementation for the list_azure_clients REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_azure_clusters

def list_azure_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersResponse

Baseline implementation for the list_azure_clusters REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_azure_node_pools

def list_azure_node_pools(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsResponse

Baseline implementation for the list_azure_node_pools REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_azure_cluster

def update_azure_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_azure_cluster REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_azure_node_pool

def update_azure_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_azure_node_pool REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)