Documentation ¶
Index ¶
- func ValidateReplicationProtectedItemID(input interface{}, key string) (warnings []string, errors []error)
- type ComputeSizeErrorDetails
- type ListByReplicationProtectedItemsCompleteResult
- type ListByReplicationProtectedItemsCustomPager
- type ListByReplicationProtectedItemsOperationResponse
- type ReplicationProtectedItemId
- func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, vaultName string, ...) ReplicationProtectedItemId
- func ParseReplicationProtectedItemID(input string) (*ReplicationProtectedItemId, error)
- func ParseReplicationProtectedItemIDInsensitively(input string) (*ReplicationProtectedItemId, error)
- type TargetComputeSize
- type TargetComputeSizeOperationPredicate
- type TargetComputeSizeProperties
- type TargetComputeSizesClient
- func (c TargetComputeSizesClient) ListByReplicationProtectedItems(ctx context.Context, id ReplicationProtectedItemId) (result ListByReplicationProtectedItemsOperationResponse, err error)
- func (c TargetComputeSizesClient) ListByReplicationProtectedItemsComplete(ctx context.Context, id ReplicationProtectedItemId) (ListByReplicationProtectedItemsCompleteResult, error)
- func (c TargetComputeSizesClient) ListByReplicationProtectedItemsCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectedItemId, ...) (result ListByReplicationProtectedItemsCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateReplicationProtectedItemID ¶
func ValidateReplicationProtectedItemID(input interface{}, key string) (warnings []string, errors []error)
ValidateReplicationProtectedItemID checks that 'input' can be parsed as a Replication Protected Item ID
Types ¶
type ComputeSizeErrorDetails ¶
type ListByReplicationProtectedItemsCompleteResult ¶
type ListByReplicationProtectedItemsCompleteResult struct { LatestHttpResponse *http.Response Items []TargetComputeSize }
type ListByReplicationProtectedItemsCustomPager ¶
func (*ListByReplicationProtectedItemsCustomPager) NextPageLink ¶
func (p *ListByReplicationProtectedItemsCustomPager) NextPageLink() *odata.Link
type ListByReplicationProtectedItemsOperationResponse ¶
type ListByReplicationProtectedItemsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TargetComputeSize }
type ReplicationProtectedItemId ¶
type ReplicationProtectedItemId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationFabricName string ReplicationProtectionContainerName string ReplicationProtectedItemName string }
ReplicationProtectedItemId is a struct representing the Resource ID for a Replication Protected Item
func NewReplicationProtectedItemID ¶
func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string, replicationProtectedItemName string) ReplicationProtectedItemId
NewReplicationProtectedItemID returns a new ReplicationProtectedItemId struct
func ParseReplicationProtectedItemID ¶
func ParseReplicationProtectedItemID(input string) (*ReplicationProtectedItemId, error)
ParseReplicationProtectedItemID parses 'input' into a ReplicationProtectedItemId
func ParseReplicationProtectedItemIDInsensitively ¶
func ParseReplicationProtectedItemIDInsensitively(input string) (*ReplicationProtectedItemId, error)
ParseReplicationProtectedItemIDInsensitively parses 'input' case-insensitively into a ReplicationProtectedItemId note: this method should only be used for API response data and not user input
func (*ReplicationProtectedItemId) FromParseResult ¶
func (id *ReplicationProtectedItemId) FromParseResult(input resourceids.ParseResult) error
func (ReplicationProtectedItemId) ID ¶
func (id ReplicationProtectedItemId) ID() string
ID returns the formatted Replication Protected Item ID
func (ReplicationProtectedItemId) Segments ¶
func (id ReplicationProtectedItemId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Protected Item ID
func (ReplicationProtectedItemId) String ¶
func (id ReplicationProtectedItemId) String() string
String returns a human-readable description of this Replication Protected Item ID
type TargetComputeSize ¶
type TargetComputeSize struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TargetComputeSizeProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TargetComputeSizeOperationPredicate ¶
func (TargetComputeSizeOperationPredicate) Matches ¶
func (p TargetComputeSizeOperationPredicate) Matches(input TargetComputeSize) bool
type TargetComputeSizeProperties ¶
type TargetComputeSizeProperties struct { CpuCoresCount *int64 `json:"cpuCoresCount,omitempty"` Errors *[]ComputeSizeErrorDetails `json:"errors,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HighIopsSupported *string `json:"highIopsSupported,omitempty"` HyperVGenerations *[]string `json:"hyperVGenerations,omitempty"` MaxDataDiskCount *int64 `json:"maxDataDiskCount,omitempty"` MaxNicsCount *int64 `json:"maxNicsCount,omitempty"` MemoryInGB *float64 `json:"memoryInGB,omitempty"` Name *string `json:"name,omitempty"` VCPUsAvailable *int64 `json:"vCPUsAvailable,omitempty"` }
type TargetComputeSizesClient ¶
type TargetComputeSizesClient struct {
Client *resourcemanager.Client
}
func NewTargetComputeSizesClientWithBaseURI ¶
func NewTargetComputeSizesClientWithBaseURI(sdkApi sdkEnv.Api) (*TargetComputeSizesClient, error)
func (TargetComputeSizesClient) ListByReplicationProtectedItems ¶
func (c TargetComputeSizesClient) ListByReplicationProtectedItems(ctx context.Context, id ReplicationProtectedItemId) (result ListByReplicationProtectedItemsOperationResponse, err error)
ListByReplicationProtectedItems ...
func (TargetComputeSizesClient) ListByReplicationProtectedItemsComplete ¶
func (c TargetComputeSizesClient) ListByReplicationProtectedItemsComplete(ctx context.Context, id ReplicationProtectedItemId) (ListByReplicationProtectedItemsCompleteResult, error)
ListByReplicationProtectedItemsComplete retrieves all the results into a single object
func (TargetComputeSizesClient) ListByReplicationProtectedItemsCompleteMatchingPredicate ¶
func (c TargetComputeSizesClient) ListByReplicationProtectedItemsCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectedItemId, predicate TargetComputeSizeOperationPredicate) (result ListByReplicationProtectedItemsCompleteResult, err error)
ListByReplicationProtectedItemsCompleteMatchingPredicate retrieves all the results and then applies the predicate