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 PossibleValuesForCapacityReservationGroupInstanceViewTypes() []string + func PossibleValuesForExpandTypesForGetCapacityReservationGroups() []string + func PossibleValuesForStatusLevelTypes() []string + func ValidateCapacityReservationGroupID(input interface{}, key string) (warnings []string, errors []error) + type CapacityReservationGroup struct + Id *string + Location string + Name *string + Properties *CapacityReservationGroupProperties + Tags *map[string]string + Type *string + Zones *zones.Schema + 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 CapacityReservationGroupInstanceView struct + CapacityReservations *[]CapacityReservationInstanceViewWithName + type CapacityReservationGroupInstanceViewTypes string + const CapacityReservationGroupInstanceViewTypesInstanceView + func (s *CapacityReservationGroupInstanceViewTypes) UnmarshalJSON(bytes []byte) error + type CapacityReservationGroupOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p CapacityReservationGroupOperationPredicate) Matches(input CapacityReservationGroup) bool + type CapacityReservationGroupProperties struct + CapacityReservations *[]SubResourceReadOnly + InstanceView *CapacityReservationGroupInstanceView + VirtualMachinesAssociated *[]SubResourceReadOnly + type CapacityReservationGroupUpdate struct + Properties *CapacityReservationGroupProperties + Tags *map[string]string + type CapacityReservationGroupsClient struct + Client *resourcemanager.Client + func NewCapacityReservationGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*CapacityReservationGroupsClient, error) + func (c CapacityReservationGroupsClient) CreateOrUpdate(ctx context.Context, id CapacityReservationGroupId, ...) (result CreateOrUpdateOperationResponse, err error) + func (c CapacityReservationGroupsClient) Delete(ctx context.Context, id CapacityReservationGroupId) (result DeleteOperationResponse, err error) + func (c CapacityReservationGroupsClient) Get(ctx context.Context, id CapacityReservationGroupId, ...) (result GetOperationResponse, err error) + func (c CapacityReservationGroupsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error) + func (c CapacityReservationGroupsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error) + func (c CapacityReservationGroupsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error) + func (c CapacityReservationGroupsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error) + func (c CapacityReservationGroupsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error) + func (c CapacityReservationGroupsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error) + func (c CapacityReservationGroupsClient) Update(ctx context.Context, id CapacityReservationGroupId, ...) (result UpdateOperationResponse, err error) + type CapacityReservationInstanceViewWithName struct + Name *string + Statuses *[]InstanceViewStatus + UtilizationInfo *CapacityReservationUtilization + type CapacityReservationUtilization struct + CurrentCapacity *int64 + VirtualMachinesAllocated *[]SubResourceReadOnly + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *CapacityReservationGroup + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ExpandTypesForGetCapacityReservationGroups string + const ExpandTypesForGetCapacityReservationGroupsVirtualMachineScaleSetVMsRef + const ExpandTypesForGetCapacityReservationGroupsVirtualMachinesRef + func (s *ExpandTypesForGetCapacityReservationGroups) UnmarshalJSON(bytes []byte) error + type GetOperationOptions struct + Expand *CapacityReservationGroupInstanceViewTypes + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *CapacityReservationGroup + OData *odata.OData + 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 ListByResourceGroupCompleteResult struct + Items []CapacityReservationGroup + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationOptions struct + Expand *ExpandTypesForGetCapacityReservationGroups + func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions + func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers + func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query + func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]CapacityReservationGroup + OData *odata.OData + type ListBySubscriptionCompleteResult struct + Items []CapacityReservationGroup + LatestHttpResponse *http.Response + type ListBySubscriptionCustomPager struct + NextLink *odata.Link + func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link + type ListBySubscriptionOperationOptions struct + Expand *ExpandTypesForGetCapacityReservationGroups + func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions + func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers + func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query + func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams + type ListBySubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]CapacityReservationGroup + OData *odata.OData + type StatusLevelTypes string + const StatusLevelTypesError + const StatusLevelTypesInfo + const StatusLevelTypesWarning + func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error + type SubResourceReadOnly struct + Id *string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *CapacityReservationGroup + OData *odata.OData