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

            // Initialize request argument(s)
            IResourceName @ref = new UnparsedResourceName("a/wildcard/resource");
            IEnumerable <WildcardMultiPatternMultipleName> repeatedRef = new WildcardMultiPatternMultipleName[]
            {
                WildcardMultiPatternMultipleName.FromConstPattern(),
            };
            // Make the request
            Response response = await resourceNamesClient.WildcardMultiPatternMultipleMethodAsync(@ref, repeatedRef);
        }
コード例 #2
0
        /// <summary>Snippet for WildcardMultiPatternMultipleMethodAsync</summary>
        public async Task WildcardMultiPatternMultipleMethodAsync()
        {
            // Snippet: WildcardMultiPatternMultipleMethodAsync(string, IEnumerable<string>, CallSettings)
            // Additional: WildcardMultiPatternMultipleMethodAsync(string, IEnumerable<string>, CancellationToken)
            // Create client
            ResourceNamesClient resourceNamesClient = await ResourceNamesClient.CreateAsync();

            // Initialize request argument(s)
            string @ref = "constPattern";
            IEnumerable <string> repeatedRef = new string[] { "constPattern", };
            // Make the request
            Response response = await resourceNamesClient.WildcardMultiPatternMultipleMethodAsync(@ref, repeatedRef);

            // End snippet
        }
コード例 #3
0
        /// <summary>Snippet for WildcardMultiPatternMultipleMethodAsync</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 WildcardMultiPatternMultipleMethodRequestObjectAsync()
        {
            // Create client
            ResourceNamesClient resourceNamesClient = await ResourceNamesClient.CreateAsync();

            // Initialize request argument(s)
            WildcardMultiPatternMultiple request = new WildcardMultiPatternMultiple
            {
                WildcardMultiPatternMultipleName               = WildcardMultiPatternMultipleName.FromConstPattern(),
                RefAsWildcardMultiPatternMultipleName          = WildcardMultiPatternMultipleName.FromConstPattern(),
                RepeatedRefAsWildcardMultiPatternMultipleNames =
                {
                    WildcardMultiPatternMultipleName.FromConstPattern(),
                },
            };
            // Make the request
            Response response = await resourceNamesClient.WildcardMultiPatternMultipleMethodAsync(request);
        }
コード例 #4
0
        /// <summary>Snippet for WildcardMultiPatternMultipleMethodAsync</summary>
        public async Task WildcardMultiPatternMultipleMethodResourceNames4Async()
        {
            // Snippet: WildcardMultiPatternMultipleMethodAsync(IResourceName, IEnumerable<IResourceName>, CallSettings)
            // Additional: WildcardMultiPatternMultipleMethodAsync(IResourceName, IEnumerable<IResourceName>, CancellationToken)
            // Create client
            ResourceNamesClient resourceNamesClient = await ResourceNamesClient.CreateAsync();

            // Initialize request argument(s)
            IResourceName @ref = new UnparsedResourceName("a/wildcard/resource");
            IEnumerable <IResourceName> repeatedRef = new IResourceName[]
            {
                new UnparsedResourceName("a/wildcard/resource"),
            };
            // Make the request
            Response response = await resourceNamesClient.WildcardMultiPatternMultipleMethodAsync(@ref, repeatedRef);

            // End snippet
        }
コード例 #5
0
        /// <summary>Snippet for WildcardMultiPatternMultipleMethodAsync</summary>
        public async Task WildcardMultiPatternMultipleMethodResourceNames1Async()
        {
            // Snippet: WildcardMultiPatternMultipleMethodAsync(WildcardMultiPatternMultipleName, IEnumerable<WildcardMultiPatternMultipleName>, CallSettings)
            // Additional: WildcardMultiPatternMultipleMethodAsync(WildcardMultiPatternMultipleName, IEnumerable<WildcardMultiPatternMultipleName>, CancellationToken)
            // Create client
            ResourceNamesClient resourceNamesClient = await ResourceNamesClient.CreateAsync();

            // Initialize request argument(s)
            WildcardMultiPatternMultipleName @ref = WildcardMultiPatternMultipleName.FromConstPattern();
            IEnumerable <WildcardMultiPatternMultipleName> repeatedRef = new WildcardMultiPatternMultipleName[]
            {
                WildcardMultiPatternMultipleName.FromConstPattern(),
            };
            // Make the request
            Response response = await resourceNamesClient.WildcardMultiPatternMultipleMethodAsync(@ref, repeatedRef);

            // End snippet
        }
コード例 #6
0
        /// <summary>Snippet for WildcardMultiPatternMultipleMethodAsync</summary>
        public async Task WildcardMultiPatternMultipleMethodRequestObjectAsync()
        {
            // Snippet: WildcardMultiPatternMultipleMethodAsync(WildcardMultiPatternMultiple, CallSettings)
            // Additional: WildcardMultiPatternMultipleMethodAsync(WildcardMultiPatternMultiple, CancellationToken)
            // Create client
            ResourceNamesClient resourceNamesClient = await ResourceNamesClient.CreateAsync();

            // Initialize request argument(s)
            WildcardMultiPatternMultiple request = new WildcardMultiPatternMultiple
            {
                WildcardMultiPatternMultipleName               = WildcardMultiPatternMultipleName.FromConstPattern(),
                RefAsWildcardMultiPatternMultipleName          = WildcardMultiPatternMultipleName.FromConstPattern(),
                RepeatedRefAsWildcardMultiPatternMultipleNames =
                {
                    WildcardMultiPatternMultipleName.FromConstPattern(),
                },
            };
            // Make the request
            Response response = await resourceNamesClient.WildcardMultiPatternMultipleMethodAsync(request);

            // End snippet
        }