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) (result 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, ...) (result 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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PortalRevisionContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []PortalRevisionContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PortalRevisionContract }
type PortalRevisionClient ¶
type PortalRevisionClient struct {
Client *resourcemanager.Client
}
func NewPortalRevisionClientWithBaseURI ¶
func NewPortalRevisionClientWithBaseURI(sdkApi sdkEnv.Api) (*PortalRevisionClient, error)
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) (result ListByServiceOperationResponse, err error)
ListByService ...
func (PortalRevisionClient) ListByServiceComplete ¶
func (c PortalRevisionClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (PortalRevisionClient) ListByServiceCompleteMatchingPredicate ¶
func (c PortalRevisionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate PortalRevisionContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*PortalRevisionStatus) UnmarshalJSON ¶
func (s *PortalRevisionStatus) UnmarshalJSON(bytes []byte) error
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
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams