Beispiel #1
0
 /// <summary>Snippet for Insert</summary>
 public void Insert()
 {
     // Snippet: Insert(string, NetworkEndpointGroup, CallSettings)
     // Create client
     GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = GlobalNetworkEndpointGroupsClient.Create();
     // Initialize request argument(s)
     string project = "";
     NetworkEndpointGroup networkEndpointGroupResource = new NetworkEndpointGroup();
     // Make the request
     Operation response = globalNetworkEndpointGroupsClient.Insert(project, networkEndpointGroupResource);
     // End snippet
 }
Beispiel #2
0
 /// <summary>Snippet for Insert</summary>
 public void InsertRequestObject()
 {
     // Snippet: Insert(InsertGlobalNetworkEndpointGroupRequest, CallSettings)
     // Create client
     GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = GlobalNetworkEndpointGroupsClient.Create();
     // Initialize request argument(s)
     InsertGlobalNetworkEndpointGroupRequest request = new InsertGlobalNetworkEndpointGroupRequest
     {
         RequestId = "",
         Project   = "",
         NetworkEndpointGroupResource = new NetworkEndpointGroup(),
     };
     // Make the request
     Operation response = globalNetworkEndpointGroupsClient.Insert(request);
     // End snippet
 }