Documentation ¶
Index ¶
- func PossibleValuesForPortalRevisionStatus() []string
- func ValidatePortalRevisionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type PortalRevisionClient
- func (c PortalRevisionClient) CreateOrUpdate(ctx context.Context, id PortalRevisionId, input PortalRevisionContract) (result CreateOrUpdateOperationResponse, err error)
- func (c PortalRevisionClient) CreateOrUpdateThenPoll(ctx context.Context, id PortalRevisionId, input PortalRevisionContract) error
- func (c PortalRevisionClient) Get(ctx context.Context, id PortalRevisionId) (result GetOperationResponse, err error)
- func (c PortalRevisionClient) GetEntityTag(ctx context.Context, id PortalRevisionId) (result GetEntityTagOperationResponse, err error)
- func (c PortalRevisionClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c PortalRevisionClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c PortalRevisionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- func (c PortalRevisionClient) Update(ctx context.Context, id PortalRevisionId, input PortalRevisionContract, ...) (result UpdateOperationResponse, err error)
- func (c PortalRevisionClient) UpdateThenPoll(ctx context.Context, id PortalRevisionId, input PortalRevisionContract, ...) error
- type PortalRevisionContract
- type PortalRevisionContractOperationPredicate
- type PortalRevisionContractProperties
- func (o *PortalRevisionContractProperties) GetCreatedDateTimeAsTime() (*time.Time, error)
- func (o *PortalRevisionContractProperties) GetUpdatedDateTimeAsTime() (*time.Time, error)
- func (o *PortalRevisionContractProperties) SetCreatedDateTimeAsTime(input time.Time)
- func (o *PortalRevisionContractProperties) SetUpdatedDateTimeAsTime(input time.Time)
- type PortalRevisionId
- type PortalRevisionStatus
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPortalRevisionStatus ¶
func PossibleValuesForPortalRevisionStatus() []string
func ValidatePortalRevisionID ¶
ValidatePortalRevisionID checks that 'input' can be parsed as a Portal Revision ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *PortalRevisionContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []PortalRevisionContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]PortalRevisionContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type PortalRevisionClient ¶
type PortalRevisionClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewPortalRevisionClientWithBaseURI ¶
func NewPortalRevisionClientWithBaseURI(endpoint string) PortalRevisionClient
func (PortalRevisionClient) CreateOrUpdate ¶
func (c PortalRevisionClient) CreateOrUpdate(ctx context.Context, id PortalRevisionId, input PortalRevisionContract) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PortalRevisionClient) CreateOrUpdateThenPoll ¶
func (c PortalRevisionClient) CreateOrUpdateThenPoll(ctx context.Context, id PortalRevisionId, input PortalRevisionContract) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PortalRevisionClient) Get ¶
func (c PortalRevisionClient) Get(ctx context.Context, id PortalRevisionId) (result GetOperationResponse, err error)
Get ...
func (PortalRevisionClient) GetEntityTag ¶
func (c PortalRevisionClient) GetEntityTag(ctx context.Context, id PortalRevisionId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (PortalRevisionClient) ListByService ¶
func (c PortalRevisionClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (PortalRevisionClient) ListByServiceComplete ¶
func (c PortalRevisionClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (PortalRevisionClient) ListByServiceCompleteMatchingPredicate ¶
func (c PortalRevisionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate PortalRevisionContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (PortalRevisionClient) Update ¶
func (c PortalRevisionClient) Update(ctx context.Context, id PortalRevisionId, input PortalRevisionContract, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (PortalRevisionClient) UpdateThenPoll ¶
func (c PortalRevisionClient) UpdateThenPoll(ctx context.Context, id PortalRevisionId, input PortalRevisionContract, options UpdateOperationOptions) error
UpdateThenPoll performs Update then polls until it's completed
type PortalRevisionContract ¶
type PortalRevisionContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PortalRevisionContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PortalRevisionContractOperationPredicate ¶
func (PortalRevisionContractOperationPredicate) Matches ¶
func (p PortalRevisionContractOperationPredicate) Matches(input PortalRevisionContract) bool
type PortalRevisionContractProperties ¶
type PortalRevisionContractProperties struct { CreatedDateTime *string `json:"createdDateTime,omitempty"` Description *string `json:"description,omitempty"` IsCurrent *bool `json:"isCurrent,omitempty"` Status *PortalRevisionStatus `json:"status,omitempty"` StatusDetails *string `json:"statusDetails,omitempty"` UpdatedDateTime *string `json:"updatedDateTime,omitempty"` }
func (*PortalRevisionContractProperties) GetCreatedDateTimeAsTime ¶
func (o *PortalRevisionContractProperties) GetCreatedDateTimeAsTime() (*time.Time, error)
func (*PortalRevisionContractProperties) GetUpdatedDateTimeAsTime ¶
func (o *PortalRevisionContractProperties) GetUpdatedDateTimeAsTime() (*time.Time, error)
func (*PortalRevisionContractProperties) SetCreatedDateTimeAsTime ¶
func (o *PortalRevisionContractProperties) SetCreatedDateTimeAsTime(input time.Time)
func (*PortalRevisionContractProperties) SetUpdatedDateTimeAsTime ¶
func (o *PortalRevisionContractProperties) SetUpdatedDateTimeAsTime(input time.Time)
type PortalRevisionId ¶
type PortalRevisionId struct { SubscriptionId string ResourceGroupName string ServiceName string PortalRevisionId string }
PortalRevisionId is a struct representing the Resource ID for a Portal Revision
func NewPortalRevisionID ¶
func NewPortalRevisionID(subscriptionId string, resourceGroupName string, serviceName string, portalRevisionId string) PortalRevisionId
NewPortalRevisionID returns a new PortalRevisionId struct
func ParsePortalRevisionID ¶
func ParsePortalRevisionID(input string) (*PortalRevisionId, error)
ParsePortalRevisionID parses 'input' into a PortalRevisionId
func ParsePortalRevisionIDInsensitively ¶
func ParsePortalRevisionIDInsensitively(input string) (*PortalRevisionId, error)
ParsePortalRevisionIDInsensitively parses 'input' case-insensitively into a PortalRevisionId note: this method should only be used for API response data and not user input
func (PortalRevisionId) ID ¶
func (id PortalRevisionId) ID() string
ID returns the formatted Portal Revision ID
func (PortalRevisionId) Segments ¶
func (id PortalRevisionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Portal Revision ID
func (PortalRevisionId) String ¶
func (id PortalRevisionId) String() string
String returns a human-readable description of this Portal Revision ID
type PortalRevisionStatus ¶
type PortalRevisionStatus string
const ( PortalRevisionStatusCompleted PortalRevisionStatus = "completed" PortalRevisionStatusFailed PortalRevisionStatus = "failed" PortalRevisionStatusPending PortalRevisionStatus = "pending" PortalRevisionStatusPublishing PortalRevisionStatus = "publishing" )
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_portalrevision.go
- id_service.go
- method_createorupdate_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_update_autorest.go
- model_portalrevisioncontract.go
- model_portalrevisioncontractproperties.go
- predicates.go
- version.go