Sdílet prostřednictvím


IDefinition Interface

Definition

Container interface for all the definitions that need to be implemented.

public interface IDefinition : Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IBlank, Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithCreate, Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithGroup, Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithOperatingSystem, Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithPricingTier, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithPricingTier>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithPricingTier>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithPricingTier>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithPricingTier>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.AppService.Fluent.AppServicePlan.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.AppService.Fluent.IAppServicePlan>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithPricingTier>
    interface IWithExistingResourceGroup<IWithPricingTier>
    interface IWithNewResourceGroup<IWithPricingTier>
    interface IWithCreatableResourceGroup<IWithPricingTier>
    interface IWithPricingTier
    interface IWithOperatingSystem
    interface IWithCreate
    interface IWithPerSiteScaling
    interface IWithCapacity
    interface ICreatable<IAppServicePlan>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
Public Interface IDefinition
Implements IBlank, ICreatable(Of IAppServicePlan), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithPricingTier), IWithCreate, IWithExistingResourceGroup(Of IWithPricingTier), IWithGroup, IWithGroup(Of IWithPricingTier), IWithNewResourceGroup(Of IWithPricingTier), IWithOperatingSystem, IWithPricingTier
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithCapacity(Int32)

Specifies the maximum number of instances running for this app service plan.

(Inherited from IWithCapacity)
WithConsumptionPricingTier()

Specifies consumption pricing tier for the app service plan.

(Inherited from IWithPricingTier)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithFreePricingTier()

Specifies free pricing tier for the app service plan.

(Inherited from IWithPricingTier)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
WithOperatingSystem(OperatingSystem)

Specifies the operating system of the app service plan.

(Inherited from IWithOperatingSystem)
WithPerSiteScaling(Boolean)

Specifies whether per-site scaling will be turned on.

(Inherited from IWithPerSiteScaling)
WithPricingTier(PricingTier)

Specifies the pricing tier for the app service plan.

(Inherited from IWithPricingTier)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithSharedPricingTier()

Specifies shared pricing tier for the app service plan.

(Inherited from IWithPricingTier)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to