pulumi/pkg/codegen/internal/test/testdata/regress-8403/dotnet/GetCustomDbRoles.cs
Anton Tayanovskyy 4d4ff9f1d6
Fixes 8403 name conflicts in Go codegen (#8492)
* Apply fn renaming on Result name conflict

* Add tests

* Add test declaration to test driver

* Accept baselines for other langs
2021-11-24 20:13:47 -05:00

39 lines
1.1 KiB
C#

// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Mongodbatlas
{
public static class GetCustomDbRoles
{
public static Task<GetCustomDbRolesResult> InvokeAsync(GetCustomDbRolesArgs? args = null, InvokeOptions? options = null)
=> Pulumi.Deployment.Instance.InvokeAsync<GetCustomDbRolesResult>("mongodbatlas::getCustomDbRoles", args ?? new GetCustomDbRolesArgs(), options.WithVersion());
}
public sealed class GetCustomDbRolesArgs : Pulumi.InvokeArgs
{
public GetCustomDbRolesArgs()
{
}
}
[OutputType]
public sealed class GetCustomDbRolesResult
{
public readonly Outputs.GetCustomDbRolesResult? Result;
[OutputConstructor]
private GetCustomDbRolesResult(Outputs.GetCustomDbRolesResult? result)
{
Result = result;
}
}
}