Documentation ¶
Index ¶
- func PossibleValuesForProductTransferStatus() []string
- func PossibleValuesForProductType() []string
- func PossibleValuesForTransferStatus() []string
- func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCustomerTransferID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionTransferID(input interface{}, key string) (warnings []string, errors []error)
- type BillingProfileCustomerId
- func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId
- func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)
- func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)
- type CancelOperationResponse
- type CustomerTransferId
- type DetailedTransferStatus
- type Error
- type GetOperationResponse
- type InitiateOperationResponse
- type InitiateTransferProperties
- type InitiateTransferRequest
- type InvoiceSectionId
- type InvoiceSectionTransferId
- type ListCompleteResult
- type ListOperationResponse
- type PartnerTransfersCancelOperationResponse
- type PartnerTransfersGetOperationResponse
- type PartnerTransfersInitiateOperationResponse
- type PartnerTransfersListCompleteResult
- type PartnerTransfersListOperationResponse
- type ProductTransferStatus
- type ProductType
- type TransferDetails
- type TransferDetailsOperationPredicate
- type TransferProperties
- func (o *TransferProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *TransferProperties) GetExpirationTimeAsTime() (*time.Time, error)
- func (o *TransferProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *TransferProperties) SetCreationTimeAsTime(input time.Time)
- func (o *TransferProperties) SetExpirationTimeAsTime(input time.Time)
- func (o *TransferProperties) SetLastModifiedTimeAsTime(input time.Time)
- type TransferStatus
- type TransfersClient
- func (c TransfersClient) Cancel(ctx context.Context, id InvoiceSectionTransferId) (result CancelOperationResponse, err error)
- func (c TransfersClient) Get(ctx context.Context, id InvoiceSectionTransferId) (result GetOperationResponse, err error)
- func (c TransfersClient) Initiate(ctx context.Context, id InvoiceSectionId, input InitiateTransferRequest) (result InitiateOperationResponse, err error)
- func (c TransfersClient) List(ctx context.Context, id InvoiceSectionId) (result ListOperationResponse, err error)
- func (c TransfersClient) ListComplete(ctx context.Context, id InvoiceSectionId) (ListCompleteResult, error)
- func (c TransfersClient) ListCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, ...) (result ListCompleteResult, err error)
- func (c TransfersClient) PartnerTransfersCancel(ctx context.Context, id CustomerTransferId) (result PartnerTransfersCancelOperationResponse, err error)
- func (c TransfersClient) PartnerTransfersGet(ctx context.Context, id CustomerTransferId) (result PartnerTransfersGetOperationResponse, err error)
- func (c TransfersClient) PartnerTransfersInitiate(ctx context.Context, id BillingProfileCustomerId, ...) (result PartnerTransfersInitiateOperationResponse, err error)
- func (c TransfersClient) PartnerTransfersList(ctx context.Context, id BillingProfileCustomerId) (result PartnerTransfersListOperationResponse, err error)
- func (c TransfersClient) PartnerTransfersListComplete(ctx context.Context, id BillingProfileCustomerId) (PartnerTransfersListCompleteResult, error)
- func (c TransfersClient) PartnerTransfersListCompleteMatchingPredicate(ctx context.Context, id BillingProfileCustomerId, ...) (result PartnerTransfersListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProductTransferStatus ¶
func PossibleValuesForProductTransferStatus() []string
func PossibleValuesForProductType ¶
func PossibleValuesForProductType() []string
func PossibleValuesForTransferStatus ¶
func PossibleValuesForTransferStatus() []string
func ValidateBillingProfileCustomerID ¶
func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingProfileCustomerID checks that 'input' can be parsed as a Billing Profile Customer ID
func ValidateCustomerTransferID ¶
ValidateCustomerTransferID checks that 'input' can be parsed as a Customer Transfer ID
func ValidateInvoiceSectionID ¶
ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section ID
func ValidateInvoiceSectionTransferID ¶
func ValidateInvoiceSectionTransferID(input interface{}, key string) (warnings []string, errors []error)
ValidateInvoiceSectionTransferID checks that 'input' can be parsed as a Invoice Section Transfer ID
Types ¶
type BillingProfileCustomerId ¶
type BillingProfileCustomerId struct { BillingAccountName string BillingProfileName string CustomerName string }
BillingProfileCustomerId is a struct representing the Resource ID for a Billing Profile Customer
func NewBillingProfileCustomerID ¶
func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId
NewBillingProfileCustomerID returns a new BillingProfileCustomerId struct
func ParseBillingProfileCustomerID ¶
func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)
ParseBillingProfileCustomerID parses 'input' into a BillingProfileCustomerId
func ParseBillingProfileCustomerIDInsensitively ¶
func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)
ParseBillingProfileCustomerIDInsensitively parses 'input' case-insensitively into a BillingProfileCustomerId note: this method should only be used for API response data and not user input
func (*BillingProfileCustomerId) FromParseResult ¶
func (id *BillingProfileCustomerId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileCustomerId) ID ¶
func (id BillingProfileCustomerId) ID() string
ID returns the formatted Billing Profile Customer ID
func (BillingProfileCustomerId) Segments ¶
func (id BillingProfileCustomerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile Customer ID
func (BillingProfileCustomerId) String ¶
func (id BillingProfileCustomerId) String() string
String returns a human-readable description of this Billing Profile Customer ID
type CancelOperationResponse ¶
type CancelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TransferDetails }
type CustomerTransferId ¶
type CustomerTransferId struct { BillingAccountName string BillingProfileName string CustomerName string TransferName string }
CustomerTransferId is a struct representing the Resource ID for a Customer Transfer
func NewCustomerTransferID ¶
func NewCustomerTransferID(billingAccountName string, billingProfileName string, customerName string, transferName string) CustomerTransferId
NewCustomerTransferID returns a new CustomerTransferId struct
func ParseCustomerTransferID ¶
func ParseCustomerTransferID(input string) (*CustomerTransferId, error)
ParseCustomerTransferID parses 'input' into a CustomerTransferId
func ParseCustomerTransferIDInsensitively ¶
func ParseCustomerTransferIDInsensitively(input string) (*CustomerTransferId, error)
ParseCustomerTransferIDInsensitively parses 'input' case-insensitively into a CustomerTransferId note: this method should only be used for API response data and not user input
func (*CustomerTransferId) FromParseResult ¶
func (id *CustomerTransferId) FromParseResult(input resourceids.ParseResult) error
func (CustomerTransferId) ID ¶
func (id CustomerTransferId) ID() string
ID returns the formatted Customer Transfer ID
func (CustomerTransferId) Segments ¶
func (id CustomerTransferId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Customer Transfer ID
func (CustomerTransferId) String ¶
func (id CustomerTransferId) String() string
String returns a human-readable description of this Customer Transfer ID
type DetailedTransferStatus ¶
type DetailedTransferStatus struct { ErrorDetails *Error `json:"errorDetails,omitempty"` ProductId *string `json:"productId,omitempty"` ProductType *ProductType `json:"productType,omitempty"` TransferStatus *ProductTransferStatus `json:"transferStatus,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TransferDetails }
type InitiateOperationResponse ¶
type InitiateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TransferDetails }
type InitiateTransferRequest ¶
type InitiateTransferRequest struct {
Properties *InitiateTransferProperties `json:"properties,omitempty"`
}
type InvoiceSectionId ¶
type InvoiceSectionId struct { BillingAccountName string BillingProfileName string InvoiceSectionName string }
InvoiceSectionId is a struct representing the Resource ID for a Invoice Section
func NewInvoiceSectionID ¶
func NewInvoiceSectionID(billingAccountName string, billingProfileName string, invoiceSectionName string) InvoiceSectionId
NewInvoiceSectionID returns a new InvoiceSectionId struct
func ParseInvoiceSectionID ¶
func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionID parses 'input' into a InvoiceSectionId
func ParseInvoiceSectionIDInsensitively ¶
func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionId note: this method should only be used for API response data and not user input
func (*InvoiceSectionId) FromParseResult ¶
func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceSectionId) ID ¶
func (id InvoiceSectionId) ID() string
ID returns the formatted Invoice Section ID
func (InvoiceSectionId) Segments ¶
func (id InvoiceSectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice Section ID
func (InvoiceSectionId) String ¶
func (id InvoiceSectionId) String() string
String returns a human-readable description of this Invoice Section ID
type InvoiceSectionTransferId ¶
type InvoiceSectionTransferId struct { BillingAccountName string BillingProfileName string InvoiceSectionName string TransferName string }
InvoiceSectionTransferId is a struct representing the Resource ID for a Invoice Section Transfer
func NewInvoiceSectionTransferID ¶
func NewInvoiceSectionTransferID(billingAccountName string, billingProfileName string, invoiceSectionName string, transferName string) InvoiceSectionTransferId
NewInvoiceSectionTransferID returns a new InvoiceSectionTransferId struct
func ParseInvoiceSectionTransferID ¶
func ParseInvoiceSectionTransferID(input string) (*InvoiceSectionTransferId, error)
ParseInvoiceSectionTransferID parses 'input' into a InvoiceSectionTransferId
func ParseInvoiceSectionTransferIDInsensitively ¶
func ParseInvoiceSectionTransferIDInsensitively(input string) (*InvoiceSectionTransferId, error)
ParseInvoiceSectionTransferIDInsensitively parses 'input' case-insensitively into a InvoiceSectionTransferId note: this method should only be used for API response data and not user input
func (*InvoiceSectionTransferId) FromParseResult ¶
func (id *InvoiceSectionTransferId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceSectionTransferId) ID ¶
func (id InvoiceSectionTransferId) ID() string
ID returns the formatted Invoice Section Transfer ID
func (InvoiceSectionTransferId) Segments ¶
func (id InvoiceSectionTransferId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice Section Transfer ID
func (InvoiceSectionTransferId) String ¶
func (id InvoiceSectionTransferId) String() string
String returns a human-readable description of this Invoice Section Transfer ID
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []TransferDetails }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TransferDetails }
type PartnerTransfersCancelOperationResponse ¶
type PartnerTransfersCancelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TransferDetails }
type PartnerTransfersGetOperationResponse ¶
type PartnerTransfersGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TransferDetails }
type PartnerTransfersInitiateOperationResponse ¶
type PartnerTransfersInitiateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TransferDetails }
type PartnerTransfersListCompleteResult ¶
type PartnerTransfersListCompleteResult struct { LatestHttpResponse *http.Response Items []TransferDetails }
type PartnerTransfersListOperationResponse ¶
type PartnerTransfersListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TransferDetails }
type ProductTransferStatus ¶
type ProductTransferStatus string
const ( ProductTransferStatusCompleted ProductTransferStatus = "Completed" ProductTransferStatusFailed ProductTransferStatus = "Failed" ProductTransferStatusInProgress ProductTransferStatus = "InProgress" ProductTransferStatusNotStarted ProductTransferStatus = "NotStarted" )
func (*ProductTransferStatus) UnmarshalJSON ¶
func (s *ProductTransferStatus) UnmarshalJSON(bytes []byte) error
type ProductType ¶
type ProductType string
const ( ProductTypeAzureReservation ProductType = "AzureReservation" ProductTypeAzureSubscription ProductType = "AzureSubscription" )
func (*ProductType) UnmarshalJSON ¶
func (s *ProductType) UnmarshalJSON(bytes []byte) error
type TransferDetails ¶
type TransferDetails struct {
Properties *TransferProperties `json:"properties,omitempty"`
}
type TransferDetailsOperationPredicate ¶
type TransferDetailsOperationPredicate struct { }
func (TransferDetailsOperationPredicate) Matches ¶
func (p TransferDetailsOperationPredicate) Matches(input TransferDetails) bool
type TransferProperties ¶
type TransferProperties struct { BillingAccountId *string `json:"billingAccountId,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` CanceledBy *string `json:"canceledBy,omitempty"` CreationTime *string `json:"creationTime,omitempty"` DetailedTransferStatus *[]DetailedTransferStatus `json:"detailedTransferStatus,omitempty"` ExpirationTime *string `json:"expirationTime,omitempty"` InitiatorCustomerType *string `json:"initiatorCustomerType,omitempty"` InitiatorEmailId *string `json:"initiatorEmailId,omitempty"` InvoiceSectionId *string `json:"invoiceSectionId,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` RecipientEmailId *string `json:"recipientEmailId,omitempty"` ResellerId *string `json:"resellerId,omitempty"` ResellerName *string `json:"resellerName,omitempty"` TransferStatus *TransferStatus `json:"transferStatus,omitempty"` }
func (*TransferProperties) GetCreationTimeAsTime ¶
func (o *TransferProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*TransferProperties) GetExpirationTimeAsTime ¶
func (o *TransferProperties) GetExpirationTimeAsTime() (*time.Time, error)
func (*TransferProperties) GetLastModifiedTimeAsTime ¶
func (o *TransferProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*TransferProperties) SetCreationTimeAsTime ¶
func (o *TransferProperties) SetCreationTimeAsTime(input time.Time)
func (*TransferProperties) SetExpirationTimeAsTime ¶
func (o *TransferProperties) SetExpirationTimeAsTime(input time.Time)
func (*TransferProperties) SetLastModifiedTimeAsTime ¶
func (o *TransferProperties) SetLastModifiedTimeAsTime(input time.Time)
type TransferStatus ¶
type TransferStatus string
const ( TransferStatusCanceled TransferStatus = "Canceled" TransferStatusCompleted TransferStatus = "Completed" TransferStatusCompletedWithErrors TransferStatus = "CompletedWithErrors" TransferStatusDeclined TransferStatus = "Declined" TransferStatusFailed TransferStatus = "Failed" TransferStatusInProgress TransferStatus = "InProgress" TransferStatusPending TransferStatus = "Pending" )
func (*TransferStatus) UnmarshalJSON ¶
func (s *TransferStatus) UnmarshalJSON(bytes []byte) error
type TransfersClient ¶
type TransfersClient struct {
Client *resourcemanager.Client
}
func NewTransfersClientWithBaseURI ¶
func NewTransfersClientWithBaseURI(sdkApi sdkEnv.Api) (*TransfersClient, error)
func (TransfersClient) Cancel ¶
func (c TransfersClient) Cancel(ctx context.Context, id InvoiceSectionTransferId) (result CancelOperationResponse, err error)
Cancel ...
func (TransfersClient) Get ¶
func (c TransfersClient) Get(ctx context.Context, id InvoiceSectionTransferId) (result GetOperationResponse, err error)
Get ...
func (TransfersClient) Initiate ¶
func (c TransfersClient) Initiate(ctx context.Context, id InvoiceSectionId, input InitiateTransferRequest) (result InitiateOperationResponse, err error)
Initiate ...
func (TransfersClient) List ¶
func (c TransfersClient) List(ctx context.Context, id InvoiceSectionId) (result ListOperationResponse, err error)
List ...
func (TransfersClient) ListComplete ¶
func (c TransfersClient) ListComplete(ctx context.Context, id InvoiceSectionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TransfersClient) ListCompleteMatchingPredicate ¶
func (c TransfersClient) ListCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, predicate TransferDetailsOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TransfersClient) PartnerTransfersCancel ¶
func (c TransfersClient) PartnerTransfersCancel(ctx context.Context, id CustomerTransferId) (result PartnerTransfersCancelOperationResponse, err error)
PartnerTransfersCancel ...
func (TransfersClient) PartnerTransfersGet ¶
func (c TransfersClient) PartnerTransfersGet(ctx context.Context, id CustomerTransferId) (result PartnerTransfersGetOperationResponse, err error)
PartnerTransfersGet ...
func (TransfersClient) PartnerTransfersInitiate ¶
func (c TransfersClient) PartnerTransfersInitiate(ctx context.Context, id BillingProfileCustomerId, input InitiateTransferRequest) (result PartnerTransfersInitiateOperationResponse, err error)
PartnerTransfersInitiate ...
func (TransfersClient) PartnerTransfersList ¶
func (c TransfersClient) PartnerTransfersList(ctx context.Context, id BillingProfileCustomerId) (result PartnerTransfersListOperationResponse, err error)
PartnerTransfersList ...
func (TransfersClient) PartnerTransfersListComplete ¶
func (c TransfersClient) PartnerTransfersListComplete(ctx context.Context, id BillingProfileCustomerId) (PartnerTransfersListCompleteResult, error)
PartnerTransfersListComplete retrieves all the results into a single object
func (TransfersClient) PartnerTransfersListCompleteMatchingPredicate ¶
func (c TransfersClient) PartnerTransfersListCompleteMatchingPredicate(ctx context.Context, id BillingProfileCustomerId, predicate TransferDetailsOperationPredicate) (result PartnerTransfersListCompleteResult, err error)
PartnerTransfersListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- id_billingprofilecustomer.go
- id_customertransfer.go
- id_invoicesection.go
- id_invoicesectiontransfer.go
- method_cancel.go
- method_get.go
- method_initiate.go
- method_list.go
- method_partnertransferscancel.go
- method_partnertransfersget.go
- method_partnertransfersinitiate.go
- method_partnertransferslist.go
- model_detailedtransferstatus.go
- model_error.go
- model_initiatetransferproperties.go
- model_initiatetransferrequest.go
- model_transferdetails.go
- model_transferproperties.go
- predicates.go
- version.go