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 BaseCredentialsImpl
- type BaseEndpointBasePropertiesImpl
- type BaseEndpointBaseUpdatePropertiesImpl
- 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 ListCustomPager
- 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"` Type CredentialType `json:"type"` }
func (AzureKeyVaultSmbCredentials) Credentials ¶ added in v0.20240920.1135249
func (s AzureKeyVaultSmbCredentials) Credentials() BaseCredentialsImpl
func (AzureKeyVaultSmbCredentials) MarshalJSON ¶
func (s AzureKeyVaultSmbCredentials) MarshalJSON() ([]byte, error)
type AzureStorageBlobContainerEndpointProperties ¶
type AzureStorageBlobContainerEndpointProperties struct { BlobContainerName string `json:"blobContainerName"` StorageAccountResourceId string `json:"storageAccountResourceId"` Description *string `json:"description,omitempty"` EndpointType EndpointType `json:"endpointType"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
func (AzureStorageBlobContainerEndpointProperties) EndpointBaseProperties ¶ added in v0.20240920.1135249
func (s AzureStorageBlobContainerEndpointProperties) EndpointBaseProperties() BaseEndpointBasePropertiesImpl
func (AzureStorageBlobContainerEndpointProperties) MarshalJSON ¶
func (s AzureStorageBlobContainerEndpointProperties) MarshalJSON() ([]byte, error)
type AzureStorageBlobContainerEndpointUpdateProperties ¶
type AzureStorageBlobContainerEndpointUpdateProperties struct { Description *string `json:"description,omitempty"` EndpointType EndpointType `json:"endpointType"` }
func (AzureStorageBlobContainerEndpointUpdateProperties) EndpointBaseUpdateProperties ¶ added in v0.20240920.1135249
func (s AzureStorageBlobContainerEndpointUpdateProperties) EndpointBaseUpdateProperties() BaseEndpointBaseUpdatePropertiesImpl
func (AzureStorageBlobContainerEndpointUpdateProperties) MarshalJSON ¶
func (s AzureStorageBlobContainerEndpointUpdateProperties) MarshalJSON() ([]byte, error)
type AzureStorageSmbFileShareEndpointProperties ¶
type AzureStorageSmbFileShareEndpointProperties struct {}
func (AzureStorageSmbFileShareEndpointProperties) EndpointBaseProperties ¶ added in v0.20240920.1135249
func (s AzureStorageSmbFileShareEndpointProperties) EndpointBaseProperties() BaseEndpointBasePropertiesImpl
func (AzureStorageSmbFileShareEndpointProperties) MarshalJSON ¶
func (s AzureStorageSmbFileShareEndpointProperties) MarshalJSON() ([]byte, error)
type AzureStorageSmbFileShareEndpointUpdateProperties ¶
type AzureStorageSmbFileShareEndpointUpdateProperties struct {}
func (AzureStorageSmbFileShareEndpointUpdateProperties) EndpointBaseUpdateProperties ¶ added in v0.20240920.1135249
func (s AzureStorageSmbFileShareEndpointUpdateProperties) EndpointBaseUpdateProperties() BaseEndpointBaseUpdatePropertiesImpl
func (AzureStorageSmbFileShareEndpointUpdateProperties) MarshalJSON ¶
func (s AzureStorageSmbFileShareEndpointUpdateProperties) MarshalJSON() ([]byte, error)
type BaseCredentialsImpl ¶ added in v0.20240920.1135249
type BaseCredentialsImpl struct {
Type CredentialType `json:"type"`
}
func (BaseCredentialsImpl) Credentials ¶ added in v0.20240920.1135249
func (s BaseCredentialsImpl) Credentials() BaseCredentialsImpl
type BaseEndpointBasePropertiesImpl ¶ added in v0.20240920.1135249
type BaseEndpointBasePropertiesImpl struct { Description *string `json:"description,omitempty"` EndpointType EndpointType `json:"endpointType"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
func (BaseEndpointBasePropertiesImpl) EndpointBaseProperties ¶ added in v0.20240920.1135249
func (s BaseEndpointBasePropertiesImpl) EndpointBaseProperties() BaseEndpointBasePropertiesImpl
type BaseEndpointBaseUpdatePropertiesImpl ¶ added in v0.20240920.1135249
type BaseEndpointBaseUpdatePropertiesImpl struct { Description *string `json:"description,omitempty"` EndpointType EndpointType `json:"endpointType"` }
func (BaseEndpointBaseUpdatePropertiesImpl) EndpointBaseUpdateProperties ¶ added in v0.20240920.1135249
func (s BaseEndpointBaseUpdatePropertiesImpl) EndpointBaseUpdateProperties() BaseEndpointBaseUpdatePropertiesImpl
type CredentialType ¶
type CredentialType string
const (
CredentialTypeAzureKeyVaultSmb CredentialType = "AzureKeyVaultSmb"
)
func (*CredentialType) UnmarshalJSON ¶
func (s *CredentialType) UnmarshalJSON(bytes []byte) error
type Credentials ¶
type Credentials interface {
Credentials() BaseCredentialsImpl
}
func UnmarshalCredentialsImplementation ¶ added in v0.20240920.1135249
func UnmarshalCredentialsImplementation(input []byte) (Credentials, error)
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 {
EndpointBaseProperties() BaseEndpointBasePropertiesImpl
}
func UnmarshalEndpointBasePropertiesImplementation ¶ added in v0.20240920.1135249
func UnmarshalEndpointBasePropertiesImplementation(input []byte) (EndpointBaseProperties, error)
type EndpointBaseUpdateParameters ¶
type EndpointBaseUpdateParameters struct {
Properties EndpointBaseUpdateProperties `json:"properties"`
}
func (*EndpointBaseUpdateParameters) UnmarshalJSON ¶
func (s *EndpointBaseUpdateParameters) UnmarshalJSON(bytes []byte) error
type EndpointBaseUpdateProperties ¶
type EndpointBaseUpdateProperties interface {
EndpointBaseUpdateProperties() BaseEndpointBaseUpdatePropertiesImpl
}
func UnmarshalEndpointBaseUpdatePropertiesImplementation ¶ added in v0.20240920.1135249
func UnmarshalEndpointBaseUpdatePropertiesImplementation(input []byte) (EndpointBaseUpdateProperties, error)
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 ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type NfsMountEndpointProperties ¶
type NfsMountEndpointProperties struct { Export string `json:"export"` Host string `json:"host"` NfsVersion *NfsVersion `json:"nfsVersion,omitempty"` Description *string `json:"description,omitempty"` EndpointType EndpointType `json:"endpointType"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
func (NfsMountEndpointProperties) EndpointBaseProperties ¶ added in v0.20240920.1135249
func (s NfsMountEndpointProperties) EndpointBaseProperties() BaseEndpointBasePropertiesImpl
func (NfsMountEndpointProperties) MarshalJSON ¶
func (s NfsMountEndpointProperties) MarshalJSON() ([]byte, error)
type NfsMountEndpointUpdateProperties ¶
type NfsMountEndpointUpdateProperties struct { Description *string `json:"description,omitempty"` EndpointType EndpointType `json:"endpointType"` }
func (NfsMountEndpointUpdateProperties) EndpointBaseUpdateProperties ¶ added in v0.20240920.1135249
func (s NfsMountEndpointUpdateProperties) EndpointBaseUpdateProperties() BaseEndpointBaseUpdatePropertiesImpl
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 (
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RawCredentialsImpl ¶
type RawCredentialsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawCredentialsImpl) Credentials ¶ added in v0.20240920.1135249
func (s RawCredentialsImpl) Credentials() BaseCredentialsImpl
type RawEndpointBasePropertiesImpl ¶
type RawEndpointBasePropertiesImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawEndpointBasePropertiesImpl) EndpointBaseProperties ¶ added in v0.20240920.1135249
func (s RawEndpointBasePropertiesImpl) EndpointBaseProperties() BaseEndpointBasePropertiesImpl
type RawEndpointBaseUpdatePropertiesImpl ¶
type RawEndpointBaseUpdatePropertiesImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawEndpointBaseUpdatePropertiesImpl) EndpointBaseUpdateProperties ¶ added in v0.20240920.1135249
func (s RawEndpointBaseUpdatePropertiesImpl) EndpointBaseUpdateProperties() BaseEndpointBaseUpdatePropertiesImpl
type SmbMountEndpointProperties ¶
type SmbMountEndpointProperties struct { Credentials *AzureKeyVaultSmbCredentials `json:"credentials,omitempty"` Host string `json:"host"` Description *string `json:"description,omitempty"` EndpointType EndpointType `json:"endpointType"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
func (SmbMountEndpointProperties) EndpointBaseProperties ¶ added in v0.20240920.1135249
func (s SmbMountEndpointProperties) EndpointBaseProperties() BaseEndpointBasePropertiesImpl
func (SmbMountEndpointProperties) MarshalJSON ¶
func (s SmbMountEndpointProperties) MarshalJSON() ([]byte, error)
type SmbMountEndpointUpdateProperties ¶
type SmbMountEndpointUpdateProperties struct { Credentials *AzureKeyVaultSmbCredentials `json:"credentials,omitempty"` Description *string `json:"description,omitempty"` EndpointType EndpointType `json:"endpointType"` }
func (SmbMountEndpointUpdateProperties) EndpointBaseUpdateProperties ¶ added in v0.20240920.1135249
func (s SmbMountEndpointUpdateProperties) EndpointBaseUpdateProperties() BaseEndpointBaseUpdatePropertiesImpl
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