/// <summary>Snippet for MethodLroResourceSignature</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public void MethodLroResourceSignatureRequestObject()
        {
            // Create client
            SnippetsClient snippetsClient = SnippetsClient.Create();
            // Initialize request argument(s)
            ResourceSignatureRequest request = new ResourceSignatureRequest
            {
                FirstNameAsSimpleResourceName  = SimpleResourceName.FromItem("[ITEM_ID]"),
                SecondNameAsSimpleResourceName = SimpleResourceName.FromItem("[ITEM_ID]"),
                ThirdNameAsSimpleResourceName  = SimpleResourceName.FromItem("[ITEM_ID]"),
            };
            // Make the request
            Operation <LroResponse, LroMetadata> response = snippetsClient.MethodLroResourceSignature(request);

            // Poll until the returned long-running operation is complete
            Operation <LroResponse, LroMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            LroResponse result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
            Operation <LroResponse, LroMetadata> retrievedResponse = snippetsClient.PollOnceMethodLroResourceSignature(operationName);

            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                LroResponse retrievedResult = retrievedResponse.Result;
            }
        }
        /// <summary>Snippet for MethodServerStreamingResources</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task MethodServerStreamingResourcesRequestObject()
        {
            // Create client
            SnippetsClient snippetsClient = SnippetsClient.Create();
            // Initialize request argument(s)
            ResourceSignatureRequest request = new ResourceSignatureRequest
            {
                FirstNameAsSimpleResourceName  = SimpleResourceName.FromItem("[ITEM_ID]"),
                SecondNameAsSimpleResourceName = SimpleResourceName.FromItem("[ITEM_ID]"),
                ThirdNameAsSimpleResourceName  = SimpleResourceName.FromItem("[ITEM_ID]"),
            };

            // Make the request, returning a streaming response
            SnippetsClient.MethodServerStreamingResourcesStream response = snippetsClient.MethodServerStreamingResources(request);

            // Read streaming responses from server until complete
            // Note that C# 8 code can use await foreach
            AsyncResponseStream <Response> responseStream = response.GetResponseStream();

            while (await responseStream.MoveNextAsync())
            {
                Response responseItem = responseStream.Current;
                // Do something with streamed response
            }
            // The response stream has completed
        }
        /// <summary>Snippet for MethodLroResourceSignatureAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task MethodLroResourceSignatureResourceNamesAsync()
        {
            // Create client
            SnippetsClient snippetsClient = await SnippetsClient.CreateAsync();

            // Initialize request argument(s)
            SimpleResourceName firstName  = SimpleResourceName.FromItem("[ITEM_ID]");
            SimpleResourceName secondName = SimpleResourceName.FromItem("[ITEM_ID]");
            SimpleResourceName thirdName  = SimpleResourceName.FromItem("[ITEM_ID]");
            // Make the request
            Operation <LroResponse, LroMetadata> response = await snippetsClient.MethodLroResourceSignatureAsync(firstName, secondName, thirdName);

            // Poll until the returned long-running operation is complete
            Operation <LroResponse, LroMetadata> completedResponse = await response.PollUntilCompletedAsync();

            // Retrieve the operation result
            LroResponse result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
            Operation <LroResponse, LroMetadata> retrievedResponse = await snippetsClient.PollOnceMethodLroResourceSignatureAsync(operationName);

            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                LroResponse retrievedResult = retrievedResponse.Result;
            }
        }
 /// <summary>Snippet for MethodResourceSignature</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MethodResourceSignature2ResourceNames()
 {
     // Create client
     SnippetsClient snippetsClient = SnippetsClient.Create();
     // Initialize request argument(s)
     SimpleResourceName firstName = SimpleResourceName.FromItem("[ITEM_ID]");
     // Make the request
     Response response = snippetsClient.MethodResourceSignature(firstName);
 }
        /// <summary>Snippet for MethodResourceSignatureAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task MethodResourceSignature2ResourceNamesAsync()
        {
            // Create client
            SnippetsClient snippetsClient = await SnippetsClient.CreateAsync();

            // Initialize request argument(s)
            SimpleResourceName firstName = SimpleResourceName.FromItem("[ITEM_ID]");
            // Make the request
            Response response = await snippetsClient.MethodResourceSignatureAsync(firstName);
        }
 /// <summary>Snippet for MethodRepeatedResourceSignature</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MethodRepeatedResourceSignatureResourceNames()
 {
     // Create client
     SnippetsClient snippetsClient = SnippetsClient.Create();
     // Initialize request argument(s)
     IEnumerable <SimpleResourceName> names = new SimpleResourceName[]
     {
         SimpleResourceName.FromItem("[ITEM_ID]"),
     };
     // Make the request
     Response response = snippetsClient.MethodRepeatedResourceSignature(names);
 }
 /// <summary>Snippet for MethodResourceSignature</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MethodResourceSignatureRequestObject()
 {
     // Create client
     SnippetsClient snippetsClient = SnippetsClient.Create();
     // Initialize request argument(s)
     ResourceSignatureRequest request = new ResourceSignatureRequest
     {
         FirstNameAsSimpleResourceName  = SimpleResourceName.FromItem("[ITEM_ID]"),
         SecondNameAsSimpleResourceName = SimpleResourceName.FromItem("[ITEM_ID]"),
         ThirdNameAsSimpleResourceName  = SimpleResourceName.FromItem("[ITEM_ID]"),
     };
     // Make the request
     Response response = snippetsClient.MethodResourceSignature(request);
 }
        /// <summary>Snippet for MethodRepeatedResourceSignatureAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task MethodRepeatedResourceSignatureRequestObjectAsync()
        {
            // Create client
            SnippetsClient snippetsClient = await SnippetsClient.CreateAsync();

            // Initialize request argument(s)
            RepeatedResourceSignatureRequest request = new RepeatedResourceSignatureRequest
            {
                SimpleResourceNames =
                {
                    SimpleResourceName.FromItem("[ITEM_ID]"),
                },
            };
            // Make the request
            Response response = await snippetsClient.MethodRepeatedResourceSignatureAsync(request);
        }