Documentation ¶
Index ¶
- func ValidateDbSystemShapeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type DbSystemShape
- type DbSystemShapeId
- type DbSystemShapeOperationPredicate
- type DbSystemShapeProperties
- type DbSystemShapesClient
- func (c DbSystemShapesClient) Get(ctx context.Context, id DbSystemShapeId) (result GetOperationResponse, err error)
- func (c DbSystemShapesClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
- func (c DbSystemShapesClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
- func (c DbSystemShapesClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate DbSystemShapeOperationPredicate) (result ListByLocationCompleteResult, err error)
- type GetOperationResponse
- type ListByLocationCompleteResult
- type ListByLocationCustomPager
- type ListByLocationOperationResponse
- type LocationId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDbSystemShapeID ¶
ValidateDbSystemShapeID checks that 'input' can be parsed as a Db System Shape ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type DbSystemShape ¶
type DbSystemShape struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DbSystemShapeProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DbSystemShapeId ¶
DbSystemShapeId is a struct representing the Resource ID for a Db System Shape
func NewDbSystemShapeID ¶
func NewDbSystemShapeID(subscriptionId string, locationName string, dbSystemShapeName string) DbSystemShapeId
NewDbSystemShapeID returns a new DbSystemShapeId struct
func ParseDbSystemShapeID ¶
func ParseDbSystemShapeID(input string) (*DbSystemShapeId, error)
ParseDbSystemShapeID parses 'input' into a DbSystemShapeId
func ParseDbSystemShapeIDInsensitively ¶
func ParseDbSystemShapeIDInsensitively(input string) (*DbSystemShapeId, error)
ParseDbSystemShapeIDInsensitively parses 'input' case-insensitively into a DbSystemShapeId note: this method should only be used for API response data and not user input
func (*DbSystemShapeId) FromParseResult ¶
func (id *DbSystemShapeId) FromParseResult(input resourceids.ParseResult) error
func (DbSystemShapeId) ID ¶
func (id DbSystemShapeId) ID() string
ID returns the formatted Db System Shape ID
func (DbSystemShapeId) Segments ¶
func (id DbSystemShapeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Db System Shape ID
func (DbSystemShapeId) String ¶
func (id DbSystemShapeId) String() string
String returns a human-readable description of this Db System Shape ID
type DbSystemShapeOperationPredicate ¶
func (DbSystemShapeOperationPredicate) Matches ¶
func (p DbSystemShapeOperationPredicate) Matches(input DbSystemShape) bool
type DbSystemShapeProperties ¶
type DbSystemShapeProperties struct { AvailableCoreCount int64 `json:"availableCoreCount"` AvailableCoreCountPerNode *int64 `json:"availableCoreCountPerNode,omitempty"` AvailableDataStorageInTbs *int64 `json:"availableDataStorageInTbs,omitempty"` AvailableDataStoragePerServerInTbs *float64 `json:"availableDataStoragePerServerInTbs,omitempty"` AvailableDbNodePerNodeInGbs *int64 `json:"availableDbNodePerNodeInGbs,omitempty"` AvailableDbNodeStorageInGbs *int64 `json:"availableDbNodeStorageInGbs,omitempty"` AvailableMemoryInGbs *int64 `json:"availableMemoryInGbs,omitempty"` AvailableMemoryPerNodeInGbs *int64 `json:"availableMemoryPerNodeInGbs,omitempty"` CoreCountIncrement *int64 `json:"coreCountIncrement,omitempty"` MaxStorageCount *int64 `json:"maxStorageCount,omitempty"` MaximumNodeCount *int64 `json:"maximumNodeCount,omitempty"` MinCoreCountPerNode *int64 `json:"minCoreCountPerNode,omitempty"` MinDataStorageInTbs *int64 `json:"minDataStorageInTbs,omitempty"` MinDbNodeStoragePerNodeInGbs *int64 `json:"minDbNodeStoragePerNodeInGbs,omitempty"` MinMemoryPerNodeInGbs *int64 `json:"minMemoryPerNodeInGbs,omitempty"` MinStorageCount *int64 `json:"minStorageCount,omitempty"` MinimumCoreCount *int64 `json:"minimumCoreCount,omitempty"` MinimumNodeCount *int64 `json:"minimumNodeCount,omitempty"` RuntimeMinimumCoreCount *int64 `json:"runtimeMinimumCoreCount,omitempty"` ShapeFamily *string `json:"shapeFamily,omitempty"` }
type DbSystemShapesClient ¶
type DbSystemShapesClient struct {
Client *resourcemanager.Client
}
func NewDbSystemShapesClientWithBaseURI ¶
func NewDbSystemShapesClientWithBaseURI(sdkApi sdkEnv.Api) (*DbSystemShapesClient, error)
func (DbSystemShapesClient) Get ¶
func (c DbSystemShapesClient) Get(ctx context.Context, id DbSystemShapeId) (result GetOperationResponse, err error)
Get ...
func (DbSystemShapesClient) ListByLocation ¶
func (c DbSystemShapesClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (DbSystemShapesClient) ListByLocationComplete ¶
func (c DbSystemShapesClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
ListByLocationComplete retrieves all the results into a single object
func (DbSystemShapesClient) ListByLocationCompleteMatchingPredicate ¶
func (c DbSystemShapesClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate DbSystemShapeOperationPredicate) (result ListByLocationCompleteResult, err error)
ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DbSystemShape }
type ListByLocationCompleteResult ¶
type ListByLocationCompleteResult struct { LatestHttpResponse *http.Response Items []DbSystemShape }
type ListByLocationCustomPager ¶
func (*ListByLocationCustomPager) NextPageLink ¶
func (p *ListByLocationCustomPager) NextPageLink() *odata.Link
type ListByLocationOperationResponse ¶
type ListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DbSystemShape }
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 ¶
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