Documentation ¶
Index ¶
- 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 AzureStorageBlobContainerEndpointProperties
- type BaseEndpointBasePropertiesImpl
- type CreateOrUpdateOperationResponse
- 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 NfsVersion
- type ProvisioningState
- type RawEndpointBasePropertiesImpl
- type StorageMoverId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 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 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,omitempty"`
}
type EndpointBaseUpdateProperties ¶
type EndpointBaseUpdateProperties struct {
Description *string `json:"description,omitempty"`
}
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" )
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 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 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 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_azurestorageblobcontainerendpointproperties.go
- model_endpoint.go
- model_endpointbaseproperties.go
- model_endpointbaseupdateparameters.go
- model_endpointbaseupdateproperties.go
- model_nfsmountendpointproperties.go
- predicates.go
- version.go