Documentation ¶
Index ¶
- func PossibleValuesForAcceptanceMode() []string
- func PossibleValuesForCategory() []string
- func ValidateAgreementID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AcceptanceMode
- type Agreement
- type AgreementId
- type AgreementOperationPredicate
- type AgreementProperties
- type AgreementsClient
- func (c AgreementsClient) Get(ctx context.Context, id AgreementId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c AgreementsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error)
- func (c AgreementsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error)
- func (c AgreementsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- type BillingAccountId
- type Category
- type GetOperationOptions
- type GetOperationResponse
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountCustomPager
- type ListByBillingAccountOperationOptions
- type ListByBillingAccountOperationResponse
- type Participants
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAcceptanceMode ¶
func PossibleValuesForAcceptanceMode() []string
func PossibleValuesForCategory ¶
func PossibleValuesForCategory() []string
func ValidateAgreementID ¶
ValidateAgreementID checks that 'input' can be parsed as a Agreement ID
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
Types ¶
type AcceptanceMode ¶
type AcceptanceMode string
const ( AcceptanceModeClickToAccept AcceptanceMode = "ClickToAccept" AcceptanceModeESignEmbedded AcceptanceMode = "ESignEmbedded" AcceptanceModeESignOffline AcceptanceMode = "ESignOffline" )
func (*AcceptanceMode) UnmarshalJSON ¶
func (s *AcceptanceMode) UnmarshalJSON(bytes []byte) error
type Agreement ¶
type Agreement struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AgreementProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AgreementId ¶
AgreementId is a struct representing the Resource ID for a Agreement
func NewAgreementID ¶
func NewAgreementID(billingAccountName string, agreementName string) AgreementId
NewAgreementID returns a new AgreementId struct
func ParseAgreementID ¶
func ParseAgreementID(input string) (*AgreementId, error)
ParseAgreementID parses 'input' into a AgreementId
func ParseAgreementIDInsensitively ¶
func ParseAgreementIDInsensitively(input string) (*AgreementId, error)
ParseAgreementIDInsensitively parses 'input' case-insensitively into a AgreementId note: this method should only be used for API response data and not user input
func (*AgreementId) FromParseResult ¶
func (id *AgreementId) FromParseResult(input resourceids.ParseResult) error
func (AgreementId) Segments ¶
func (id AgreementId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Agreement ID
func (AgreementId) String ¶
func (id AgreementId) String() string
String returns a human-readable description of this Agreement ID
type AgreementOperationPredicate ¶ added in v0.20240226.1173038
func (AgreementOperationPredicate) Matches ¶ added in v0.20240226.1173038
func (p AgreementOperationPredicate) Matches(input Agreement) bool
type AgreementProperties ¶
type AgreementProperties struct { AcceptanceMode *AcceptanceMode `json:"acceptanceMode,omitempty"` AgreementLink *string `json:"agreementLink,omitempty"` Category *Category `json:"category,omitempty"` EffectiveDate *string `json:"effectiveDate,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` Participants *[]Participants `json:"participants,omitempty"` Status *string `json:"status,omitempty"` }
func (*AgreementProperties) GetEffectiveDateAsTime ¶
func (o *AgreementProperties) GetEffectiveDateAsTime() (*time.Time, error)
func (*AgreementProperties) GetExpirationDateAsTime ¶
func (o *AgreementProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*AgreementProperties) SetEffectiveDateAsTime ¶
func (o *AgreementProperties) SetEffectiveDateAsTime(input time.Time)
func (*AgreementProperties) SetExpirationDateAsTime ¶
func (o *AgreementProperties) SetExpirationDateAsTime(input time.Time)
type AgreementsClient ¶
type AgreementsClient struct {
Client *resourcemanager.Client
}
func NewAgreementsClientWithBaseURI ¶
func NewAgreementsClientWithBaseURI(sdkApi sdkEnv.Api) (*AgreementsClient, error)
func (AgreementsClient) Get ¶
func (c AgreementsClient) Get(ctx context.Context, id AgreementId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (AgreementsClient) ListByBillingAccount ¶
func (c AgreementsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (AgreementsClient) ListByBillingAccountComplete ¶ added in v0.20240226.1173038
func (c AgreementsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (AgreementsClient) ListByBillingAccountCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c AgreementsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions, predicate AgreementOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (*BillingAccountId) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type ListByBillingAccountCompleteResult ¶ added in v0.20240226.1173038
type ListByBillingAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link
type ListByBillingAccountOperationOptions ¶
type ListByBillingAccountOperationOptions struct {
Expand *string
}
func DefaultListByBillingAccountOperationOptions ¶
func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions
func (ListByBillingAccountOperationOptions) ToHeaders ¶
func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (ListByBillingAccountOperationOptions) ToOData ¶
func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query
func (ListByBillingAccountOperationOptions) ToQuery ¶
func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type Participants ¶
type Participants struct { Email *string `json:"email,omitempty"` Status *string `json:"status,omitempty"` StatusDate *string `json:"statusDate,omitempty"` }
func (*Participants) GetStatusDateAsTime ¶
func (o *Participants) GetStatusDateAsTime() (*time.Time, error)
func (*Participants) SetStatusDateAsTime ¶
func (o *Participants) SetStatusDateAsTime(input time.Time)