Documentation ¶
Index ¶
- func PossibleValuesForCredentialType() []string
- func PossibleValuesForEndpointType() []string
- func PossibleValuesForNfsVersion() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageMoverID(input interface{}, key string) (warnings []string, errors []error)
- type AzureKeyVaultSmbCredentials
- type AzureStorageBlobContainerEndpointProperties
- type AzureStorageBlobContainerEndpointUpdateProperties
- type AzureStorageSmbFileShareEndpointProperties
- type AzureStorageSmbFileShareEndpointUpdateProperties
- type CreateOrUpdateOperationResponse
- type CredentialType
- type Credentials
- type DeleteOperationResponse
- type Endpoint
- type EndpointBaseProperties
- type EndpointBaseUpdateParameters
- type EndpointBaseUpdateProperties
- type EndpointId
- type EndpointOperationPredicate
- type EndpointType
- type EndpointsClient
- func (c EndpointsClient) CreateOrUpdate(ctx context.Context, id EndpointId, input Endpoint) (result CreateOrUpdateOperationResponse, err error)
- func (c EndpointsClient) Delete(ctx context.Context, id EndpointId) (result DeleteOperationResponse, err error)
- func (c EndpointsClient) DeleteThenPoll(ctx context.Context, id EndpointId) error
- func (c EndpointsClient) Get(ctx context.Context, id EndpointId) (result GetOperationResponse, err error)
- func (c EndpointsClient) List(ctx context.Context, id StorageMoverId) (result ListOperationResponse, err error)
- func (c EndpointsClient) ListComplete(ctx context.Context, id StorageMoverId) (ListCompleteResult, error)
- func (c EndpointsClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageMoverId, predicate EndpointOperationPredicate) (result ListCompleteResult, err error)
- func (c EndpointsClient) Update(ctx context.Context, id EndpointId, input EndpointBaseUpdateParameters) (result UpdateOperationResponse, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type NfsMountEndpointProperties
- type NfsMountEndpointUpdateProperties
- type NfsVersion
- type ProvisioningState
- type RawCredentialsImpl
- type RawEndpointBasePropertiesImpl
- type RawEndpointBaseUpdatePropertiesImpl
- type SmbMountEndpointProperties
- type SmbMountEndpointUpdateProperties
- type StorageMoverId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCredentialType ¶
func PossibleValuesForCredentialType() []string
func PossibleValuesForEndpointType ¶
func PossibleValuesForEndpointType() []string
func PossibleValuesForNfsVersion ¶
func PossibleValuesForNfsVersion() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateEndpointID ¶
ValidateEndpointID checks that 'input' can be parsed as a Endpoint ID
func ValidateStorageMoverID ¶
ValidateStorageMoverID checks that 'input' can be parsed as a Storage Mover ID
Types ¶
type AzureKeyVaultSmbCredentials ¶
type AzureKeyVaultSmbCredentials struct { PasswordUri *string `json:"passwordUri,omitempty"` UsernameUri *string `json:"usernameUri,omitempty"` }
func (AzureKeyVaultSmbCredentials) MarshalJSON ¶
func (s AzureKeyVaultSmbCredentials) MarshalJSON() ([]byte, error)
type AzureStorageBlobContainerEndpointProperties ¶
type AzureStorageBlobContainerEndpointProperties struct { BlobContainerName string `json:"blobContainerName"` StorageAccountResourceId string `json:"storageAccountResourceId"` // Fields inherited from EndpointBaseProperties Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
func (AzureStorageBlobContainerEndpointProperties) MarshalJSON ¶
func (s AzureStorageBlobContainerEndpointProperties) MarshalJSON() ([]byte, error)
type AzureStorageBlobContainerEndpointUpdateProperties ¶
type AzureStorageBlobContainerEndpointUpdateProperties struct { // Fields inherited from EndpointBaseUpdateProperties Description *string `json:"description,omitempty"` }
func (AzureStorageBlobContainerEndpointUpdateProperties) MarshalJSON ¶
func (s AzureStorageBlobContainerEndpointUpdateProperties) MarshalJSON() ([]byte, error)
type AzureStorageSmbFileShareEndpointProperties ¶
type AzureStorageSmbFileShareEndpointProperties struct { // Fields inherited from EndpointBaseProperties }
func (AzureStorageSmbFileShareEndpointProperties) MarshalJSON ¶
func (s AzureStorageSmbFileShareEndpointProperties) MarshalJSON() ([]byte, error)
type AzureStorageSmbFileShareEndpointUpdateProperties ¶
type AzureStorageSmbFileShareEndpointUpdateProperties struct { string `json:"description,omitempty"` }Description *
func (AzureStorageSmbFileShareEndpointUpdateProperties) MarshalJSON ¶
func (s AzureStorageSmbFileShareEndpointUpdateProperties) MarshalJSON() ([]byte, error)
type CredentialType ¶
type CredentialType string
const (
CredentialTypeAzureKeyVaultSmb CredentialType = "AzureKeyVaultSmb"
)
func (*CredentialType) UnmarshalJSON ¶
func (s *CredentialType) UnmarshalJSON(bytes []byte) error
type Credentials ¶
type Credentials interface { }
type DeleteOperationResponse ¶
type Endpoint ¶
type Endpoint struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties EndpointBaseProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*Endpoint) UnmarshalJSON ¶
type EndpointBaseProperties ¶
type EndpointBaseProperties interface { }
type EndpointBaseUpdateParameters ¶
type EndpointBaseUpdateParameters struct {
Properties EndpointBaseUpdateProperties `json:"properties"`
}
func (*EndpointBaseUpdateParameters) UnmarshalJSON ¶
func (s *EndpointBaseUpdateParameters) UnmarshalJSON(bytes []byte) error
type EndpointBaseUpdateProperties ¶
type EndpointBaseUpdateProperties interface { }
type EndpointId ¶
type EndpointId struct { SubscriptionId string ResourceGroupName string StorageMoverName string EndpointName string }
EndpointId is a struct representing the Resource ID for a Endpoint
func NewEndpointID ¶
func NewEndpointID(subscriptionId string, resourceGroupName string, storageMoverName string, endpointName string) EndpointId
NewEndpointID returns a new EndpointId struct
func ParseEndpointID ¶
func ParseEndpointID(input string) (*EndpointId, error)
ParseEndpointID parses 'input' into a EndpointId
func ParseEndpointIDInsensitively ¶
func ParseEndpointIDInsensitively(input string) (*EndpointId, error)
ParseEndpointIDInsensitively parses 'input' case-insensitively into a EndpointId note: this method should only be used for API response data and not user input
func (*EndpointId) FromParseResult ¶
func (id *EndpointId) FromParseResult(input resourceids.ParseResult) error
func (EndpointId) Segments ¶
func (id EndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Endpoint ID
func (EndpointId) String ¶
func (id EndpointId) String() string
String returns a human-readable description of this Endpoint ID
type EndpointOperationPredicate ¶
func (EndpointOperationPredicate) Matches ¶
func (p EndpointOperationPredicate) Matches(input Endpoint) bool
type EndpointType ¶
type EndpointType string
const ( EndpointTypeAzureStorageBlobContainer EndpointType = "AzureStorageBlobContainer" EndpointTypeNfsMount EndpointType = "NfsMount" EndpointTypeSmbMount EndpointType = "SmbMount" )
func (*EndpointType) UnmarshalJSON ¶
func (s *EndpointType) UnmarshalJSON(bytes []byte) error
type EndpointsClient ¶
type EndpointsClient struct {
Client *resourcemanager.Client
}
func NewEndpointsClientWithBaseURI ¶
func NewEndpointsClientWithBaseURI(sdkApi sdkEnv.Api) (*EndpointsClient, error)
func (EndpointsClient) CreateOrUpdate ¶
func (c EndpointsClient) CreateOrUpdate(ctx context.Context, id EndpointId, input Endpoint) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EndpointsClient) Delete ¶
func (c EndpointsClient) Delete(ctx context.Context, id EndpointId) (result DeleteOperationResponse, err error)
Delete ...
func (EndpointsClient) DeleteThenPoll ¶
func (c EndpointsClient) DeleteThenPoll(ctx context.Context, id EndpointId) error
DeleteThenPoll performs Delete then polls until it's completed
func (EndpointsClient) Get ¶
func (c EndpointsClient) Get(ctx context.Context, id EndpointId) (result GetOperationResponse, err error)
Get ...
func (EndpointsClient) List ¶
func (c EndpointsClient) List(ctx context.Context, id StorageMoverId) (result ListOperationResponse, err error)
List ...
func (EndpointsClient) ListComplete ¶
func (c EndpointsClient) ListComplete(ctx context.Context, id StorageMoverId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EndpointsClient) ListCompleteMatchingPredicate ¶
func (c EndpointsClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageMoverId, predicate EndpointOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EndpointsClient) Update ¶
func (c EndpointsClient) Update(ctx context.Context, id EndpointId, input EndpointBaseUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
type NfsMountEndpointProperties ¶
type NfsMountEndpointProperties struct { Export string `json:"export"` Host string `json:"host"` NfsVersion *NfsVersion `json:"nfsVersion,omitempty"` // Fields inherited from EndpointBaseProperties Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
func (NfsMountEndpointProperties) MarshalJSON ¶
func (s NfsMountEndpointProperties) MarshalJSON() ([]byte, error)
type NfsMountEndpointUpdateProperties ¶
type NfsMountEndpointUpdateProperties struct { // Fields inherited from EndpointBaseUpdateProperties Description *string `json:"description,omitempty"` }
func (NfsMountEndpointUpdateProperties) MarshalJSON ¶
func (s NfsMountEndpointUpdateProperties) MarshalJSON() ([]byte, error)
type NfsVersion ¶
type NfsVersion string
const ( NfsVersionNFSauto NfsVersion = "NFSauto" NfsVersionNFSvFour NfsVersion = "NFSv4" NfsVersionNFSvThree NfsVersion = "NFSv3" )
func (*NfsVersion) UnmarshalJSON ¶
func (s *NfsVersion) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RawCredentialsImpl ¶
RawCredentialsImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawEndpointBasePropertiesImpl ¶
RawEndpointBasePropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawEndpointBaseUpdatePropertiesImpl ¶
RawEndpointBaseUpdatePropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type SmbMountEndpointProperties ¶
type SmbMountEndpointProperties struct { Credentials *AzureKeyVaultSmbCredentials `json:"credentials,omitempty"` Host string `json:"host"` // Fields inherited from EndpointBaseProperties Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
func (SmbMountEndpointProperties) MarshalJSON ¶
func (s SmbMountEndpointProperties) MarshalJSON() ([]byte, error)
type SmbMountEndpointUpdateProperties ¶
type SmbMountEndpointUpdateProperties struct { Credentials *AzureKeyVaultSmbCredentials `json:"credentials,omitempty"` // Fields inherited from EndpointBaseUpdateProperties Description *string `json:"description,omitempty"` }
func (SmbMountEndpointUpdateProperties) MarshalJSON ¶
func (s SmbMountEndpointUpdateProperties) MarshalJSON() ([]byte, error)
type StorageMoverId ¶
type StorageMoverId struct { SubscriptionId string ResourceGroupName string StorageMoverName string }
StorageMoverId is a struct representing the Resource ID for a Storage Mover
func NewStorageMoverID ¶
func NewStorageMoverID(subscriptionId string, resourceGroupName string, storageMoverName string) StorageMoverId
NewStorageMoverID returns a new StorageMoverId struct
func ParseStorageMoverID ¶
func ParseStorageMoverID(input string) (*StorageMoverId, error)
ParseStorageMoverID parses 'input' into a StorageMoverId
func ParseStorageMoverIDInsensitively ¶
func ParseStorageMoverIDInsensitively(input string) (*StorageMoverId, error)
ParseStorageMoverIDInsensitively parses 'input' case-insensitively into a StorageMoverId note: this method should only be used for API response data and not user input
func (*StorageMoverId) FromParseResult ¶
func (id *StorageMoverId) FromParseResult(input resourceids.ParseResult) error
func (StorageMoverId) ID ¶
func (id StorageMoverId) ID() string
ID returns the formatted Storage Mover ID
func (StorageMoverId) Segments ¶
func (id StorageMoverId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Mover ID
func (StorageMoverId) String ¶
func (id StorageMoverId) String() string
String returns a human-readable description of this Storage Mover ID
Source Files ¶
- client.go
- constants.go
- id_endpoint.go
- id_storagemover.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_azurekeyvaultsmbcredentials.go
- model_azurestorageblobcontainerendpointproperties.go
- model_azurestorageblobcontainerendpointupdateproperties.go
- model_azurestoragesmbfileshareendpointproperties.go
- model_azurestoragesmbfileshareendpointupdateproperties.go
- model_credentials.go
- model_endpoint.go
- model_endpointbaseproperties.go
- model_endpointbaseupdateparameters.go
- model_endpointbaseupdateproperties.go
- model_nfsmountendpointproperties.go
- model_nfsmountendpointupdateproperties.go
- model_smbmountendpointproperties.go
- model_smbmountendpointupdateproperties.go
- predicates.go
- version.go