Documentation ¶
Index ¶
- func PossibleValuesForRegisteredServerAgentVersionStatus() []string
- func ValidateRegisteredServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageSyncServiceID(input interface{}, key string) (warnings []string, errors []error)
- type RegisteredServer
- type RegisteredServerAgentVersionStatus
- type RegisteredServerArray
- type RegisteredServerCreateParameters
- type RegisteredServerCreateParametersProperties
- type RegisteredServerId
- type RegisteredServerProperties
- type RegisteredServerResourceClient
- func (c RegisteredServerResourceClient) RegisteredServersCreate(ctx context.Context, id RegisteredServerId, ...) (result RegisteredServersCreateOperationResponse, err error)
- func (c RegisteredServerResourceClient) RegisteredServersCreateThenPoll(ctx context.Context, id RegisteredServerId, ...) error
- func (c RegisteredServerResourceClient) RegisteredServersDelete(ctx context.Context, id RegisteredServerId) (result RegisteredServersDeleteOperationResponse, err error)
- func (c RegisteredServerResourceClient) RegisteredServersDeleteThenPoll(ctx context.Context, id RegisteredServerId) error
- func (c RegisteredServerResourceClient) RegisteredServersGet(ctx context.Context, id RegisteredServerId) (result RegisteredServersGetOperationResponse, err error)
- func (c RegisteredServerResourceClient) RegisteredServersListByStorageSyncService(ctx context.Context, id StorageSyncServiceId) (result RegisteredServersListByStorageSyncServiceOperationResponse, err error)
- func (c RegisteredServerResourceClient) RegisteredServerstriggerRollover(ctx context.Context, id RegisteredServerId, input TriggerRolloverRequest) (result RegisteredServerstriggerRolloverOperationResponse, err error)
- func (c RegisteredServerResourceClient) RegisteredServerstriggerRolloverThenPoll(ctx context.Context, id RegisteredServerId, input TriggerRolloverRequest) error
- type RegisteredServersCreateOperationResponse
- type RegisteredServersDeleteOperationResponse
- type RegisteredServersGetOperationResponse
- type RegisteredServersListByStorageSyncServiceOperationResponse
- type RegisteredServerstriggerRolloverOperationResponse
- type StorageSyncServiceId
- type TriggerRolloverRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRegisteredServerAgentVersionStatus ¶
func PossibleValuesForRegisteredServerAgentVersionStatus() []string
func ValidateRegisteredServerID ¶
ValidateRegisteredServerID checks that 'input' can be parsed as a Registered Server ID
func ValidateStorageSyncServiceID ¶
func ValidateStorageSyncServiceID(input interface{}, key string) (warnings []string, errors []error)
ValidateStorageSyncServiceID checks that 'input' can be parsed as a Storage Sync Service ID
Types ¶
type RegisteredServer ¶
type RegisteredServer struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RegisteredServerProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RegisteredServerAgentVersionStatus ¶
type RegisteredServerAgentVersionStatus string
const ( RegisteredServerAgentVersionStatusBlocked RegisteredServerAgentVersionStatus = "Blocked" RegisteredServerAgentVersionStatusExpired RegisteredServerAgentVersionStatus = "Expired" RegisteredServerAgentVersionStatusNearExpiry RegisteredServerAgentVersionStatus = "NearExpiry" RegisteredServerAgentVersionStatusOk RegisteredServerAgentVersionStatus = "Ok" )
type RegisteredServerArray ¶
type RegisteredServerArray struct {
Value *[]RegisteredServer `json:"value,omitempty"`
}
type RegisteredServerCreateParameters ¶
type RegisteredServerCreateParameters struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RegisteredServerCreateParametersProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RegisteredServerCreateParametersProperties ¶
type RegisteredServerCreateParametersProperties struct { AgentVersion *string `json:"agentVersion,omitempty"` ClusterId *string `json:"clusterId,omitempty"` ClusterName *string `json:"clusterName,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` LastHeartBeat *string `json:"lastHeartBeat,omitempty"` ServerCertificate *string `json:"serverCertificate,omitempty"` ServerId *string `json:"serverId,omitempty"` ServerOSVersion *string `json:"serverOSVersion,omitempty"` ServerRole *string `json:"serverRole,omitempty"` }
type RegisteredServerId ¶
type RegisteredServerId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string ServerId string }
RegisteredServerId is a struct representing the Resource ID for a Registered Server
func NewRegisteredServerID ¶
func NewRegisteredServerID(subscriptionId string, resourceGroupName string, storageSyncServiceName string, serverId string) RegisteredServerId
NewRegisteredServerID returns a new RegisteredServerId struct
func ParseRegisteredServerID ¶
func ParseRegisteredServerID(input string) (*RegisteredServerId, error)
ParseRegisteredServerID parses 'input' into a RegisteredServerId
func ParseRegisteredServerIDInsensitively ¶
func ParseRegisteredServerIDInsensitively(input string) (*RegisteredServerId, error)
ParseRegisteredServerIDInsensitively parses 'input' case-insensitively into a RegisteredServerId note: this method should only be used for API response data and not user input
func (RegisteredServerId) ID ¶
func (id RegisteredServerId) ID() string
ID returns the formatted Registered Server ID
func (RegisteredServerId) Segments ¶
func (id RegisteredServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registered Server ID
func (RegisteredServerId) String ¶
func (id RegisteredServerId) String() string
String returns a human-readable description of this Registered Server ID
type RegisteredServerProperties ¶
type RegisteredServerProperties struct { AgentVersion *string `json:"agentVersion,omitempty"` AgentVersionExpirationDate *string `json:"agentVersionExpirationDate,omitempty"` AgentVersionStatus *RegisteredServerAgentVersionStatus `json:"agentVersionStatus,omitempty"` ClusterId *string `json:"clusterId,omitempty"` ClusterName *string `json:"clusterName,omitempty"` DiscoveryEndpointUri *string `json:"discoveryEndpointUri,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` LastHeartBeat *string `json:"lastHeartBeat,omitempty"` LastOperationName *string `json:"lastOperationName,omitempty"` LastWorkflowId *string `json:"lastWorkflowId,omitempty"` ManagementEndpointUri *string `json:"managementEndpointUri,omitempty"` MonitoringConfiguration *string `json:"monitoringConfiguration,omitempty"` MonitoringEndpointUri *string `json:"monitoringEndpointUri,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceLocation *string `json:"resourceLocation,omitempty"` ServerCertificate *string `json:"serverCertificate,omitempty"` ServerId *string `json:"serverId,omitempty"` ServerManagementErrorCode *int64 `json:"serverManagementErrorCode,omitempty"` ServerOSVersion *string `json:"serverOSVersion,omitempty"` ServerRole *string `json:"serverRole,omitempty"` ServiceLocation *string `json:"serviceLocation,omitempty"` StorageSyncServiceUid *string `json:"storageSyncServiceUid,omitempty"` }
func (*RegisteredServerProperties) GetAgentVersionExpirationDateAsTime ¶
func (o *RegisteredServerProperties) GetAgentVersionExpirationDateAsTime() (*time.Time, error)
func (*RegisteredServerProperties) SetAgentVersionExpirationDateAsTime ¶
func (o *RegisteredServerProperties) SetAgentVersionExpirationDateAsTime(input time.Time)
type RegisteredServerResourceClient ¶
type RegisteredServerResourceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRegisteredServerResourceClientWithBaseURI ¶
func NewRegisteredServerResourceClientWithBaseURI(endpoint string) RegisteredServerResourceClient
func (RegisteredServerResourceClient) RegisteredServersCreate ¶
func (c RegisteredServerResourceClient) RegisteredServersCreate(ctx context.Context, id RegisteredServerId, input RegisteredServerCreateParameters) (result RegisteredServersCreateOperationResponse, err error)
RegisteredServersCreate ...
func (RegisteredServerResourceClient) RegisteredServersCreateThenPoll ¶
func (c RegisteredServerResourceClient) RegisteredServersCreateThenPoll(ctx context.Context, id RegisteredServerId, input RegisteredServerCreateParameters) error
RegisteredServersCreateThenPoll performs RegisteredServersCreate then polls until it's completed
func (RegisteredServerResourceClient) RegisteredServersDelete ¶
func (c RegisteredServerResourceClient) RegisteredServersDelete(ctx context.Context, id RegisteredServerId) (result RegisteredServersDeleteOperationResponse, err error)
RegisteredServersDelete ...
func (RegisteredServerResourceClient) RegisteredServersDeleteThenPoll ¶
func (c RegisteredServerResourceClient) RegisteredServersDeleteThenPoll(ctx context.Context, id RegisteredServerId) error
RegisteredServersDeleteThenPoll performs RegisteredServersDelete then polls until it's completed
func (RegisteredServerResourceClient) RegisteredServersGet ¶
func (c RegisteredServerResourceClient) RegisteredServersGet(ctx context.Context, id RegisteredServerId) (result RegisteredServersGetOperationResponse, err error)
RegisteredServersGet ...
func (RegisteredServerResourceClient) RegisteredServersListByStorageSyncService ¶
func (c RegisteredServerResourceClient) RegisteredServersListByStorageSyncService(ctx context.Context, id StorageSyncServiceId) (result RegisteredServersListByStorageSyncServiceOperationResponse, err error)
RegisteredServersListByStorageSyncService ...
func (RegisteredServerResourceClient) RegisteredServerstriggerRollover ¶
func (c RegisteredServerResourceClient) RegisteredServerstriggerRollover(ctx context.Context, id RegisteredServerId, input TriggerRolloverRequest) (result RegisteredServerstriggerRolloverOperationResponse, err error)
RegisteredServerstriggerRollover ...
func (RegisteredServerResourceClient) RegisteredServerstriggerRolloverThenPoll ¶
func (c RegisteredServerResourceClient) RegisteredServerstriggerRolloverThenPoll(ctx context.Context, id RegisteredServerId, input TriggerRolloverRequest) error
RegisteredServerstriggerRolloverThenPoll performs RegisteredServerstriggerRollover then polls until it's completed
type RegisteredServersCreateOperationResponse ¶
type RegisteredServersCreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type RegisteredServersDeleteOperationResponse ¶
type RegisteredServersDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type RegisteredServersGetOperationResponse ¶
type RegisteredServersGetOperationResponse struct { HttpResponse *http.Response Model *RegisteredServer }
type RegisteredServersListByStorageSyncServiceOperationResponse ¶
type RegisteredServersListByStorageSyncServiceOperationResponse struct { HttpResponse *http.Response Model *RegisteredServerArray }
type RegisteredServerstriggerRolloverOperationResponse ¶
type RegisteredServerstriggerRolloverOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StorageSyncServiceId ¶
type StorageSyncServiceId struct { SubscriptionId string ResourceGroupName string StorageSyncServiceName string }
StorageSyncServiceId is a struct representing the Resource ID for a Storage Sync Service
func NewStorageSyncServiceID ¶
func NewStorageSyncServiceID(subscriptionId string, resourceGroupName string, storageSyncServiceName string) StorageSyncServiceId
NewStorageSyncServiceID returns a new StorageSyncServiceId struct
func ParseStorageSyncServiceID ¶
func ParseStorageSyncServiceID(input string) (*StorageSyncServiceId, error)
ParseStorageSyncServiceID parses 'input' into a StorageSyncServiceId
func ParseStorageSyncServiceIDInsensitively ¶
func ParseStorageSyncServiceIDInsensitively(input string) (*StorageSyncServiceId, error)
ParseStorageSyncServiceIDInsensitively parses 'input' case-insensitively into a StorageSyncServiceId note: this method should only be used for API response data and not user input
func (StorageSyncServiceId) ID ¶
func (id StorageSyncServiceId) ID() string
ID returns the formatted Storage Sync Service ID
func (StorageSyncServiceId) Segments ¶
func (id StorageSyncServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Sync Service ID
func (StorageSyncServiceId) String ¶
func (id StorageSyncServiceId) String() string
String returns a human-readable description of this Storage Sync Service ID
type TriggerRolloverRequest ¶
type TriggerRolloverRequest struct {
ServerCertificate *string `json:"serverCertificate,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_registeredserver.go
- id_storagesyncservice.go
- method_registeredserverscreate_autorest.go
- method_registeredserversdelete_autorest.go
- method_registeredserversget_autorest.go
- method_registeredserverslistbystoragesyncservice_autorest.go
- method_registeredserverstriggerrollover_autorest.go
- model_registeredserver.go
- model_registeredserverarray.go
- model_registeredservercreateparameters.go
- model_registeredservercreateparametersproperties.go
- model_registeredserverproperties.go
- model_triggerrolloverrequest.go
- version.go