示例#1
0
 /// <summary>Snippet for DeleteNodes</summary>
 public void DeleteNodes()
 {
     // Snippet: DeleteNodes(string, string, string, NodeGroupsDeleteNodesRequest, CallSettings)
     // Create client
     NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create();
     // Initialize request argument(s)
     string project   = "";
     string zone      = "";
     string nodeGroup = "";
     NodeGroupsDeleteNodesRequest nodeGroupsDeleteNodesRequestResource = new NodeGroupsDeleteNodesRequest();
     // Make the request
     Operation response = nodeGroupsClient.DeleteNodes(project, zone, nodeGroup, nodeGroupsDeleteNodesRequestResource);
     // End snippet
 }
示例#2
0
 /// <summary>Snippet for DeleteNodes</summary>
 public void DeleteNodesRequestObject()
 {
     // Snippet: DeleteNodes(DeleteNodesNodeGroupRequest, CallSettings)
     // Create client
     NodeGroupsClient nodeGroupsClient = NodeGroupsClient.Create();
     // Initialize request argument(s)
     DeleteNodesNodeGroupRequest request = new DeleteNodesNodeGroupRequest
     {
         Zone      = "",
         RequestId = "",
         NodeGroupsDeleteNodesRequestResource = new NodeGroupsDeleteNodesRequest(),
         NodeGroup = "",
         Project   = "",
     };
     // Make the request
     Operation response = nodeGroupsClient.DeleteNodes(request);
     // End snippet
 }