mirror of https://github.com/pulumi/pulumi.git
110 lines
3.7 KiB
C#
110 lines
3.7 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.Mypkg
|
|
{
|
|
public static class GetBastionShareableLink
|
|
{
|
|
/// <summary>
|
|
/// Response for all the Bastion Shareable Link endpoints.
|
|
/// API Version: 2020-11-01.
|
|
/// </summary>
|
|
public static Task<GetBastionShareableLinkResult> InvokeAsync(GetBastionShareableLinkArgs args, InvokeOptions? options = null)
|
|
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetBastionShareableLinkResult>("mypkg::getBastionShareableLink", args ?? new GetBastionShareableLinkArgs(), options.WithDefaults());
|
|
|
|
/// <summary>
|
|
/// Response for all the Bastion Shareable Link endpoints.
|
|
/// API Version: 2020-11-01.
|
|
/// </summary>
|
|
public static Output<GetBastionShareableLinkResult> Invoke(GetBastionShareableLinkInvokeArgs args, InvokeOptions? options = null)
|
|
=> global::Pulumi.Deployment.Instance.Invoke<GetBastionShareableLinkResult>("mypkg::getBastionShareableLink", args ?? new GetBastionShareableLinkInvokeArgs(), options.WithDefaults());
|
|
}
|
|
|
|
|
|
public sealed class GetBastionShareableLinkArgs : global::Pulumi.InvokeArgs
|
|
{
|
|
/// <summary>
|
|
/// The name of the Bastion Host.
|
|
/// </summary>
|
|
[Input("bastionHostName", required: true)]
|
|
public string BastionHostName { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// The name of the resource group.
|
|
/// </summary>
|
|
[Input("resourceGroupName", required: true)]
|
|
public string ResourceGroupName { get; set; } = null!;
|
|
|
|
[Input("vms")]
|
|
private List<Inputs.BastionShareableLink>? _vms;
|
|
|
|
/// <summary>
|
|
/// List of VM references.
|
|
/// </summary>
|
|
public List<Inputs.BastionShareableLink> Vms
|
|
{
|
|
get => _vms ?? (_vms = new List<Inputs.BastionShareableLink>());
|
|
set => _vms = value;
|
|
}
|
|
|
|
public GetBastionShareableLinkArgs()
|
|
{
|
|
}
|
|
public static new GetBastionShareableLinkArgs Empty => new GetBastionShareableLinkArgs();
|
|
}
|
|
|
|
public sealed class GetBastionShareableLinkInvokeArgs : global::Pulumi.InvokeArgs
|
|
{
|
|
/// <summary>
|
|
/// The name of the Bastion Host.
|
|
/// </summary>
|
|
[Input("bastionHostName", required: true)]
|
|
public Input<string> BastionHostName { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// The name of the resource group.
|
|
/// </summary>
|
|
[Input("resourceGroupName", required: true)]
|
|
public Input<string> ResourceGroupName { get; set; } = null!;
|
|
|
|
[Input("vms")]
|
|
private InputList<Inputs.BastionShareableLinkArgs>? _vms;
|
|
|
|
/// <summary>
|
|
/// List of VM references.
|
|
/// </summary>
|
|
public InputList<Inputs.BastionShareableLinkArgs> Vms
|
|
{
|
|
get => _vms ?? (_vms = new InputList<Inputs.BastionShareableLinkArgs>());
|
|
set => _vms = value;
|
|
}
|
|
|
|
public GetBastionShareableLinkInvokeArgs()
|
|
{
|
|
}
|
|
public static new GetBastionShareableLinkInvokeArgs Empty => new GetBastionShareableLinkInvokeArgs();
|
|
}
|
|
|
|
|
|
[OutputType]
|
|
public sealed class GetBastionShareableLinkResult
|
|
{
|
|
/// <summary>
|
|
/// The URL to get the next set of results.
|
|
/// </summary>
|
|
public readonly string? NextLink;
|
|
|
|
[OutputConstructor]
|
|
private GetBastionShareableLinkResult(string? nextLink)
|
|
{
|
|
NextLink = nextLink;
|
|
}
|
|
}
|
|
}
|