示例#1
0
 /// <summary>Snippet for Delete</summary>
 public void Delete()
 {
     // Snippet: Delete(string, string, string, CallSettings)
     // Create client
     InstanceGroupsClient instanceGroupsClient = InstanceGroupsClient.Create();
     // Initialize request argument(s)
     string project       = "";
     string zone          = "";
     string instanceGroup = "";
     // Make the request
     Operation response = instanceGroupsClient.Delete(project, zone, instanceGroup);
     // End snippet
 }
示例#2
0
 /// <summary>Snippet for Delete</summary>
 public void DeleteRequestObject()
 {
     // Snippet: Delete(DeleteInstanceGroupRequest, CallSettings)
     // Create client
     InstanceGroupsClient instanceGroupsClient = InstanceGroupsClient.Create();
     // Initialize request argument(s)
     DeleteInstanceGroupRequest request = new DeleteInstanceGroupRequest
     {
         Zone          = "",
         RequestId     = "",
         InstanceGroup = "",
         Project       = "",
     };
     // Make the request
     Operation response = instanceGroupsClient.Delete(request);
     // End snippet
 }