Documentation ¶
Index ¶
- func PossibleValuesForResourceStatus() []string
- func ValidatePoolID(input interface{}, key string) (warnings []string, errors []error)
- type ListByPoolCompleteResult
- type ListByPoolCustomPager
- type ListByPoolOperationResponse
- type PoolId
- type ResourceDetailsClient
- func (c ResourceDetailsClient) ListByPool(ctx context.Context, id PoolId) (result ListByPoolOperationResponse, err error)
- func (c ResourceDetailsClient) ListByPoolComplete(ctx context.Context, id PoolId) (ListByPoolCompleteResult, error)
- func (c ResourceDetailsClient) ListByPoolCompleteMatchingPredicate(ctx context.Context, id PoolId, ...) (result ListByPoolCompleteResult, err error)
- type ResourceDetailsObject
- type ResourceDetailsObjectOperationPredicate
- type ResourceDetailsObjectProperties
- type ResourceStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResourceStatus ¶
func PossibleValuesForResourceStatus() []string
func ValidatePoolID ¶
ValidatePoolID checks that 'input' can be parsed as a Pool ID
Types ¶
type ListByPoolCompleteResult ¶
type ListByPoolCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceDetailsObject }
type ListByPoolCustomPager ¶
func (*ListByPoolCustomPager) NextPageLink ¶
func (p *ListByPoolCustomPager) NextPageLink() *odata.Link
type ListByPoolOperationResponse ¶
type ListByPoolOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceDetailsObject }
type PoolId ¶
PoolId is a struct representing the Resource ID for a Pool
func ParsePoolID ¶
ParsePoolID parses 'input' into a PoolId
func ParsePoolIDInsensitively ¶
ParsePoolIDInsensitively parses 'input' case-insensitively into a PoolId note: this method should only be used for API response data and not user input
func (*PoolId) FromParseResult ¶
func (id *PoolId) FromParseResult(input resourceids.ParseResult) error
func (PoolId) Segments ¶
func (id PoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Pool ID
type ResourceDetailsClient ¶
type ResourceDetailsClient struct {
Client *resourcemanager.Client
}
func NewResourceDetailsClientWithBaseURI ¶
func NewResourceDetailsClientWithBaseURI(sdkApi sdkEnv.Api) (*ResourceDetailsClient, error)
func (ResourceDetailsClient) ListByPool ¶
func (c ResourceDetailsClient) ListByPool(ctx context.Context, id PoolId) (result ListByPoolOperationResponse, err error)
ListByPool ...
func (ResourceDetailsClient) ListByPoolComplete ¶
func (c ResourceDetailsClient) ListByPoolComplete(ctx context.Context, id PoolId) (ListByPoolCompleteResult, error)
ListByPoolComplete retrieves all the results into a single object
func (ResourceDetailsClient) ListByPoolCompleteMatchingPredicate ¶
func (c ResourceDetailsClient) ListByPoolCompleteMatchingPredicate(ctx context.Context, id PoolId, predicate ResourceDetailsObjectOperationPredicate) (result ListByPoolCompleteResult, err error)
ListByPoolCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ResourceDetailsObject ¶
type ResourceDetailsObject struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ResourceDetailsObjectProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ResourceDetailsObjectOperationPredicate ¶
func (ResourceDetailsObjectOperationPredicate) Matches ¶
func (p ResourceDetailsObjectOperationPredicate) Matches(input ResourceDetailsObject) bool
type ResourceDetailsObjectProperties ¶
type ResourceDetailsObjectProperties struct { Image string `json:"image"` ImageVersion string `json:"imageVersion"` Status ResourceStatus `json:"status"` }
type ResourceStatus ¶
type ResourceStatus string
const ( ResourceStatusAllocated ResourceStatus = "Allocated" ResourceStatusLeased ResourceStatus = "Leased" ResourceStatusNotReady ResourceStatus = "NotReady" ResourceStatusPendingReimage ResourceStatus = "PendingReimage" ResourceStatusPendingReturn ResourceStatus = "PendingReturn" ResourceStatusProvisioning ResourceStatus = "Provisioning" ResourceStatusReady ResourceStatus = "Ready" ResourceStatusReimaging ResourceStatus = "Reimaging" ResourceStatusReturned ResourceStatus = "Returned" ResourceStatusStarting ResourceStatus = "Starting" ResourceStatusUpdating ResourceStatus = "Updating" )
func (*ResourceStatus) UnmarshalJSON ¶
func (s *ResourceStatus) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.