Documentation ¶
Index ¶
- func ValidateReplicationProtectedItemID(input interface{}, key string) (warnings []string, errors []error)
- type ComputeSizeErrorDetails
- type ListByReplicationProtectedItemsCompleteResult
- type ListByReplicationProtectedItemsOperationResponse
- type ReplicationProtectedItemId
- func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, resourceName 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) (resp ListByReplicationProtectedItemsOperationResponse, err error)
- func (c TargetComputeSizesClient) ListByReplicationProtectedItemsComplete(ctx context.Context, id ReplicationProtectedItemId) (ListByReplicationProtectedItemsCompleteResult, error)
- func (c TargetComputeSizesClient) ListByReplicationProtectedItemsCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectedItemId, ...) (resp 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 {
Items []TargetComputeSize
}
type ListByReplicationProtectedItemsOperationResponse ¶
type ListByReplicationProtectedItemsOperationResponse struct { HttpResponse *http.Response Model *[]TargetComputeSize // contains filtered or unexported fields }
func (ListByReplicationProtectedItemsOperationResponse) HasMore ¶
func (r ListByReplicationProtectedItemsOperationResponse) HasMore() bool
func (ListByReplicationProtectedItemsOperationResponse) LoadMore ¶
func (r ListByReplicationProtectedItemsOperationResponse) LoadMore(ctx context.Context) (resp ListByReplicationProtectedItemsOperationResponse, err error)
type ReplicationProtectedItemId ¶
type ReplicationProtectedItemId struct { SubscriptionId string ResourceGroupName string ResourceName string FabricName string ProtectionContainerName string ReplicatedProtectedItemName string }
ReplicationProtectedItemId is a struct representing the Resource ID for a Replication Protected Item
func NewReplicationProtectedItemID ¶
func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, resourceName string, fabricName string, protectionContainerName string, replicatedProtectedItemName 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) 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"` 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 autorest.Client // contains filtered or unexported fields }
func NewTargetComputeSizesClientWithBaseURI ¶
func NewTargetComputeSizesClientWithBaseURI(endpoint string) TargetComputeSizesClient
func (TargetComputeSizesClient) ListByReplicationProtectedItems ¶
func (c TargetComputeSizesClient) ListByReplicationProtectedItems(ctx context.Context, id ReplicationProtectedItemId) (resp ListByReplicationProtectedItemsOperationResponse, err error)
ListByReplicationProtectedItems ...
func (TargetComputeSizesClient) ListByReplicationProtectedItemsComplete ¶
func (c TargetComputeSizesClient) ListByReplicationProtectedItemsComplete(ctx context.Context, id ReplicationProtectedItemId) (ListByReplicationProtectedItemsCompleteResult, error)
ListByReplicationProtectedItemsComplete retrieves all of the results into a single object
func (TargetComputeSizesClient) ListByReplicationProtectedItemsCompleteMatchingPredicate ¶
func (c TargetComputeSizesClient) ListByReplicationProtectedItemsCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectedItemId, predicate TargetComputeSizeOperationPredicate) (resp ListByReplicationProtectedItemsCompleteResult, err error)
ListByReplicationProtectedItemsCompleteMatchingPredicate retrieves all of the results and then applied the predicate