github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/regress-8403/dotnet/GetCustomDbRoles.cs (about)

     1  // *** WARNING: this file was generated by test. ***
     2  // *** Do not edit by hand unless you're certain you know what you are doing! ***
     3  
     4  using System;
     5  using System.Collections.Generic;
     6  using System.Collections.Immutable;
     7  using System.Threading.Tasks;
     8  using Pulumi.Serialization;
     9  
    10  namespace Pulumi.Mongodbatlas
    11  {
    12      public static class GetCustomDbRoles
    13      {
    14          public static Task<GetCustomDbRolesResult> InvokeAsync(GetCustomDbRolesArgs? args = null, InvokeOptions? options = null)
    15              => global::Pulumi.Deployment.Instance.InvokeAsync<GetCustomDbRolesResult>("mongodbatlas::getCustomDbRoles", args ?? new GetCustomDbRolesArgs(), options.WithDefaults());
    16      }
    17  
    18  
    19      public sealed class GetCustomDbRolesArgs : global::Pulumi.InvokeArgs
    20      {
    21          public GetCustomDbRolesArgs()
    22          {
    23          }
    24          public static new GetCustomDbRolesArgs Empty => new GetCustomDbRolesArgs();
    25      }
    26  
    27  
    28      [OutputType]
    29      public sealed class GetCustomDbRolesResult
    30      {
    31          public readonly Outputs.GetCustomDbRolesResult? Result;
    32  
    33          [OutputConstructor]
    34          private GetCustomDbRolesResult(Outputs.GetCustomDbRolesResult? result)
    35          {
    36              Result = result;
    37          }
    38      }
    39  }