Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/databox/armdatabox(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/databox/armdatabox). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package databox implements the Azure ARM Databox service API version 2019-09-01.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AccessProtocol
- type AccountCopyLogDetails
- func (acld AccountCopyLogDetails) AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool)
- func (acld AccountCopyLogDetails) AsBasicCopyLogDetails() (BasicCopyLogDetails, bool)
- func (acld AccountCopyLogDetails) AsCopyLogDetails() (*CopyLogDetails, bool)
- func (acld AccountCopyLogDetails) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool)
- func (acld AccountCopyLogDetails) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool)
- func (acld AccountCopyLogDetails) MarshalJSON() ([]byte, error)
- type AccountCredentialDetails
- type AddressType
- type AddressValidationOutput
- type AddressValidationProperties
- func (avp AddressValidationProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
- func (avp AddressValidationProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
- func (avp AddressValidationProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
- func (avp AddressValidationProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
- func (avp AddressValidationProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
- func (avp AddressValidationProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
- func (avp AddressValidationProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
- func (avp AddressValidationProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
- func (avp AddressValidationProperties) MarshalJSON() ([]byte, error)
- type AddressValidationStatus
- type ApplianceNetworkConfiguration
- type ArmBaseObject
- type AvailableSkuRequest
- type AvailableSkusResult
- type AvailableSkusResultIterator
- func (iter *AvailableSkusResultIterator) Next() error
- func (iter *AvailableSkusResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AvailableSkusResultIterator) NotDone() bool
- func (iter AvailableSkusResultIterator) Response() AvailableSkusResult
- func (iter AvailableSkusResultIterator) Value() SkuInformation
- type AvailableSkusResultPage
- func (page *AvailableSkusResultPage) Next() error
- func (page *AvailableSkusResultPage) NextWithContext(ctx context.Context) (err error)
- func (page AvailableSkusResultPage) NotDone() bool
- func (page AvailableSkusResultPage) Response() AvailableSkusResult
- func (page AvailableSkusResultPage) Values() []SkuInformation
- type BaseClient
- type BasicCopyLogDetails
- type BasicDestinationAccountDetails
- type BasicJobDetails
- type BasicJobSecrets
- type BasicScheduleAvailabilityRequest
- type BasicValidationInputRequest
- type BasicValidationInputResponse
- type BasicValidationRequest
- type CancellationReason
- type CloudError
- type ContactDetails
- type CopyLogDetails
- func (cld CopyLogDetails) AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool)
- func (cld CopyLogDetails) AsBasicCopyLogDetails() (BasicCopyLogDetails, bool)
- func (cld CopyLogDetails) AsCopyLogDetails() (*CopyLogDetails, bool)
- func (cld CopyLogDetails) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool)
- func (cld CopyLogDetails) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool)
- func (cld CopyLogDetails) MarshalJSON() ([]byte, error)
- type CopyLogDetailsType
- type CopyProgress
- type CopyStatus
- type CreateJobValidations
- func (cjv CreateJobValidations) AsBasicValidationRequest() (BasicValidationRequest, bool)
- func (cjv CreateJobValidations) AsCreateJobValidations() (*CreateJobValidations, bool)
- func (cjv CreateJobValidations) AsValidationRequest() (*ValidationRequest, bool)
- func (cjv CreateJobValidations) MarshalJSON() ([]byte, error)
- func (cjv *CreateJobValidations) UnmarshalJSON(body []byte) error
- type CreateOrderLimitForSubscriptionValidationRequest
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
- func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) MarshalJSON() ([]byte, error)
- type CreateOrderLimitForSubscriptionValidationResponseProperties
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
- func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) MarshalJSON() ([]byte, error)
- type DataDestinationDetailsValidationRequest
- func (dddvr DataDestinationDetailsValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
- func (dddvr DataDestinationDetailsValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
- func (dddvr DataDestinationDetailsValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
- func (dddvr DataDestinationDetailsValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
- func (dddvr DataDestinationDetailsValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
- func (dddvr DataDestinationDetailsValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
- func (dddvr DataDestinationDetailsValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
- func (dddvr DataDestinationDetailsValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
- func (dddvr DataDestinationDetailsValidationRequest) MarshalJSON() ([]byte, error)
- func (dddvr *DataDestinationDetailsValidationRequest) UnmarshalJSON(body []byte) error
- type DataDestinationDetailsValidationResponseProperties
- func (dddvrp DataDestinationDetailsValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
- func (dddvrp DataDestinationDetailsValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
- func (dddvrp DataDestinationDetailsValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
- func (dddvrp DataDestinationDetailsValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
- func (dddvrp DataDestinationDetailsValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
- func (dddvrp DataDestinationDetailsValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
- func (dddvrp DataDestinationDetailsValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
- func (dddvrp DataDestinationDetailsValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
- func (dddvrp DataDestinationDetailsValidationResponseProperties) MarshalJSON() ([]byte, error)
- type DataDestinationType
- type DataDestinationTypeBasicDestinationAccountDetails
- type DcAccessSecurityCode
- type DestinationAccountDetails
- func (dad DestinationAccountDetails) AsBasicDestinationAccountDetails() (BasicDestinationAccountDetails, bool)
- func (dad DestinationAccountDetails) AsDestinationAccountDetails() (*DestinationAccountDetails, bool)
- func (dad DestinationAccountDetails) AsDestinationManagedDiskDetails() (*DestinationManagedDiskDetails, bool)
- func (dad DestinationAccountDetails) AsDestinationStorageAccountDetails() (*DestinationStorageAccountDetails, bool)
- func (dad DestinationAccountDetails) MarshalJSON() ([]byte, error)
- type DestinationManagedDiskDetails
- func (dmdd DestinationManagedDiskDetails) AsBasicDestinationAccountDetails() (BasicDestinationAccountDetails, bool)
- func (dmdd DestinationManagedDiskDetails) AsDestinationAccountDetails() (*DestinationAccountDetails, bool)
- func (dmdd DestinationManagedDiskDetails) AsDestinationManagedDiskDetails() (*DestinationManagedDiskDetails, bool)
- func (dmdd DestinationManagedDiskDetails) AsDestinationStorageAccountDetails() (*DestinationStorageAccountDetails, bool)
- func (dmdd DestinationManagedDiskDetails) MarshalJSON() ([]byte, error)
- type DestinationStorageAccountDetails
- func (dsad DestinationStorageAccountDetails) AsBasicDestinationAccountDetails() (BasicDestinationAccountDetails, bool)
- func (dsad DestinationStorageAccountDetails) AsDestinationAccountDetails() (*DestinationAccountDetails, bool)
- func (dsad DestinationStorageAccountDetails) AsDestinationManagedDiskDetails() (*DestinationManagedDiskDetails, bool)
- func (dsad DestinationStorageAccountDetails) AsDestinationStorageAccountDetails() (*DestinationStorageAccountDetails, bool)
- func (dsad DestinationStorageAccountDetails) MarshalJSON() ([]byte, error)
- type DestinationToServiceLocationMap
- type DiskCopyLogDetails
- func (dcld DiskCopyLogDetails) AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool)
- func (dcld DiskCopyLogDetails) AsBasicCopyLogDetails() (BasicCopyLogDetails, bool)
- func (dcld DiskCopyLogDetails) AsCopyLogDetails() (*CopyLogDetails, bool)
- func (dcld DiskCopyLogDetails) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool)
- func (dcld DiskCopyLogDetails) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool)
- func (dcld DiskCopyLogDetails) MarshalJSON() ([]byte, error)
- type DiskCopyProgress
- type DiskJobDetails
- func (djd DiskJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)
- func (djd DiskJobDetails) AsDiskJobDetails() (*DiskJobDetails, bool)
- func (djd DiskJobDetails) AsHeavyJobDetails() (*HeavyJobDetails, bool)
- func (djd DiskJobDetails) AsJobDetails() (*JobDetails, bool)
- func (djd DiskJobDetails) AsJobDetailsType() (*JobDetailsType, bool)
- func (djd DiskJobDetails) MarshalJSON() ([]byte, error)
- func (djd *DiskJobDetails) UnmarshalJSON(body []byte) error
- type DiskJobSecrets
- func (djs DiskJobSecrets) AsBasicJobSecrets() (BasicJobSecrets, bool)
- func (djs DiskJobSecrets) AsDiskJobSecrets() (*DiskJobSecrets, bool)
- func (djs DiskJobSecrets) AsHeavyJobSecrets() (*HeavyJobSecrets, bool)
- func (djs DiskJobSecrets) AsJobSecrets() (*JobSecrets, bool)
- func (djs DiskJobSecrets) AsJobSecretsType() (*JobSecretsType, bool)
- func (djs DiskJobSecrets) MarshalJSON() ([]byte, error)
- type DiskScheduleAvailabilityRequest
- func (dsar DiskScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest() (BasicScheduleAvailabilityRequest, bool)
- func (dsar DiskScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool)
- func (dsar DiskScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool)
- func (dsar DiskScheduleAvailabilityRequest) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool)
- func (dsar DiskScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool)
- func (dsar DiskScheduleAvailabilityRequest) MarshalJSON() ([]byte, error)
- type DiskSecret
- type Error
- type HeavyAccountCopyLogDetails
- func (hacld HeavyAccountCopyLogDetails) AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool)
- func (hacld HeavyAccountCopyLogDetails) AsBasicCopyLogDetails() (BasicCopyLogDetails, bool)
- func (hacld HeavyAccountCopyLogDetails) AsCopyLogDetails() (*CopyLogDetails, bool)
- func (hacld HeavyAccountCopyLogDetails) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool)
- func (hacld HeavyAccountCopyLogDetails) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool)
- func (hacld HeavyAccountCopyLogDetails) MarshalJSON() ([]byte, error)
- type HeavyJobDetails
- func (hjd HeavyJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)
- func (hjd HeavyJobDetails) AsDiskJobDetails() (*DiskJobDetails, bool)
- func (hjd HeavyJobDetails) AsHeavyJobDetails() (*HeavyJobDetails, bool)
- func (hjd HeavyJobDetails) AsJobDetails() (*JobDetails, bool)
- func (hjd HeavyJobDetails) AsJobDetailsType() (*JobDetailsType, bool)
- func (hjd HeavyJobDetails) MarshalJSON() ([]byte, error)
- func (hjd *HeavyJobDetails) UnmarshalJSON(body []byte) error
- type HeavyJobSecrets
- func (hjs HeavyJobSecrets) AsBasicJobSecrets() (BasicJobSecrets, bool)
- func (hjs HeavyJobSecrets) AsDiskJobSecrets() (*DiskJobSecrets, bool)
- func (hjs HeavyJobSecrets) AsHeavyJobSecrets() (*HeavyJobSecrets, bool)
- func (hjs HeavyJobSecrets) AsJobSecrets() (*JobSecrets, bool)
- func (hjs HeavyJobSecrets) AsJobSecretsType() (*JobSecretsType, bool)
- func (hjs HeavyJobSecrets) MarshalJSON() ([]byte, error)
- type HeavyScheduleAvailabilityRequest
- func (hsar HeavyScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest() (BasicScheduleAvailabilityRequest, bool)
- func (hsar HeavyScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool)
- func (hsar HeavyScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool)
- func (hsar HeavyScheduleAvailabilityRequest) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool)
- func (hsar HeavyScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool)
- func (hsar HeavyScheduleAvailabilityRequest) MarshalJSON() ([]byte, error)
- type HeavySecret
- type JobDeliveryInfo
- type JobDeliveryType
- type JobDetails
- func (jd JobDetails) AsBasicJobDetails() (BasicJobDetails, bool)
- func (jd JobDetails) AsDiskJobDetails() (*DiskJobDetails, bool)
- func (jd JobDetails) AsHeavyJobDetails() (*HeavyJobDetails, bool)
- func (jd JobDetails) AsJobDetails() (*JobDetails, bool)
- func (jd JobDetails) AsJobDetailsType() (*JobDetailsType, bool)
- func (jd JobDetails) MarshalJSON() ([]byte, error)
- func (jd *JobDetails) UnmarshalJSON(body []byte) error
- type JobDetailsType
- func (jdt JobDetailsType) AsBasicJobDetails() (BasicJobDetails, bool)
- func (jdt JobDetailsType) AsDiskJobDetails() (*DiskJobDetails, bool)
- func (jdt JobDetailsType) AsHeavyJobDetails() (*HeavyJobDetails, bool)
- func (jdt JobDetailsType) AsJobDetails() (*JobDetails, bool)
- func (jdt JobDetailsType) AsJobDetailsType() (*JobDetailsType, bool)
- func (jdt JobDetailsType) MarshalJSON() ([]byte, error)
- func (jdt *JobDetailsType) UnmarshalJSON(body []byte) error
- type JobDetailsTypeEnum
- type JobErrorDetails
- type JobProperties
- type JobResource
- type JobResourceList
- type JobResourceListIterator
- func (iter *JobResourceListIterator) Next() error
- func (iter *JobResourceListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JobResourceListIterator) NotDone() bool
- func (iter JobResourceListIterator) Response() JobResourceList
- func (iter JobResourceListIterator) Value() JobResource
- type JobResourceListPage
- type JobResourceUpdateParameter
- type JobSecrets
- func (js JobSecrets) AsBasicJobSecrets() (BasicJobSecrets, bool)
- func (js JobSecrets) AsDiskJobSecrets() (*DiskJobSecrets, bool)
- func (js JobSecrets) AsHeavyJobSecrets() (*HeavyJobSecrets, bool)
- func (js JobSecrets) AsJobSecrets() (*JobSecrets, bool)
- func (js JobSecrets) AsJobSecretsType() (*JobSecretsType, bool)
- func (js JobSecrets) MarshalJSON() ([]byte, error)
- type JobSecretsType
- func (jst JobSecretsType) AsBasicJobSecrets() (BasicJobSecrets, bool)
- func (jst JobSecretsType) AsDiskJobSecrets() (*DiskJobSecrets, bool)
- func (jst JobSecretsType) AsHeavyJobSecrets() (*HeavyJobSecrets, bool)
- func (jst JobSecretsType) AsJobSecrets() (*JobSecrets, bool)
- func (jst JobSecretsType) AsJobSecretsType() (*JobSecretsType, bool)
- func (jst JobSecretsType) MarshalJSON() ([]byte, error)
- type JobSecretsTypeEnum
- type JobStages
- type JobsClient
- func (client JobsClient) BookShipmentPickUp(ctx context.Context, resourceGroupName string, jobName string, ...) (result ShipmentPickUpResponse, err error)
- func (client JobsClient) BookShipmentPickUpPreparer(ctx context.Context, resourceGroupName string, jobName string, ...) (*http.Request, error)
- func (client JobsClient) BookShipmentPickUpResponder(resp *http.Response) (result ShipmentPickUpResponse, err error)
- func (client JobsClient) BookShipmentPickUpSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) Cancel(ctx context.Context, resourceGroupName string, jobName string, ...) (result autorest.Response, err error)
- func (client JobsClient) CancelPreparer(ctx context.Context, resourceGroupName string, jobName string, ...) (*http.Request, error)
- func (client JobsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobsClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) Create(ctx context.Context, resourceGroupName string, jobName string, ...) (result JobsCreateFuture, err error)
- func (client JobsClient) CreatePreparer(ctx context.Context, resourceGroupName string, jobName string, ...) (*http.Request, error)
- func (client JobsClient) CreateResponder(resp *http.Response) (result JobResource, err error)
- func (client JobsClient) CreateSender(req *http.Request) (future JobsCreateFuture, err error)
- func (client JobsClient) Delete(ctx context.Context, resourceGroupName string, jobName string) (result JobsDeleteFuture, err error)
- func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName string, jobName string) (*http.Request, error)
- func (client JobsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobsClient) DeleteSender(req *http.Request) (future JobsDeleteFuture, err error)
- func (client JobsClient) Get(ctx context.Context, resourceGroupName string, jobName string, expand string) (result JobResource, err error)
- func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName string, jobName string, expand string) (*http.Request, error)
- func (client JobsClient) GetResponder(resp *http.Response) (result JobResource, err error)
- func (client JobsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) List(ctx context.Context, skipToken string) (result JobResourceListPage, err error)
- func (client JobsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, skipToken string) (result JobResourceListPage, err error)
- func (client JobsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, skipToken string) (result JobResourceListIterator, err error)
- func (client JobsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skipToken string) (*http.Request, error)
- func (client JobsClient) ListByResourceGroupResponder(resp *http.Response) (result JobResourceList, err error)
- func (client JobsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) ListComplete(ctx context.Context, skipToken string) (result JobResourceListIterator, err error)
- func (client JobsClient) ListCredentials(ctx context.Context, resourceGroupName string, jobName string) (result UnencryptedCredentialsList, err error)
- func (client JobsClient) ListCredentialsPreparer(ctx context.Context, resourceGroupName string, jobName string) (*http.Request, error)
- func (client JobsClient) ListCredentialsResponder(resp *http.Response) (result UnencryptedCredentialsList, err error)
- func (client JobsClient) ListCredentialsSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) ListPreparer(ctx context.Context, skipToken string) (*http.Request, error)
- func (client JobsClient) ListResponder(resp *http.Response) (result JobResourceList, err error)
- func (client JobsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) Update(ctx context.Context, resourceGroupName string, jobName string, ...) (result JobsUpdateFuture, err error)
- func (client JobsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, jobName string, ...) (*http.Request, error)
- func (client JobsClient) UpdateResponder(resp *http.Response) (result JobResource, err error)
- func (client JobsClient) UpdateSender(req *http.Request) (future JobsUpdateFuture, err error)
- type JobsCreateFuture
- type JobsDeleteFuture
- type JobsUpdateFuture
- type NotificationPreference
- type NotificationStageName
- type Operation
- type OperationDisplay
- type OperationList
- type OperationListIterator
- type OperationListPage
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OverallValidationStatus
- type PackageShippingDetails
- type Preferences
- type PreferencesValidationRequest
- func (pvr PreferencesValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
- func (pvr PreferencesValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
- func (pvr PreferencesValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
- func (pvr PreferencesValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
- func (pvr PreferencesValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
- func (pvr PreferencesValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
- func (pvr PreferencesValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
- func (pvr PreferencesValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
- func (pvr PreferencesValidationRequest) MarshalJSON() ([]byte, error)
- type PreferencesValidationResponseProperties
- func (pvrp PreferencesValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
- func (pvrp PreferencesValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
- func (pvrp PreferencesValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
- func (pvrp PreferencesValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
- func (pvrp PreferencesValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
- func (pvrp PreferencesValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
- func (pvrp PreferencesValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
- func (pvrp PreferencesValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
- func (pvrp PreferencesValidationResponseProperties) MarshalJSON() ([]byte, error)
- type RegionConfigurationRequest
- type RegionConfigurationResponse
- type Resource
- type ScheduleAvailabilityRequest
- func (sar ScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest() (BasicScheduleAvailabilityRequest, bool)
- func (sar ScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool)
- func (sar ScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool)
- func (sar ScheduleAvailabilityRequest) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool)
- func (sar ScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool)
- func (sar ScheduleAvailabilityRequest) MarshalJSON() ([]byte, error)
- type ScheduleAvailabilityRequestType
- func (sart ScheduleAvailabilityRequestType) AsBasicScheduleAvailabilityRequest() (BasicScheduleAvailabilityRequest, bool)
- func (sart ScheduleAvailabilityRequestType) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool)
- func (sart ScheduleAvailabilityRequestType) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool)
- func (sart ScheduleAvailabilityRequestType) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool)
- func (sart ScheduleAvailabilityRequestType) AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool)
- func (sart ScheduleAvailabilityRequestType) MarshalJSON() ([]byte, error)
- type ScheduleAvailabilityResponse
- type Secret
- type ServiceClient
- func (client ServiceClient) ListAvailableSkus(ctx context.Context, location string, availableSkuRequest AvailableSkuRequest) (result AvailableSkusResultPage, err error)
- func (client ServiceClient) ListAvailableSkusByResourceGroup(ctx context.Context, resourceGroupName string, location string, ...) (result AvailableSkusResultPage, err error)
- func (client ServiceClient) ListAvailableSkusByResourceGroupComplete(ctx context.Context, resourceGroupName string, location string, ...) (result AvailableSkusResultIterator, err error)
- func (client ServiceClient) ListAvailableSkusByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string, ...) (*http.Request, error)
- func (client ServiceClient) ListAvailableSkusByResourceGroupResponder(resp *http.Response) (result AvailableSkusResult, err error)
- func (client ServiceClient) ListAvailableSkusByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) ListAvailableSkusComplete(ctx context.Context, location string, availableSkuRequest AvailableSkuRequest) (result AvailableSkusResultIterator, err error)
- func (client ServiceClient) ListAvailableSkusPreparer(ctx context.Context, location string, availableSkuRequest AvailableSkuRequest) (*http.Request, error)
- func (client ServiceClient) ListAvailableSkusResponder(resp *http.Response) (result AvailableSkusResult, err error)
- func (client ServiceClient) ListAvailableSkusSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) RegionConfiguration(ctx context.Context, location string, ...) (result RegionConfigurationResponse, err error)
- func (client ServiceClient) RegionConfigurationPreparer(ctx context.Context, location string, ...) (*http.Request, error)
- func (client ServiceClient) RegionConfigurationResponder(resp *http.Response) (result RegionConfigurationResponse, err error)
- func (client ServiceClient) RegionConfigurationSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) ValidateAddressMethod(ctx context.Context, location string, validateAddress ValidateAddress) (result AddressValidationOutput, err error)
- func (client ServiceClient) ValidateAddressMethodPreparer(ctx context.Context, location string, validateAddress ValidateAddress) (*http.Request, error)
- func (client ServiceClient) ValidateAddressMethodResponder(resp *http.Response) (result AddressValidationOutput, err error)
- func (client ServiceClient) ValidateAddressMethodSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) ValidateInputs(ctx context.Context, location string, validationRequest BasicValidationRequest) (result ValidationResponse, err error)
- func (client ServiceClient) ValidateInputsByResourceGroup(ctx context.Context, resourceGroupName string, location string, ...) (result ValidationResponse, err error)
- func (client ServiceClient) ValidateInputsByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string, ...) (*http.Request, error)
- func (client ServiceClient) ValidateInputsByResourceGroupResponder(resp *http.Response) (result ValidationResponse, err error)
- func (client ServiceClient) ValidateInputsByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) ValidateInputsPreparer(ctx context.Context, location string, validationRequest BasicValidationRequest) (*http.Request, error)
- func (client ServiceClient) ValidateInputsResponder(resp *http.Response) (result ValidationResponse, err error)
- func (client ServiceClient) ValidateInputsSender(req *http.Request) (*http.Response, error)
- type ShareCredentialDetails
- type ShareDestinationFormatType
- type ShipmentPickUpRequest
- type ShipmentPickUpResponse
- type ShippingAddress
- type Sku
- type SkuAvailabilityValidationRequest
- func (savr SkuAvailabilityValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
- func (savr SkuAvailabilityValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
- func (savr SkuAvailabilityValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
- func (savr SkuAvailabilityValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
- func (savr SkuAvailabilityValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
- func (savr SkuAvailabilityValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
- func (savr SkuAvailabilityValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
- func (savr SkuAvailabilityValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
- func (savr SkuAvailabilityValidationRequest) MarshalJSON() ([]byte, error)
- type SkuAvailabilityValidationResponseProperties
- func (savrp SkuAvailabilityValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
- func (savrp SkuAvailabilityValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
- func (savrp SkuAvailabilityValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
- func (savrp SkuAvailabilityValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
- func (savrp SkuAvailabilityValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
- func (savrp SkuAvailabilityValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
- func (savrp SkuAvailabilityValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
- func (savrp SkuAvailabilityValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
- func (savrp SkuAvailabilityValidationResponseProperties) MarshalJSON() ([]byte, error)
- type SkuCapacity
- type SkuCost
- type SkuDisabledReason
- type SkuInformation
- type SkuName
- type SkuNameBasicScheduleAvailabilityRequest
- type SkuProperties
- type StageName
- type StageStatus
- type SubscriptionIsAllowedToCreateJobValidationRequest
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
- func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) MarshalJSON() ([]byte, error)
- type SubscriptionIsAllowedToCreateJobValidationResponseProperties
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
- func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) MarshalJSON() ([]byte, error)
- type TransportAvailabilityDetails
- type TransportAvailabilityRequest
- type TransportAvailabilityResponse
- type TransportPreferences
- type TransportShipmentTypes
- type UnencryptedCredentials
- type UnencryptedCredentialsList
- type UpdateJobDetails
- type UpdateJobProperties
- type ValidateAddress
- func (va ValidateAddress) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
- func (va ValidateAddress) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
- func (va ValidateAddress) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
- func (va ValidateAddress) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
- func (va ValidateAddress) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
- func (va ValidateAddress) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
- func (va ValidateAddress) AsValidateAddress() (*ValidateAddress, bool)
- func (va ValidateAddress) AsValidationInputRequest() (*ValidationInputRequest, bool)
- func (va ValidateAddress) MarshalJSON() ([]byte, error)
- type ValidationCategory
- type ValidationInputRequest
- func (vir ValidationInputRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
- func (vir ValidationInputRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
- func (vir ValidationInputRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
- func (vir ValidationInputRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
- func (vir ValidationInputRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
- func (vir ValidationInputRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
- func (vir ValidationInputRequest) AsValidateAddress() (*ValidateAddress, bool)
- func (vir ValidationInputRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
- func (vir ValidationInputRequest) MarshalJSON() ([]byte, error)
- type ValidationInputResponse
- func (vir ValidationInputResponse) AsAddressValidationProperties() (*AddressValidationProperties, bool)
- func (vir ValidationInputResponse) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
- func (vir ValidationInputResponse) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
- func (vir ValidationInputResponse) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
- func (vir ValidationInputResponse) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
- func (vir ValidationInputResponse) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
- func (vir ValidationInputResponse) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
- func (vir ValidationInputResponse) AsValidationInputResponse() (*ValidationInputResponse, bool)
- func (vir ValidationInputResponse) MarshalJSON() ([]byte, error)
- type ValidationRequest
- func (vr ValidationRequest) AsBasicValidationRequest() (BasicValidationRequest, bool)
- func (vr ValidationRequest) AsCreateJobValidations() (*CreateJobValidations, bool)
- func (vr ValidationRequest) AsValidationRequest() (*ValidationRequest, bool)
- func (vr ValidationRequest) MarshalJSON() ([]byte, error)
- func (vr *ValidationRequest) UnmarshalJSON(body []byte) error
- type ValidationResponse
- type ValidationResponseProperties
- type ValidationStatus
- type ValidationType
- type ValidationTypeBasicValidationInputResponse
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Databox
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AccessProtocol ¶
type AccessProtocol string
AccessProtocol enumerates the values for access protocol.
const ( // NFS Network File System protocol(NFS). NFS AccessProtocol = "NFS" // SMB Server Message Block protocol(SMB). SMB AccessProtocol = "SMB" )
func PossibleAccessProtocolValues ¶
func PossibleAccessProtocolValues() []AccessProtocol
PossibleAccessProtocolValues returns an array of possible values for the AccessProtocol const type.
type AccountCopyLogDetails ¶
type AccountCopyLogDetails struct { // AccountName - READ-ONLY; Destination account name. AccountName *string `json:"accountName,omitempty"` // CopyLogLink - READ-ONLY; Link for copy logs. CopyLogLink *string `json:"copyLogLink,omitempty"` // CopyLogDetailsType - Possible values include: 'CopyLogDetailsTypeCopyLogDetails', 'CopyLogDetailsTypeDataBox', 'CopyLogDetailsTypeDataBoxDisk', 'CopyLogDetailsTypeDataBoxHeavy' CopyLogDetailsType CopyLogDetailsType `json:"copyLogDetailsType,omitempty"` }
AccountCopyLogDetails copy log details for a storage account of a DataBox job
func (AccountCopyLogDetails) AsAccountCopyLogDetails ¶
func (acld AccountCopyLogDetails) AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool)
AsAccountCopyLogDetails is the BasicCopyLogDetails implementation for AccountCopyLogDetails.
func (AccountCopyLogDetails) AsBasicCopyLogDetails ¶
func (acld AccountCopyLogDetails) AsBasicCopyLogDetails() (BasicCopyLogDetails, bool)
AsBasicCopyLogDetails is the BasicCopyLogDetails implementation for AccountCopyLogDetails.
func (AccountCopyLogDetails) AsCopyLogDetails ¶
func (acld AccountCopyLogDetails) AsCopyLogDetails() (*CopyLogDetails, bool)
AsCopyLogDetails is the BasicCopyLogDetails implementation for AccountCopyLogDetails.
func (AccountCopyLogDetails) AsDiskCopyLogDetails ¶
func (acld AccountCopyLogDetails) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool)
AsDiskCopyLogDetails is the BasicCopyLogDetails implementation for AccountCopyLogDetails.
func (AccountCopyLogDetails) AsHeavyAccountCopyLogDetails ¶
func (acld AccountCopyLogDetails) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool)
AsHeavyAccountCopyLogDetails is the BasicCopyLogDetails implementation for AccountCopyLogDetails.
func (AccountCopyLogDetails) MarshalJSON ¶
func (acld AccountCopyLogDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountCopyLogDetails.
type AccountCredentialDetails ¶
type AccountCredentialDetails struct { // AccountName - READ-ONLY; Name of the account. AccountName *string `json:"accountName,omitempty"` // DataDestinationType - READ-ONLY; Data Destination Type. Possible values include: 'StorageAccount', 'ManagedDisk' DataDestinationType DataDestinationType `json:"dataDestinationType,omitempty"` // AccountConnectionString - READ-ONLY; Connection string of the account endpoint to use the account as a storage endpoint on the device. AccountConnectionString *string `json:"accountConnectionString,omitempty"` ShareCredentialDetails *[]ShareCredentialDetails `json:"shareCredentialDetails,omitempty"` }
AccountCredentialDetails credential details of the account.
func (AccountCredentialDetails) MarshalJSON ¶
func (acd AccountCredentialDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AccountCredentialDetails.
type AddressType ¶
type AddressType string
AddressType enumerates the values for address type.
const ( // Commercial Commercial Address. Commercial AddressType = "Commercial" // None Address type not known. None AddressType = "None" // Residential Residential Address. Residential AddressType = "Residential" )
func PossibleAddressTypeValues ¶
func PossibleAddressTypeValues() []AddressType
PossibleAddressTypeValues returns an array of possible values for the AddressType const type.
type AddressValidationOutput ¶
type AddressValidationOutput struct { autorest.Response `json:"-"` // AddressValidationProperties - READ-ONLY; The address validation properties. *AddressValidationProperties `json:"properties,omitempty"` }
AddressValidationOutput output of the address validation api.
func (AddressValidationOutput) MarshalJSON ¶
func (avo AddressValidationOutput) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AddressValidationOutput.
func (*AddressValidationOutput) UnmarshalJSON ¶
func (avo *AddressValidationOutput) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AddressValidationOutput struct.
type AddressValidationProperties ¶
type AddressValidationProperties struct { // ValidationStatus - READ-ONLY; The address validation status. Possible values include: 'Valid', 'Invalid', 'Ambiguous' ValidationStatus AddressValidationStatus `json:"validationStatus,omitempty"` // AlternateAddresses - READ-ONLY; List of alternate addresses. AlternateAddresses *[]ShippingAddress `json:"alternateAddresses,omitempty"` // Error - READ-ONLY; Error code and message of validation response. Error *Error `json:"error,omitempty"` // ValidationType - Possible values include: 'ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails', 'ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob' ValidationType ValidationTypeBasicValidationInputResponse `json:"validationType,omitempty"` }
AddressValidationProperties the address validation output.
func (AddressValidationProperties) AsAddressValidationProperties ¶
func (avp AddressValidationProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
AsAddressValidationProperties is the BasicValidationInputResponse implementation for AddressValidationProperties.
func (AddressValidationProperties) AsBasicValidationInputResponse ¶
func (avp AddressValidationProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
AsBasicValidationInputResponse is the BasicValidationInputResponse implementation for AddressValidationProperties.
func (AddressValidationProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties ¶
func (avp AddressValidationProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
AsCreateOrderLimitForSubscriptionValidationResponseProperties is the BasicValidationInputResponse implementation for AddressValidationProperties.
func (AddressValidationProperties) AsDataDestinationDetailsValidationResponseProperties ¶
func (avp AddressValidationProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
AsDataDestinationDetailsValidationResponseProperties is the BasicValidationInputResponse implementation for AddressValidationProperties.
func (AddressValidationProperties) AsPreferencesValidationResponseProperties ¶
func (avp AddressValidationProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
AsPreferencesValidationResponseProperties is the BasicValidationInputResponse implementation for AddressValidationProperties.
func (AddressValidationProperties) AsSkuAvailabilityValidationResponseProperties ¶
func (avp AddressValidationProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
AsSkuAvailabilityValidationResponseProperties is the BasicValidationInputResponse implementation for AddressValidationProperties.
func (AddressValidationProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties ¶
func (avp AddressValidationProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
AsSubscriptionIsAllowedToCreateJobValidationResponseProperties is the BasicValidationInputResponse implementation for AddressValidationProperties.
func (AddressValidationProperties) AsValidationInputResponse ¶
func (avp AddressValidationProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
AsValidationInputResponse is the BasicValidationInputResponse implementation for AddressValidationProperties.
func (AddressValidationProperties) MarshalJSON ¶
func (avp AddressValidationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AddressValidationProperties.
type AddressValidationStatus ¶
type AddressValidationStatus string
AddressValidationStatus enumerates the values for address validation status.
const ( // Ambiguous Address provided is ambiguous, please choose one of the alternate addresses returned. Ambiguous AddressValidationStatus = "Ambiguous" // Invalid Address provided is invalid or not supported. Invalid AddressValidationStatus = "Invalid" // Valid Address provided is valid. Valid AddressValidationStatus = "Valid" )
func PossibleAddressValidationStatusValues ¶
func PossibleAddressValidationStatusValues() []AddressValidationStatus
PossibleAddressValidationStatusValues returns an array of possible values for the AddressValidationStatus const type.
type ApplianceNetworkConfiguration ¶
type ApplianceNetworkConfiguration struct { // Name - READ-ONLY; Name of the network. Name *string `json:"name,omitempty"` // MacAddress - READ-ONLY; Mac Address. MacAddress *string `json:"macAddress,omitempty"` }
ApplianceNetworkConfiguration the Network Adapter configuration of a DataBox.
func (ApplianceNetworkConfiguration) MarshalJSON ¶
func (anc ApplianceNetworkConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplianceNetworkConfiguration.
type ArmBaseObject ¶
type ArmBaseObject struct { // Name - READ-ONLY; Name of the object. Name *string `json:"name,omitempty"` // ID - READ-ONLY; Id of the object. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of the object. Type *string `json:"type,omitempty"` }
ArmBaseObject base class for all objects under resource.
func (ArmBaseObject) MarshalJSON ¶
func (abo ArmBaseObject) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ArmBaseObject.
type AvailableSkuRequest ¶
type AvailableSkuRequest struct { // TransferType - Type of the transfer. TransferType *string `json:"transferType,omitempty"` // Country - ISO country code. Country for hardware shipment. For codes check: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements Country *string `json:"country,omitempty"` // Location - Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 Location *string `json:"location,omitempty"` // SkuNames - Sku Names to filter for available skus SkuNames *[]SkuName `json:"skuNames,omitempty"` }
AvailableSkuRequest the filters for showing the available skus.
type AvailableSkusResult ¶
type AvailableSkusResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of available skus. Value *[]SkuInformation `json:"value,omitempty"` // NextLink - Link for the next set of skus. NextLink *string `json:"nextLink,omitempty"` }
AvailableSkusResult the available skus operation response.
func (AvailableSkusResult) IsEmpty ¶
func (asr AvailableSkusResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (AvailableSkusResult) MarshalJSON ¶
func (asr AvailableSkusResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AvailableSkusResult.
type AvailableSkusResultIterator ¶
type AvailableSkusResultIterator struct {
// contains filtered or unexported fields
}
AvailableSkusResultIterator provides access to a complete listing of SkuInformation values.
func NewAvailableSkusResultIterator ¶
func NewAvailableSkusResultIterator(page AvailableSkusResultPage) AvailableSkusResultIterator
Creates a new instance of the AvailableSkusResultIterator type.
func (*AvailableSkusResultIterator) Next ¶
func (iter *AvailableSkusResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AvailableSkusResultIterator) NextWithContext ¶
func (iter *AvailableSkusResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AvailableSkusResultIterator) NotDone ¶
func (iter AvailableSkusResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AvailableSkusResultIterator) Response ¶
func (iter AvailableSkusResultIterator) Response() AvailableSkusResult
Response returns the raw server response from the last page request.
func (AvailableSkusResultIterator) Value ¶
func (iter AvailableSkusResultIterator) Value() SkuInformation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AvailableSkusResultPage ¶
type AvailableSkusResultPage struct {
// contains filtered or unexported fields
}
AvailableSkusResultPage contains a page of SkuInformation values.
func NewAvailableSkusResultPage ¶
func NewAvailableSkusResultPage(cur AvailableSkusResult, getNextPage func(context.Context, AvailableSkusResult) (AvailableSkusResult, error)) AvailableSkusResultPage
Creates a new instance of the AvailableSkusResultPage type.
func (*AvailableSkusResultPage) Next ¶
func (page *AvailableSkusResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AvailableSkusResultPage) NextWithContext ¶
func (page *AvailableSkusResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AvailableSkusResultPage) NotDone ¶
func (page AvailableSkusResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AvailableSkusResultPage) Response ¶
func (page AvailableSkusResultPage) Response() AvailableSkusResult
Response returns the raw server response from the last page request.
func (AvailableSkusResultPage) Values ¶
func (page AvailableSkusResultPage) Values() []SkuInformation
Values returns the slice of values for the current page or nil if there are no values.
type BaseClient ¶
BaseClient is the base client for Databox.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BasicCopyLogDetails ¶
type BasicCopyLogDetails interface { AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool) AsCopyLogDetails() (*CopyLogDetails, bool) }
BasicCopyLogDetails details for log generated during copy.
type BasicDestinationAccountDetails ¶
type BasicDestinationAccountDetails interface { AsDestinationManagedDiskDetails() (*DestinationManagedDiskDetails, bool) AsDestinationStorageAccountDetails() (*DestinationStorageAccountDetails, bool) AsDestinationAccountDetails() (*DestinationAccountDetails, bool) }
BasicDestinationAccountDetails details of the destination storage accounts.
type BasicJobDetails ¶
type BasicJobDetails interface { AsDiskJobDetails() (*DiskJobDetails, bool) AsHeavyJobDetails() (*HeavyJobDetails, bool) AsJobDetailsType() (*JobDetailsType, bool) AsJobDetails() (*JobDetails, bool) }
BasicJobDetails job details.
type BasicJobSecrets ¶
type BasicJobSecrets interface { AsDiskJobSecrets() (*DiskJobSecrets, bool) AsHeavyJobSecrets() (*HeavyJobSecrets, bool) AsJobSecretsType() (*JobSecretsType, bool) AsJobSecrets() (*JobSecrets, bool) }
BasicJobSecrets the base class for the secrets
type BasicScheduleAvailabilityRequest ¶
type BasicScheduleAvailabilityRequest interface { AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool) }
BasicScheduleAvailabilityRequest request body to get the availability for scheduling orders.
type BasicValidationInputRequest ¶
type BasicValidationInputRequest interface { AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool) AsValidateAddress() (*ValidateAddress, bool) AsValidationInputRequest() (*ValidationInputRequest, bool) }
BasicValidationInputRequest minimum fields that must be present in any type of validation request.
type BasicValidationInputResponse ¶
type BasicValidationInputResponse interface { AsAddressValidationProperties() (*AddressValidationProperties, bool) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool) AsValidationInputResponse() (*ValidationInputResponse, bool) }
BasicValidationInputResponse minimum properties that should be present in each individual validation response.
type BasicValidationRequest ¶
type BasicValidationRequest interface { AsCreateJobValidations() (*CreateJobValidations, bool) AsValidationRequest() (*ValidationRequest, bool) }
BasicValidationRequest input request for all pre job creation validation.
type CancellationReason ¶
type CancellationReason struct { // Reason - Reason for cancellation. Reason *string `json:"reason,omitempty"` }
CancellationReason reason for cancellation.
type CloudError ¶
type CloudError struct { // Code - READ-ONLY; Error code string. Code *string `json:"code,omitempty"` // Message - READ-ONLY; Descriptive error information. Message *string `json:"message,omitempty"` // Target - Error target Target *string `json:"target,omitempty"` // Details - More detailed error information. Details *[]CloudError `json:"details,omitempty"` }
CloudError the error information object.
func (CloudError) MarshalJSON ¶
func (ce CloudError) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CloudError.
type ContactDetails ¶
type ContactDetails struct { // ContactName - Contact name of the person. ContactName *string `json:"contactName,omitempty"` // Phone - Phone number of the contact person. Phone *string `json:"phone,omitempty"` // PhoneExtension - Phone extension number of the contact person. PhoneExtension *string `json:"phoneExtension,omitempty"` // Mobile - Mobile number of the contact person. Mobile *string `json:"mobile,omitempty"` // EmailList - List of Email-ids to be notified about job progress. EmailList *[]string `json:"emailList,omitempty"` // NotificationPreference - Notification preference for a job stage. NotificationPreference *[]NotificationPreference `json:"notificationPreference,omitempty"` }
ContactDetails contact Details.
type CopyLogDetails ¶
type CopyLogDetails struct { // CopyLogDetailsType - Possible values include: 'CopyLogDetailsTypeCopyLogDetails', 'CopyLogDetailsTypeDataBox', 'CopyLogDetailsTypeDataBoxDisk', 'CopyLogDetailsTypeDataBoxHeavy' CopyLogDetailsType CopyLogDetailsType `json:"copyLogDetailsType,omitempty"` }
CopyLogDetails details for log generated during copy.
func (CopyLogDetails) AsAccountCopyLogDetails ¶
func (cld CopyLogDetails) AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool)
AsAccountCopyLogDetails is the BasicCopyLogDetails implementation for CopyLogDetails.
func (CopyLogDetails) AsBasicCopyLogDetails ¶
func (cld CopyLogDetails) AsBasicCopyLogDetails() (BasicCopyLogDetails, bool)
AsBasicCopyLogDetails is the BasicCopyLogDetails implementation for CopyLogDetails.
func (CopyLogDetails) AsCopyLogDetails ¶
func (cld CopyLogDetails) AsCopyLogDetails() (*CopyLogDetails, bool)
AsCopyLogDetails is the BasicCopyLogDetails implementation for CopyLogDetails.
func (CopyLogDetails) AsDiskCopyLogDetails ¶
func (cld CopyLogDetails) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool)
AsDiskCopyLogDetails is the BasicCopyLogDetails implementation for CopyLogDetails.
func (CopyLogDetails) AsHeavyAccountCopyLogDetails ¶
func (cld CopyLogDetails) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool)
AsHeavyAccountCopyLogDetails is the BasicCopyLogDetails implementation for CopyLogDetails.
func (CopyLogDetails) MarshalJSON ¶
func (cld CopyLogDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CopyLogDetails.
type CopyLogDetailsType ¶
type CopyLogDetailsType string
CopyLogDetailsType enumerates the values for copy log details type.
const ( // CopyLogDetailsTypeCopyLogDetails ... CopyLogDetailsTypeCopyLogDetails CopyLogDetailsType = "CopyLogDetails" // CopyLogDetailsTypeDataBox ... CopyLogDetailsTypeDataBox CopyLogDetailsType = "DataBox" // CopyLogDetailsTypeDataBoxDisk ... CopyLogDetailsTypeDataBoxDisk CopyLogDetailsType = "DataBoxDisk" // CopyLogDetailsTypeDataBoxHeavy ... CopyLogDetailsTypeDataBoxHeavy CopyLogDetailsType = "DataBoxHeavy" )
func PossibleCopyLogDetailsTypeValues ¶
func PossibleCopyLogDetailsTypeValues() []CopyLogDetailsType
PossibleCopyLogDetailsTypeValues returns an array of possible values for the CopyLogDetailsType const type.
type CopyProgress ¶
type CopyProgress struct { // StorageAccountName - READ-ONLY; Name of the storage account where the data needs to be uploaded. StorageAccountName *string `json:"storageAccountName,omitempty"` // DataDestinationType - READ-ONLY; Data Destination Type. Possible values include: 'StorageAccount', 'ManagedDisk' DataDestinationType DataDestinationType `json:"dataDestinationType,omitempty"` // AccountID - READ-ONLY; Id of the account where the data needs to be uploaded. AccountID *string `json:"accountId,omitempty"` // BytesSentToCloud - READ-ONLY; Amount of data uploaded by the job as of now. BytesSentToCloud *int64 `json:"bytesSentToCloud,omitempty"` // TotalBytesToProcess - READ-ONLY; Total amount of data to be processed by the job. TotalBytesToProcess *int64 `json:"totalBytesToProcess,omitempty"` // FilesProcessed - READ-ONLY; Number of files processed by the job as of now. FilesProcessed *int64 `json:"filesProcessed,omitempty"` // TotalFilesToProcess - READ-ONLY; Total number of files to be processed by the job. TotalFilesToProcess *int64 `json:"totalFilesToProcess,omitempty"` // InvalidFilesProcessed - READ-ONLY; Number of files not adhering to azure naming conventions which were processed by automatic renaming InvalidFilesProcessed *int64 `json:"invalidFilesProcessed,omitempty"` // InvalidFileBytesUploaded - READ-ONLY; Total amount of data not adhering to azure naming conventions which were processed by automatic renaming InvalidFileBytesUploaded *int64 `json:"invalidFileBytesUploaded,omitempty"` // RenamedContainerCount - READ-ONLY; Number of folders not adhering to azure naming conventions which were processed by automatic renaming RenamedContainerCount *int64 `json:"renamedContainerCount,omitempty"` // FilesErroredOut - READ-ONLY; Number of files which could not be copied FilesErroredOut *int64 `json:"filesErroredOut,omitempty"` }
CopyProgress copy progress.
func (CopyProgress) MarshalJSON ¶
func (cp CopyProgress) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CopyProgress.
type CopyStatus ¶
type CopyStatus string
CopyStatus enumerates the values for copy status.
const ( // Completed Data copy completed. Completed CopyStatus = "Completed" // CompletedWithErrors Data copy completed with errors. CompletedWithErrors CopyStatus = "CompletedWithErrors" // DeviceFormatted Data copy failed. The Device was formatted by user. DeviceFormatted CopyStatus = "DeviceFormatted" // DeviceMetadataModified Data copy failed. Device metadata was modified by user. DeviceMetadataModified CopyStatus = "DeviceMetadataModified" // Failed Data copy failed. No data was copied. Failed CopyStatus = "Failed" // HardwareError The Device has hit hardware issues. HardwareError CopyStatus = "HardwareError" // InProgress Data copy is in progress. InProgress CopyStatus = "InProgress" // NotReturned No copy triggered as device was not returned. NotReturned CopyStatus = "NotReturned" // NotStarted Data copy hasn't started yet. NotStarted CopyStatus = "NotStarted" // StorageAccountNotAccessible Data copy failed. Storage Account was not accessible during copy. StorageAccountNotAccessible CopyStatus = "StorageAccountNotAccessible" // UnsupportedData Data copy failed. The Device data content is not supported. UnsupportedData CopyStatus = "UnsupportedData" )
func PossibleCopyStatusValues ¶
func PossibleCopyStatusValues() []CopyStatus
PossibleCopyStatusValues returns an array of possible values for the CopyStatus const type.
type CreateJobValidations ¶
type CreateJobValidations struct { // IndividualRequestDetails - List of request details contain validationType and its request as key and value respectively. IndividualRequestDetails *[]BasicValidationInputRequest `json:"individualRequestDetails,omitempty"` // ValidationCategory - Possible values include: 'ValidationCategoryValidationRequest', 'ValidationCategoryJobCreationValidation' ValidationCategory ValidationCategory `json:"validationCategory,omitempty"` }
CreateJobValidations it does all pre-job creation validations.
func (CreateJobValidations) AsBasicValidationRequest ¶
func (cjv CreateJobValidations) AsBasicValidationRequest() (BasicValidationRequest, bool)
AsBasicValidationRequest is the BasicValidationRequest implementation for CreateJobValidations.
func (CreateJobValidations) AsCreateJobValidations ¶
func (cjv CreateJobValidations) AsCreateJobValidations() (*CreateJobValidations, bool)
AsCreateJobValidations is the BasicValidationRequest implementation for CreateJobValidations.
func (CreateJobValidations) AsValidationRequest ¶
func (cjv CreateJobValidations) AsValidationRequest() (*ValidationRequest, bool)
AsValidationRequest is the BasicValidationRequest implementation for CreateJobValidations.
func (CreateJobValidations) MarshalJSON ¶
func (cjv CreateJobValidations) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateJobValidations.
func (*CreateJobValidations) UnmarshalJSON ¶
func (cjv *CreateJobValidations) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateJobValidations struct.
type CreateOrderLimitForSubscriptionValidationRequest ¶
type CreateOrderLimitForSubscriptionValidationRequest struct { // DeviceType - Device type to be used for the job. Possible values include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy' DeviceType SkuName `json:"deviceType,omitempty"` // ValidationType - Possible values include: 'ValidationTypeValidationInputRequest', 'ValidationTypeValidateCreateOrderLimit', 'ValidationTypeValidateDataDestinationDetails', 'ValidationTypeValidatePreferences', 'ValidationTypeValidateSkuAvailability', 'ValidationTypeValidateSubscriptionIsAllowedToCreateJob', 'ValidationTypeValidateAddress' ValidationType ValidationType `json:"validationType,omitempty"` }
CreateOrderLimitForSubscriptionValidationRequest request to validate create order limit for current subscription.
func (CreateOrderLimitForSubscriptionValidationRequest) AsBasicValidationInputRequest ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
AsBasicValidationInputRequest is the BasicValidationInputRequest implementation for CreateOrderLimitForSubscriptionValidationRequest.
func (CreateOrderLimitForSubscriptionValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
AsCreateOrderLimitForSubscriptionValidationRequest is the BasicValidationInputRequest implementation for CreateOrderLimitForSubscriptionValidationRequest.
func (CreateOrderLimitForSubscriptionValidationRequest) AsDataDestinationDetailsValidationRequest ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
AsDataDestinationDetailsValidationRequest is the BasicValidationInputRequest implementation for CreateOrderLimitForSubscriptionValidationRequest.
func (CreateOrderLimitForSubscriptionValidationRequest) AsPreferencesValidationRequest ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
AsPreferencesValidationRequest is the BasicValidationInputRequest implementation for CreateOrderLimitForSubscriptionValidationRequest.
func (CreateOrderLimitForSubscriptionValidationRequest) AsSkuAvailabilityValidationRequest ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
AsSkuAvailabilityValidationRequest is the BasicValidationInputRequest implementation for CreateOrderLimitForSubscriptionValidationRequest.
func (CreateOrderLimitForSubscriptionValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
AsSubscriptionIsAllowedToCreateJobValidationRequest is the BasicValidationInputRequest implementation for CreateOrderLimitForSubscriptionValidationRequest.
func (CreateOrderLimitForSubscriptionValidationRequest) AsValidateAddress ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
AsValidateAddress is the BasicValidationInputRequest implementation for CreateOrderLimitForSubscriptionValidationRequest.
func (CreateOrderLimitForSubscriptionValidationRequest) AsValidationInputRequest ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
AsValidationInputRequest is the BasicValidationInputRequest implementation for CreateOrderLimitForSubscriptionValidationRequest.
func (CreateOrderLimitForSubscriptionValidationRequest) MarshalJSON ¶
func (colfsvr CreateOrderLimitForSubscriptionValidationRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateOrderLimitForSubscriptionValidationRequest.
type CreateOrderLimitForSubscriptionValidationResponseProperties ¶
type CreateOrderLimitForSubscriptionValidationResponseProperties struct { // Status - READ-ONLY; Create order limit validation status. Possible values include: 'ValidationStatusValid', 'ValidationStatusInvalid', 'ValidationStatusSkipped' Status ValidationStatus `json:"status,omitempty"` // Error - READ-ONLY; Error code and message of validation response. Error *Error `json:"error,omitempty"` // ValidationType - Possible values include: 'ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails', 'ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob' ValidationType ValidationTypeBasicValidationInputResponse `json:"validationType,omitempty"` }
CreateOrderLimitForSubscriptionValidationResponseProperties properties of create order limit for subscription validation response.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) AsAddressValidationProperties ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
AsAddressValidationProperties is the BasicValidationInputResponse implementation for CreateOrderLimitForSubscriptionValidationResponseProperties.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) AsBasicValidationInputResponse ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
AsBasicValidationInputResponse is the BasicValidationInputResponse implementation for CreateOrderLimitForSubscriptionValidationResponseProperties.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
AsCreateOrderLimitForSubscriptionValidationResponseProperties is the BasicValidationInputResponse implementation for CreateOrderLimitForSubscriptionValidationResponseProperties.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
AsDataDestinationDetailsValidationResponseProperties is the BasicValidationInputResponse implementation for CreateOrderLimitForSubscriptionValidationResponseProperties.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) AsPreferencesValidationResponseProperties ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
AsPreferencesValidationResponseProperties is the BasicValidationInputResponse implementation for CreateOrderLimitForSubscriptionValidationResponseProperties.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
AsSkuAvailabilityValidationResponseProperties is the BasicValidationInputResponse implementation for CreateOrderLimitForSubscriptionValidationResponseProperties.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
AsSubscriptionIsAllowedToCreateJobValidationResponseProperties is the BasicValidationInputResponse implementation for CreateOrderLimitForSubscriptionValidationResponseProperties.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) AsValidationInputResponse ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
AsValidationInputResponse is the BasicValidationInputResponse implementation for CreateOrderLimitForSubscriptionValidationResponseProperties.
func (CreateOrderLimitForSubscriptionValidationResponseProperties) MarshalJSON ¶
func (colfsvrp CreateOrderLimitForSubscriptionValidationResponseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateOrderLimitForSubscriptionValidationResponseProperties.
type DataDestinationDetailsValidationRequest ¶
type DataDestinationDetailsValidationRequest struct { // DestinationAccountDetails - Destination account details list. DestinationAccountDetails *[]BasicDestinationAccountDetails `json:"destinationAccountDetails,omitempty"` // Location - Location of stamp or geo. Location *string `json:"location,omitempty"` // ValidationType - Possible values include: 'ValidationTypeValidationInputRequest', 'ValidationTypeValidateCreateOrderLimit', 'ValidationTypeValidateDataDestinationDetails', 'ValidationTypeValidatePreferences', 'ValidationTypeValidateSkuAvailability', 'ValidationTypeValidateSubscriptionIsAllowedToCreateJob', 'ValidationTypeValidateAddress' ValidationType ValidationType `json:"validationType,omitempty"` }
DataDestinationDetailsValidationRequest request to validate data destination details.
func (DataDestinationDetailsValidationRequest) AsBasicValidationInputRequest ¶
func (dddvr DataDestinationDetailsValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
AsBasicValidationInputRequest is the BasicValidationInputRequest implementation for DataDestinationDetailsValidationRequest.
func (DataDestinationDetailsValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest ¶
func (dddvr DataDestinationDetailsValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
AsCreateOrderLimitForSubscriptionValidationRequest is the BasicValidationInputRequest implementation for DataDestinationDetailsValidationRequest.
func (DataDestinationDetailsValidationRequest) AsDataDestinationDetailsValidationRequest ¶
func (dddvr DataDestinationDetailsValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
AsDataDestinationDetailsValidationRequest is the BasicValidationInputRequest implementation for DataDestinationDetailsValidationRequest.
func (DataDestinationDetailsValidationRequest) AsPreferencesValidationRequest ¶
func (dddvr DataDestinationDetailsValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
AsPreferencesValidationRequest is the BasicValidationInputRequest implementation for DataDestinationDetailsValidationRequest.
func (DataDestinationDetailsValidationRequest) AsSkuAvailabilityValidationRequest ¶
func (dddvr DataDestinationDetailsValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
AsSkuAvailabilityValidationRequest is the BasicValidationInputRequest implementation for DataDestinationDetailsValidationRequest.
func (DataDestinationDetailsValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest ¶
func (dddvr DataDestinationDetailsValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
AsSubscriptionIsAllowedToCreateJobValidationRequest is the BasicValidationInputRequest implementation for DataDestinationDetailsValidationRequest.
func (DataDestinationDetailsValidationRequest) AsValidateAddress ¶
func (dddvr DataDestinationDetailsValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
AsValidateAddress is the BasicValidationInputRequest implementation for DataDestinationDetailsValidationRequest.
func (DataDestinationDetailsValidationRequest) AsValidationInputRequest ¶
func (dddvr DataDestinationDetailsValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
AsValidationInputRequest is the BasicValidationInputRequest implementation for DataDestinationDetailsValidationRequest.
func (DataDestinationDetailsValidationRequest) MarshalJSON ¶
func (dddvr DataDestinationDetailsValidationRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataDestinationDetailsValidationRequest.
func (*DataDestinationDetailsValidationRequest) UnmarshalJSON ¶
func (dddvr *DataDestinationDetailsValidationRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataDestinationDetailsValidationRequest struct.
type DataDestinationDetailsValidationResponseProperties ¶
type DataDestinationDetailsValidationResponseProperties struct { // Status - READ-ONLY; Data destination details validation status. Possible values include: 'ValidationStatusValid', 'ValidationStatusInvalid', 'ValidationStatusSkipped' Status ValidationStatus `json:"status,omitempty"` // Error - READ-ONLY; Error code and message of validation response. Error *Error `json:"error,omitempty"` // ValidationType - Possible values include: 'ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails', 'ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob' ValidationType ValidationTypeBasicValidationInputResponse `json:"validationType,omitempty"` }
DataDestinationDetailsValidationResponseProperties properties of data destination details validation response.
func (DataDestinationDetailsValidationResponseProperties) AsAddressValidationProperties ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
AsAddressValidationProperties is the BasicValidationInputResponse implementation for DataDestinationDetailsValidationResponseProperties.
func (DataDestinationDetailsValidationResponseProperties) AsBasicValidationInputResponse ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
AsBasicValidationInputResponse is the BasicValidationInputResponse implementation for DataDestinationDetailsValidationResponseProperties.
func (DataDestinationDetailsValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
AsCreateOrderLimitForSubscriptionValidationResponseProperties is the BasicValidationInputResponse implementation for DataDestinationDetailsValidationResponseProperties.
func (DataDestinationDetailsValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
AsDataDestinationDetailsValidationResponseProperties is the BasicValidationInputResponse implementation for DataDestinationDetailsValidationResponseProperties.
func (DataDestinationDetailsValidationResponseProperties) AsPreferencesValidationResponseProperties ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
AsPreferencesValidationResponseProperties is the BasicValidationInputResponse implementation for DataDestinationDetailsValidationResponseProperties.
func (DataDestinationDetailsValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
AsSkuAvailabilityValidationResponseProperties is the BasicValidationInputResponse implementation for DataDestinationDetailsValidationResponseProperties.
func (DataDestinationDetailsValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
AsSubscriptionIsAllowedToCreateJobValidationResponseProperties is the BasicValidationInputResponse implementation for DataDestinationDetailsValidationResponseProperties.
func (DataDestinationDetailsValidationResponseProperties) AsValidationInputResponse ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
AsValidationInputResponse is the BasicValidationInputResponse implementation for DataDestinationDetailsValidationResponseProperties.
func (DataDestinationDetailsValidationResponseProperties) MarshalJSON ¶
func (dddvrp DataDestinationDetailsValidationResponseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataDestinationDetailsValidationResponseProperties.
type DataDestinationType ¶
type DataDestinationType string
DataDestinationType enumerates the values for data destination type.
const ( // ManagedDisk Azure Managed disk storage. ManagedDisk DataDestinationType = "ManagedDisk" // StorageAccount Storage Accounts . StorageAccount DataDestinationType = "StorageAccount" )
func PossibleDataDestinationTypeValues ¶
func PossibleDataDestinationTypeValues() []DataDestinationType
PossibleDataDestinationTypeValues returns an array of possible values for the DataDestinationType const type.
type DataDestinationTypeBasicDestinationAccountDetails ¶
type DataDestinationTypeBasicDestinationAccountDetails string
DataDestinationTypeBasicDestinationAccountDetails enumerates the values for data destination type basic destination account details.
const ( // DataDestinationTypeDestinationAccountDetails ... DataDestinationTypeDestinationAccountDetails DataDestinationTypeBasicDestinationAccountDetails = "DestinationAccountDetails" // DataDestinationTypeManagedDisk ... DataDestinationTypeManagedDisk DataDestinationTypeBasicDestinationAccountDetails = "ManagedDisk" // DataDestinationTypeStorageAccount ... DataDestinationTypeStorageAccount DataDestinationTypeBasicDestinationAccountDetails = "StorageAccount" )
func PossibleDataDestinationTypeBasicDestinationAccountDetailsValues ¶
func PossibleDataDestinationTypeBasicDestinationAccountDetailsValues() []DataDestinationTypeBasicDestinationAccountDetails
PossibleDataDestinationTypeBasicDestinationAccountDetailsValues returns an array of possible values for the DataDestinationTypeBasicDestinationAccountDetails const type.
type DcAccessSecurityCode ¶
type DcAccessSecurityCode struct { // ForwardDcAccessCode - Dc Access Code for dispatching from DC. ForwardDcAccessCode *string `json:"forwardDcAccessCode,omitempty"` // ReverseDcAccessCode - Dc Access code for dropping off at DC. ReverseDcAccessCode *string `json:"reverseDcAccessCode,omitempty"` }
DcAccessSecurityCode dc Access Security code for device.
type DestinationAccountDetails ¶
type DestinationAccountDetails struct { // AccountID - Arm Id of the destination where the data has to be moved. AccountID *string `json:"accountId,omitempty"` SharePassword *string `json:"sharePassword,omitempty"` // DataDestinationType - Possible values include: 'DataDestinationTypeDestinationAccountDetails', 'DataDestinationTypeManagedDisk', 'DataDestinationTypeStorageAccount' DataDestinationType DataDestinationTypeBasicDestinationAccountDetails `json:"dataDestinationType,omitempty"` }
DestinationAccountDetails details of the destination storage accounts.
func (DestinationAccountDetails) AsBasicDestinationAccountDetails ¶
func (dad DestinationAccountDetails) AsBasicDestinationAccountDetails() (BasicDestinationAccountDetails, bool)
AsBasicDestinationAccountDetails is the BasicDestinationAccountDetails implementation for DestinationAccountDetails.
func (DestinationAccountDetails) AsDestinationAccountDetails ¶
func (dad DestinationAccountDetails) AsDestinationAccountDetails() (*DestinationAccountDetails, bool)
AsDestinationAccountDetails is the BasicDestinationAccountDetails implementation for DestinationAccountDetails.
func (DestinationAccountDetails) AsDestinationManagedDiskDetails ¶
func (dad DestinationAccountDetails) AsDestinationManagedDiskDetails() (*DestinationManagedDiskDetails, bool)
AsDestinationManagedDiskDetails is the BasicDestinationAccountDetails implementation for DestinationAccountDetails.
func (DestinationAccountDetails) AsDestinationStorageAccountDetails ¶
func (dad DestinationAccountDetails) AsDestinationStorageAccountDetails() (*DestinationStorageAccountDetails, bool)
AsDestinationStorageAccountDetails is the BasicDestinationAccountDetails implementation for DestinationAccountDetails.
func (DestinationAccountDetails) MarshalJSON ¶
func (dad DestinationAccountDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DestinationAccountDetails.
type DestinationManagedDiskDetails ¶
type DestinationManagedDiskDetails struct { // ResourceGroupID - Destination Resource Group Id where the Compute disks should be created. ResourceGroupID *string `json:"resourceGroupId,omitempty"` // StagingStorageAccountID - Arm Id of the storage account that can be used to copy the vhd for staging. StagingStorageAccountID *string `json:"stagingStorageAccountId,omitempty"` // AccountID - Arm Id of the destination where the data has to be moved. AccountID *string `json:"accountId,omitempty"` SharePassword *string `json:"sharePassword,omitempty"` // DataDestinationType - Possible values include: 'DataDestinationTypeDestinationAccountDetails', 'DataDestinationTypeManagedDisk', 'DataDestinationTypeStorageAccount' DataDestinationType DataDestinationTypeBasicDestinationAccountDetails `json:"dataDestinationType,omitempty"` }
DestinationManagedDiskDetails details for the destination compute disks.
func (DestinationManagedDiskDetails) AsBasicDestinationAccountDetails ¶
func (dmdd DestinationManagedDiskDetails) AsBasicDestinationAccountDetails() (BasicDestinationAccountDetails, bool)
AsBasicDestinationAccountDetails is the BasicDestinationAccountDetails implementation for DestinationManagedDiskDetails.
func (DestinationManagedDiskDetails) AsDestinationAccountDetails ¶
func (dmdd DestinationManagedDiskDetails) AsDestinationAccountDetails() (*DestinationAccountDetails, bool)
AsDestinationAccountDetails is the BasicDestinationAccountDetails implementation for DestinationManagedDiskDetails.
func (DestinationManagedDiskDetails) AsDestinationManagedDiskDetails ¶
func (dmdd DestinationManagedDiskDetails) AsDestinationManagedDiskDetails() (*DestinationManagedDiskDetails, bool)
AsDestinationManagedDiskDetails is the BasicDestinationAccountDetails implementation for DestinationManagedDiskDetails.
func (DestinationManagedDiskDetails) AsDestinationStorageAccountDetails ¶
func (dmdd DestinationManagedDiskDetails) AsDestinationStorageAccountDetails() (*DestinationStorageAccountDetails, bool)
AsDestinationStorageAccountDetails is the BasicDestinationAccountDetails implementation for DestinationManagedDiskDetails.
func (DestinationManagedDiskDetails) MarshalJSON ¶
func (dmdd DestinationManagedDiskDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DestinationManagedDiskDetails.
type DestinationStorageAccountDetails ¶
type DestinationStorageAccountDetails struct { // StorageAccountID - Destination Storage Account Arm Id. StorageAccountID *string `json:"storageAccountId,omitempty"` // AccountID - Arm Id of the destination where the data has to be moved. AccountID *string `json:"accountId,omitempty"` SharePassword *string `json:"sharePassword,omitempty"` // DataDestinationType - Possible values include: 'DataDestinationTypeDestinationAccountDetails', 'DataDestinationTypeManagedDisk', 'DataDestinationTypeStorageAccount' DataDestinationType DataDestinationTypeBasicDestinationAccountDetails `json:"dataDestinationType,omitempty"` }
DestinationStorageAccountDetails details for the destination storage account.
func (DestinationStorageAccountDetails) AsBasicDestinationAccountDetails ¶
func (dsad DestinationStorageAccountDetails) AsBasicDestinationAccountDetails() (BasicDestinationAccountDetails, bool)
AsBasicDestinationAccountDetails is the BasicDestinationAccountDetails implementation for DestinationStorageAccountDetails.
func (DestinationStorageAccountDetails) AsDestinationAccountDetails ¶
func (dsad DestinationStorageAccountDetails) AsDestinationAccountDetails() (*DestinationAccountDetails, bool)
AsDestinationAccountDetails is the BasicDestinationAccountDetails implementation for DestinationStorageAccountDetails.
func (DestinationStorageAccountDetails) AsDestinationManagedDiskDetails ¶
func (dsad DestinationStorageAccountDetails) AsDestinationManagedDiskDetails() (*DestinationManagedDiskDetails, bool)
AsDestinationManagedDiskDetails is the BasicDestinationAccountDetails implementation for DestinationStorageAccountDetails.
func (DestinationStorageAccountDetails) AsDestinationStorageAccountDetails ¶
func (dsad DestinationStorageAccountDetails) AsDestinationStorageAccountDetails() (*DestinationStorageAccountDetails, bool)
AsDestinationStorageAccountDetails is the BasicDestinationAccountDetails implementation for DestinationStorageAccountDetails.
func (DestinationStorageAccountDetails) MarshalJSON ¶
func (dsad DestinationStorageAccountDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DestinationStorageAccountDetails.
type DestinationToServiceLocationMap ¶
type DestinationToServiceLocationMap struct { // DestinationLocation - READ-ONLY; Location of the destination. DestinationLocation *string `json:"destinationLocation,omitempty"` // ServiceLocation - READ-ONLY; Location of the service. ServiceLocation *string `json:"serviceLocation,omitempty"` }
DestinationToServiceLocationMap map of destination location to service location.
func (DestinationToServiceLocationMap) MarshalJSON ¶
func (dtslm DestinationToServiceLocationMap) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DestinationToServiceLocationMap.
type DiskCopyLogDetails ¶
type DiskCopyLogDetails struct { // DiskSerialNumber - READ-ONLY; Disk Serial Number. DiskSerialNumber *string `json:"diskSerialNumber,omitempty"` // ErrorLogLink - READ-ONLY; Link for copy error logs. ErrorLogLink *string `json:"errorLogLink,omitempty"` // VerboseLogLink - READ-ONLY; Link for copy verbose logs. VerboseLogLink *string `json:"verboseLogLink,omitempty"` // CopyLogDetailsType - Possible values include: 'CopyLogDetailsTypeCopyLogDetails', 'CopyLogDetailsTypeDataBox', 'CopyLogDetailsTypeDataBoxDisk', 'CopyLogDetailsTypeDataBoxHeavy' CopyLogDetailsType CopyLogDetailsType `json:"copyLogDetailsType,omitempty"` }
DiskCopyLogDetails copy Log Details for a disk
func (DiskCopyLogDetails) AsAccountCopyLogDetails ¶
func (dcld DiskCopyLogDetails) AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool)
AsAccountCopyLogDetails is the BasicCopyLogDetails implementation for DiskCopyLogDetails.
func (DiskCopyLogDetails) AsBasicCopyLogDetails ¶
func (dcld DiskCopyLogDetails) AsBasicCopyLogDetails() (BasicCopyLogDetails, bool)
AsBasicCopyLogDetails is the BasicCopyLogDetails implementation for DiskCopyLogDetails.
func (DiskCopyLogDetails) AsCopyLogDetails ¶
func (dcld DiskCopyLogDetails) AsCopyLogDetails() (*CopyLogDetails, bool)
AsCopyLogDetails is the BasicCopyLogDetails implementation for DiskCopyLogDetails.
func (DiskCopyLogDetails) AsDiskCopyLogDetails ¶
func (dcld DiskCopyLogDetails) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool)
AsDiskCopyLogDetails is the BasicCopyLogDetails implementation for DiskCopyLogDetails.
func (DiskCopyLogDetails) AsHeavyAccountCopyLogDetails ¶
func (dcld DiskCopyLogDetails) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool)
AsHeavyAccountCopyLogDetails is the BasicCopyLogDetails implementation for DiskCopyLogDetails.
func (DiskCopyLogDetails) MarshalJSON ¶
func (dcld DiskCopyLogDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskCopyLogDetails.
type DiskCopyProgress ¶
type DiskCopyProgress struct { // SerialNumber - READ-ONLY; The serial number of the disk SerialNumber *string `json:"serialNumber,omitempty"` // BytesCopied - READ-ONLY; Bytes copied during the copy of disk. BytesCopied *int64 `json:"bytesCopied,omitempty"` // PercentComplete - READ-ONLY; Indicates the percentage completed for the copy of the disk. PercentComplete *int32 `json:"percentComplete,omitempty"` // Status - READ-ONLY; The Status of the copy. Possible values include: 'NotStarted', 'InProgress', 'Completed', 'CompletedWithErrors', 'Failed', 'NotReturned', 'HardwareError', 'DeviceFormatted', 'DeviceMetadataModified', 'StorageAccountNotAccessible', 'UnsupportedData' Status CopyStatus `json:"status,omitempty"` }
DiskCopyProgress dataBox Disk Copy Progress
func (DiskCopyProgress) MarshalJSON ¶
func (dcp DiskCopyProgress) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskCopyProgress.
type DiskJobDetails ¶
type DiskJobDetails struct { // PreferredDisks - User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int. PreferredDisks map[string]*int32 `json:"preferredDisks"` // CopyProgress - READ-ONLY; Copy progress per disk. CopyProgress *[]DiskCopyProgress `json:"copyProgress,omitempty"` // DisksAndSizeDetails - READ-ONLY; Contains the map of disk serial number to the disk size being used for the job. Is returned only after the disks are shipped to the customer. DisksAndSizeDetails map[string]*int32 `json:"disksAndSizeDetails"` // Passkey - User entered passkey for DataBox Disk job. Passkey *string `json:"passkey,omitempty"` // ExpectedDataSizeInTerabytes - The expected size of the data, which needs to be transferred in this job, in terabytes. ExpectedDataSizeInTerabytes *int32 `json:"expectedDataSizeInTerabytes,omitempty"` // JobStages - READ-ONLY; List of stages that run in the job. JobStages *[]JobStages `json:"jobStages,omitempty"` // ContactDetails - Contact details for notification and shipping. ContactDetails *ContactDetails `json:"contactDetails,omitempty"` // ShippingAddress - Shipping address of the customer. ShippingAddress *ShippingAddress `json:"shippingAddress,omitempty"` // DeliveryPackage - READ-ONLY; Delivery package shipping details. DeliveryPackage *PackageShippingDetails `json:"deliveryPackage,omitempty"` // ReturnPackage - READ-ONLY; Return package shipping details. ReturnPackage *PackageShippingDetails `json:"returnPackage,omitempty"` // DestinationAccountDetails - Destination account details. DestinationAccountDetails *[]BasicDestinationAccountDetails `json:"destinationAccountDetails,omitempty"` // ErrorDetails - READ-ONLY; Error details for failure. This is optional. ErrorDetails *[]JobErrorDetails `json:"errorDetails,omitempty"` // Preferences - Preferences for the order. Preferences *Preferences `json:"preferences,omitempty"` // CopyLogDetails - READ-ONLY; List of copy log details. CopyLogDetails *[]BasicCopyLogDetails `json:"copyLogDetails,omitempty"` // ReverseShipmentLabelSasKey - READ-ONLY; Shared access key to download the return shipment label ReverseShipmentLabelSasKey *string `json:"reverseShipmentLabelSasKey,omitempty"` // ChainOfCustodySasKey - READ-ONLY; Shared access key to download the chain of custody logs ChainOfCustodySasKey *string `json:"chainOfCustodySasKey,omitempty"` // JobDetailsType - Possible values include: 'JobDetailsTypeJobDetails', 'JobDetailsTypeDataBoxDisk', 'JobDetailsTypeDataBoxHeavy', 'JobDetailsTypeDataBox' JobDetailsType JobDetailsTypeEnum `json:"jobDetailsType,omitempty"` }
DiskJobDetails dataBox Disk Job Details.
func (DiskJobDetails) AsBasicJobDetails ¶
func (djd DiskJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)
AsBasicJobDetails is the BasicJobDetails implementation for DiskJobDetails.
func (DiskJobDetails) AsDiskJobDetails ¶
func (djd DiskJobDetails) AsDiskJobDetails() (*DiskJobDetails, bool)
AsDiskJobDetails is the BasicJobDetails implementation for DiskJobDetails.
func (DiskJobDetails) AsHeavyJobDetails ¶
func (djd DiskJobDetails) AsHeavyJobDetails() (*HeavyJobDetails, bool)
AsHeavyJobDetails is the BasicJobDetails implementation for DiskJobDetails.
func (DiskJobDetails) AsJobDetails ¶
func (djd DiskJobDetails) AsJobDetails() (*JobDetails, bool)
AsJobDetails is the BasicJobDetails implementation for DiskJobDetails.
func (DiskJobDetails) AsJobDetailsType ¶
func (djd DiskJobDetails) AsJobDetailsType() (*JobDetailsType, bool)
AsJobDetailsType is the BasicJobDetails implementation for DiskJobDetails.
func (DiskJobDetails) MarshalJSON ¶
func (djd DiskJobDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskJobDetails.
func (*DiskJobDetails) UnmarshalJSON ¶
func (djd *DiskJobDetails) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiskJobDetails struct.
type DiskJobSecrets ¶
type DiskJobSecrets struct { // DiskSecrets - READ-ONLY; Contains the list of secrets object for that device. DiskSecrets *[]DiskSecret `json:"diskSecrets,omitempty"` // PassKey - READ-ONLY; PassKey for the disk Job. PassKey *string `json:"passKey,omitempty"` // IsPasskeyUserDefined - READ-ONLY; Whether passkey was provided by user. IsPasskeyUserDefined *bool `json:"isPasskeyUserDefined,omitempty"` // DcAccessSecurityCode - Dc Access Security Code for Customer Managed Shipping DcAccessSecurityCode *DcAccessSecurityCode `json:"dcAccessSecurityCode,omitempty"` // JobSecretsType - Possible values include: 'JobSecretsTypeJobSecrets', 'JobSecretsTypeDataBoxDisk', 'JobSecretsTypeDataBoxHeavy', 'JobSecretsTypeDataBox' JobSecretsType JobSecretsTypeEnum `json:"jobSecretsType,omitempty"` }
DiskJobSecrets the secrets related to disk job.
func (DiskJobSecrets) AsBasicJobSecrets ¶
func (djs DiskJobSecrets) AsBasicJobSecrets() (BasicJobSecrets, bool)
AsBasicJobSecrets is the BasicJobSecrets implementation for DiskJobSecrets.
func (DiskJobSecrets) AsDiskJobSecrets ¶
func (djs DiskJobSecrets) AsDiskJobSecrets() (*DiskJobSecrets, bool)
AsDiskJobSecrets is the BasicJobSecrets implementation for DiskJobSecrets.
func (DiskJobSecrets) AsHeavyJobSecrets ¶
func (djs DiskJobSecrets) AsHeavyJobSecrets() (*HeavyJobSecrets, bool)
AsHeavyJobSecrets is the BasicJobSecrets implementation for DiskJobSecrets.
func (DiskJobSecrets) AsJobSecrets ¶
func (djs DiskJobSecrets) AsJobSecrets() (*JobSecrets, bool)
AsJobSecrets is the BasicJobSecrets implementation for DiskJobSecrets.
func (DiskJobSecrets) AsJobSecretsType ¶
func (djs DiskJobSecrets) AsJobSecretsType() (*JobSecretsType, bool)
AsJobSecretsType is the BasicJobSecrets implementation for DiskJobSecrets.
func (DiskJobSecrets) MarshalJSON ¶
func (djs DiskJobSecrets) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskJobSecrets.
type DiskScheduleAvailabilityRequest ¶
type DiskScheduleAvailabilityRequest struct { // ExpectedDataSizeInTerabytes - The expected size of the data, which needs to be transferred in this job, in terabytes. ExpectedDataSizeInTerabytes *int32 `json:"expectedDataSizeInTerabytes,omitempty"` // StorageLocation - Location for data transfer. // For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 StorageLocation *string `json:"storageLocation,omitempty"` // SkuName - Possible values include: 'SkuNameScheduleAvailabilityRequest', 'SkuNameDataBox', 'SkuNameDataBoxDisk', 'SkuNameDataBoxHeavy' SkuName SkuNameBasicScheduleAvailabilityRequest `json:"skuName,omitempty"` }
DiskScheduleAvailabilityRequest request body to get the availability for scheduling disk orders.
func (DiskScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest ¶
func (dsar DiskScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest() (BasicScheduleAvailabilityRequest, bool)
AsBasicScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for DiskScheduleAvailabilityRequest.
func (DiskScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest ¶
func (dsar DiskScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool)
AsDiskScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for DiskScheduleAvailabilityRequest.
func (DiskScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest ¶
func (dsar DiskScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool)
AsHeavyScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for DiskScheduleAvailabilityRequest.
func (DiskScheduleAvailabilityRequest) AsScheduleAvailabilityRequest ¶
func (dsar DiskScheduleAvailabilityRequest) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool)
AsScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for DiskScheduleAvailabilityRequest.
func (DiskScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType ¶
func (dsar DiskScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool)
AsScheduleAvailabilityRequestType is the BasicScheduleAvailabilityRequest implementation for DiskScheduleAvailabilityRequest.
func (DiskScheduleAvailabilityRequest) MarshalJSON ¶
func (dsar DiskScheduleAvailabilityRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskScheduleAvailabilityRequest.
type DiskSecret ¶
type DiskSecret struct { // DiskSerialNumber - READ-ONLY; Serial number of the assigned disk. DiskSerialNumber *string `json:"diskSerialNumber,omitempty"` // BitLockerKey - READ-ONLY; Bit Locker key of the disk which can be used to unlock the disk to copy data. BitLockerKey *string `json:"bitLockerKey,omitempty"` }
DiskSecret contains all the secrets of a Disk.
func (DiskSecret) MarshalJSON ¶
func (ds DiskSecret) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskSecret.
type Error ¶
type Error struct { // Code - READ-ONLY; Error code that can be used to programmatically identify the error. Code *string `json:"code,omitempty"` // Message - READ-ONLY; Describes the error in detail and provides debugging information. Message *string `json:"message,omitempty"` }
Error top level error for the job.
func (Error) MarshalJSON ¶
MarshalJSON is the custom marshaler for Error.
type HeavyAccountCopyLogDetails ¶
type HeavyAccountCopyLogDetails struct { // AccountName - READ-ONLY; Destination account name. AccountName *string `json:"accountName,omitempty"` // CopyLogLink - READ-ONLY; Link for copy logs. CopyLogLink *[]string `json:"copyLogLink,omitempty"` // CopyLogDetailsType - Possible values include: 'CopyLogDetailsTypeCopyLogDetails', 'CopyLogDetailsTypeDataBox', 'CopyLogDetailsTypeDataBoxDisk', 'CopyLogDetailsTypeDataBoxHeavy' CopyLogDetailsType CopyLogDetailsType `json:"copyLogDetailsType,omitempty"` }
HeavyAccountCopyLogDetails copy log details for a storage account for Databox heavy
func (HeavyAccountCopyLogDetails) AsAccountCopyLogDetails ¶
func (hacld HeavyAccountCopyLogDetails) AsAccountCopyLogDetails() (*AccountCopyLogDetails, bool)
AsAccountCopyLogDetails is the BasicCopyLogDetails implementation for HeavyAccountCopyLogDetails.
func (HeavyAccountCopyLogDetails) AsBasicCopyLogDetails ¶
func (hacld HeavyAccountCopyLogDetails) AsBasicCopyLogDetails() (BasicCopyLogDetails, bool)
AsBasicCopyLogDetails is the BasicCopyLogDetails implementation for HeavyAccountCopyLogDetails.
func (HeavyAccountCopyLogDetails) AsCopyLogDetails ¶
func (hacld HeavyAccountCopyLogDetails) AsCopyLogDetails() (*CopyLogDetails, bool)
AsCopyLogDetails is the BasicCopyLogDetails implementation for HeavyAccountCopyLogDetails.
func (HeavyAccountCopyLogDetails) AsDiskCopyLogDetails ¶
func (hacld HeavyAccountCopyLogDetails) AsDiskCopyLogDetails() (*DiskCopyLogDetails, bool)
AsDiskCopyLogDetails is the BasicCopyLogDetails implementation for HeavyAccountCopyLogDetails.
func (HeavyAccountCopyLogDetails) AsHeavyAccountCopyLogDetails ¶
func (hacld HeavyAccountCopyLogDetails) AsHeavyAccountCopyLogDetails() (*HeavyAccountCopyLogDetails, bool)
AsHeavyAccountCopyLogDetails is the BasicCopyLogDetails implementation for HeavyAccountCopyLogDetails.
func (HeavyAccountCopyLogDetails) MarshalJSON ¶
func (hacld HeavyAccountCopyLogDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HeavyAccountCopyLogDetails.
type HeavyJobDetails ¶
type HeavyJobDetails struct { // CopyProgress - READ-ONLY; Copy progress per account. CopyProgress *[]CopyProgress `json:"copyProgress,omitempty"` // DevicePassword - Set Device password for unlocking Databox Heavy DevicePassword *string `json:"devicePassword,omitempty"` // ExpectedDataSizeInTerabytes - The expected size of the data, which needs to be transferred in this job, in terabytes. ExpectedDataSizeInTerabytes *int32 `json:"expectedDataSizeInTerabytes,omitempty"` // JobStages - READ-ONLY; List of stages that run in the job. JobStages *[]JobStages `json:"jobStages,omitempty"` // ContactDetails - Contact details for notification and shipping. ContactDetails *ContactDetails `json:"contactDetails,omitempty"` // ShippingAddress - Shipping address of the customer. ShippingAddress *ShippingAddress `json:"shippingAddress,omitempty"` // DeliveryPackage - READ-ONLY; Delivery package shipping details. DeliveryPackage *PackageShippingDetails `json:"deliveryPackage,omitempty"` // ReturnPackage - READ-ONLY; Return package shipping details. ReturnPackage *PackageShippingDetails `json:"returnPackage,omitempty"` // DestinationAccountDetails - Destination account details. DestinationAccountDetails *[]BasicDestinationAccountDetails `json:"destinationAccountDetails,omitempty"` // ErrorDetails - READ-ONLY; Error details for failure. This is optional. ErrorDetails *[]JobErrorDetails `json:"errorDetails,omitempty"` // Preferences - Preferences for the order. Preferences *Preferences `json:"preferences,omitempty"` // CopyLogDetails - READ-ONLY; List of copy log details. CopyLogDetails *[]BasicCopyLogDetails `json:"copyLogDetails,omitempty"` // ReverseShipmentLabelSasKey - READ-ONLY; Shared access key to download the return shipment label ReverseShipmentLabelSasKey *string `json:"reverseShipmentLabelSasKey,omitempty"` // ChainOfCustodySasKey - READ-ONLY; Shared access key to download the chain of custody logs ChainOfCustodySasKey *string `json:"chainOfCustodySasKey,omitempty"` // JobDetailsType - Possible values include: 'JobDetailsTypeJobDetails', 'JobDetailsTypeDataBoxDisk', 'JobDetailsTypeDataBoxHeavy', 'JobDetailsTypeDataBox' JobDetailsType JobDetailsTypeEnum `json:"jobDetailsType,omitempty"` }
HeavyJobDetails databox Heavy Device Job Details
func (HeavyJobDetails) AsBasicJobDetails ¶
func (hjd HeavyJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)
AsBasicJobDetails is the BasicJobDetails implementation for HeavyJobDetails.
func (HeavyJobDetails) AsDiskJobDetails ¶
func (hjd HeavyJobDetails) AsDiskJobDetails() (*DiskJobDetails, bool)
AsDiskJobDetails is the BasicJobDetails implementation for HeavyJobDetails.
func (HeavyJobDetails) AsHeavyJobDetails ¶
func (hjd HeavyJobDetails) AsHeavyJobDetails() (*HeavyJobDetails, bool)
AsHeavyJobDetails is the BasicJobDetails implementation for HeavyJobDetails.
func (HeavyJobDetails) AsJobDetails ¶
func (hjd HeavyJobDetails) AsJobDetails() (*JobDetails, bool)
AsJobDetails is the BasicJobDetails implementation for HeavyJobDetails.
func (HeavyJobDetails) AsJobDetailsType ¶
func (hjd HeavyJobDetails) AsJobDetailsType() (*JobDetailsType, bool)
AsJobDetailsType is the BasicJobDetails implementation for HeavyJobDetails.
func (HeavyJobDetails) MarshalJSON ¶
func (hjd HeavyJobDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HeavyJobDetails.
func (*HeavyJobDetails) UnmarshalJSON ¶
func (hjd *HeavyJobDetails) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HeavyJobDetails struct.
type HeavyJobSecrets ¶
type HeavyJobSecrets struct { // CabinetPodSecrets - READ-ONLY; Contains the list of secret objects for a databox heavy job. CabinetPodSecrets *[]HeavySecret `json:"cabinetPodSecrets,omitempty"` // DcAccessSecurityCode - Dc Access Security Code for Customer Managed Shipping DcAccessSecurityCode *DcAccessSecurityCode `json:"dcAccessSecurityCode,omitempty"` // JobSecretsType - Possible values include: 'JobSecretsTypeJobSecrets', 'JobSecretsTypeDataBoxDisk', 'JobSecretsTypeDataBoxHeavy', 'JobSecretsTypeDataBox' JobSecretsType JobSecretsTypeEnum `json:"jobSecretsType,omitempty"` }
HeavyJobSecrets the secrets related to a databox heavy job.
func (HeavyJobSecrets) AsBasicJobSecrets ¶
func (hjs HeavyJobSecrets) AsBasicJobSecrets() (BasicJobSecrets, bool)
AsBasicJobSecrets is the BasicJobSecrets implementation for HeavyJobSecrets.
func (HeavyJobSecrets) AsDiskJobSecrets ¶
func (hjs HeavyJobSecrets) AsDiskJobSecrets() (*DiskJobSecrets, bool)
AsDiskJobSecrets is the BasicJobSecrets implementation for HeavyJobSecrets.
func (HeavyJobSecrets) AsHeavyJobSecrets ¶
func (hjs HeavyJobSecrets) AsHeavyJobSecrets() (*HeavyJobSecrets, bool)
AsHeavyJobSecrets is the BasicJobSecrets implementation for HeavyJobSecrets.
func (HeavyJobSecrets) AsJobSecrets ¶
func (hjs HeavyJobSecrets) AsJobSecrets() (*JobSecrets, bool)
AsJobSecrets is the BasicJobSecrets implementation for HeavyJobSecrets.
func (HeavyJobSecrets) AsJobSecretsType ¶
func (hjs HeavyJobSecrets) AsJobSecretsType() (*JobSecretsType, bool)
AsJobSecretsType is the BasicJobSecrets implementation for HeavyJobSecrets.
func (HeavyJobSecrets) MarshalJSON ¶
func (hjs HeavyJobSecrets) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HeavyJobSecrets.
type HeavyScheduleAvailabilityRequest ¶
type HeavyScheduleAvailabilityRequest struct { // StorageLocation - Location for data transfer. // For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 StorageLocation *string `json:"storageLocation,omitempty"` // SkuName - Possible values include: 'SkuNameScheduleAvailabilityRequest', 'SkuNameDataBox', 'SkuNameDataBoxDisk', 'SkuNameDataBoxHeavy' SkuName SkuNameBasicScheduleAvailabilityRequest `json:"skuName,omitempty"` }
HeavyScheduleAvailabilityRequest request body to get the availability for scheduling heavy orders.
func (HeavyScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest ¶
func (hsar HeavyScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest() (BasicScheduleAvailabilityRequest, bool)
AsBasicScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for HeavyScheduleAvailabilityRequest.
func (HeavyScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest ¶
func (hsar HeavyScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool)
AsDiskScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for HeavyScheduleAvailabilityRequest.
func (HeavyScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest ¶
func (hsar HeavyScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool)
AsHeavyScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for HeavyScheduleAvailabilityRequest.
func (HeavyScheduleAvailabilityRequest) AsScheduleAvailabilityRequest ¶
func (hsar HeavyScheduleAvailabilityRequest) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool)
AsScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for HeavyScheduleAvailabilityRequest.
func (HeavyScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType ¶
func (hsar HeavyScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool)
AsScheduleAvailabilityRequestType is the BasicScheduleAvailabilityRequest implementation for HeavyScheduleAvailabilityRequest.
func (HeavyScheduleAvailabilityRequest) MarshalJSON ¶
func (hsar HeavyScheduleAvailabilityRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HeavyScheduleAvailabilityRequest.
type HeavySecret ¶
type HeavySecret struct { // DeviceSerialNumber - READ-ONLY; Serial number of the assigned device. DeviceSerialNumber *string `json:"deviceSerialNumber,omitempty"` // DevicePassword - READ-ONLY; Password for out of the box experience on device. DevicePassword *string `json:"devicePassword,omitempty"` // NetworkConfigurations - READ-ONLY; Network configuration of the appliance. NetworkConfigurations *[]ApplianceNetworkConfiguration `json:"networkConfigurations,omitempty"` // EncodedValidationCertPubKey - READ-ONLY; The base 64 encoded public key to authenticate with the device EncodedValidationCertPubKey *string `json:"encodedValidationCertPubKey,omitempty"` // AccountCredentialDetails - READ-ONLY; Per account level access credentials. AccountCredentialDetails *[]AccountCredentialDetails `json:"accountCredentialDetails,omitempty"` }
HeavySecret the secrets related to a databox heavy.
func (HeavySecret) MarshalJSON ¶
func (hs HeavySecret) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HeavySecret.
type JobDeliveryInfo ¶
type JobDeliveryInfo struct { // ScheduledDateTime - Scheduled date time. ScheduledDateTime *date.Time `json:"scheduledDateTime,omitempty"` }
JobDeliveryInfo additional delivery info.
type JobDeliveryType ¶
type JobDeliveryType string
JobDeliveryType enumerates the values for job delivery type.
const ( // NonScheduled Non Scheduled job. NonScheduled JobDeliveryType = "NonScheduled" // Scheduled Scheduled job. Scheduled JobDeliveryType = "Scheduled" )
func PossibleJobDeliveryTypeValues ¶
func PossibleJobDeliveryTypeValues() []JobDeliveryType
PossibleJobDeliveryTypeValues returns an array of possible values for the JobDeliveryType const type.
type JobDetails ¶
type JobDetails struct { // ExpectedDataSizeInTerabytes - The expected size of the data, which needs to be transferred in this job, in terabytes. ExpectedDataSizeInTerabytes *int32 `json:"expectedDataSizeInTerabytes,omitempty"` // JobStages - READ-ONLY; List of stages that run in the job. JobStages *[]JobStages `json:"jobStages,omitempty"` // ContactDetails - Contact details for notification and shipping. ContactDetails *ContactDetails `json:"contactDetails,omitempty"` // ShippingAddress - Shipping address of the customer. ShippingAddress *ShippingAddress `json:"shippingAddress,omitempty"` // DeliveryPackage - READ-ONLY; Delivery package shipping details. DeliveryPackage *PackageShippingDetails `json:"deliveryPackage,omitempty"` // ReturnPackage - READ-ONLY; Return package shipping details. ReturnPackage *PackageShippingDetails `json:"returnPackage,omitempty"` // DestinationAccountDetails - Destination account details. DestinationAccountDetails *[]BasicDestinationAccountDetails `json:"destinationAccountDetails,omitempty"` // ErrorDetails - READ-ONLY; Error details for failure. This is optional. ErrorDetails *[]JobErrorDetails `json:"errorDetails,omitempty"` // Preferences - Preferences for the order. Preferences *Preferences `json:"preferences,omitempty"` // CopyLogDetails - READ-ONLY; List of copy log details. CopyLogDetails *[]BasicCopyLogDetails `json:"copyLogDetails,omitempty"` // ReverseShipmentLabelSasKey - READ-ONLY; Shared access key to download the return shipment label ReverseShipmentLabelSasKey *string `json:"reverseShipmentLabelSasKey,omitempty"` // ChainOfCustodySasKey - READ-ONLY; Shared access key to download the chain of custody logs ChainOfCustodySasKey *string `json:"chainOfCustodySasKey,omitempty"` // JobDetailsType - Possible values include: 'JobDetailsTypeJobDetails', 'JobDetailsTypeDataBoxDisk', 'JobDetailsTypeDataBoxHeavy', 'JobDetailsTypeDataBox' JobDetailsType JobDetailsTypeEnum `json:"jobDetailsType,omitempty"` }
JobDetails job details.
func (JobDetails) AsBasicJobDetails ¶
func (jd JobDetails) AsBasicJobDetails() (BasicJobDetails, bool)
AsBasicJobDetails is the BasicJobDetails implementation for JobDetails.
func (JobDetails) AsDiskJobDetails ¶
func (jd JobDetails) AsDiskJobDetails() (*DiskJobDetails, bool)
AsDiskJobDetails is the BasicJobDetails implementation for JobDetails.
func (JobDetails) AsHeavyJobDetails ¶
func (jd JobDetails) AsHeavyJobDetails() (*HeavyJobDetails, bool)
AsHeavyJobDetails is the BasicJobDetails implementation for JobDetails.
func (JobDetails) AsJobDetails ¶
func (jd JobDetails) AsJobDetails() (*JobDetails, bool)
AsJobDetails is the BasicJobDetails implementation for JobDetails.
func (JobDetails) AsJobDetailsType ¶
func (jd JobDetails) AsJobDetailsType() (*JobDetailsType, bool)
AsJobDetailsType is the BasicJobDetails implementation for JobDetails.
func (JobDetails) MarshalJSON ¶
func (jd JobDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobDetails.
func (*JobDetails) UnmarshalJSON ¶
func (jd *JobDetails) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobDetails struct.
type JobDetailsType ¶
type JobDetailsType struct { // CopyProgress - READ-ONLY; Copy progress per storage account. CopyProgress *[]CopyProgress `json:"copyProgress,omitempty"` // DevicePassword - Set Device password for unlocking Databox DevicePassword *string `json:"devicePassword,omitempty"` // ExpectedDataSizeInTerabytes - The expected size of the data, which needs to be transferred in this job, in terabytes. ExpectedDataSizeInTerabytes *int32 `json:"expectedDataSizeInTerabytes,omitempty"` // JobStages - READ-ONLY; List of stages that run in the job. JobStages *[]JobStages `json:"jobStages,omitempty"` // ContactDetails - Contact details for notification and shipping. ContactDetails *ContactDetails `json:"contactDetails,omitempty"` // ShippingAddress - Shipping address of the customer. ShippingAddress *ShippingAddress `json:"shippingAddress,omitempty"` // DeliveryPackage - READ-ONLY; Delivery package shipping details. DeliveryPackage *PackageShippingDetails `json:"deliveryPackage,omitempty"` // ReturnPackage - READ-ONLY; Return package shipping details. ReturnPackage *PackageShippingDetails `json:"returnPackage,omitempty"` // DestinationAccountDetails - Destination account details. DestinationAccountDetails *[]BasicDestinationAccountDetails `json:"destinationAccountDetails,omitempty"` // ErrorDetails - READ-ONLY; Error details for failure. This is optional. ErrorDetails *[]JobErrorDetails `json:"errorDetails,omitempty"` // Preferences - Preferences for the order. Preferences *Preferences `json:"preferences,omitempty"` // CopyLogDetails - READ-ONLY; List of copy log details. CopyLogDetails *[]BasicCopyLogDetails `json:"copyLogDetails,omitempty"` // ReverseShipmentLabelSasKey - READ-ONLY; Shared access key to download the return shipment label ReverseShipmentLabelSasKey *string `json:"reverseShipmentLabelSasKey,omitempty"` // ChainOfCustodySasKey - READ-ONLY; Shared access key to download the chain of custody logs ChainOfCustodySasKey *string `json:"chainOfCustodySasKey,omitempty"` // JobDetailsType - Possible values include: 'JobDetailsTypeJobDetails', 'JobDetailsTypeDataBoxDisk', 'JobDetailsTypeDataBoxHeavy', 'JobDetailsTypeDataBox' JobDetailsType JobDetailsTypeEnum `json:"jobDetailsType,omitempty"` }
JobDetailsType databox Job Details
func (JobDetailsType) AsBasicJobDetails ¶
func (jdt JobDetailsType) AsBasicJobDetails() (BasicJobDetails, bool)
AsBasicJobDetails is the BasicJobDetails implementation for JobDetailsType.
func (JobDetailsType) AsDiskJobDetails ¶
func (jdt JobDetailsType) AsDiskJobDetails() (*DiskJobDetails, bool)
AsDiskJobDetails is the BasicJobDetails implementation for JobDetailsType.
func (JobDetailsType) AsHeavyJobDetails ¶
func (jdt JobDetailsType) AsHeavyJobDetails() (*HeavyJobDetails, bool)
AsHeavyJobDetails is the BasicJobDetails implementation for JobDetailsType.
func (JobDetailsType) AsJobDetails ¶
func (jdt JobDetailsType) AsJobDetails() (*JobDetails, bool)
AsJobDetails is the BasicJobDetails implementation for JobDetailsType.
func (JobDetailsType) AsJobDetailsType ¶
func (jdt JobDetailsType) AsJobDetailsType() (*JobDetailsType, bool)
AsJobDetailsType is the BasicJobDetails implementation for JobDetailsType.
func (JobDetailsType) MarshalJSON ¶
func (jdt JobDetailsType) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobDetailsType.
func (*JobDetailsType) UnmarshalJSON ¶
func (jdt *JobDetailsType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobDetailsType struct.
type JobDetailsTypeEnum ¶
type JobDetailsTypeEnum string
JobDetailsTypeEnum enumerates the values for job details type enum.
const ( // JobDetailsTypeDataBox ... JobDetailsTypeDataBox JobDetailsTypeEnum = "DataBox" // JobDetailsTypeDataBoxDisk ... JobDetailsTypeDataBoxDisk JobDetailsTypeEnum = "DataBoxDisk" // JobDetailsTypeDataBoxHeavy ... JobDetailsTypeDataBoxHeavy JobDetailsTypeEnum = "DataBoxHeavy" // JobDetailsTypeJobDetails ... JobDetailsTypeJobDetails JobDetailsTypeEnum = "JobDetails" )
func PossibleJobDetailsTypeEnumValues ¶
func PossibleJobDetailsTypeEnumValues() []JobDetailsTypeEnum
PossibleJobDetailsTypeEnumValues returns an array of possible values for the JobDetailsTypeEnum const type.
type JobErrorDetails ¶
type JobErrorDetails struct { // ErrorMessage - READ-ONLY; Message for the error. ErrorMessage *string `json:"errorMessage,omitempty"` // ErrorCode - READ-ONLY; Code for the error. ErrorCode *int32 `json:"errorCode,omitempty"` // RecommendedAction - READ-ONLY; Recommended action for the error. RecommendedAction *string `json:"recommendedAction,omitempty"` // ExceptionMessage - READ-ONLY; Contains the non localized exception message ExceptionMessage *string `json:"exceptionMessage,omitempty"` }
JobErrorDetails job Error Details for providing the information and recommended action.
func (JobErrorDetails) MarshalJSON ¶
func (jed JobErrorDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobErrorDetails.
type JobProperties ¶
type JobProperties struct { // IsCancellable - READ-ONLY; Describes whether the job is cancellable or not. IsCancellable *bool `json:"isCancellable,omitempty"` // IsDeletable - READ-ONLY; Describes whether the job is deletable or not. IsDeletable *bool `json:"isDeletable,omitempty"` // IsShippingAddressEditable - READ-ONLY; Describes whether the shipping address is editable or not. IsShippingAddressEditable *bool `json:"isShippingAddressEditable,omitempty"` // Status - READ-ONLY; Name of the stage which is in progress. Possible values include: 'StageNameDeviceOrdered', 'StageNameDevicePrepared', 'StageNameDispatched', 'StageNameDelivered', 'StageNamePickedUp', 'StageNameAtAzureDC', 'StageNameDataCopy', 'StageNameCompleted', 'StageNameCompletedWithErrors', 'StageNameCancelled', 'StageNameFailedIssueReportedAtCustomer', 'StageNameFailedIssueDetectedAtAzureDC', 'StageNameAborted', 'StageNameCompletedWithWarnings', 'StageNameReadyToDispatchFromAzureDC', 'StageNameReadyToReceiveAtAzureDC' Status StageName `json:"status,omitempty"` // StartTime - READ-ONLY; Time at which the job was started in UTC ISO 8601 format. StartTime *date.Time `json:"startTime,omitempty"` // Error - READ-ONLY; Top level error for the job. Error *Error `json:"error,omitempty"` // Details - Details of a job run. This field will only be sent for expand details filter. Details BasicJobDetails `json:"details,omitempty"` // CancellationReason - READ-ONLY; Reason for cancellation. CancellationReason *string `json:"cancellationReason,omitempty"` // DeliveryType - Delivery type of Job. Possible values include: 'NonScheduled', 'Scheduled' DeliveryType JobDeliveryType `json:"deliveryType,omitempty"` // DeliveryInfo - Delivery Info of Job. DeliveryInfo *JobDeliveryInfo `json:"deliveryInfo,omitempty"` // IsCancellableWithoutFee - READ-ONLY; Flag to indicate cancellation of scheduled job. IsCancellableWithoutFee *bool `json:"isCancellableWithoutFee,omitempty"` }
JobProperties job Properties
func (JobProperties) MarshalJSON ¶
func (jp JobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobProperties.
func (*JobProperties) UnmarshalJSON ¶
func (jp *JobProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobProperties struct.
type JobResource ¶
type JobResource struct { autorest.Response `json:"-"` // JobProperties - Properties of a job. *JobProperties `json:"properties,omitempty"` // Name - READ-ONLY; Name of the object. Name *string `json:"name,omitempty"` // ID - READ-ONLY; Id of the object. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of the object. Type *string `json:"type,omitempty"` // Location - The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed. Location *string `json:"location,omitempty"` // Tags - The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). Tags map[string]*string `json:"tags"` // Sku - The sku type. Sku *Sku `json:"sku,omitempty"` }
JobResource job Resource.
func (JobResource) MarshalJSON ¶
func (jr JobResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobResource.
func (*JobResource) UnmarshalJSON ¶
func (jr *JobResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobResource struct.
type JobResourceList ¶
type JobResourceList struct { autorest.Response `json:"-"` // Value - List of job resources. Value *[]JobResource `json:"value,omitempty"` // NextLink - Link for the next set of job resources. NextLink *string `json:"nextLink,omitempty"` }
JobResourceList job Resource Collection
func (JobResourceList) IsEmpty ¶
func (jrl JobResourceList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type JobResourceListIterator ¶
type JobResourceListIterator struct {
// contains filtered or unexported fields
}
JobResourceListIterator provides access to a complete listing of JobResource values.
func NewJobResourceListIterator ¶
func NewJobResourceListIterator(page JobResourceListPage) JobResourceListIterator
Creates a new instance of the JobResourceListIterator type.
func (*JobResourceListIterator) Next ¶
func (iter *JobResourceListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobResourceListIterator) NextWithContext ¶
func (iter *JobResourceListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobResourceListIterator) NotDone ¶
func (iter JobResourceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobResourceListIterator) Response ¶
func (iter JobResourceListIterator) Response() JobResourceList
Response returns the raw server response from the last page request.
func (JobResourceListIterator) Value ¶
func (iter JobResourceListIterator) Value() JobResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobResourceListPage ¶
type JobResourceListPage struct {
// contains filtered or unexported fields
}
JobResourceListPage contains a page of JobResource values.
func NewJobResourceListPage ¶
func NewJobResourceListPage(cur JobResourceList, getNextPage func(context.Context, JobResourceList) (JobResourceList, error)) JobResourceListPage
Creates a new instance of the JobResourceListPage type.
func (*JobResourceListPage) Next ¶
func (page *JobResourceListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobResourceListPage) NextWithContext ¶
func (page *JobResourceListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobResourceListPage) NotDone ¶
func (page JobResourceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobResourceListPage) Response ¶
func (page JobResourceListPage) Response() JobResourceList
Response returns the raw server response from the last page request.
func (JobResourceListPage) Values ¶
func (page JobResourceListPage) Values() []JobResource
Values returns the slice of values for the current page or nil if there are no values.
type JobResourceUpdateParameter ¶
type JobResourceUpdateParameter struct { // UpdateJobProperties - Properties of a job to be updated. *UpdateJobProperties `json:"properties,omitempty"` // Tags - The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). Tags map[string]*string `json:"tags"` }
JobResourceUpdateParameter the JobResourceUpdateParameter.
func (JobResourceUpdateParameter) MarshalJSON ¶
func (jrup JobResourceUpdateParameter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobResourceUpdateParameter.
func (*JobResourceUpdateParameter) UnmarshalJSON ¶
func (jrup *JobResourceUpdateParameter) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobResourceUpdateParameter struct.
type JobSecrets ¶
type JobSecrets struct { // DcAccessSecurityCode - Dc Access Security Code for Customer Managed Shipping DcAccessSecurityCode *DcAccessSecurityCode `json:"dcAccessSecurityCode,omitempty"` // JobSecretsType - Possible values include: 'JobSecretsTypeJobSecrets', 'JobSecretsTypeDataBoxDisk', 'JobSecretsTypeDataBoxHeavy', 'JobSecretsTypeDataBox' JobSecretsType JobSecretsTypeEnum `json:"jobSecretsType,omitempty"` }
JobSecrets the base class for the secrets
func (JobSecrets) AsBasicJobSecrets ¶
func (js JobSecrets) AsBasicJobSecrets() (BasicJobSecrets, bool)
AsBasicJobSecrets is the BasicJobSecrets implementation for JobSecrets.
func (JobSecrets) AsDiskJobSecrets ¶
func (js JobSecrets) AsDiskJobSecrets() (*DiskJobSecrets, bool)
AsDiskJobSecrets is the BasicJobSecrets implementation for JobSecrets.
func (JobSecrets) AsHeavyJobSecrets ¶
func (js JobSecrets) AsHeavyJobSecrets() (*HeavyJobSecrets, bool)
AsHeavyJobSecrets is the BasicJobSecrets implementation for JobSecrets.
func (JobSecrets) AsJobSecrets ¶
func (js JobSecrets) AsJobSecrets() (*JobSecrets, bool)
AsJobSecrets is the BasicJobSecrets implementation for JobSecrets.
func (JobSecrets) AsJobSecretsType ¶
func (js JobSecrets) AsJobSecretsType() (*JobSecretsType, bool)
AsJobSecretsType is the BasicJobSecrets implementation for JobSecrets.
func (JobSecrets) MarshalJSON ¶
func (js JobSecrets) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobSecrets.
type JobSecretsType ¶
type JobSecretsType struct { // PodSecrets - Contains the list of secret objects for a job. PodSecrets *[]Secret `json:"podSecrets,omitempty"` // DcAccessSecurityCode - Dc Access Security Code for Customer Managed Shipping DcAccessSecurityCode *DcAccessSecurityCode `json:"dcAccessSecurityCode,omitempty"` // JobSecretsType - Possible values include: 'JobSecretsTypeJobSecrets', 'JobSecretsTypeDataBoxDisk', 'JobSecretsTypeDataBoxHeavy', 'JobSecretsTypeDataBox' JobSecretsType JobSecretsTypeEnum `json:"jobSecretsType,omitempty"` }
JobSecretsType the secrets related to a databox job.
func (JobSecretsType) AsBasicJobSecrets ¶
func (jst JobSecretsType) AsBasicJobSecrets() (BasicJobSecrets, bool)
AsBasicJobSecrets is the BasicJobSecrets implementation for JobSecretsType.
func (JobSecretsType) AsDiskJobSecrets ¶
func (jst JobSecretsType) AsDiskJobSecrets() (*DiskJobSecrets, bool)
AsDiskJobSecrets is the BasicJobSecrets implementation for JobSecretsType.
func (JobSecretsType) AsHeavyJobSecrets ¶
func (jst JobSecretsType) AsHeavyJobSecrets() (*HeavyJobSecrets, bool)
AsHeavyJobSecrets is the BasicJobSecrets implementation for JobSecretsType.
func (JobSecretsType) AsJobSecrets ¶
func (jst JobSecretsType) AsJobSecrets() (*JobSecrets, bool)
AsJobSecrets is the BasicJobSecrets implementation for JobSecretsType.
func (JobSecretsType) AsJobSecretsType ¶
func (jst JobSecretsType) AsJobSecretsType() (*JobSecretsType, bool)
AsJobSecretsType is the BasicJobSecrets implementation for JobSecretsType.
func (JobSecretsType) MarshalJSON ¶
func (jst JobSecretsType) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobSecretsType.
type JobSecretsTypeEnum ¶
type JobSecretsTypeEnum string
JobSecretsTypeEnum enumerates the values for job secrets type enum.
const ( // JobSecretsTypeDataBox ... JobSecretsTypeDataBox JobSecretsTypeEnum = "DataBox" // JobSecretsTypeDataBoxDisk ... JobSecretsTypeDataBoxDisk JobSecretsTypeEnum = "DataBoxDisk" // JobSecretsTypeDataBoxHeavy ... JobSecretsTypeDataBoxHeavy JobSecretsTypeEnum = "DataBoxHeavy" // JobSecretsTypeJobSecrets ... JobSecretsTypeJobSecrets JobSecretsTypeEnum = "JobSecrets" )
func PossibleJobSecretsTypeEnumValues ¶
func PossibleJobSecretsTypeEnumValues() []JobSecretsTypeEnum
PossibleJobSecretsTypeEnumValues returns an array of possible values for the JobSecretsTypeEnum const type.
type JobStages ¶
type JobStages struct { // StageName - READ-ONLY; Name of the job stage. Possible values include: 'StageNameDeviceOrdered', 'StageNameDevicePrepared', 'StageNameDispatched', 'StageNameDelivered', 'StageNamePickedUp', 'StageNameAtAzureDC', 'StageNameDataCopy', 'StageNameCompleted', 'StageNameCompletedWithErrors', 'StageNameCancelled', 'StageNameFailedIssueReportedAtCustomer', 'StageNameFailedIssueDetectedAtAzureDC', 'StageNameAborted', 'StageNameCompletedWithWarnings', 'StageNameReadyToDispatchFromAzureDC', 'StageNameReadyToReceiveAtAzureDC' StageName StageName `json:"stageName,omitempty"` // DisplayName - READ-ONLY; Display name of the job stage. DisplayName *string `json:"displayName,omitempty"` // StageStatus - READ-ONLY; Status of the job stage. Possible values include: 'StageStatusNone', 'StageStatusInProgress', 'StageStatusSucceeded', 'StageStatusFailed', 'StageStatusCancelled', 'StageStatusCancelling', 'StageStatusSucceededWithErrors' StageStatus StageStatus `json:"stageStatus,omitempty"` // StageTime - READ-ONLY; Time for the job stage in UTC ISO 8601 format. StageTime *date.Time `json:"stageTime,omitempty"` // JobStageDetails - READ-ONLY; Job Stage Details JobStageDetails interface{} `json:"jobStageDetails,omitempty"` // ErrorDetails - READ-ONLY; Error details for the stage. ErrorDetails *[]JobErrorDetails `json:"errorDetails,omitempty"` }
JobStages job stages.
func (JobStages) MarshalJSON ¶
MarshalJSON is the custom marshaler for JobStages.
type JobsClient ¶
type JobsClient struct {
BaseClient
}
JobsClient is the client for the Jobs methods of the Databox service.
func NewJobsClient ¶
func NewJobsClient(subscriptionID string) JobsClient
NewJobsClient creates an instance of the JobsClient client.
func NewJobsClientWithBaseURI ¶
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient
NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (JobsClient) BookShipmentPickUp ¶
func (client JobsClient) BookShipmentPickUp(ctx context.Context, resourceGroupName string, jobName string, shipmentPickUpRequest ShipmentPickUpRequest) (result ShipmentPickUpResponse, err error)
BookShipmentPickUp book shipment pick up. Parameters: resourceGroupName - the Resource Group Name jobName - the name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only shipmentPickUpRequest - details of shipment pick up request.
func (JobsClient) BookShipmentPickUpPreparer ¶
func (client JobsClient) BookShipmentPickUpPreparer(ctx context.Context, resourceGroupName string, jobName string, shipmentPickUpRequest ShipmentPickUpRequest) (*http.Request, error)
BookShipmentPickUpPreparer prepares the BookShipmentPickUp request.
func (JobsClient) BookShipmentPickUpResponder ¶
func (client JobsClient) BookShipmentPickUpResponder(resp *http.Response) (result ShipmentPickUpResponse, err error)
BookShipmentPickUpResponder handles the response to the BookShipmentPickUp request. The method always closes the http.Response Body.
func (JobsClient) BookShipmentPickUpSender ¶
BookShipmentPickUpSender sends the BookShipmentPickUp request. The method will close the http.Response Body if it receives an error.
func (JobsClient) Cancel ¶
func (client JobsClient) Cancel(ctx context.Context, resourceGroupName string, jobName string, cancellationReason CancellationReason) (result autorest.Response, err error)
Cancel cancelJob. Parameters: resourceGroupName - the Resource Group Name jobName - the name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only cancellationReason - reason for cancellation.
func (JobsClient) CancelPreparer ¶
func (client JobsClient) CancelPreparer(ctx context.Context, resourceGroupName string, jobName string, cancellationReason CancellationReason) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (JobsClient) CancelResponder ¶
CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.
func (JobsClient) CancelSender ¶
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (JobsClient) Create ¶
func (client JobsClient) Create(ctx context.Context, resourceGroupName string, jobName string, jobResource JobResource) (result JobsCreateFuture, err error)
Create creates a new job with the specified parameters. Existing job cannot be updated with this API and should instead be updated with the Update job API. Parameters: resourceGroupName - the Resource Group Name jobName - the name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only jobResource - job details from request body.
func (JobsClient) CreatePreparer ¶
func (client JobsClient) CreatePreparer(ctx context.Context, resourceGroupName string, jobName string, jobResource JobResource) (*http.Request, error)
CreatePreparer prepares the Create request.
func (JobsClient) CreateResponder ¶
func (client JobsClient) CreateResponder(resp *http.Response) (result JobResource, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (JobsClient) CreateSender ¶
func (client JobsClient) CreateSender(req *http.Request) (future JobsCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (JobsClient) Delete ¶
func (client JobsClient) Delete(ctx context.Context, resourceGroupName string, jobName string) (result JobsDeleteFuture, err error)
Delete deletes a job. Parameters: resourceGroupName - the Resource Group Name jobName - the name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
func (JobsClient) DeletePreparer ¶
func (client JobsClient) DeletePreparer(ctx context.Context, resourceGroupName string, jobName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (JobsClient) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (JobsClient) DeleteSender ¶
func (client JobsClient) DeleteSender(req *http.Request) (future JobsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (JobsClient) Get ¶
func (client JobsClient) Get(ctx context.Context, resourceGroupName string, jobName string, expand string) (result JobResource, err error)
Get gets information about the specified job. Parameters: resourceGroupName - the Resource Group Name jobName - the name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only expand - $expand is supported on details parameter for job, which provides details on the job stages.
func (JobsClient) GetPreparer ¶
func (client JobsClient) GetPreparer(ctx context.Context, resourceGroupName string, jobName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobsClient) GetResponder ¶
func (client JobsClient) GetResponder(resp *http.Response) (result JobResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JobsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JobsClient) List ¶
func (client JobsClient) List(ctx context.Context, skipToken string) (result JobResourceListPage, err error)
List lists all the jobs available under the subscription. Parameters: skipToken - $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs.
func (JobsClient) ListByResourceGroup ¶
func (client JobsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, skipToken string) (result JobResourceListPage, err error)
ListByResourceGroup lists all the jobs available under the given resource group. Parameters: resourceGroupName - the Resource Group Name skipToken - $skipToken is supported on Get list of jobs, which provides the next page in the list of jobs.
func (JobsClient) ListByResourceGroupComplete ¶
func (client JobsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, skipToken string) (result JobResourceListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (JobsClient) ListByResourceGroupPreparer ¶
func (client JobsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skipToken string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (JobsClient) ListByResourceGroupResponder ¶
func (client JobsClient) ListByResourceGroupResponder(resp *http.Response) (result JobResourceList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (JobsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (JobsClient) ListComplete ¶
func (client JobsClient) ListComplete(ctx context.Context, skipToken string) (result JobResourceListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (JobsClient) ListCredentials ¶
func (client JobsClient) ListCredentials(ctx context.Context, resourceGroupName string, jobName string) (result UnencryptedCredentialsList, err error)
ListCredentials this method gets the unencrypted secrets related to the job. Parameters: resourceGroupName - the Resource Group Name jobName - the name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
func (JobsClient) ListCredentialsPreparer ¶
func (client JobsClient) ListCredentialsPreparer(ctx context.Context, resourceGroupName string, jobName string) (*http.Request, error)
ListCredentialsPreparer prepares the ListCredentials request.
func (JobsClient) ListCredentialsResponder ¶
func (client JobsClient) ListCredentialsResponder(resp *http.Response) (result UnencryptedCredentialsList, err error)
ListCredentialsResponder handles the response to the ListCredentials request. The method always closes the http.Response Body.
func (JobsClient) ListCredentialsSender ¶
ListCredentialsSender sends the ListCredentials request. The method will close the http.Response Body if it receives an error.
func (JobsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (JobsClient) ListResponder ¶
func (client JobsClient) ListResponder(resp *http.Response) (result JobResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (JobsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (JobsClient) Update ¶
func (client JobsClient) Update(ctx context.Context, resourceGroupName string, jobName string, jobResourceUpdateParameter JobResourceUpdateParameter, ifMatch string) (result JobsUpdateFuture, err error)
Update updates the properties of an existing job. Parameters: resourceGroupName - the Resource Group Name jobName - the name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only jobResourceUpdateParameter - job update parameters from request body. ifMatch - defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value.
func (JobsClient) UpdatePreparer ¶
func (client JobsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, jobName string, jobResourceUpdateParameter JobResourceUpdateParameter, ifMatch string) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (JobsClient) UpdateResponder ¶
func (client JobsClient) UpdateResponder(resp *http.Response) (result JobResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (JobsClient) UpdateSender ¶
func (client JobsClient) UpdateSender(req *http.Request) (future JobsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type JobsCreateFuture ¶
type JobsCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobsClient) (JobResource, error) }
JobsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*JobsCreateFuture) UnmarshalJSON ¶
func (future *JobsCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type JobsDeleteFuture ¶
type JobsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobsClient) (autorest.Response, error) }
JobsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*JobsDeleteFuture) UnmarshalJSON ¶
func (future *JobsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type JobsUpdateFuture ¶
type JobsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobsClient) (JobResource, error) }
JobsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*JobsUpdateFuture) UnmarshalJSON ¶
func (future *JobsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type NotificationPreference ¶
type NotificationPreference struct { // StageName - Name of the stage. Possible values include: 'DevicePrepared', 'Dispatched', 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy' StageName NotificationStageName `json:"stageName,omitempty"` // SendNotification - Notification is required or not. SendNotification *bool `json:"sendNotification,omitempty"` }
NotificationPreference notification preference for a job stage.
type NotificationStageName ¶
type NotificationStageName string
NotificationStageName enumerates the values for notification stage name.
const ( // AtAzureDC Notification at device received at azure datacenter stage. AtAzureDC NotificationStageName = "AtAzureDC" // DataCopy Notification at data copy started stage. DataCopy NotificationStageName = "DataCopy" // Delivered Notification at device delivered stage. Delivered NotificationStageName = "Delivered" // DevicePrepared Notification at device prepared stage. DevicePrepared NotificationStageName = "DevicePrepared" // Dispatched Notification at device dispatched stage. Dispatched NotificationStageName = "Dispatched" // PickedUp Notification at device picked up from user stage. PickedUp NotificationStageName = "PickedUp" )
func PossibleNotificationStageNameValues ¶
func PossibleNotificationStageNameValues() []NotificationStageName
PossibleNotificationStageNameValues returns an array of possible values for the NotificationStageName const type.
type Operation ¶
type Operation struct { // Name - READ-ONLY; Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action} Name *string `json:"name,omitempty"` // Display - READ-ONLY; Operation display values. Display *OperationDisplay `json:"display,omitempty"` // Properties - READ-ONLY; Operation properties. Properties interface{} `json:"properties,omitempty"` // Origin - READ-ONLY; Origin of the operation. Can be : user|system|user,system Origin *string `json:"origin,omitempty"` }
Operation operation entity.
func (Operation) MarshalJSON ¶
MarshalJSON is the custom marshaler for Operation.
type OperationDisplay ¶
type OperationDisplay struct { // Provider - Provider name. Provider *string `json:"provider,omitempty"` // Resource - Resource name. Resource *string `json:"resource,omitempty"` // Operation - Localized name of the operation for display purpose. Operation *string `json:"operation,omitempty"` // Description - Localized description of the operation for display purpose. Description *string `json:"description,omitempty"` }
OperationDisplay operation display
type OperationList ¶
type OperationList struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of operations. Value *[]Operation `json:"value,omitempty"` // NextLink - Link for the next set of operations. NextLink *string `json:"nextLink,omitempty"` }
OperationList operation Collection.
func (OperationList) IsEmpty ¶
func (ol OperationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (OperationList) MarshalJSON ¶
func (ol OperationList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationList.
type OperationListIterator ¶
type OperationListIterator struct {
// contains filtered or unexported fields
}
OperationListIterator provides access to a complete listing of Operation values.
func NewOperationListIterator ¶
func NewOperationListIterator(page OperationListPage) OperationListIterator
Creates a new instance of the OperationListIterator type.
func (*OperationListIterator) Next ¶
func (iter *OperationListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListIterator) NextWithContext ¶
func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListIterator) NotDone ¶
func (iter OperationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListIterator) Response ¶
func (iter OperationListIterator) Response() OperationList
Response returns the raw server response from the last page request.
func (OperationListIterator) Value ¶
func (iter OperationListIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListPage ¶
type OperationListPage struct {
// contains filtered or unexported fields
}
OperationListPage contains a page of Operation values.
func NewOperationListPage ¶
func NewOperationListPage(cur OperationList, getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage
Creates a new instance of the OperationListPage type.
func (*OperationListPage) Next ¶
func (page *OperationListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListPage) NextWithContext ¶
func (page *OperationListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListPage) NotDone ¶
func (page OperationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListPage) Response ¶
func (page OperationListPage) Response() OperationList
Response returns the raw server response from the last page request.
func (OperationListPage) Values ¶
func (page OperationListPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the client for the Operations methods of the Databox service.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)
List this method gets all the operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type OverallValidationStatus ¶
type OverallValidationStatus string
OverallValidationStatus enumerates the values for overall validation status.
const ( // AllValidToProceed Every input request is valid. AllValidToProceed OverallValidationStatus = "AllValidToProceed" // CertainInputValidationsSkipped Certain input validations skipped. CertainInputValidationsSkipped OverallValidationStatus = "CertainInputValidationsSkipped" // InputsRevisitRequired Some input requests are not valid. InputsRevisitRequired OverallValidationStatus = "InputsRevisitRequired" )
func PossibleOverallValidationStatusValues ¶
func PossibleOverallValidationStatusValues() []OverallValidationStatus
PossibleOverallValidationStatusValues returns an array of possible values for the OverallValidationStatus const type.
type PackageShippingDetails ¶
type PackageShippingDetails struct { // CarrierName - READ-ONLY; Name of the carrier. CarrierName *string `json:"carrierName,omitempty"` // TrackingID - READ-ONLY; Tracking Id of shipment. TrackingID *string `json:"trackingId,omitempty"` // TrackingURL - READ-ONLY; Url where shipment can be tracked. TrackingURL *string `json:"trackingUrl,omitempty"` }
PackageShippingDetails shipping details.
func (PackageShippingDetails) MarshalJSON ¶
func (psd PackageShippingDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PackageShippingDetails.
type Preferences ¶
type Preferences struct { // PreferredDataCenterRegion - Preferred Data Center Region. PreferredDataCenterRegion *[]string `json:"preferredDataCenterRegion,omitempty"` // TransportPreferences - Preferences related to the shipment logistics of the sku. TransportPreferences *TransportPreferences `json:"transportPreferences,omitempty"` }
Preferences preferences related to the order
type PreferencesValidationRequest ¶
type PreferencesValidationRequest struct { // Preference - Preference requested with respect to transport type and data center Preference *Preferences `json:"preference,omitempty"` // DeviceType - Device type to be used for the job. Possible values include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy' DeviceType SkuName `json:"deviceType,omitempty"` // ValidationType - Possible values include: 'ValidationTypeValidationInputRequest', 'ValidationTypeValidateCreateOrderLimit', 'ValidationTypeValidateDataDestinationDetails', 'ValidationTypeValidatePreferences', 'ValidationTypeValidateSkuAvailability', 'ValidationTypeValidateSubscriptionIsAllowedToCreateJob', 'ValidationTypeValidateAddress' ValidationType ValidationType `json:"validationType,omitempty"` }
PreferencesValidationRequest request to validate preference of transport and data center.
func (PreferencesValidationRequest) AsBasicValidationInputRequest ¶
func (pvr PreferencesValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
AsBasicValidationInputRequest is the BasicValidationInputRequest implementation for PreferencesValidationRequest.
func (PreferencesValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest ¶
func (pvr PreferencesValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
AsCreateOrderLimitForSubscriptionValidationRequest is the BasicValidationInputRequest implementation for PreferencesValidationRequest.
func (PreferencesValidationRequest) AsDataDestinationDetailsValidationRequest ¶
func (pvr PreferencesValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
AsDataDestinationDetailsValidationRequest is the BasicValidationInputRequest implementation for PreferencesValidationRequest.
func (PreferencesValidationRequest) AsPreferencesValidationRequest ¶
func (pvr PreferencesValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
AsPreferencesValidationRequest is the BasicValidationInputRequest implementation for PreferencesValidationRequest.
func (PreferencesValidationRequest) AsSkuAvailabilityValidationRequest ¶
func (pvr PreferencesValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
AsSkuAvailabilityValidationRequest is the BasicValidationInputRequest implementation for PreferencesValidationRequest.
func (PreferencesValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest ¶
func (pvr PreferencesValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
AsSubscriptionIsAllowedToCreateJobValidationRequest is the BasicValidationInputRequest implementation for PreferencesValidationRequest.
func (PreferencesValidationRequest) AsValidateAddress ¶
func (pvr PreferencesValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
AsValidateAddress is the BasicValidationInputRequest implementation for PreferencesValidationRequest.
func (PreferencesValidationRequest) AsValidationInputRequest ¶
func (pvr PreferencesValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
AsValidationInputRequest is the BasicValidationInputRequest implementation for PreferencesValidationRequest.
func (PreferencesValidationRequest) MarshalJSON ¶
func (pvr PreferencesValidationRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PreferencesValidationRequest.
type PreferencesValidationResponseProperties ¶
type PreferencesValidationResponseProperties struct { // Status - READ-ONLY; Validation status of requested data center and transport. Possible values include: 'ValidationStatusValid', 'ValidationStatusInvalid', 'ValidationStatusSkipped' Status ValidationStatus `json:"status,omitempty"` // Error - READ-ONLY; Error code and message of validation response. Error *Error `json:"error,omitempty"` // ValidationType - Possible values include: 'ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails', 'ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob' ValidationType ValidationTypeBasicValidationInputResponse `json:"validationType,omitempty"` }
PreferencesValidationResponseProperties properties of data center and transport preference validation response.
func (PreferencesValidationResponseProperties) AsAddressValidationProperties ¶
func (pvrp PreferencesValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
AsAddressValidationProperties is the BasicValidationInputResponse implementation for PreferencesValidationResponseProperties.
func (PreferencesValidationResponseProperties) AsBasicValidationInputResponse ¶
func (pvrp PreferencesValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
AsBasicValidationInputResponse is the BasicValidationInputResponse implementation for PreferencesValidationResponseProperties.
func (PreferencesValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties ¶
func (pvrp PreferencesValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
AsCreateOrderLimitForSubscriptionValidationResponseProperties is the BasicValidationInputResponse implementation for PreferencesValidationResponseProperties.
func (PreferencesValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties ¶
func (pvrp PreferencesValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
AsDataDestinationDetailsValidationResponseProperties is the BasicValidationInputResponse implementation for PreferencesValidationResponseProperties.
func (PreferencesValidationResponseProperties) AsPreferencesValidationResponseProperties ¶
func (pvrp PreferencesValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
AsPreferencesValidationResponseProperties is the BasicValidationInputResponse implementation for PreferencesValidationResponseProperties.
func (PreferencesValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties ¶
func (pvrp PreferencesValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
AsSkuAvailabilityValidationResponseProperties is the BasicValidationInputResponse implementation for PreferencesValidationResponseProperties.
func (PreferencesValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties ¶
func (pvrp PreferencesValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
AsSubscriptionIsAllowedToCreateJobValidationResponseProperties is the BasicValidationInputResponse implementation for PreferencesValidationResponseProperties.
func (PreferencesValidationResponseProperties) AsValidationInputResponse ¶
func (pvrp PreferencesValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
AsValidationInputResponse is the BasicValidationInputResponse implementation for PreferencesValidationResponseProperties.
func (PreferencesValidationResponseProperties) MarshalJSON ¶
func (pvrp PreferencesValidationResponseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PreferencesValidationResponseProperties.
type RegionConfigurationRequest ¶
type RegionConfigurationRequest struct { // ScheduleAvailabilityRequest - Request body to get the availability for scheduling orders. ScheduleAvailabilityRequest BasicScheduleAvailabilityRequest `json:"scheduleAvailabilityRequest,omitempty"` // TransportAvailabilityRequest - Request body to get the transport availability for given sku. TransportAvailabilityRequest *TransportAvailabilityRequest `json:"transportAvailabilityRequest,omitempty"` }
RegionConfigurationRequest request body to get the configuration for the region.
func (*RegionConfigurationRequest) UnmarshalJSON ¶
func (rcr *RegionConfigurationRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RegionConfigurationRequest struct.
type RegionConfigurationResponse ¶
type RegionConfigurationResponse struct { autorest.Response `json:"-"` // ScheduleAvailabilityResponse - READ-ONLY; Schedule availability for given sku in a region. ScheduleAvailabilityResponse *ScheduleAvailabilityResponse `json:"scheduleAvailabilityResponse,omitempty"` // TransportAvailabilityResponse - READ-ONLY; Transport options available for given sku in a region. TransportAvailabilityResponse *TransportAvailabilityResponse `json:"transportAvailabilityResponse,omitempty"` }
RegionConfigurationResponse configuration response specific to a region.
func (RegionConfigurationResponse) MarshalJSON ¶
func (rcr RegionConfigurationResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegionConfigurationResponse.
type Resource ¶
type Resource struct { // Location - The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed. Location *string `json:"location,omitempty"` // Tags - The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). Tags map[string]*string `json:"tags"` // Sku - The sku type. Sku *Sku `json:"sku,omitempty"` }
Resource model of the Resource.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ScheduleAvailabilityRequest ¶
type ScheduleAvailabilityRequest struct { // StorageLocation - Location for data transfer. // For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 StorageLocation *string `json:"storageLocation,omitempty"` // SkuName - Possible values include: 'SkuNameScheduleAvailabilityRequest', 'SkuNameDataBox', 'SkuNameDataBoxDisk', 'SkuNameDataBoxHeavy' SkuName SkuNameBasicScheduleAvailabilityRequest `json:"skuName,omitempty"` }
ScheduleAvailabilityRequest request body to get the availability for scheduling orders.
func (ScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest ¶
func (sar ScheduleAvailabilityRequest) AsBasicScheduleAvailabilityRequest() (BasicScheduleAvailabilityRequest, bool)
AsBasicScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequest.
func (ScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest ¶
func (sar ScheduleAvailabilityRequest) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool)
AsDiskScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequest.
func (ScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest ¶
func (sar ScheduleAvailabilityRequest) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool)
AsHeavyScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequest.
func (ScheduleAvailabilityRequest) AsScheduleAvailabilityRequest ¶
func (sar ScheduleAvailabilityRequest) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool)
AsScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequest.
func (ScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType ¶
func (sar ScheduleAvailabilityRequest) AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool)
AsScheduleAvailabilityRequestType is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequest.
func (ScheduleAvailabilityRequest) MarshalJSON ¶
func (sar ScheduleAvailabilityRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ScheduleAvailabilityRequest.
type ScheduleAvailabilityRequestType ¶
type ScheduleAvailabilityRequestType struct { // StorageLocation - Location for data transfer. // For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 StorageLocation *string `json:"storageLocation,omitempty"` // SkuName - Possible values include: 'SkuNameScheduleAvailabilityRequest', 'SkuNameDataBox', 'SkuNameDataBoxDisk', 'SkuNameDataBoxHeavy' SkuName SkuNameBasicScheduleAvailabilityRequest `json:"skuName,omitempty"` }
ScheduleAvailabilityRequestType request body to get the availability for scheduling data box orders orders.
func (ScheduleAvailabilityRequestType) AsBasicScheduleAvailabilityRequest ¶
func (sart ScheduleAvailabilityRequestType) AsBasicScheduleAvailabilityRequest() (BasicScheduleAvailabilityRequest, bool)
AsBasicScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequestType.
func (ScheduleAvailabilityRequestType) AsDiskScheduleAvailabilityRequest ¶
func (sart ScheduleAvailabilityRequestType) AsDiskScheduleAvailabilityRequest() (*DiskScheduleAvailabilityRequest, bool)
AsDiskScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequestType.
func (ScheduleAvailabilityRequestType) AsHeavyScheduleAvailabilityRequest ¶
func (sart ScheduleAvailabilityRequestType) AsHeavyScheduleAvailabilityRequest() (*HeavyScheduleAvailabilityRequest, bool)
AsHeavyScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequestType.
func (ScheduleAvailabilityRequestType) AsScheduleAvailabilityRequest ¶
func (sart ScheduleAvailabilityRequestType) AsScheduleAvailabilityRequest() (*ScheduleAvailabilityRequest, bool)
AsScheduleAvailabilityRequest is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequestType.
func (ScheduleAvailabilityRequestType) AsScheduleAvailabilityRequestType ¶
func (sart ScheduleAvailabilityRequestType) AsScheduleAvailabilityRequestType() (*ScheduleAvailabilityRequestType, bool)
AsScheduleAvailabilityRequestType is the BasicScheduleAvailabilityRequest implementation for ScheduleAvailabilityRequestType.
func (ScheduleAvailabilityRequestType) MarshalJSON ¶
func (sart ScheduleAvailabilityRequestType) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ScheduleAvailabilityRequestType.
type ScheduleAvailabilityResponse ¶
type ScheduleAvailabilityResponse struct { // AvailableDates - READ-ONLY; List of dates available to schedule AvailableDates *[]date.Time `json:"availableDates,omitempty"` }
ScheduleAvailabilityResponse schedule availability response for given sku in a region.
func (ScheduleAvailabilityResponse) MarshalJSON ¶
func (sar ScheduleAvailabilityResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ScheduleAvailabilityResponse.
type Secret ¶
type Secret struct { // DeviceSerialNumber - READ-ONLY; Serial number of the assigned device. DeviceSerialNumber *string `json:"deviceSerialNumber,omitempty"` // DevicePassword - READ-ONLY; Password for out of the box experience on device. DevicePassword *string `json:"devicePassword,omitempty"` // NetworkConfigurations - READ-ONLY; Network configuration of the appliance. NetworkConfigurations *[]ApplianceNetworkConfiguration `json:"networkConfigurations,omitempty"` // EncodedValidationCertPubKey - READ-ONLY; The base 64 encoded public key to authenticate with the device EncodedValidationCertPubKey *string `json:"encodedValidationCertPubKey,omitempty"` // AccountCredentialDetails - READ-ONLY; Per account level access credentials. AccountCredentialDetails *[]AccountCredentialDetails `json:"accountCredentialDetails,omitempty"` }
Secret the secrets related to a DataBox.
func (Secret) MarshalJSON ¶
MarshalJSON is the custom marshaler for Secret.
type ServiceClient ¶
type ServiceClient struct {
BaseClient
}
ServiceClient is the client for the Service methods of the Databox service.
func NewServiceClient ¶
func NewServiceClient(subscriptionID string) ServiceClient
NewServiceClient creates an instance of the ServiceClient client.
func NewServiceClientWithBaseURI ¶
func NewServiceClientWithBaseURI(baseURI string, subscriptionID string) ServiceClient
NewServiceClientWithBaseURI creates an instance of the ServiceClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServiceClient) ListAvailableSkus ¶
func (client ServiceClient) ListAvailableSkus(ctx context.Context, location string, availableSkuRequest AvailableSkuRequest) (result AvailableSkusResultPage, err error)
ListAvailableSkus this method provides the list of available skus for the given subscription and location. Parameters: location - the location of the resource availableSkuRequest - filters for showing the available skus.
func (ServiceClient) ListAvailableSkusByResourceGroup ¶
func (client ServiceClient) ListAvailableSkusByResourceGroup(ctx context.Context, resourceGroupName string, location string, availableSkuRequest AvailableSkuRequest) (result AvailableSkusResultPage, err error)
ListAvailableSkusByResourceGroup this method provides the list of available skus for the given subscription, resource group and location. Parameters: resourceGroupName - the Resource Group Name location - the location of the resource availableSkuRequest - filters for showing the available skus.
func (ServiceClient) ListAvailableSkusByResourceGroupComplete ¶
func (client ServiceClient) ListAvailableSkusByResourceGroupComplete(ctx context.Context, resourceGroupName string, location string, availableSkuRequest AvailableSkuRequest) (result AvailableSkusResultIterator, err error)
ListAvailableSkusByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ServiceClient) ListAvailableSkusByResourceGroupPreparer ¶
func (client ServiceClient) ListAvailableSkusByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string, availableSkuRequest AvailableSkuRequest) (*http.Request, error)
ListAvailableSkusByResourceGroupPreparer prepares the ListAvailableSkusByResourceGroup request.
func (ServiceClient) ListAvailableSkusByResourceGroupResponder ¶
func (client ServiceClient) ListAvailableSkusByResourceGroupResponder(resp *http.Response) (result AvailableSkusResult, err error)
ListAvailableSkusByResourceGroupResponder handles the response to the ListAvailableSkusByResourceGroup request. The method always closes the http.Response Body.
func (ServiceClient) ListAvailableSkusByResourceGroupSender ¶
func (client ServiceClient) ListAvailableSkusByResourceGroupSender(req *http.Request) (*http.Response, error)
ListAvailableSkusByResourceGroupSender sends the ListAvailableSkusByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) ListAvailableSkusComplete ¶
func (client ServiceClient) ListAvailableSkusComplete(ctx context.Context, location string, availableSkuRequest AvailableSkuRequest) (result AvailableSkusResultIterator, err error)
ListAvailableSkusComplete enumerates all values, automatically crossing page boundaries as required.
func (ServiceClient) ListAvailableSkusPreparer ¶
func (client ServiceClient) ListAvailableSkusPreparer(ctx context.Context, location string, availableSkuRequest AvailableSkuRequest) (*http.Request, error)
ListAvailableSkusPreparer prepares the ListAvailableSkus request.
func (ServiceClient) ListAvailableSkusResponder ¶
func (client ServiceClient) ListAvailableSkusResponder(resp *http.Response) (result AvailableSkusResult, err error)
ListAvailableSkusResponder handles the response to the ListAvailableSkus request. The method always closes the http.Response Body.
func (ServiceClient) ListAvailableSkusSender ¶
ListAvailableSkusSender sends the ListAvailableSkus request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) RegionConfiguration ¶
func (client ServiceClient) RegionConfiguration(ctx context.Context, location string, regionConfigurationRequest RegionConfigurationRequest) (result RegionConfigurationResponse, err error)
RegionConfiguration this API provides configuration details specific to given region/location. Parameters: location - the location of the resource regionConfigurationRequest - request body to get the configuration for the region.
func (ServiceClient) RegionConfigurationPreparer ¶
func (client ServiceClient) RegionConfigurationPreparer(ctx context.Context, location string, regionConfigurationRequest RegionConfigurationRequest) (*http.Request, error)
RegionConfigurationPreparer prepares the RegionConfiguration request.
func (ServiceClient) RegionConfigurationResponder ¶
func (client ServiceClient) RegionConfigurationResponder(resp *http.Response) (result RegionConfigurationResponse, err error)
RegionConfigurationResponder handles the response to the RegionConfiguration request. The method always closes the http.Response Body.
func (ServiceClient) RegionConfigurationSender ¶
RegionConfigurationSender sends the RegionConfiguration request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) ValidateAddressMethod ¶
func (client ServiceClient) ValidateAddressMethod(ctx context.Context, location string, validateAddress ValidateAddress) (result AddressValidationOutput, err error)
ValidateAddressMethod [DEPRECATED NOTICE: This operation will soon be removed] This method validates the customer shipping address and provide alternate addresses if any. Parameters: location - the location of the resource validateAddress - shipping address of the customer.
func (ServiceClient) ValidateAddressMethodPreparer ¶
func (client ServiceClient) ValidateAddressMethodPreparer(ctx context.Context, location string, validateAddress ValidateAddress) (*http.Request, error)
ValidateAddressMethodPreparer prepares the ValidateAddressMethod request.
func (ServiceClient) ValidateAddressMethodResponder ¶
func (client ServiceClient) ValidateAddressMethodResponder(resp *http.Response) (result AddressValidationOutput, err error)
ValidateAddressMethodResponder handles the response to the ValidateAddressMethod request. The method always closes the http.Response Body.
func (ServiceClient) ValidateAddressMethodSender ¶
ValidateAddressMethodSender sends the ValidateAddressMethod request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) ValidateInputs ¶
func (client ServiceClient) ValidateInputs(ctx context.Context, location string, validationRequest BasicValidationRequest) (result ValidationResponse, err error)
ValidateInputs this method does all necessary pre-job creation validation under subscription. Parameters: location - the location of the resource validationRequest - inputs of the customer.
func (ServiceClient) ValidateInputsByResourceGroup ¶
func (client ServiceClient) ValidateInputsByResourceGroup(ctx context.Context, resourceGroupName string, location string, validationRequest BasicValidationRequest) (result ValidationResponse, err error)
ValidateInputsByResourceGroup this method does all necessary pre-job creation validation under resource group. Parameters: resourceGroupName - the Resource Group Name location - the location of the resource validationRequest - inputs of the customer.
func (ServiceClient) ValidateInputsByResourceGroupPreparer ¶
func (client ServiceClient) ValidateInputsByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string, validationRequest BasicValidationRequest) (*http.Request, error)
ValidateInputsByResourceGroupPreparer prepares the ValidateInputsByResourceGroup request.
func (ServiceClient) ValidateInputsByResourceGroupResponder ¶
func (client ServiceClient) ValidateInputsByResourceGroupResponder(resp *http.Response) (result ValidationResponse, err error)
ValidateInputsByResourceGroupResponder handles the response to the ValidateInputsByResourceGroup request. The method always closes the http.Response Body.
func (ServiceClient) ValidateInputsByResourceGroupSender ¶
func (client ServiceClient) ValidateInputsByResourceGroupSender(req *http.Request) (*http.Response, error)
ValidateInputsByResourceGroupSender sends the ValidateInputsByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) ValidateInputsPreparer ¶
func (client ServiceClient) ValidateInputsPreparer(ctx context.Context, location string, validationRequest BasicValidationRequest) (*http.Request, error)
ValidateInputsPreparer prepares the ValidateInputs request.
func (ServiceClient) ValidateInputsResponder ¶
func (client ServiceClient) ValidateInputsResponder(resp *http.Response) (result ValidationResponse, err error)
ValidateInputsResponder handles the response to the ValidateInputs request. The method always closes the http.Response Body.
func (ServiceClient) ValidateInputsSender ¶
ValidateInputsSender sends the ValidateInputs request. The method will close the http.Response Body if it receives an error.
type ShareCredentialDetails ¶
type ShareCredentialDetails struct { string `json:"shareName,omitempty"` ShareType ShareDestinationFormatType `json:"shareType,omitempty"` UserName *string `json:"userName,omitempty"` Password *string `json:"password,omitempty"` SupportedAccessProtocols *[]AccessProtocol `json:"supportedAccessProtocols,omitempty"` }ShareName *
ShareCredentialDetails credential details of the shares in account.
func (ShareCredentialDetails) MarshalJSON ¶
func (scd ShareCredentialDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ShareCredentialDetails.
type ShareDestinationFormatType ¶
type ShareDestinationFormatType string
ShareDestinationFormatType enumerates the values for share destination format type.
const ( ShareDestinationFormatType = "AzureFile" ShareDestinationFormatTypeBlockBlob ShareDestinationFormatType = "BlockBlob" ShareDestinationFormatTypeHCS ShareDestinationFormatType = "HCS" ShareDestinationFormatTypeManagedDisk ShareDestinationFormatType = "ManagedDisk" ShareDestinationFormatTypePageBlob ShareDestinationFormatType = "PageBlob" ShareDestinationFormatTypeUnknownType ShareDestinationFormatType = "UnknownType" )ShareDestinationFormatTypeAzureFile
func PossibleShareDestinationFormatTypeValues ¶
func PossibleShareDestinationFormatTypeValues() []ShareDestinationFormatType
PossibleShareDestinationFormatTypeValues returns an array of possible values for the ShareDestinationFormatType const type.
type ShipmentPickUpRequest ¶
type ShipmentPickUpRequest struct { // StartTime - Minimum date after which the pick up should commence, this must be in local time of pick up area. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - Maximum date before which the pick up should commence, this must be in local time of pick up area. EndTime *date.Time `json:"endTime,omitempty"` // ShipmentLocation - Shipment Location in the pickup place. Eg.front desk ShipmentLocation *string `json:"shipmentLocation,omitempty"` }
ShipmentPickUpRequest shipment pick up request details.
type ShipmentPickUpResponse ¶
type ShipmentPickUpResponse struct { autorest.Response `json:"-"` // ConfirmationNumber - READ-ONLY; Confirmation number for the pick up request. ConfirmationNumber *string `json:"confirmationNumber,omitempty"` // ReadyByTime - READ-ONLY; Time by which shipment should be ready for pick up, this is in local time of pick up area. ReadyByTime *date.Time `json:"readyByTime,omitempty"` }
ShipmentPickUpResponse shipment pick up response.
func (ShipmentPickUpResponse) MarshalJSON ¶
func (spur ShipmentPickUpResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ShipmentPickUpResponse.
type ShippingAddress ¶
type ShippingAddress struct { // StreetAddress1 - Street Address line 1. StreetAddress1 *string `json:"streetAddress1,omitempty"` // StreetAddress2 - Street Address line 2. StreetAddress2 *string `json:"streetAddress2,omitempty"` // StreetAddress3 - Street Address line 3. StreetAddress3 *string `json:"streetAddress3,omitempty"` // City - Name of the City. City *string `json:"city,omitempty"` // StateOrProvince - Name of the State or Province. StateOrProvince *string `json:"stateOrProvince,omitempty"` // Country - Name of the Country. Country *string `json:"country,omitempty"` // PostalCode - Postal code. PostalCode *string `json:"postalCode,omitempty"` // ZipExtendedCode - Extended Zip Code. ZipExtendedCode *string `json:"zipExtendedCode,omitempty"` // CompanyName - Name of the company. CompanyName *string `json:"companyName,omitempty"` // AddressType - Type of address. Possible values include: 'None', 'Residential', 'Commercial' AddressType AddressType `json:"addressType,omitempty"` }
ShippingAddress shipping address where customer wishes to receive the device.
type Sku ¶
type Sku struct { // Name - The sku name. Possible values include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy' Name SkuName `json:"name,omitempty"` // DisplayName - The display name of the sku. DisplayName *string `json:"displayName,omitempty"` // Family - The sku family. Family *string `json:"family,omitempty"` }
Sku the Sku.
type SkuAvailabilityValidationRequest ¶
type SkuAvailabilityValidationRequest struct { // DeviceType - Device type to be used for the job. Possible values include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy' DeviceType SkuName `json:"deviceType,omitempty"` // TransferType - Type of the transfer. TransferType *string `json:"transferType,omitempty"` // Country - ISO country code. Country for hardware shipment. For codes check: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements Country *string `json:"country,omitempty"` // Location - Location for data transfer. For locations check: https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01 Location *string `json:"location,omitempty"` // ValidationType - Possible values include: 'ValidationTypeValidationInputRequest', 'ValidationTypeValidateCreateOrderLimit', 'ValidationTypeValidateDataDestinationDetails', 'ValidationTypeValidatePreferences', 'ValidationTypeValidateSkuAvailability', 'ValidationTypeValidateSubscriptionIsAllowedToCreateJob', 'ValidationTypeValidateAddress' ValidationType ValidationType `json:"validationType,omitempty"` }
SkuAvailabilityValidationRequest request to validate sku availability.
func (SkuAvailabilityValidationRequest) AsBasicValidationInputRequest ¶
func (savr SkuAvailabilityValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
AsBasicValidationInputRequest is the BasicValidationInputRequest implementation for SkuAvailabilityValidationRequest.
func (SkuAvailabilityValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest ¶
func (savr SkuAvailabilityValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
AsCreateOrderLimitForSubscriptionValidationRequest is the BasicValidationInputRequest implementation for SkuAvailabilityValidationRequest.
func (SkuAvailabilityValidationRequest) AsDataDestinationDetailsValidationRequest ¶
func (savr SkuAvailabilityValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
AsDataDestinationDetailsValidationRequest is the BasicValidationInputRequest implementation for SkuAvailabilityValidationRequest.
func (SkuAvailabilityValidationRequest) AsPreferencesValidationRequest ¶
func (savr SkuAvailabilityValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
AsPreferencesValidationRequest is the BasicValidationInputRequest implementation for SkuAvailabilityValidationRequest.
func (SkuAvailabilityValidationRequest) AsSkuAvailabilityValidationRequest ¶
func (savr SkuAvailabilityValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
AsSkuAvailabilityValidationRequest is the BasicValidationInputRequest implementation for SkuAvailabilityValidationRequest.
func (SkuAvailabilityValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest ¶
func (savr SkuAvailabilityValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
AsSubscriptionIsAllowedToCreateJobValidationRequest is the BasicValidationInputRequest implementation for SkuAvailabilityValidationRequest.
func (SkuAvailabilityValidationRequest) AsValidateAddress ¶
func (savr SkuAvailabilityValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
AsValidateAddress is the BasicValidationInputRequest implementation for SkuAvailabilityValidationRequest.
func (SkuAvailabilityValidationRequest) AsValidationInputRequest ¶
func (savr SkuAvailabilityValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
AsValidationInputRequest is the BasicValidationInputRequest implementation for SkuAvailabilityValidationRequest.
func (SkuAvailabilityValidationRequest) MarshalJSON ¶
func (savr SkuAvailabilityValidationRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkuAvailabilityValidationRequest.
type SkuAvailabilityValidationResponseProperties ¶
type SkuAvailabilityValidationResponseProperties struct { // Status - READ-ONLY; Sku availability validation status. Possible values include: 'ValidationStatusValid', 'ValidationStatusInvalid', 'ValidationStatusSkipped' Status ValidationStatus `json:"status,omitempty"` // Error - READ-ONLY; Error code and message of validation response. Error *Error `json:"error,omitempty"` // ValidationType - Possible values include: 'ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails', 'ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob' ValidationType ValidationTypeBasicValidationInputResponse `json:"validationType,omitempty"` }
SkuAvailabilityValidationResponseProperties properties of sku availability validation response.
func (SkuAvailabilityValidationResponseProperties) AsAddressValidationProperties ¶
func (savrp SkuAvailabilityValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
AsAddressValidationProperties is the BasicValidationInputResponse implementation for SkuAvailabilityValidationResponseProperties.
func (SkuAvailabilityValidationResponseProperties) AsBasicValidationInputResponse ¶
func (savrp SkuAvailabilityValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
AsBasicValidationInputResponse is the BasicValidationInputResponse implementation for SkuAvailabilityValidationResponseProperties.
func (SkuAvailabilityValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties ¶
func (savrp SkuAvailabilityValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
AsCreateOrderLimitForSubscriptionValidationResponseProperties is the BasicValidationInputResponse implementation for SkuAvailabilityValidationResponseProperties.
func (SkuAvailabilityValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties ¶
func (savrp SkuAvailabilityValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
AsDataDestinationDetailsValidationResponseProperties is the BasicValidationInputResponse implementation for SkuAvailabilityValidationResponseProperties.
func (SkuAvailabilityValidationResponseProperties) AsPreferencesValidationResponseProperties ¶
func (savrp SkuAvailabilityValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
AsPreferencesValidationResponseProperties is the BasicValidationInputResponse implementation for SkuAvailabilityValidationResponseProperties.
func (SkuAvailabilityValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties ¶
func (savrp SkuAvailabilityValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
AsSkuAvailabilityValidationResponseProperties is the BasicValidationInputResponse implementation for SkuAvailabilityValidationResponseProperties.
func (SkuAvailabilityValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties ¶
func (savrp SkuAvailabilityValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
AsSubscriptionIsAllowedToCreateJobValidationResponseProperties is the BasicValidationInputResponse implementation for SkuAvailabilityValidationResponseProperties.
func (SkuAvailabilityValidationResponseProperties) AsValidationInputResponse ¶
func (savrp SkuAvailabilityValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
AsValidationInputResponse is the BasicValidationInputResponse implementation for SkuAvailabilityValidationResponseProperties.
func (SkuAvailabilityValidationResponseProperties) MarshalJSON ¶
func (savrp SkuAvailabilityValidationResponseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkuAvailabilityValidationResponseProperties.
type SkuCapacity ¶
type SkuCapacity struct { // Usable - READ-ONLY; Usable capacity in TB. Usable *string `json:"usable,omitempty"` // Maximum - READ-ONLY; Maximum capacity in TB. Maximum *string `json:"maximum,omitempty"` }
SkuCapacity capacity of the sku.
func (SkuCapacity) MarshalJSON ¶
func (sc SkuCapacity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkuCapacity.
type SkuCost ¶
type SkuCost struct { // MeterID - READ-ONLY; Meter id of the Sku. MeterID *string `json:"meterId,omitempty"` // MeterType - READ-ONLY; The type of the meter. MeterType *string `json:"meterType,omitempty"` }
SkuCost describes metadata for retrieving price info.
func (SkuCost) MarshalJSON ¶
MarshalJSON is the custom marshaler for SkuCost.
type SkuDisabledReason ¶
type SkuDisabledReason string
SkuDisabledReason enumerates the values for sku disabled reason.
const ( // SkuDisabledReasonCountry SKU is not available in the requested country. SkuDisabledReasonCountry SkuDisabledReason = "Country" // SkuDisabledReasonFeature Required features are not enabled for the SKU. SkuDisabledReasonFeature SkuDisabledReason = "Feature" // SkuDisabledReasonNone SKU is not disabled. SkuDisabledReasonNone SkuDisabledReason = "None" // SkuDisabledReasonNoSubscriptionInfo Subscription has not registered to Microsoft.DataBox and Service // does not have the subscription notification. SkuDisabledReasonNoSubscriptionInfo SkuDisabledReason = "NoSubscriptionInfo" // SkuDisabledReasonOfferType Subscription does not have required offer types for the SKU. SkuDisabledReasonOfferType SkuDisabledReason = "OfferType" // SkuDisabledReasonRegion SKU is not available to push data to the requested Azure region. SkuDisabledReasonRegion SkuDisabledReason = "Region" )
func PossibleSkuDisabledReasonValues ¶
func PossibleSkuDisabledReasonValues() []SkuDisabledReason
PossibleSkuDisabledReasonValues returns an array of possible values for the SkuDisabledReason const type.
type SkuInformation ¶
type SkuInformation struct { // Sku - READ-ONLY; The Sku. Sku *Sku `json:"sku,omitempty"` // Enabled - READ-ONLY; The sku is enabled or not. Enabled *bool `json:"enabled,omitempty"` // SkuProperties - READ-ONLY; Properties of the sku. *SkuProperties `json:"properties,omitempty"` }
SkuInformation information of the sku.
func (SkuInformation) MarshalJSON ¶
func (si SkuInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkuInformation.
func (*SkuInformation) UnmarshalJSON ¶
func (si *SkuInformation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SkuInformation struct.
type SkuName ¶
type SkuName string
SkuName enumerates the values for sku name.
func PossibleSkuNameValues ¶
func PossibleSkuNameValues() []SkuName
PossibleSkuNameValues returns an array of possible values for the SkuName const type.
type SkuNameBasicScheduleAvailabilityRequest ¶
type SkuNameBasicScheduleAvailabilityRequest string
SkuNameBasicScheduleAvailabilityRequest enumerates the values for sku name basic schedule availability request.
const ( // SkuNameDataBox ... SkuNameDataBox SkuNameBasicScheduleAvailabilityRequest = "DataBox" // SkuNameDataBoxDisk ... SkuNameDataBoxDisk SkuNameBasicScheduleAvailabilityRequest = "DataBoxDisk" // SkuNameDataBoxHeavy ... SkuNameDataBoxHeavy SkuNameBasicScheduleAvailabilityRequest = "DataBoxHeavy" // SkuNameScheduleAvailabilityRequest ... SkuNameScheduleAvailabilityRequest SkuNameBasicScheduleAvailabilityRequest = "ScheduleAvailabilityRequest" )
func PossibleSkuNameBasicScheduleAvailabilityRequestValues ¶
func PossibleSkuNameBasicScheduleAvailabilityRequestValues() []SkuNameBasicScheduleAvailabilityRequest
PossibleSkuNameBasicScheduleAvailabilityRequestValues returns an array of possible values for the SkuNameBasicScheduleAvailabilityRequest const type.
type SkuProperties ¶
type SkuProperties struct { // DestinationToServiceLocationMap - READ-ONLY; The map of destination location to service location. DestinationToServiceLocationMap *[]DestinationToServiceLocationMap `json:"destinationToServiceLocationMap,omitempty"` // Capacity - READ-ONLY; Capacity of the Sku. Capacity *SkuCapacity `json:"capacity,omitempty"` // Costs - READ-ONLY; Cost of the Sku. Costs *[]SkuCost `json:"costs,omitempty"` // APIVersions - READ-ONLY; Api versions that support this Sku. APIVersions *[]string `json:"apiVersions,omitempty"` // DisabledReason - READ-ONLY; Reason why the Sku is disabled. Possible values include: 'SkuDisabledReasonNone', 'SkuDisabledReasonCountry', 'SkuDisabledReasonRegion', 'SkuDisabledReasonFeature', 'SkuDisabledReasonOfferType', 'SkuDisabledReasonNoSubscriptionInfo' DisabledReason SkuDisabledReason `json:"disabledReason,omitempty"` // DisabledReasonMessage - READ-ONLY; Message for why the Sku is disabled. DisabledReasonMessage *string `json:"disabledReasonMessage,omitempty"` // RequiredFeature - READ-ONLY; Required feature to access the sku. RequiredFeature *string `json:"requiredFeature,omitempty"` }
SkuProperties properties of the sku.
func (SkuProperties) MarshalJSON ¶
func (sp SkuProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkuProperties.
type StageName ¶
type StageName string
StageName enumerates the values for stage name.
const ( // StageNameAborted Order has been aborted. StageNameAborted StageName = "Aborted" // StageNameAtAzureDC Device has been received at azure datacenter from the user. StageNameAtAzureDC StageName = "AtAzureDC" // StageNameCancelled Order has been cancelled. StageNameCancelled StageName = "Cancelled" // StageNameCompleted Order has completed. StageNameCompleted StageName = "Completed" // StageNameCompletedWithErrors Order has completed with errors. StageNameCompletedWithErrors StageName = "CompletedWithErrors" // StageNameCompletedWithWarnings Order has completed with warnings. StageNameCompletedWithWarnings StageName = "CompletedWithWarnings" // StageNameDataCopy Data copy from the device at azure datacenter. StageNameDataCopy StageName = "DataCopy" // StageNameDelivered Device has been delivered to the user of the order. StageNameDelivered StageName = "Delivered" // StageNameDeviceOrdered An order has been created. StageNameDeviceOrdered StageName = "DeviceOrdered" // StageNameDevicePrepared A device has been prepared for the order. StageNameDevicePrepared StageName = "DevicePrepared" // StageNameDispatched Device has been dispatched to the user of the order. StageNameDispatched StageName = "Dispatched" // StageNameFailedIssueDetectedAtAzureDC Order has failed due to issue detected at azure datacenter. StageNameFailedIssueDetectedAtAzureDC StageName = "Failed_IssueDetectedAtAzureDC" // StageNameFailedIssueReportedAtCustomer Order has failed due to issue reported by user. StageNameFailedIssueReportedAtCustomer StageName = "Failed_IssueReportedAtCustomer" // StageNamePickedUp Device has been picked up from user and in transit to azure datacenter. StageNamePickedUp StageName = "PickedUp" // StageNameReadyToDispatchFromAzureDC Device is ready to be handed to customer from Azure DC. StageNameReadyToDispatchFromAzureDC StageName = "ReadyToDispatchFromAzureDC" // StageNameReadyToReceiveAtAzureDC Device can be dropped off at Azure DC. StageNameReadyToReceiveAtAzureDC StageName = "ReadyToReceiveAtAzureDC" )
func PossibleStageNameValues ¶
func PossibleStageNameValues() []StageName
PossibleStageNameValues returns an array of possible values for the StageName const type.
type StageStatus ¶
type StageStatus string
StageStatus enumerates the values for stage status.
const ( // StageStatusCancelled Stage has been cancelled. StageStatusCancelled StageStatus = "Cancelled" // StageStatusCancelling Stage is cancelling. StageStatusCancelling StageStatus = "Cancelling" // StageStatusFailed Stage has failed. StageStatusFailed StageStatus = "Failed" // StageStatusInProgress Stage is in progress. StageStatusInProgress StageStatus = "InProgress" // StageStatusNone No status available yet. StageStatusNone StageStatus = "None" // StageStatusSucceeded Stage has succeeded. StageStatusSucceeded StageStatus = "Succeeded" // StageStatusSucceededWithErrors Stage has succeeded with errors. StageStatusSucceededWithErrors StageStatus = "SucceededWithErrors" )
func PossibleStageStatusValues ¶
func PossibleStageStatusValues() []StageStatus
PossibleStageStatusValues returns an array of possible values for the StageStatus const type.
type SubscriptionIsAllowedToCreateJobValidationRequest ¶
type SubscriptionIsAllowedToCreateJobValidationRequest struct { // ValidationType - Possible values include: 'ValidationTypeValidationInputRequest', 'ValidationTypeValidateCreateOrderLimit', 'ValidationTypeValidateDataDestinationDetails', 'ValidationTypeValidatePreferences', 'ValidationTypeValidateSkuAvailability', 'ValidationTypeValidateSubscriptionIsAllowedToCreateJob', 'ValidationTypeValidateAddress' ValidationType ValidationType `json:"validationType,omitempty"` }
SubscriptionIsAllowedToCreateJobValidationRequest request to validate subscription permission to create jobs.
func (SubscriptionIsAllowedToCreateJobValidationRequest) AsBasicValidationInputRequest ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
AsBasicValidationInputRequest is the BasicValidationInputRequest implementation for SubscriptionIsAllowedToCreateJobValidationRequest.
func (SubscriptionIsAllowedToCreateJobValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
AsCreateOrderLimitForSubscriptionValidationRequest is the BasicValidationInputRequest implementation for SubscriptionIsAllowedToCreateJobValidationRequest.
func (SubscriptionIsAllowedToCreateJobValidationRequest) AsDataDestinationDetailsValidationRequest ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
AsDataDestinationDetailsValidationRequest is the BasicValidationInputRequest implementation for SubscriptionIsAllowedToCreateJobValidationRequest.
func (SubscriptionIsAllowedToCreateJobValidationRequest) AsPreferencesValidationRequest ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
AsPreferencesValidationRequest is the BasicValidationInputRequest implementation for SubscriptionIsAllowedToCreateJobValidationRequest.
func (SubscriptionIsAllowedToCreateJobValidationRequest) AsSkuAvailabilityValidationRequest ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
AsSkuAvailabilityValidationRequest is the BasicValidationInputRequest implementation for SubscriptionIsAllowedToCreateJobValidationRequest.
func (SubscriptionIsAllowedToCreateJobValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
AsSubscriptionIsAllowedToCreateJobValidationRequest is the BasicValidationInputRequest implementation for SubscriptionIsAllowedToCreateJobValidationRequest.
func (SubscriptionIsAllowedToCreateJobValidationRequest) AsValidateAddress ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsValidateAddress() (*ValidateAddress, bool)
AsValidateAddress is the BasicValidationInputRequest implementation for SubscriptionIsAllowedToCreateJobValidationRequest.
func (SubscriptionIsAllowedToCreateJobValidationRequest) AsValidationInputRequest ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
AsValidationInputRequest is the BasicValidationInputRequest implementation for SubscriptionIsAllowedToCreateJobValidationRequest.
func (SubscriptionIsAllowedToCreateJobValidationRequest) MarshalJSON ¶
func (siatcjvr SubscriptionIsAllowedToCreateJobValidationRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubscriptionIsAllowedToCreateJobValidationRequest.
type SubscriptionIsAllowedToCreateJobValidationResponseProperties ¶
type SubscriptionIsAllowedToCreateJobValidationResponseProperties struct { // Status - READ-ONLY; Validation status of subscription permission to create job. Possible values include: 'ValidationStatusValid', 'ValidationStatusInvalid', 'ValidationStatusSkipped' Status ValidationStatus `json:"status,omitempty"` // Error - READ-ONLY; Error code and message of validation response. Error *Error `json:"error,omitempty"` // ValidationType - Possible values include: 'ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails', 'ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob' ValidationType ValidationTypeBasicValidationInputResponse `json:"validationType,omitempty"` }
SubscriptionIsAllowedToCreateJobValidationResponseProperties properties of subscription permission to create job validation response.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsAddressValidationProperties ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsAddressValidationProperties() (*AddressValidationProperties, bool)
AsAddressValidationProperties is the BasicValidationInputResponse implementation for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsBasicValidationInputResponse ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
AsBasicValidationInputResponse is the BasicValidationInputResponse implementation for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
AsCreateOrderLimitForSubscriptionValidationResponseProperties is the BasicValidationInputResponse implementation for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
AsDataDestinationDetailsValidationResponseProperties is the BasicValidationInputResponse implementation for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsPreferencesValidationResponseProperties ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
AsPreferencesValidationResponseProperties is the BasicValidationInputResponse implementation for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
AsSkuAvailabilityValidationResponseProperties is the BasicValidationInputResponse implementation for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
AsSubscriptionIsAllowedToCreateJobValidationResponseProperties is the BasicValidationInputResponse implementation for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsValidationInputResponse ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) AsValidationInputResponse() (*ValidationInputResponse, bool)
AsValidationInputResponse is the BasicValidationInputResponse implementation for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
func (SubscriptionIsAllowedToCreateJobValidationResponseProperties) MarshalJSON ¶
func (siatcjvrp SubscriptionIsAllowedToCreateJobValidationResponseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubscriptionIsAllowedToCreateJobValidationResponseProperties.
type TransportAvailabilityDetails ¶
type TransportAvailabilityDetails struct { // ShipmentType - READ-ONLY; Transport Shipment Type supported for given region. Possible values include: 'CustomerManaged', 'MicrosoftManaged' ShipmentType TransportShipmentTypes `json:"shipmentType,omitempty"` }
TransportAvailabilityDetails transport options availability details for given region.
func (TransportAvailabilityDetails) MarshalJSON ¶
func (tad TransportAvailabilityDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TransportAvailabilityDetails.
type TransportAvailabilityRequest ¶
type TransportAvailabilityRequest struct { // SkuName - Type of the device. Possible values include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy' SkuName SkuName `json:"skuName,omitempty"` }
TransportAvailabilityRequest request body to get the transport availability for given sku.
type TransportAvailabilityResponse ¶
type TransportAvailabilityResponse struct { // TransportAvailabilityDetails - READ-ONLY; List of transport availability details for given region TransportAvailabilityDetails *[]TransportAvailabilityDetails `json:"transportAvailabilityDetails,omitempty"` }
TransportAvailabilityResponse transport options available for given sku in a region.
func (TransportAvailabilityResponse) MarshalJSON ¶
func (tarVar TransportAvailabilityResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TransportAvailabilityResponse.
type TransportPreferences ¶
type TransportPreferences struct { // PreferredShipmentType - Indicates Shipment Logistics type that the customer preferred. Possible values include: 'CustomerManaged', 'MicrosoftManaged' PreferredShipmentType TransportShipmentTypes `json:"preferredShipmentType,omitempty"` }
TransportPreferences preferences related to the shipment logistics of the sku
type TransportShipmentTypes ¶
type TransportShipmentTypes string
TransportShipmentTypes enumerates the values for transport shipment types.
const ( // CustomerManaged Shipment Logistics is handled by the customer. CustomerManaged TransportShipmentTypes = "CustomerManaged" // MicrosoftManaged Shipment Logistics is handled by Microsoft. MicrosoftManaged TransportShipmentTypes = "MicrosoftManaged" )
func PossibleTransportShipmentTypesValues ¶
func PossibleTransportShipmentTypesValues() []TransportShipmentTypes
PossibleTransportShipmentTypesValues returns an array of possible values for the TransportShipmentTypes const type.
type UnencryptedCredentials ¶
type UnencryptedCredentials struct { // JobName - READ-ONLY; Name of the job. JobName *string `json:"jobName,omitempty"` // JobSecrets - READ-ONLY; Secrets related to this job. JobSecrets BasicJobSecrets `json:"jobSecrets,omitempty"` }
UnencryptedCredentials unencrypted credentials for accessing device.
func (UnencryptedCredentials) MarshalJSON ¶
func (uc UnencryptedCredentials) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UnencryptedCredentials.
func (*UnencryptedCredentials) UnmarshalJSON ¶
func (uc *UnencryptedCredentials) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UnencryptedCredentials struct.
type UnencryptedCredentialsList ¶
type UnencryptedCredentialsList struct { autorest.Response `json:"-"` // Value - List of unencrypted credentials. Value *[]UnencryptedCredentials `json:"value,omitempty"` // NextLink - Link for the next set of unencrypted credentials. NextLink *string `json:"nextLink,omitempty"` }
UnencryptedCredentialsList list of unencrypted credentials for accessing device.
type UpdateJobDetails ¶
type UpdateJobDetails struct { // ContactDetails - Contact details for notification and shipping. ContactDetails *ContactDetails `json:"contactDetails,omitempty"` // ShippingAddress - Shipping address of the customer. ShippingAddress *ShippingAddress `json:"shippingAddress,omitempty"` }
UpdateJobDetails job details for update.
type UpdateJobProperties ¶
type UpdateJobProperties struct { // Details - Details of a job to be updated. Details *UpdateJobDetails `json:"details,omitempty"` // DestinationAccountDetails - Destination account details. DestinationAccountDetails *[]BasicDestinationAccountDetails `json:"destinationAccountDetails,omitempty"` }
UpdateJobProperties job Properties for update
func (*UpdateJobProperties) UnmarshalJSON ¶
func (ujp *UpdateJobProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateJobProperties struct.
type ValidateAddress ¶
type ValidateAddress struct { // ShippingAddress - Shipping address of the customer. ShippingAddress *ShippingAddress `json:"shippingAddress,omitempty"` // DeviceType - Device type to be used for the job. Possible values include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy' DeviceType SkuName `json:"deviceType,omitempty"` // TransportPreferences - Preferences related to the shipment logistics of the sku. TransportPreferences *TransportPreferences `json:"transportPreferences,omitempty"` // ValidationType - Possible values include: 'ValidationTypeValidationInputRequest', 'ValidationTypeValidateCreateOrderLimit', 'ValidationTypeValidateDataDestinationDetails', 'ValidationTypeValidatePreferences', 'ValidationTypeValidateSkuAvailability', 'ValidationTypeValidateSubscriptionIsAllowedToCreateJob', 'ValidationTypeValidateAddress' ValidationType ValidationType `json:"validationType,omitempty"` }
ValidateAddress the requirements to validate customer address where the device needs to be shipped.
func (ValidateAddress) AsBasicValidationInputRequest ¶
func (va ValidateAddress) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
AsBasicValidationInputRequest is the BasicValidationInputRequest implementation for ValidateAddress.
func (ValidateAddress) AsCreateOrderLimitForSubscriptionValidationRequest ¶
func (va ValidateAddress) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
AsCreateOrderLimitForSubscriptionValidationRequest is the BasicValidationInputRequest implementation for ValidateAddress.
func (ValidateAddress) AsDataDestinationDetailsValidationRequest ¶
func (va ValidateAddress) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
AsDataDestinationDetailsValidationRequest is the BasicValidationInputRequest implementation for ValidateAddress.
func (ValidateAddress) AsPreferencesValidationRequest ¶
func (va ValidateAddress) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
AsPreferencesValidationRequest is the BasicValidationInputRequest implementation for ValidateAddress.
func (ValidateAddress) AsSkuAvailabilityValidationRequest ¶
func (va ValidateAddress) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
AsSkuAvailabilityValidationRequest is the BasicValidationInputRequest implementation for ValidateAddress.
func (ValidateAddress) AsSubscriptionIsAllowedToCreateJobValidationRequest ¶
func (va ValidateAddress) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
AsSubscriptionIsAllowedToCreateJobValidationRequest is the BasicValidationInputRequest implementation for ValidateAddress.
func (ValidateAddress) AsValidateAddress ¶
func (va ValidateAddress) AsValidateAddress() (*ValidateAddress, bool)
AsValidateAddress is the BasicValidationInputRequest implementation for ValidateAddress.
func (ValidateAddress) AsValidationInputRequest ¶
func (va ValidateAddress) AsValidationInputRequest() (*ValidationInputRequest, bool)
AsValidationInputRequest is the BasicValidationInputRequest implementation for ValidateAddress.
func (ValidateAddress) MarshalJSON ¶
func (va ValidateAddress) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ValidateAddress.
type ValidationCategory ¶
type ValidationCategory string
ValidationCategory enumerates the values for validation category.
const ( // ValidationCategoryJobCreationValidation ... ValidationCategoryJobCreationValidation ValidationCategory = "JobCreationValidation" // ValidationCategoryValidationRequest ... ValidationCategoryValidationRequest ValidationCategory = "ValidationRequest" )
func PossibleValidationCategoryValues ¶
func PossibleValidationCategoryValues() []ValidationCategory
PossibleValidationCategoryValues returns an array of possible values for the ValidationCategory const type.
type ValidationInputRequest ¶
type ValidationInputRequest struct { // ValidationType - Possible values include: 'ValidationTypeValidationInputRequest', 'ValidationTypeValidateCreateOrderLimit', 'ValidationTypeValidateDataDestinationDetails', 'ValidationTypeValidatePreferences', 'ValidationTypeValidateSkuAvailability', 'ValidationTypeValidateSubscriptionIsAllowedToCreateJob', 'ValidationTypeValidateAddress' ValidationType ValidationType `json:"validationType,omitempty"` }
ValidationInputRequest minimum fields that must be present in any type of validation request.
func (ValidationInputRequest) AsBasicValidationInputRequest ¶
func (vir ValidationInputRequest) AsBasicValidationInputRequest() (BasicValidationInputRequest, bool)
AsBasicValidationInputRequest is the BasicValidationInputRequest implementation for ValidationInputRequest.
func (ValidationInputRequest) AsCreateOrderLimitForSubscriptionValidationRequest ¶
func (vir ValidationInputRequest) AsCreateOrderLimitForSubscriptionValidationRequest() (*CreateOrderLimitForSubscriptionValidationRequest, bool)
AsCreateOrderLimitForSubscriptionValidationRequest is the BasicValidationInputRequest implementation for ValidationInputRequest.
func (ValidationInputRequest) AsDataDestinationDetailsValidationRequest ¶
func (vir ValidationInputRequest) AsDataDestinationDetailsValidationRequest() (*DataDestinationDetailsValidationRequest, bool)
AsDataDestinationDetailsValidationRequest is the BasicValidationInputRequest implementation for ValidationInputRequest.
func (ValidationInputRequest) AsPreferencesValidationRequest ¶
func (vir ValidationInputRequest) AsPreferencesValidationRequest() (*PreferencesValidationRequest, bool)
AsPreferencesValidationRequest is the BasicValidationInputRequest implementation for ValidationInputRequest.
func (ValidationInputRequest) AsSkuAvailabilityValidationRequest ¶
func (vir ValidationInputRequest) AsSkuAvailabilityValidationRequest() (*SkuAvailabilityValidationRequest, bool)
AsSkuAvailabilityValidationRequest is the BasicValidationInputRequest implementation for ValidationInputRequest.
func (ValidationInputRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest ¶
func (vir ValidationInputRequest) AsSubscriptionIsAllowedToCreateJobValidationRequest() (*SubscriptionIsAllowedToCreateJobValidationRequest, bool)
AsSubscriptionIsAllowedToCreateJobValidationRequest is the BasicValidationInputRequest implementation for ValidationInputRequest.
func (ValidationInputRequest) AsValidateAddress ¶
func (vir ValidationInputRequest) AsValidateAddress() (*ValidateAddress, bool)
AsValidateAddress is the BasicValidationInputRequest implementation for ValidationInputRequest.
func (ValidationInputRequest) AsValidationInputRequest ¶
func (vir ValidationInputRequest) AsValidationInputRequest() (*ValidationInputRequest, bool)
AsValidationInputRequest is the BasicValidationInputRequest implementation for ValidationInputRequest.
func (ValidationInputRequest) MarshalJSON ¶
func (vir ValidationInputRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ValidationInputRequest.
type ValidationInputResponse ¶
type ValidationInputResponse struct { // Error - READ-ONLY; Error code and message of validation response. Error *Error `json:"error,omitempty"` // ValidationType - Possible values include: 'ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails', 'ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability', 'ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob' ValidationType ValidationTypeBasicValidationInputResponse `json:"validationType,omitempty"` }
ValidationInputResponse minimum properties that should be present in each individual validation response.
func (ValidationInputResponse) AsAddressValidationProperties ¶
func (vir ValidationInputResponse) AsAddressValidationProperties() (*AddressValidationProperties, bool)
AsAddressValidationProperties is the BasicValidationInputResponse implementation for ValidationInputResponse.
func (ValidationInputResponse) AsBasicValidationInputResponse ¶
func (vir ValidationInputResponse) AsBasicValidationInputResponse() (BasicValidationInputResponse, bool)
AsBasicValidationInputResponse is the BasicValidationInputResponse implementation for ValidationInputResponse.
func (ValidationInputResponse) AsCreateOrderLimitForSubscriptionValidationResponseProperties ¶
func (vir ValidationInputResponse) AsCreateOrderLimitForSubscriptionValidationResponseProperties() (*CreateOrderLimitForSubscriptionValidationResponseProperties, bool)
AsCreateOrderLimitForSubscriptionValidationResponseProperties is the BasicValidationInputResponse implementation for ValidationInputResponse.
func (ValidationInputResponse) AsDataDestinationDetailsValidationResponseProperties ¶
func (vir ValidationInputResponse) AsDataDestinationDetailsValidationResponseProperties() (*DataDestinationDetailsValidationResponseProperties, bool)
AsDataDestinationDetailsValidationResponseProperties is the BasicValidationInputResponse implementation for ValidationInputResponse.
func (ValidationInputResponse) AsPreferencesValidationResponseProperties ¶
func (vir ValidationInputResponse) AsPreferencesValidationResponseProperties() (*PreferencesValidationResponseProperties, bool)
AsPreferencesValidationResponseProperties is the BasicValidationInputResponse implementation for ValidationInputResponse.
func (ValidationInputResponse) AsSkuAvailabilityValidationResponseProperties ¶
func (vir ValidationInputResponse) AsSkuAvailabilityValidationResponseProperties() (*SkuAvailabilityValidationResponseProperties, bool)
AsSkuAvailabilityValidationResponseProperties is the BasicValidationInputResponse implementation for ValidationInputResponse.
func (ValidationInputResponse) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties ¶
func (vir ValidationInputResponse) AsSubscriptionIsAllowedToCreateJobValidationResponseProperties() (*SubscriptionIsAllowedToCreateJobValidationResponseProperties, bool)
AsSubscriptionIsAllowedToCreateJobValidationResponseProperties is the BasicValidationInputResponse implementation for ValidationInputResponse.
func (ValidationInputResponse) AsValidationInputResponse ¶
func (vir ValidationInputResponse) AsValidationInputResponse() (*ValidationInputResponse, bool)
AsValidationInputResponse is the BasicValidationInputResponse implementation for ValidationInputResponse.
func (ValidationInputResponse) MarshalJSON ¶
func (vir ValidationInputResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ValidationInputResponse.
type ValidationRequest ¶
type ValidationRequest struct { // IndividualRequestDetails - List of request details contain validationType and its request as key and value respectively. IndividualRequestDetails *[]BasicValidationInputRequest `json:"individualRequestDetails,omitempty"` // ValidationCategory - Possible values include: 'ValidationCategoryValidationRequest', 'ValidationCategoryJobCreationValidation' ValidationCategory ValidationCategory `json:"validationCategory,omitempty"` }
ValidationRequest input request for all pre job creation validation.
func (ValidationRequest) AsBasicValidationRequest ¶
func (vr ValidationRequest) AsBasicValidationRequest() (BasicValidationRequest, bool)
AsBasicValidationRequest is the BasicValidationRequest implementation for ValidationRequest.
func (ValidationRequest) AsCreateJobValidations ¶
func (vr ValidationRequest) AsCreateJobValidations() (*CreateJobValidations, bool)
AsCreateJobValidations is the BasicValidationRequest implementation for ValidationRequest.
func (ValidationRequest) AsValidationRequest ¶
func (vr ValidationRequest) AsValidationRequest() (*ValidationRequest, bool)
AsValidationRequest is the BasicValidationRequest implementation for ValidationRequest.
func (ValidationRequest) MarshalJSON ¶
func (vr ValidationRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ValidationRequest.
func (*ValidationRequest) UnmarshalJSON ¶
func (vr *ValidationRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ValidationRequest struct.
type ValidationResponse ¶
type ValidationResponse struct { autorest.Response `json:"-"` // ValidationResponseProperties - READ-ONLY; Properties of pre job creation validation response. *ValidationResponseProperties `json:"properties,omitempty"` }
ValidationResponse response of pre job creation validations.
func (ValidationResponse) MarshalJSON ¶
func (vr ValidationResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ValidationResponse.
func (*ValidationResponse) UnmarshalJSON ¶
func (vr *ValidationResponse) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ValidationResponse struct.
type ValidationResponseProperties ¶
type ValidationResponseProperties struct { // Status - READ-ONLY; Overall validation status. Possible values include: 'AllValidToProceed', 'InputsRevisitRequired', 'CertainInputValidationsSkipped' Status OverallValidationStatus `json:"status,omitempty"` // IndividualResponseDetails - READ-ONLY; List of response details contain validationType and its response as key and value respectively. IndividualResponseDetails *[]BasicValidationInputResponse `json:"individualResponseDetails,omitempty"` }
ValidationResponseProperties properties of pre job creation validation response.
func (ValidationResponseProperties) MarshalJSON ¶
func (vrp ValidationResponseProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ValidationResponseProperties.
func (*ValidationResponseProperties) UnmarshalJSON ¶
func (vrp *ValidationResponseProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ValidationResponseProperties struct.
type ValidationStatus ¶
type ValidationStatus string
ValidationStatus enumerates the values for validation status.
const ( // ValidationStatusInvalid Validation is not successful ValidationStatusInvalid ValidationStatus = "Invalid" // ValidationStatusSkipped Validation is skipped ValidationStatusSkipped ValidationStatus = "Skipped" // ValidationStatusValid Validation is successful ValidationStatusValid ValidationStatus = "Valid" )
func PossibleValidationStatusValues ¶
func PossibleValidationStatusValues() []ValidationStatus
PossibleValidationStatusValues returns an array of possible values for the ValidationStatus const type.
type ValidationType ¶
type ValidationType string
ValidationType enumerates the values for validation type.
const ( // ValidationTypeValidateAddress ... ValidationTypeValidateAddress ValidationType = "ValidateAddress" // ValidationTypeValidateCreateOrderLimit ... ValidationTypeValidateCreateOrderLimit ValidationType = "ValidateCreateOrderLimit" // ValidationTypeValidateDataDestinationDetails ... ValidationTypeValidateDataDestinationDetails ValidationType = "ValidateDataDestinationDetails" // ValidationTypeValidatePreferences ... ValidationTypeValidatePreferences ValidationType = "ValidatePreferences" // ValidationTypeValidateSkuAvailability ... ValidationTypeValidateSkuAvailability ValidationType = "ValidateSkuAvailability" // ValidationTypeValidateSubscriptionIsAllowedToCreateJob ... ValidationTypeValidateSubscriptionIsAllowedToCreateJob ValidationType = "ValidateSubscriptionIsAllowedToCreateJob" // ValidationTypeValidationInputRequest ... ValidationTypeValidationInputRequest ValidationType = "ValidationInputRequest" )
func PossibleValidationTypeValues ¶
func PossibleValidationTypeValues() []ValidationType
PossibleValidationTypeValues returns an array of possible values for the ValidationType const type.
type ValidationTypeBasicValidationInputResponse ¶
type ValidationTypeBasicValidationInputResponse string
ValidationTypeBasicValidationInputResponse enumerates the values for validation type basic validation input response.
const ( // ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress ... ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress ValidationTypeBasicValidationInputResponse = "ValidateAddress" // ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit ... ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit ValidationTypeBasicValidationInputResponse = "ValidateCreateOrderLimit" // ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails ... ValidationTypeBasicValidationInputResponseValidationTypeValidateDataDestinationDetails ValidationTypeBasicValidationInputResponse = "ValidateDataDestinationDetails" // ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences ... ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences ValidationTypeBasicValidationInputResponse = "ValidatePreferences" // ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability ... ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability ValidationTypeBasicValidationInputResponse = "ValidateSkuAvailability" // ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob ... ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob ValidationTypeBasicValidationInputResponse = "ValidateSubscriptionIsAllowedToCreateJob" // ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse ... ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse ValidationTypeBasicValidationInputResponse = "ValidationInputResponse" )
func PossibleValidationTypeBasicValidationInputResponseValues ¶
func PossibleValidationTypeBasicValidationInputResponseValues() []ValidationTypeBasicValidationInputResponse
PossibleValidationTypeBasicValidationInputResponseValues returns an array of possible values for the ValidationTypeBasicValidationInputResponse const type.