/// <summary>Snippet for DeprecatedPatternMethodAsync</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 DeprecatedPatternMethodRequestObjectAsync()
        {
            // Create client
            ResourceNamesClient resourceNamesClient = await ResourceNamesClient.CreateAsync();

            // Initialize request argument(s)
            DeprecatedPattern request = new DeprecatedPattern {
            };
            // Make the request
            Response response = await resourceNamesClient.DeprecatedPatternMethodAsync(request);
        }
Beispiel #2
0
        /// <summary>Snippet for DeprecatedPatternMethodAsync</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 DeprecatedPatternMethodResourceNamesAsync()
        {
            // Create client
            ResourceNamesClient resourceNamesClient = await ResourceNamesClient.CreateAsync();

            // Initialize request argument(s)
            DeprecatedPatternName name = DeprecatedPatternName.FromItem("[ITEM_ID]");

            // Make the request
#pragma warning disable CS0612
            Response response = await resourceNamesClient.DeprecatedPatternMethodAsync(name);

#pragma warning restore CS0612
        }