Share via


Agreement Constructors

Definition

Overloads

Agreement()

Initializes a new instance of the Agreement class.

Agreement(String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, IList<Participants>, String)

Initializes a new instance of the Agreement class.

Agreement()

Initializes a new instance of the Agreement class.

public Agreement ();
Public Sub New ()

Applies to

Agreement(String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, IList<Participants>, String)

Initializes a new instance of the Agreement class.

public Agreement (string id = default, string name = default, string type = default, string agreementLink = default, string category = default, string acceptanceMode = default, DateTime? effectiveDate = default, DateTime? expirationDate = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.Participants> participants = default, string status = default);
new Microsoft.Azure.Management.Billing.Models.Agreement : string * string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.Participants> * string -> Microsoft.Azure.Management.Billing.Models.Agreement
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional agreementLink As String = Nothing, Optional category As String = Nothing, Optional acceptanceMode As String = Nothing, Optional effectiveDate As Nullable(Of DateTime) = Nothing, Optional expirationDate As Nullable(Of DateTime) = Nothing, Optional participants As IList(Of Participants) = Nothing, Optional status As String = Nothing)

Parameters

id
String

Resource Id.

name
String

Resource name.

type
String

Resource type.

agreementLink
String

The URL to download the agreement.

category
String

The category of the agreement signed by a customer. Possible values include: 'MicrosoftCustomerAgreement', 'AffiliatePurchaseTerms', 'Other'

acceptanceMode
String

The mode of acceptance for an agreement. Possible values include: 'ClickToAccept', 'ESignEmbedded', 'ESignOffline'

effectiveDate
Nullable<DateTime>

The date from which the agreement is effective.

expirationDate
Nullable<DateTime>

The date when the agreement expires.

participants
IList<Participants>

The list of participants that participates in acceptance of an agreement.

status
String

The current status of the agreement.

Applies to