Udostępnij za pośrednictwem


ArmAppServiceModelFactory.PremierAddOnOffer Method

Definition

Initializes a new instance of PremierAddOnOffer.

public static Azure.ResourceManager.AppService.Models.PremierAddOnOffer PremierAddOnOffer (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string sku = default, string product = default, string vendor = default, bool? isPromoCodeRequired = default, int? quota = default, Azure.ResourceManager.AppService.Models.AppServicePlanRestriction? webHostingPlanRestrictions = default, Uri privacyPolicyUri = default, Uri legalTermsUri = default, string marketplacePublisher = default, string marketplaceOffer = default, string kind = default);
static member PremierAddOnOffer : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<bool> * Nullable<int> * Nullable<Azure.ResourceManager.AppService.Models.AppServicePlanRestriction> * Uri * Uri * string * string * string -> Azure.ResourceManager.AppService.Models.PremierAddOnOffer
Public Shared Function PremierAddOnOffer (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional sku As String = Nothing, Optional product As String = Nothing, Optional vendor As String = Nothing, Optional isPromoCodeRequired As Nullable(Of Boolean) = Nothing, Optional quota As Nullable(Of Integer) = Nothing, Optional webHostingPlanRestrictions As Nullable(Of AppServicePlanRestriction) = Nothing, Optional privacyPolicyUri As Uri = Nothing, Optional legalTermsUri As Uri = Nothing, Optional marketplacePublisher As String = Nothing, Optional marketplaceOffer As String = Nothing, Optional kind As String = Nothing) As PremierAddOnOffer

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

sku
String

Premier add on SKU.

product
String

Premier add on offer Product.

vendor
String

Premier add on offer Vendor.

isPromoCodeRequired
Nullable<Boolean>

<code>true</code> if promotion code is required; otherwise, <code>false</code>.

quota
Nullable<Int32>

Premier add on offer Quota.

webHostingPlanRestrictions
Nullable<AppServicePlanRestriction>

App Service plans this offer is restricted to.

privacyPolicyUri
Uri

Privacy policy URL.

legalTermsUri
Uri

Legal terms URL.

marketplacePublisher
String

Marketplace publisher.

marketplaceOffer
String

Marketplace offer.

kind
String

Kind of resource.

Returns

A new PremierAddOnOffer instance for mocking.

Applies to