2019-11-21 22:46:14 +01:00
|
|
|
|
// Copyright 2016-2019, Pulumi Corporation
|
2019-10-26 01:59:50 +02:00
|
|
|
|
|
|
|
|
|
namespace Pulumi
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Options to help control the behavior of <see cref="IDeployment.InvokeAsync{T}(string,
|
2019-12-12 18:13:26 +01:00
|
|
|
|
/// InvokeArgs, InvokeOptions)"/>.
|
2019-10-26 01:59:50 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
public class InvokeOptions
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An optional parent to use for default options for this invoke (e.g. the default provider
|
|
|
|
|
/// to use).
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Resource? Parent { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An optional provider to use for this invocation. If no provider is supplied, the default
|
|
|
|
|
/// provider for the invoked function's package will be used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ProviderResource? Provider { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An optional version, corresponding to the version of the provider plugin that should be
|
|
|
|
|
/// used when performing this invoke.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Version { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|