Documentation ¶
Index ¶
- func ValidateDeletedServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type DeletedServer
- type DeletedServerId
- type DeletedServerOperationPredicate
- type DeletedServerProperties
- type DeletedServersClient
- func (c DeletedServersClient) Get(ctx context.Context, id DeletedServerId) (result GetOperationResponse, err error)
- func (c DeletedServersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c DeletedServersClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
- func (c DeletedServersClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
- func (c DeletedServersClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate DeletedServerOperationPredicate) (result ListByLocationCompleteResult, err error)
- func (c DeletedServersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c DeletedServersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c DeletedServersClient) Recover(ctx context.Context, id DeletedServerId) (result RecoverOperationResponse, err error)
- func (c DeletedServersClient) RecoverThenPoll(ctx context.Context, id DeletedServerId) error
- type GetOperationResponse
- type ListByLocationCompleteResult
- type ListByLocationOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type LocationId
- type RecoverOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDeletedServerID ¶
ValidateDeletedServerID checks that 'input' can be parsed as a Deleted Server ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type DeletedServer ¶
type DeletedServer struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeletedServerProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DeletedServerId ¶
DeletedServerId is a struct representing the Resource ID for a Deleted Server
func NewDeletedServerID ¶
func NewDeletedServerID(subscriptionId string, locationName string, deletedServerName string) DeletedServerId
NewDeletedServerID returns a new DeletedServerId struct
func ParseDeletedServerID ¶
func ParseDeletedServerID(input string) (*DeletedServerId, error)
ParseDeletedServerID parses 'input' into a DeletedServerId
func ParseDeletedServerIDInsensitively ¶
func ParseDeletedServerIDInsensitively(input string) (*DeletedServerId, error)
ParseDeletedServerIDInsensitively parses 'input' case-insensitively into a DeletedServerId note: this method should only be used for API response data and not user input
func (*DeletedServerId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DeletedServerId) FromParseResult(input resourceids.ParseResult) error
func (DeletedServerId) ID ¶
func (id DeletedServerId) ID() string
ID returns the formatted Deleted Server ID
func (DeletedServerId) Segments ¶
func (id DeletedServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deleted Server ID
func (DeletedServerId) String ¶
func (id DeletedServerId) String() string
String returns a human-readable description of this Deleted Server ID
type DeletedServerOperationPredicate ¶
func (DeletedServerOperationPredicate) Matches ¶
func (p DeletedServerOperationPredicate) Matches(input DeletedServer) bool
type DeletedServerProperties ¶
type DeletedServerProperties struct { DeletionTime *string `json:"deletionTime,omitempty"` FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"` OriginalId *string `json:"originalId,omitempty"` Version *string `json:"version,omitempty"` }
func (*DeletedServerProperties) GetDeletionTimeAsTime ¶
func (o *DeletedServerProperties) GetDeletionTimeAsTime() (*time.Time, error)
func (*DeletedServerProperties) SetDeletionTimeAsTime ¶
func (o *DeletedServerProperties) SetDeletionTimeAsTime(input time.Time)
type DeletedServersClient ¶
type DeletedServersClient struct {
Client *resourcemanager.Client
}
func NewDeletedServersClientWithBaseURI ¶
func NewDeletedServersClientWithBaseURI(sdkApi sdkEnv.Api) (*DeletedServersClient, error)
func (DeletedServersClient) Get ¶
func (c DeletedServersClient) Get(ctx context.Context, id DeletedServerId) (result GetOperationResponse, err error)
Get ...
func (DeletedServersClient) List ¶
func (c DeletedServersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (DeletedServersClient) ListByLocation ¶
func (c DeletedServersClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (DeletedServersClient) ListByLocationComplete ¶
func (c DeletedServersClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
ListByLocationComplete retrieves all the results into a single object
func (DeletedServersClient) ListByLocationCompleteMatchingPredicate ¶
func (c DeletedServersClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate DeletedServerOperationPredicate) (result ListByLocationCompleteResult, err error)
ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DeletedServersClient) ListComplete ¶
func (c DeletedServersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DeletedServersClient) ListCompleteMatchingPredicate ¶
func (c DeletedServersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DeletedServerOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DeletedServersClient) Recover ¶
func (c DeletedServersClient) Recover(ctx context.Context, id DeletedServerId) (result RecoverOperationResponse, err error)
Recover ...
func (DeletedServersClient) RecoverThenPoll ¶
func (c DeletedServersClient) RecoverThenPoll(ctx context.Context, id DeletedServerId) error
RecoverThenPoll performs Recover then polls until it's completed
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeletedServer }
type ListByLocationCompleteResult ¶
type ListByLocationCompleteResult struct {
Items []DeletedServer
}
type ListByLocationOperationResponse ¶
type ListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DeletedServer }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DeletedServer
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DeletedServer }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID