共用方式為


GroupableParentResource<IFluentResourceT,InnerResourceT,FluentResourceT,ManagerT,IDefinitionAfterRegion,IDefinitionAfterResourceGroup,DefTypeWithTags,UTypeWithTags>.CreateResourceAsync Method

Definition

public override System.Threading.Tasks.Task<IFluentResourceT> CreateResourceAsync (System.Threading.CancellationToken cancellationToken = default);
override this.CreateResourceAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<'IFluentResourceT (requires 'IFluentResourceT : null and 'IFluentResourceT :> Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource)>
Public Overrides Function CreateResourceAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IFluentResourceT)

Parameters

cancellationToken
CancellationToken

Returns

Task<IFluentResourceT>

Applies to