Exemple #1
0
        /// <summary>Snippet for DeleteAsync</summary>
        public async Task DeleteAsync()
        {
            // Snippet: DeleteAsync(string, string, CallSettings)
            // Additional: DeleteAsync(string, string, CancellationToken)
            // Create client
            GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = await GlobalNetworkEndpointGroupsClient.CreateAsync();

            // Initialize request argument(s)
            string project = "";
            string networkEndpointGroup = "";
            // Make the request
            Operation response = await globalNetworkEndpointGroupsClient.DeleteAsync(project, networkEndpointGroup);

            // End snippet
        }
Exemple #2
0
        /// <summary>Snippet for DeleteAsync</summary>
        public async Task DeleteRequestObjectAsync()
        {
            // Snippet: DeleteAsync(DeleteGlobalNetworkEndpointGroupRequest, CallSettings)
            // Additional: DeleteAsync(DeleteGlobalNetworkEndpointGroupRequest, CancellationToken)
            // Create client
            GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient = await GlobalNetworkEndpointGroupsClient.CreateAsync();

            // Initialize request argument(s)
            DeleteGlobalNetworkEndpointGroupRequest request = new DeleteGlobalNetworkEndpointGroupRequest
            {
                RequestId            = "",
                Project              = "",
                NetworkEndpointGroup = "",
            };
            // Make the request
            Operation response = await globalNetworkEndpointGroupsClient.DeleteAsync(request);

            // End snippet
        }