Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForZoneRedundancy() []string
- func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateReplicationID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type RegistryId
- type Replication
- type ReplicationId
- type ReplicationOperationPredicate
- type ReplicationProperties
- type ReplicationUpdateParameters
- type ReplicationUpdateParametersProperties
- type ReplicationsClient
- func (c ReplicationsClient) Create(ctx context.Context, id ReplicationId, input Replication) (result CreateOperationResponse, err error)
- func (c ReplicationsClient) CreateThenPoll(ctx context.Context, id ReplicationId, input Replication) error
- func (c ReplicationsClient) Delete(ctx context.Context, id ReplicationId) (result DeleteOperationResponse, err error)
- func (c ReplicationsClient) DeleteThenPoll(ctx context.Context, id ReplicationId) error
- func (c ReplicationsClient) Get(ctx context.Context, id ReplicationId) (result GetOperationResponse, err error)
- func (c ReplicationsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
- func (c ReplicationsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
- func (c ReplicationsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate ReplicationOperationPredicate) (result ListCompleteResult, err error)
- func (c ReplicationsClient) Update(ctx context.Context, id ReplicationId, input ReplicationUpdateParameters) (result UpdateOperationResponse, err error)
- func (c ReplicationsClient) UpdateThenPoll(ctx context.Context, id ReplicationId, input ReplicationUpdateParameters) error
- type Status
- type UpdateOperationResponse
- type ZoneRedundancy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForZoneRedundancy ¶
func PossibleValuesForZoneRedundancy() []string
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
func ValidateReplicationID ¶
ValidateReplicationID checks that 'input' can be parsed as a Replication ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Replication }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []Replication }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Replication }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RegistryId ¶
RegistryId is a struct representing the Resource ID for a Registry
func NewRegistryID ¶
func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId
NewRegistryID returns a new RegistryId struct
func ParseRegistryID ¶
func ParseRegistryID(input string) (*RegistryId, error)
ParseRegistryID parses 'input' into a RegistryId
func ParseRegistryIDInsensitively ¶
func ParseRegistryIDInsensitively(input string) (*RegistryId, error)
ParseRegistryIDInsensitively parses 'input' case-insensitively into a RegistryId note: this method should only be used for API response data and not user input
func (*RegistryId) FromParseResult ¶ added in v0.20231127.1171502
func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error
func (RegistryId) Segments ¶
func (id RegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry ID
func (RegistryId) String ¶
func (id RegistryId) String() string
String returns a human-readable description of this Registry ID
type Replication ¶
type Replication struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ReplicationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ReplicationId ¶
type ReplicationId struct { SubscriptionId string ResourceGroupName string RegistryName string ReplicationName string }
ReplicationId is a struct representing the Resource ID for a Replication
func NewReplicationID ¶
func NewReplicationID(subscriptionId string, resourceGroupName string, registryName string, replicationName string) ReplicationId
NewReplicationID returns a new ReplicationId struct
func ParseReplicationID ¶
func ParseReplicationID(input string) (*ReplicationId, error)
ParseReplicationID parses 'input' into a ReplicationId
func ParseReplicationIDInsensitively ¶
func ParseReplicationIDInsensitively(input string) (*ReplicationId, error)
ParseReplicationIDInsensitively parses 'input' case-insensitively into a ReplicationId note: this method should only be used for API response data and not user input
func (*ReplicationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ReplicationId) FromParseResult(input resourceids.ParseResult) error
func (ReplicationId) ID ¶
func (id ReplicationId) ID() string
ID returns the formatted Replication ID
func (ReplicationId) Segments ¶
func (id ReplicationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication ID
func (ReplicationId) String ¶
func (id ReplicationId) String() string
String returns a human-readable description of this Replication ID
type ReplicationOperationPredicate ¶
func (ReplicationOperationPredicate) Matches ¶
func (p ReplicationOperationPredicate) Matches(input Replication) bool
type ReplicationProperties ¶
type ReplicationProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RegionEndpointEnabled *bool `json:"regionEndpointEnabled,omitempty"` Status *Status `json:"status,omitempty"` ZoneRedundancy *ZoneRedundancy `json:"zoneRedundancy,omitempty"` }
type ReplicationUpdateParameters ¶
type ReplicationUpdateParameters struct { Properties *ReplicationUpdateParametersProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ReplicationUpdateParametersProperties ¶
type ReplicationUpdateParametersProperties struct {
RegionEndpointEnabled *bool `json:"regionEndpointEnabled,omitempty"`
}
type ReplicationsClient ¶
type ReplicationsClient struct {
Client *resourcemanager.Client
}
func NewReplicationsClientWithBaseURI ¶
func NewReplicationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationsClient, error)
func (ReplicationsClient) Create ¶
func (c ReplicationsClient) Create(ctx context.Context, id ReplicationId, input Replication) (result CreateOperationResponse, err error)
Create ...
func (ReplicationsClient) CreateThenPoll ¶
func (c ReplicationsClient) CreateThenPoll(ctx context.Context, id ReplicationId, input Replication) error
CreateThenPoll performs Create then polls until it's completed
func (ReplicationsClient) Delete ¶
func (c ReplicationsClient) Delete(ctx context.Context, id ReplicationId) (result DeleteOperationResponse, err error)
Delete ...
func (ReplicationsClient) DeleteThenPoll ¶
func (c ReplicationsClient) DeleteThenPoll(ctx context.Context, id ReplicationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ReplicationsClient) Get ¶
func (c ReplicationsClient) Get(ctx context.Context, id ReplicationId) (result GetOperationResponse, err error)
Get ...
func (ReplicationsClient) List ¶
func (c ReplicationsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
List ...
func (ReplicationsClient) ListComplete ¶
func (c ReplicationsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ReplicationsClient) ListCompleteMatchingPredicate ¶
func (c ReplicationsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate ReplicationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReplicationsClient) Update ¶
func (c ReplicationsClient) Update(ctx context.Context, id ReplicationId, input ReplicationUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (ReplicationsClient) UpdateThenPoll ¶
func (c ReplicationsClient) UpdateThenPoll(ctx context.Context, id ReplicationId, input ReplicationUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type Status ¶
type Status struct { DisplayStatus *string `json:"displayStatus,omitempty"` Message *string `json:"message,omitempty"` Timestamp *string `json:"timestamp,omitempty"` }
func (*Status) SetTimestampAsTime ¶
type UpdateOperationResponse ¶
type ZoneRedundancy ¶
type ZoneRedundancy string
const ( ZoneRedundancyDisabled ZoneRedundancy = "Disabled" ZoneRedundancyEnabled ZoneRedundancy = "Enabled" )
func (*ZoneRedundancy) UnmarshalJSON ¶
func (s *ZoneRedundancy) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_registry.go
- id_replication.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_replication.go
- model_replicationproperties.go
- model_replicationupdateparameters.go
- model_replicationupdateparametersproperties.go
- model_status.go
- predicates.go
- version.go