Documentation ¶
Index ¶
- func PossibleValuesForExtendedLocationType() []string
- func PossibleValuesForResourceSkuCapacityScaleType() []string
- func PossibleValuesForResourceSkuRestrictionsReasonCode() []string
- func PossibleValuesForResourceSkuRestrictionsType() []string
- func PossibleValuesForStatusLevelTypes() []string
- type AvailabilitySet
- type AvailabilitySetOperationPredicate
- type AvailabilitySetProperties
- type AvailabilitySetUpdate
- type AvailabilitySetsClient
- func (c AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, id commonids.AvailabilitySetId, input AvailabilitySet) (result CreateOrUpdateOperationResponse, err error)
- func (c AvailabilitySetsClient) Delete(ctx context.Context, id commonids.AvailabilitySetId) (result DeleteOperationResponse, err error)
- func (c AvailabilitySetsClient) Get(ctx context.Context, id commonids.AvailabilitySetId) (result GetOperationResponse, err error)
- func (c AvailabilitySetsClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, id commonids.AvailabilitySetId) (result ListAvailableSizesOperationResponse, err error)
- func (c AvailabilitySetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c AvailabilitySetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c AvailabilitySetsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c AvailabilitySetsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c AvailabilitySetsClient) ResourceSkusList(ctx context.Context, id commonids.SubscriptionId, ...) (result ResourceSkusListOperationResponse, err error)
- func (c AvailabilitySetsClient) ResourceSkusListComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ResourceSkusListCompleteResult, error)
- func (c AvailabilitySetsClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ResourceSkusListCompleteResult, err error)
- func (c AvailabilitySetsClient) Update(ctx context.Context, id commonids.AvailabilitySetId, ...) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtendedLocationType
- type GetOperationResponse
- type InstanceViewStatus
- type ListAvailableSizesOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ResourceSku
- type ResourceSkuCapabilities
- type ResourceSkuCapacity
- type ResourceSkuCapacityScaleType
- type ResourceSkuCosts
- type ResourceSkuLocationInfo
- type ResourceSkuOperationPredicate
- type ResourceSkuRestrictionInfo
- type ResourceSkuRestrictions
- type ResourceSkuRestrictionsReasonCode
- type ResourceSkuRestrictionsType
- type ResourceSkuZoneDetails
- type ResourceSkusListCompleteResult
- type ResourceSkusListCustomPager
- type ResourceSkusListOperationOptions
- type ResourceSkusListOperationResponse
- type Sku
- type StatusLevelTypes
- type SubResource
- type UpdateOperationResponse
- type VirtualMachineSize
- type VirtualMachineSizeListResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExtendedLocationType ¶
func PossibleValuesForExtendedLocationType() []string
func PossibleValuesForResourceSkuCapacityScaleType ¶
func PossibleValuesForResourceSkuCapacityScaleType() []string
func PossibleValuesForResourceSkuRestrictionsReasonCode ¶
func PossibleValuesForResourceSkuRestrictionsReasonCode() []string
func PossibleValuesForResourceSkuRestrictionsType ¶
func PossibleValuesForResourceSkuRestrictionsType() []string
func PossibleValuesForStatusLevelTypes ¶ added in v0.20241009.1142232
func PossibleValuesForStatusLevelTypes() []string
Types ¶
type AvailabilitySet ¶ added in v0.20241009.1142232
type AvailabilitySet struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AvailabilitySetProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AvailabilitySetOperationPredicate ¶ added in v0.20241009.1142232
type AvailabilitySetOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (AvailabilitySetOperationPredicate) Matches ¶ added in v0.20241009.1142232
func (p AvailabilitySetOperationPredicate) Matches(input AvailabilitySet) bool
type AvailabilitySetProperties ¶ added in v0.20241009.1142232
type AvailabilitySetProperties struct { PlatformFaultDomainCount *int64 `json:"platformFaultDomainCount,omitempty"` PlatformUpdateDomainCount *int64 `json:"platformUpdateDomainCount,omitempty"` ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` VirtualMachines *[]SubResource `json:"virtualMachines,omitempty"` }
type AvailabilitySetUpdate ¶ added in v0.20241009.1142232
type AvailabilitySetUpdate struct { Properties *AvailabilitySetProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AvailabilitySetsClient ¶
type AvailabilitySetsClient struct {
Client *resourcemanager.Client
}
func NewAvailabilitySetsClientWithBaseURI ¶
func NewAvailabilitySetsClientWithBaseURI(sdkApi sdkEnv.Api) (*AvailabilitySetsClient, error)
func (AvailabilitySetsClient) CreateOrUpdate ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, id commonids.AvailabilitySetId, input AvailabilitySet) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AvailabilitySetsClient) Delete ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) Delete(ctx context.Context, id commonids.AvailabilitySetId) (result DeleteOperationResponse, err error)
Delete ...
func (AvailabilitySetsClient) Get ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) Get(ctx context.Context, id commonids.AvailabilitySetId) (result GetOperationResponse, err error)
Get ...
func (AvailabilitySetsClient) List ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (AvailabilitySetsClient) ListAvailableSizes ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, id commonids.AvailabilitySetId) (result ListAvailableSizesOperationResponse, err error)
ListAvailableSizes ...
func (AvailabilitySetsClient) ListBySubscription ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AvailabilitySetsClient) ListBySubscriptionComplete ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AvailabilitySetsClient) ListBySubscriptionCompleteMatchingPredicate ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate AvailabilitySetOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AvailabilitySetsClient) ListComplete ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AvailabilitySetsClient) ListCompleteMatchingPredicate ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AvailabilitySetOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AvailabilitySetsClient) ResourceSkusList ¶
func (c AvailabilitySetsClient) ResourceSkusList(ctx context.Context, id commonids.SubscriptionId, options ResourceSkusListOperationOptions) (result ResourceSkusListOperationResponse, err error)
ResourceSkusList ...
func (AvailabilitySetsClient) ResourceSkusListComplete ¶
func (c AvailabilitySetsClient) ResourceSkusListComplete(ctx context.Context, id commonids.SubscriptionId, options ResourceSkusListOperationOptions) (ResourceSkusListCompleteResult, error)
ResourceSkusListComplete retrieves all the results into a single object
func (AvailabilitySetsClient) ResourceSkusListCompleteMatchingPredicate ¶
func (c AvailabilitySetsClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ResourceSkusListOperationOptions, predicate ResourceSkuOperationPredicate) (result ResourceSkusListCompleteResult, err error)
ResourceSkusListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AvailabilitySetsClient) Update ¶ added in v0.20241009.1142232
func (c AvailabilitySetsClient) Update(ctx context.Context, id commonids.AvailabilitySetId, input AvailabilitySetUpdate) (result UpdateOperationResponse, err error)
Update ...
type CreateOrUpdateOperationResponse ¶ added in v0.20241009.1142232
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AvailabilitySet }
type DeleteOperationResponse ¶ added in v0.20241009.1142232
type ExtendedLocationType ¶
type ExtendedLocationType string
const (
ExtendedLocationTypeEdgeZone ExtendedLocationType = "EdgeZone"
)
func (*ExtendedLocationType) UnmarshalJSON ¶
func (s *ExtendedLocationType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶ added in v0.20241009.1142232
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AvailabilitySet }
type InstanceViewStatus ¶ added in v0.20241009.1142232
type InstanceViewStatus struct { Code *string `json:"code,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Level *StatusLevelTypes `json:"level,omitempty"` Message *string `json:"message,omitempty"` Time *string `json:"time,omitempty"` }
func (*InstanceViewStatus) GetTimeAsTime ¶ added in v0.20241009.1142232
func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*InstanceViewStatus) SetTimeAsTime ¶ added in v0.20241009.1142232
func (o *InstanceViewStatus) SetTimeAsTime(input time.Time)
type ListAvailableSizesOperationResponse ¶ added in v0.20241009.1142232
type ListAvailableSizesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineSizeListResult }
type ListBySubscriptionCompleteResult ¶ added in v0.20241009.1142232
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []AvailabilitySet }
type ListBySubscriptionCustomPager ¶ added in v0.20241009.1142232
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20241009.1142232
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationOptions ¶ added in v0.20241009.1142232
type ListBySubscriptionOperationOptions struct {
Expand *string
}
func DefaultListBySubscriptionOperationOptions ¶ added in v0.20241009.1142232
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶ added in v0.20241009.1142232
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶ added in v0.20241009.1142232
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶ added in v0.20241009.1142232
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶ added in v0.20241009.1142232
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AvailabilitySet }
type ListCompleteResult ¶ added in v0.20241009.1142232
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []AvailabilitySet }
type ListCustomPager ¶ added in v0.20241009.1142232
func (*ListCustomPager) NextPageLink ¶ added in v0.20241009.1142232
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶ added in v0.20241009.1142232
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AvailabilitySet }
type ResourceSku ¶
type ResourceSku struct { ApiVersions *[]string `json:"apiVersions,omitempty"` Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"` Capacity *ResourceSkuCapacity `json:"capacity,omitempty"` Costs *[]ResourceSkuCosts `json:"costs,omitempty"` Family *string `json:"family,omitempty"` Kind *string `json:"kind,omitempty"` LocationInfo *[]ResourceSkuLocationInfo `json:"locationInfo,omitempty"` Locations *[]string `json:"locations,omitempty"` Name *string `json:"name,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"` Size *string `json:"size,omitempty"` Tier *string `json:"tier,omitempty"` }
type ResourceSkuCapabilities ¶
type ResourceSkuCapacity ¶
type ResourceSkuCapacity struct { Default *int64 `json:"default,omitempty"` Maximum *int64 `json:"maximum,omitempty"` Minimum *int64 `json:"minimum,omitempty"` ScaleType *ResourceSkuCapacityScaleType `json:"scaleType,omitempty"` }
type ResourceSkuCapacityScaleType ¶
type ResourceSkuCapacityScaleType string
const ( ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic" ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "Manual" ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None" )
func (*ResourceSkuCapacityScaleType) UnmarshalJSON ¶
func (s *ResourceSkuCapacityScaleType) UnmarshalJSON(bytes []byte) error
type ResourceSkuCosts ¶
type ResourceSkuLocationInfo ¶
type ResourceSkuLocationInfo struct { ExtendedLocations *[]string `json:"extendedLocations,omitempty"` Location *string `json:"location,omitempty"` Type *ExtendedLocationType `json:"type,omitempty"` ZoneDetails *[]ResourceSkuZoneDetails `json:"zoneDetails,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type ResourceSkuOperationPredicate ¶
type ResourceSkuOperationPredicate struct { Family *string Kind *string Name *string ResourceType *string Size *string Tier *string }
func (ResourceSkuOperationPredicate) Matches ¶
func (p ResourceSkuOperationPredicate) Matches(input ResourceSku) bool
type ResourceSkuRestrictions ¶
type ResourceSkuRestrictions struct { ReasonCode *ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"` RestrictionInfo *ResourceSkuRestrictionInfo `json:"restrictionInfo,omitempty"` Type *ResourceSkuRestrictionsType `json:"type,omitempty"` Values *[]string `json:"values,omitempty"` }
type ResourceSkuRestrictionsReasonCode ¶
type ResourceSkuRestrictionsReasonCode string
const ( ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription" ResourceSkuRestrictionsReasonCodeQuotaId ResourceSkuRestrictionsReasonCode = "QuotaId" )
func (*ResourceSkuRestrictionsReasonCode) UnmarshalJSON ¶
func (s *ResourceSkuRestrictionsReasonCode) UnmarshalJSON(bytes []byte) error
type ResourceSkuRestrictionsType ¶
type ResourceSkuRestrictionsType string
const ( ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "Location" ResourceSkuRestrictionsTypeZone ResourceSkuRestrictionsType = "Zone" )
func (*ResourceSkuRestrictionsType) UnmarshalJSON ¶
func (s *ResourceSkuRestrictionsType) UnmarshalJSON(bytes []byte) error
type ResourceSkuZoneDetails ¶
type ResourceSkuZoneDetails struct { Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"` Name *[]string `json:"name,omitempty"` }
type ResourceSkusListCompleteResult ¶
type ResourceSkusListCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceSku }
type ResourceSkusListCustomPager ¶ added in v0.20240628.1153531
func (*ResourceSkusListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ResourceSkusListCustomPager) NextPageLink() *odata.Link
type ResourceSkusListOperationOptions ¶
func DefaultResourceSkusListOperationOptions ¶
func DefaultResourceSkusListOperationOptions() ResourceSkusListOperationOptions
func (ResourceSkusListOperationOptions) ToHeaders ¶
func (o ResourceSkusListOperationOptions) ToHeaders() *client.Headers
func (ResourceSkusListOperationOptions) ToOData ¶
func (o ResourceSkusListOperationOptions) ToOData() *odata.Query
func (ResourceSkusListOperationOptions) ToQuery ¶
func (o ResourceSkusListOperationOptions) ToQuery() *client.QueryParams
type ResourceSkusListOperationResponse ¶
type ResourceSkusListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceSku }
type StatusLevelTypes ¶ added in v0.20241009.1142232
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
func (*StatusLevelTypes) UnmarshalJSON ¶ added in v0.20241009.1142232
func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error
type SubResource ¶ added in v0.20241009.1142232
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type UpdateOperationResponse ¶ added in v0.20241009.1142232
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AvailabilitySet }
type VirtualMachineSize ¶ added in v0.20241009.1142232
type VirtualMachineSize struct { MaxDataDiskCount *int64 `json:"maxDataDiskCount,omitempty"` MemoryInMB *int64 `json:"memoryInMB,omitempty"` Name *string `json:"name,omitempty"` NumberOfCores *int64 `json:"numberOfCores,omitempty"` OsDiskSizeInMB *int64 `json:"osDiskSizeInMB,omitempty"` ResourceDiskSizeInMB *int64 `json:"resourceDiskSizeInMB,omitempty"` }
type VirtualMachineSizeListResult ¶ added in v0.20241009.1142232
type VirtualMachineSizeListResult struct {
Value *[]VirtualMachineSize `json:"value,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listavailablesizes.go
- method_listbysubscription.go
- method_resourceskuslist.go
- method_update.go
- model_availabilityset.go
- model_availabilitysetproperties.go
- model_availabilitysetupdate.go
- model_instanceviewstatus.go
- model_resourcesku.go
- model_resourceskucapabilities.go
- model_resourceskucapacity.go
- model_resourceskucosts.go
- model_resourceskulocationinfo.go
- model_resourceskurestrictioninfo.go
- model_resourceskurestrictions.go
- model_resourceskuzonedetails.go
- model_sku.go
- model_subresource.go
- model_virtualmachinesize.go
- model_virtualmachinesizelistresult.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.