Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForStatusLevelTypes() []string + func ValidateCapacityReservationGroupID(input interface{}, key string) (warnings []string, errors []error) + type CapacityReservation struct + Id *string + Location string + Name *string + Properties *CapacityReservationProperties + Sku Sku + Tags *map[string]string + Type *string + Zones *zones.Schema + type CapacityReservationClient struct + Client *resourcemanager.Client + func NewCapacityReservationClientWithBaseURI(sdkApi sdkEnv.Api) (*CapacityReservationClient, error) + func (c CapacityReservationClient) ListByCapacityReservationGroup(ctx context.Context, id CapacityReservationGroupId) (result ListByCapacityReservationGroupOperationResponse, err error) + func (c CapacityReservationClient) ListByCapacityReservationGroupComplete(ctx context.Context, id CapacityReservationGroupId) (ListByCapacityReservationGroupCompleteResult, error) + func (c CapacityReservationClient) ListByCapacityReservationGroupCompleteMatchingPredicate(ctx context.Context, id CapacityReservationGroupId, ...) (result ListByCapacityReservationGroupCompleteResult, err error) + type CapacityReservationGroupId struct + CapacityReservationGroupName string + ResourceGroupName string + SubscriptionId string + func NewCapacityReservationGroupID(subscriptionId string, resourceGroupName string, ...) CapacityReservationGroupId + func ParseCapacityReservationGroupID(input string) (*CapacityReservationGroupId, error) + func ParseCapacityReservationGroupIDInsensitively(input string) (*CapacityReservationGroupId, error) + func (id *CapacityReservationGroupId) FromParseResult(input resourceids.ParseResult) error + func (id CapacityReservationGroupId) ID() string + func (id CapacityReservationGroupId) Segments() []resourceids.Segment + func (id CapacityReservationGroupId) String() string + type CapacityReservationInstanceView struct + Statuses *[]InstanceViewStatus + UtilizationInfo *CapacityReservationUtilization + type CapacityReservationOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p CapacityReservationOperationPredicate) Matches(input CapacityReservation) bool + type CapacityReservationProperties struct + InstanceView *CapacityReservationInstanceView + PlatformFaultDomainCount *int64 + ProvisioningState *string + ProvisioningTime *string + ReservationId *string + TimeCreated *string + VirtualMachinesAssociated *[]SubResourceReadOnly + func (o *CapacityReservationProperties) GetProvisioningTimeAsTime() (*time.Time, error) + func (o *CapacityReservationProperties) GetTimeCreatedAsTime() (*time.Time, error) + func (o *CapacityReservationProperties) SetProvisioningTimeAsTime(input time.Time) + func (o *CapacityReservationProperties) SetTimeCreatedAsTime(input time.Time) + type CapacityReservationUtilization struct + CurrentCapacity *int64 + VirtualMachinesAllocated *[]SubResourceReadOnly + type InstanceViewStatus struct + Code *string + DisplayStatus *string + Level *StatusLevelTypes + Message *string + Time *string + func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error) + func (o *InstanceViewStatus) SetTimeAsTime(input time.Time) + type ListByCapacityReservationGroupCompleteResult struct + Items []CapacityReservation + LatestHttpResponse *http.Response + type ListByCapacityReservationGroupCustomPager struct + NextLink *odata.Link + func (p *ListByCapacityReservationGroupCustomPager) NextPageLink() *odata.Link + type ListByCapacityReservationGroupOperationResponse struct + HttpResponse *http.Response + Model *[]CapacityReservation + OData *odata.OData + type Sku struct + Capacity *int64 + Name *string + Tier *string + type StatusLevelTypes string + const StatusLevelTypesError + const StatusLevelTypesInfo + const StatusLevelTypesWarning + func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error + type SubResourceReadOnly struct + Id *string