/// <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); }
/// <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 }
/// <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); }
/// <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 }
/// <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 }
/// <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 }