github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/output-funcs/dotnet/GetIntegrationRuntimeObjectMetadatum.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.Mypkg
    11  {
    12      public static class GetIntegrationRuntimeObjectMetadatum
    13      {
    14          /// <summary>
    15          /// Another failing example. A list of SSIS object metadata.
    16          /// API Version: 2018-06-01.
    17          /// </summary>
    18          public static Task<GetIntegrationRuntimeObjectMetadatumResult> InvokeAsync(GetIntegrationRuntimeObjectMetadatumArgs args, InvokeOptions? options = null)
    19              => global::Pulumi.Deployment.Instance.InvokeAsync<GetIntegrationRuntimeObjectMetadatumResult>("mypkg::getIntegrationRuntimeObjectMetadatum", args ?? new GetIntegrationRuntimeObjectMetadatumArgs(), options.WithDefaults());
    20  
    21          /// <summary>
    22          /// Another failing example. A list of SSIS object metadata.
    23          /// API Version: 2018-06-01.
    24          /// </summary>
    25          public static Output<GetIntegrationRuntimeObjectMetadatumResult> Invoke(GetIntegrationRuntimeObjectMetadatumInvokeArgs args, InvokeOptions? options = null)
    26              => global::Pulumi.Deployment.Instance.Invoke<GetIntegrationRuntimeObjectMetadatumResult>("mypkg::getIntegrationRuntimeObjectMetadatum", args ?? new GetIntegrationRuntimeObjectMetadatumInvokeArgs(), options.WithDefaults());
    27      }
    28  
    29  
    30      public sealed class GetIntegrationRuntimeObjectMetadatumArgs : global::Pulumi.InvokeArgs
    31      {
    32          /// <summary>
    33          /// The factory name.
    34          /// </summary>
    35          [Input("factoryName", required: true)]
    36          public string FactoryName { get; set; } = null!;
    37  
    38          /// <summary>
    39          /// The integration runtime name.
    40          /// </summary>
    41          [Input("integrationRuntimeName", required: true)]
    42          public string IntegrationRuntimeName { get; set; } = null!;
    43  
    44          /// <summary>
    45          /// Metadata path.
    46          /// </summary>
    47          [Input("metadataPath")]
    48          public string? MetadataPath { get; set; }
    49  
    50          /// <summary>
    51          /// The resource group name.
    52          /// </summary>
    53          [Input("resourceGroupName", required: true)]
    54          public string ResourceGroupName { get; set; } = null!;
    55  
    56          public GetIntegrationRuntimeObjectMetadatumArgs()
    57          {
    58          }
    59          public static new GetIntegrationRuntimeObjectMetadatumArgs Empty => new GetIntegrationRuntimeObjectMetadatumArgs();
    60      }
    61  
    62      public sealed class GetIntegrationRuntimeObjectMetadatumInvokeArgs : global::Pulumi.InvokeArgs
    63      {
    64          /// <summary>
    65          /// The factory name.
    66          /// </summary>
    67          [Input("factoryName", required: true)]
    68          public Input<string> FactoryName { get; set; } = null!;
    69  
    70          /// <summary>
    71          /// The integration runtime name.
    72          /// </summary>
    73          [Input("integrationRuntimeName", required: true)]
    74          public Input<string> IntegrationRuntimeName { get; set; } = null!;
    75  
    76          /// <summary>
    77          /// Metadata path.
    78          /// </summary>
    79          [Input("metadataPath")]
    80          public Input<string>? MetadataPath { get; set; }
    81  
    82          /// <summary>
    83          /// The resource group name.
    84          /// </summary>
    85          [Input("resourceGroupName", required: true)]
    86          public Input<string> ResourceGroupName { get; set; } = null!;
    87  
    88          public GetIntegrationRuntimeObjectMetadatumInvokeArgs()
    89          {
    90          }
    91          public static new GetIntegrationRuntimeObjectMetadatumInvokeArgs Empty => new GetIntegrationRuntimeObjectMetadatumInvokeArgs();
    92      }
    93  
    94  
    95      [OutputType]
    96      public sealed class GetIntegrationRuntimeObjectMetadatumResult
    97      {
    98          /// <summary>
    99          /// The link to the next page of results, if any remaining results exist.
   100          /// </summary>
   101          public readonly string? NextLink;
   102          /// <summary>
   103          /// List of SSIS object metadata.
   104          /// </summary>
   105          public readonly ImmutableArray<object> Value;
   106  
   107          [OutputConstructor]
   108          private GetIntegrationRuntimeObjectMetadatumResult(
   109              string? nextLink,
   110  
   111              ImmutableArray<object> value)
   112          {
   113              NextLink = nextLink;
   114              Value = value;
   115          }
   116      }
   117  }