Documentation ¶
Index ¶
- func ValidateOpenShiftClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSyncSetID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type OpenShiftClusterId
- type SyncSet
- type SyncSetId
- type SyncSetOperationPredicate
- type SyncSetProperties
- type SyncSetUpdate
- type SyncSetsClient
- func (c SyncSetsClient) CreateOrUpdate(ctx context.Context, id SyncSetId, input SyncSet) (result CreateOrUpdateOperationResponse, err error)
- func (c SyncSetsClient) Delete(ctx context.Context, id SyncSetId) (result DeleteOperationResponse, err error)
- func (c SyncSetsClient) Get(ctx context.Context, id SyncSetId) (result GetOperationResponse, err error)
- func (c SyncSetsClient) List(ctx context.Context, id OpenShiftClusterId) (result ListOperationResponse, err error)
- func (c SyncSetsClient) ListComplete(ctx context.Context, id OpenShiftClusterId) (ListCompleteResult, error)
- func (c SyncSetsClient) ListCompleteMatchingPredicate(ctx context.Context, id OpenShiftClusterId, ...) (result ListCompleteResult, err error)
- func (c SyncSetsClient) Update(ctx context.Context, id SyncSetId, input SyncSetUpdate) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateOpenShiftClusterID ¶
ValidateOpenShiftClusterID checks that 'input' can be parsed as a Open Shift Cluster ID
func ValidateSyncSetID ¶
ValidateSyncSetID checks that 'input' can be parsed as a Sync Set ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []SyncSet
}
type ListOperationResponse ¶
type OpenShiftClusterId ¶
type OpenShiftClusterId struct { SubscriptionId string ResourceGroupName string OpenShiftClusterName string }
OpenShiftClusterId is a struct representing the Resource ID for a Open Shift Cluster
func NewOpenShiftClusterID ¶
func NewOpenShiftClusterID(subscriptionId string, resourceGroupName string, openShiftClusterName string) OpenShiftClusterId
NewOpenShiftClusterID returns a new OpenShiftClusterId struct
func ParseOpenShiftClusterID ¶
func ParseOpenShiftClusterID(input string) (*OpenShiftClusterId, error)
ParseOpenShiftClusterID parses 'input' into a OpenShiftClusterId
func ParseOpenShiftClusterIDInsensitively ¶
func ParseOpenShiftClusterIDInsensitively(input string) (*OpenShiftClusterId, error)
ParseOpenShiftClusterIDInsensitively parses 'input' case-insensitively into a OpenShiftClusterId note: this method should only be used for API response data and not user input
func (OpenShiftClusterId) ID ¶
func (id OpenShiftClusterId) ID() string
ID returns the formatted Open Shift Cluster ID
func (OpenShiftClusterId) Segments ¶
func (id OpenShiftClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Open Shift Cluster ID
func (OpenShiftClusterId) String ¶
func (id OpenShiftClusterId) String() string
String returns a human-readable description of this Open Shift Cluster ID
type SyncSet ¶
type SyncSet struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SyncSetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SyncSetId ¶
type SyncSetId struct { SubscriptionId string ResourceGroupName string OpenShiftClusterName string SyncSetName string }
SyncSetId is a struct representing the Resource ID for a Sync Set
func NewSyncSetID ¶
func NewSyncSetID(subscriptionId string, resourceGroupName string, openShiftClusterName string, syncSetName string) SyncSetId
NewSyncSetID returns a new SyncSetId struct
func ParseSyncSetID ¶
ParseSyncSetID parses 'input' into a SyncSetId
func ParseSyncSetIDInsensitively ¶
ParseSyncSetIDInsensitively parses 'input' case-insensitively into a SyncSetId note: this method should only be used for API response data and not user input
func (SyncSetId) Segments ¶
func (id SyncSetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sync Set ID
type SyncSetOperationPredicate ¶
func (SyncSetOperationPredicate) Matches ¶
func (p SyncSetOperationPredicate) Matches(input SyncSet) bool
type SyncSetProperties ¶
type SyncSetProperties struct {
Resources *string `json:"resources,omitempty"`
}
type SyncSetUpdate ¶
type SyncSetUpdate struct { Properties *SyncSetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` }
type SyncSetsClient ¶
type SyncSetsClient struct {
Client *resourcemanager.Client
}
func NewSyncSetsClientWithBaseURI ¶
func NewSyncSetsClientWithBaseURI(sdkApi sdkEnv.Api) (*SyncSetsClient, error)
func (SyncSetsClient) CreateOrUpdate ¶
func (c SyncSetsClient) CreateOrUpdate(ctx context.Context, id SyncSetId, input SyncSet) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SyncSetsClient) Delete ¶
func (c SyncSetsClient) Delete(ctx context.Context, id SyncSetId) (result DeleteOperationResponse, err error)
Delete ...
func (SyncSetsClient) Get ¶
func (c SyncSetsClient) Get(ctx context.Context, id SyncSetId) (result GetOperationResponse, err error)
Get ...
func (SyncSetsClient) List ¶
func (c SyncSetsClient) List(ctx context.Context, id OpenShiftClusterId) (result ListOperationResponse, err error)
List ...
func (SyncSetsClient) ListComplete ¶
func (c SyncSetsClient) ListComplete(ctx context.Context, id OpenShiftClusterId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SyncSetsClient) ListCompleteMatchingPredicate ¶
func (c SyncSetsClient) ListCompleteMatchingPredicate(ctx context.Context, id OpenShiftClusterId, predicate SyncSetOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SyncSetsClient) Update ¶
func (c SyncSetsClient) Update(ctx context.Context, id SyncSetId, input SyncSetUpdate) (result UpdateOperationResponse, err error)
Update ...