共用方式為


New-OfferObject

Represents an offering of services against which a subscription can be created.

Syntax

New-OfferObject
   [[-Tags] <System.Collections.Generic.Dictionary`2[System.String,System.String]>]
   [[-Type] <String>]
   [[-MaxSubscriptionsPerAccount] <Int64>]
   [[-Name] <String>]
   [[-BasePlanIds] <String[]>]
   [[-DisplayName] <String>]
   [[-Description] <String>]
   [[-ExternalReferenceId] <String>]
   [[-State] <String>]
   [[-Id] <String>]
   [[-Location] <String>]
   [[-SubscriptionCount] <Int64>]
   [[-AddonPlanDefinition] <AddonPlanDefinition[]>]
   [<CommonParameters>]

Description

Represents an offering of services against which a subscription can be created.

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Parameters

-AddonPlanDefinition

References to add-on plans that a tenant can optionally acquire as a part of the offer.

Type:AddonPlanDefinition[]
Position:13
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BasePlanIds

Identifiers of the base plans that become available to the tenant immediately when a tenant subscribes to the offer.

Type:String[]
Position:5
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

Description of offer.

Type:String
Position:7
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

Display name of offer.

Type:String
Position:6
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ExternalReferenceId

External reference identifier.

Type:String
Position:8
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Id

URI of the resource.

Type:String
Position:10
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

Location where resource is location.

Type:String
Position:11
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MaxSubscriptionsPerAccount

Maximum subscriptions per account.

Type:Int64
Position:3
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Name of the resource.

Type:String
Position:4
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-State

Offer accessibility state.

Type:String
Position:9
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionCount

Current subscription count.

Type:Int64
Position:12
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Tags

List of key-value pairs.

Type:System.Collections.Generic.Dictionary`2[System.String,System.String]
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Type

Type of resource.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False