/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, CallSettings) // Additional: GetAsync(string, string, CancellationToken) // Create client PublicAdvertisedPrefixesClient publicAdvertisedPrefixesClient = await PublicAdvertisedPrefixesClient.CreateAsync(); // Initialize request argument(s) string project = ""; string publicAdvertisedPrefix = ""; // Make the request PublicAdvertisedPrefix response = await publicAdvertisedPrefixesClient.GetAsync(project, publicAdvertisedPrefix); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetPublicAdvertisedPrefixeRequest, CallSettings) // Additional: GetAsync(GetPublicAdvertisedPrefixeRequest, CancellationToken) // Create client PublicAdvertisedPrefixesClient publicAdvertisedPrefixesClient = await PublicAdvertisedPrefixesClient.CreateAsync(); // Initialize request argument(s) GetPublicAdvertisedPrefixeRequest request = new GetPublicAdvertisedPrefixeRequest { PublicAdvertisedPrefix = "", Project = "", }; // Make the request PublicAdvertisedPrefix response = await publicAdvertisedPrefixesClient.GetAsync(request); // End snippet }