MockableHybridConnectivitySubscriptionResource.PostGenerateAwsTemplateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve AWS Cloud Formation template
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate
- Operation Id: GenerateAwsTemplate_Post
- Default Api Version: 2024-12-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.GenerateAwsTemplateResult>> PostGenerateAwsTemplateAsync(Azure.ResourceManager.HybridConnectivity.Models.GenerateAwsTemplateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member PostGenerateAwsTemplateAsync : Azure.ResourceManager.HybridConnectivity.Models.GenerateAwsTemplateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.GenerateAwsTemplateResult>>
override this.PostGenerateAwsTemplateAsync : Azure.ResourceManager.HybridConnectivity.Models.GenerateAwsTemplateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.Models.GenerateAwsTemplateResult>>
Public Overridable Function PostGenerateAwsTemplateAsync (content As GenerateAwsTemplateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GenerateAwsTemplateResult))
Parameters
- content
- GenerateAwsTemplateContent
ConnectorId and SolutionTypes and their properties to Generate AWS CFT Template.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.