/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, string, CallSettings) // Additional: GetAsync(string, string, string, CancellationToken) // Create client PacketMirroringsClient packetMirroringsClient = await PacketMirroringsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string region = ""; string packetMirroring = ""; // Make the request PacketMirroring response = await packetMirroringsClient.GetAsync(project, region, packetMirroring); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetPacketMirroringRequest, CallSettings) // Additional: GetAsync(GetPacketMirroringRequest, CancellationToken) // Create client PacketMirroringsClient packetMirroringsClient = await PacketMirroringsClient.CreateAsync(); // Initialize request argument(s) GetPacketMirroringRequest request = new GetPacketMirroringRequest { PacketMirroring = "", Region = "", Project = "", }; // Make the request PacketMirroring response = await packetMirroringsClient.GetAsync(request); // End snippet }