storageimportexport

package
v11.1.0-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package storageimportexport implements the Azure ARM Storageimportexport service API version 2016-11-01.

The Microsoft Azure Storage Import/Export Resource Provider API.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Storageimportexport
	DefaultBaseURI = "https://management.azure.com"
	// DefaultAcceptLanguage is the default value for accept language
	DefaultAcceptLanguage = "en-us"
)

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 BitLockerKeysListResult

type BitLockerKeysListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DriveStatus `json:"value,omitempty"`
}

BitLockerKeysListResult is list of BitLocker keys for the specified import/export job.

type Drive

type Drive struct {
	DriveID      *string `json:"driveId,omitempty"`
	BitLockerKey *string `json:"bitLockerKey,omitempty"`
	ManifestFile *string `json:"manifestFile,omitempty"`
	ManifestHash *string `json:"manifestHash,omitempty"`
}

Drive is provides information about the drive that contains information about the import/export jobs.

type DriveState

type DriveState string

DriveState enumerates the values for drive state.

const (
	// Completed specifies the completed state for drive state.
	Completed DriveState = "Completed"
	// CompletedMoreInfo specifies the completed more info state for drive state.
	CompletedMoreInfo DriveState = "CompletedMoreInfo"
	// NeverReceived specifies the never received state for drive state.
	NeverReceived DriveState = "NeverReceived"
	// Received specifies the received state for drive state.
	Received DriveState = "Received"
	// ShippedBack specifies the shipped back state for drive state.
	ShippedBack DriveState = "ShippedBack"
	// Specified specifies the specified state for drive state.
	Specified DriveState = "Specified"
	// Transferring specifies the transferring state for drive state.
	Transferring DriveState = "Transferring"
)

type DriveStatus

type DriveStatus struct {
	DriveID         *string    `json:"driveId,omitempty"`
	BitLockerKey    *string    `json:"bitLockerKey,omitempty"`
	ManifestFile    *string    `json:"manifestFile,omitempty"`
	ManifestHash    *string    `json:"manifestHash,omitempty"`
	State           DriveState `json:"state,omitempty"`
	CopyStatus      *string    `json:"copyStatus,omitempty"`
	PercentComplete *int32     `json:"percentComplete,omitempty"`
	VerboseLogURI   *string    `json:"verboseLogUri,omitempty"`
	ErrorLogURI     *string    `json:"errorLogUri,omitempty"`
	ManifestURI     *string    `json:"manifestUri,omitempty"`
}

DriveStatus is provides information about the drive's status.

type ErrorBase

type ErrorBase struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Target  *string `json:"target,omitempty"`
}

ErrorBase is describes the common properties of the Error object

type ErrorInfo

type ErrorInfo struct {
	Code    *string      `json:"code,omitempty"`
	Message *string      `json:"message,omitempty"`
	Target  *string      `json:"target,omitempty"`
	Details *[]ErrorBase `json:"details,omitempty"`
}

ErrorInfo is describes the error information.

type ErrorResponse

type ErrorResponse struct {
	Error *ErrorInfo `json:"error,omitempty"`
}

ErrorResponse is describes the model for Error Response.

type Export

type Export struct {
	*ExportBlobList  `json:"blobList,omitempty"`
	BlobListblobPath *string `json:"blobListblobPath,omitempty"`
}

Export is a property containing information about the blobs to be exported for an export job. This property is required for export jobs, but must not be specified for import jobs.

type ExportBlobList

type ExportBlobList struct {
	BlobPath       *[]string `json:"blobPath,omitempty"`
	BlobPathPrefix *[]string `json:"blobPathPrefix,omitempty"`
}

ExportBlobList is a list of the blobs to be exported.

type Job

type Job struct {
	autorest.Response `json:"-"`
	ID                *string                 `json:"id,omitempty"`
	Name              *string                 `json:"name,omitempty"`
	Type              *string                 `json:"type,omitempty"`
	Location          *string                 `json:"location,omitempty"`
	Tags              *map[string]interface{} `json:"tags,omitempty"`
	*JobProperties    `json:"properties,omitempty"`
}

Job is describes an import/export job.

type JobListResult

type JobListResult struct {
	autorest.Response `json:"-"`
	NextLink          *string `json:"nextLink,omitempty"`
	Value             *[]Job  `json:"value,omitempty"`
}

JobListResult is list of import/export jobs.

func (JobListResult) JobListResultPreparer

func (client JobListResult) JobListResultPreparer() (*http.Request, error)

JobListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type JobProperties

type JobProperties struct {
	StorageAccountID      *string              `json:"storageAccountId,omitempty"`
	ContainerSas          *string              `json:"containerSas,omitempty"`
	JobType               JobType              `json:"jobType,omitempty"`
	ReturnAddress         *ReturnAddress       `json:"returnAddress,omitempty"`
	ReturnShipping        *ReturnShipping      `json:"returnShipping,omitempty"`
	ShippingInformation   *ShippingInformation `json:"shippingInformation,omitempty"`
	DeliveryPackage       *PackageInfomation   `json:"deliveryPackage,omitempty"`
	ReturnPackage         *PackageInfomation   `json:"returnPackage,omitempty"`
	DiagnosticsPath       *string              `json:"diagnosticsPath,omitempty"`
	LogLevel              LogLevel             `json:"logLevel,omitempty"`
	BackupDriveManifest   *bool                `json:"backupDriveManifest,omitempty"`
	State                 JobState             `json:"state,omitempty"`
	CancelRequested       *bool                `json:"cancelRequested,omitempty"`
	PercentComplete       *int32               `json:"percentComplete,omitempty"`
	IncompleteBlobListURI *string              `json:"incompleteBlobListUri,omitempty"`
	DriveList             *[]DriveStatus       `json:"driveList,omitempty"`
	Export                *Export              `json:"export,omitempty"`
	ProvisioningState     *string              `json:"provisioningState,omitempty"`
}

JobProperties is import/export job specific properties.

type JobState

type JobState string

JobState enumerates the values for job state.

const (
	// JobStateClosed specifies the job state closed state for job state.
	JobStateClosed JobState = "Closed"
	// JobStateCompleted specifies the job state completed state for job state.
	JobStateCompleted JobState = "Completed"
	// JobStateCreating specifies the job state creating state for job state.
	JobStateCreating JobState = "Creating"
	// JobStatePackaging specifies the job state packaging state for job state.
	JobStatePackaging JobState = "Packaging"
	// JobStateReceived specifies the job state received state for job state.
	JobStateReceived JobState = "Received"
	// JobStateShipping specifies the job state shipping state for job state.
	JobStateShipping JobState = "Shipping"
	// JobStateTransferring specifies the job state transferring state for job state.
	JobStateTransferring JobState = "Transferring"
)

type JobType

type JobType string

JobType enumerates the values for job type.

const (
	// JobTypeExport specifies the job type export state for job type.
	JobTypeExport JobType = "Export"
	// JobTypeImport specifies the job type import state for job type.
	JobTypeImport JobType = "Import"
)

type JobsClient

type JobsClient struct {
	ManagementClient
}

JobsClient is the the Microsoft Azure Storage Import/Export Resource Provider API.

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.

func (JobsClient) CreateOrUpdate

func (client JobsClient) CreateOrUpdate(resourceGroupName string, jobName string, jobProperties Job) (result Job, err error)

CreateOrUpdate creates a new import/export job or updates an existing import/export job in the specified subscription.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscription. jobName is the name of the import/export job. jobProperties is properties of the import/export job that need to be specified during creation.

func (JobsClient) CreateOrUpdatePreparer

func (client JobsClient) CreateOrUpdatePreparer(resourceGroupName string, jobName string, jobProperties Job) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (JobsClient) CreateOrUpdateResponder

func (client JobsClient) CreateOrUpdateResponder(resp *http.Response) (result Job, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (JobsClient) CreateOrUpdateSender

func (client JobsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (JobsClient) Delete

func (client JobsClient) Delete(resourceGroupName string, jobName string) (result autorest.Response, err error)

Delete deletes an existing import/export job. Only import/export jobs in the Creating or Completed states can be deleted.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscription. jobName is the name of the import/export job.

func (JobsClient) DeletePreparer

func (client JobsClient) DeletePreparer(resourceGroupName string, jobName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (JobsClient) DeleteResponder

func (client JobsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

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) (*http.Response, 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(resourceGroupName string, jobName string) (result Job, err error)

Get gets information about an existing import/export job.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscription. jobName is the name of the import/export job.

func (JobsClient) GetPreparer

func (client JobsClient) GetPreparer(resourceGroupName string, jobName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (JobsClient) GetResponder

func (client JobsClient) GetResponder(resp *http.Response) (result Job, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (JobsClient) GetSender

func (client JobsClient) GetSender(req *http.Request) (*http.Response, error)

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(top *int32, filter string) (result JobListResult, err error)

List gets all the active and completed import/export jobs in a subscription.

top is an integer value that specifies how many jobs at most should be returned. The value cannot exceed 100. filter is can be used to restrict the results to certain conditions. The following possible values can be used with $filter: 1) $filter=type eq '{type}'; 2) $filter=trackingnumber eq '{trackingnumber}'; 3) $filter=state eq '{state}'; 4) Logical and combination of the above, for example: $filter=type eq 'Import' and state eq 'Transferring'. Valid values for type are Import and Export. Valid values for state are Creating, Shipping, Received, Transferring, Packaging, Closed, and Completed.

func (JobsClient) ListBitLockerKeys

func (client JobsClient) ListBitLockerKeys(resourceGroupName string, jobName string) (result BitLockerKeysListResult, err error)

ListBitLockerKeys lists the BitLocker keys for all drives in the specified import/export job.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscription. jobName is the name of the import/export job.

func (JobsClient) ListBitLockerKeysPreparer

func (client JobsClient) ListBitLockerKeysPreparer(resourceGroupName string, jobName string) (*http.Request, error)

ListBitLockerKeysPreparer prepares the ListBitLockerKeys request.

func (JobsClient) ListBitLockerKeysResponder

func (client JobsClient) ListBitLockerKeysResponder(resp *http.Response) (result BitLockerKeysListResult, err error)

ListBitLockerKeysResponder handles the response to the ListBitLockerKeys request. The method always closes the http.Response Body.

func (JobsClient) ListBitLockerKeysSender

func (client JobsClient) ListBitLockerKeysSender(req *http.Request) (*http.Response, error)

ListBitLockerKeysSender sends the ListBitLockerKeys request. The method will close the http.Response Body if it receives an error.

func (JobsClient) ListByResourceGroup

func (client JobsClient) ListByResourceGroup(resourceGroupName string, top *int32, filter string) (result JobListResult, err error)

ListByResourceGroup returns all active and completed import/export jobs in a resource group.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscription. top is an integer value that specifies how many jobs at most should be returned. The value cannot exceed 100. filter is can be used to restrict the results to certain conditions. The following possible values can be used with $filter: 1) $filter=type eq '{type}'; 2) $filter=trackingnumber eq '{trackingnumber}'; 3) $filter=state eq '{state}'; 4) Logical and combination of the above, for example: $filter=type eq 'Import' and state eq 'Transferring'. Valid values for type are Import and Export. Valid values for state are Creating, Shipping, Received, Transferring, Packaging, Closed, and Completed.

func (JobsClient) ListByResourceGroupComplete

func (client JobsClient) ListByResourceGroupComplete(resourceGroupName string, top *int32, filter string, cancel <-chan struct{}) (<-chan Job, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (JobsClient) ListByResourceGroupNextResults

func (client JobsClient) ListByResourceGroupNextResults(lastResults JobListResult) (result JobListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (JobsClient) ListByResourceGroupPreparer

func (client JobsClient) ListByResourceGroupPreparer(resourceGroupName string, top *int32, filter string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (JobsClient) ListByResourceGroupResponder

func (client JobsClient) ListByResourceGroupResponder(resp *http.Response) (result JobListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (JobsClient) ListByResourceGroupSender

func (client JobsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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(top *int32, filter string, cancel <-chan struct{}) (<-chan Job, <-chan error)

ListComplete gets all elements from the list without paging.

func (JobsClient) ListNextResults

func (client JobsClient) ListNextResults(lastResults JobListResult) (result JobListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (JobsClient) ListPreparer

func (client JobsClient) ListPreparer(top *int32, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (JobsClient) ListResponder

func (client JobsClient) ListResponder(resp *http.Response) (result JobListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (JobsClient) ListSender

func (client JobsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (JobsClient) Move

func (client JobsClient) Move(resourceGroupName string, moveJobsParameters MoveJobParameters) (result autorest.Response, err error)

Move moves the specified import/export jobs from the resource group to a target resource group. The target resource group may be in a different subscription.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscription. moveJobsParameters is parameters to be provided to move a job from one resource group to another.

func (JobsClient) MovePreparer

func (client JobsClient) MovePreparer(resourceGroupName string, moveJobsParameters MoveJobParameters) (*http.Request, error)

MovePreparer prepares the Move request.

func (JobsClient) MoveResponder

func (client JobsClient) MoveResponder(resp *http.Response) (result autorest.Response, err error)

MoveResponder handles the response to the Move request. The method always closes the http.Response Body.

func (JobsClient) MoveSender

func (client JobsClient) MoveSender(req *http.Request) (*http.Response, error)

MoveSender sends the Move request. The method will close the http.Response Body if it receives an error.

func (JobsClient) Update

func (client JobsClient) Update(resourceGroupName string, jobName string, jobProperties MutableJob) (result Job, err error)

Update updates specific properties of the import/export job. You can call this operation to notify the Import/Export service that the hard drives comprising the import or export job have been shipped to the Microsoft data center. It can also be used to cancel an existing job.

resourceGroupName is the resource group name uniquely identifies the resource group within the user subscription. jobName is the name of the import/export job. jobProperties is import/export job properties that need to be updated.

func (JobsClient) UpdatePreparer

func (client JobsClient) UpdatePreparer(resourceGroupName string, jobName string, jobProperties MutableJob) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (JobsClient) UpdateResponder

func (client JobsClient) UpdateResponder(resp *http.Response) (result Job, 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) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type Location

type Location struct {
	autorest.Response   `json:"-"`
	ID                  *string `json:"id,omitempty"`
	Name                *string `json:"name,omitempty"`
	Type                *string `json:"type,omitempty"`
	*LocationProperties `json:"properties,omitempty"`
}

Location is provides information about an Azure data center location.

type LocationProperties

type LocationProperties struct {
	RecipientName      *string   `json:"recipientName,omitempty"`
	StreetAddress1     *string   `json:"streetAddress1,omitempty"`
	StreetAddress2     *string   `json:"streetAddress2,omitempty"`
	City               *string   `json:"city,omitempty"`
	StateOrProvince    *string   `json:"stateOrProvince,omitempty"`
	PostalCode         *string   `json:"postalCode,omitempty"`
	CountryOrRegion    *string   `json:"countryOrRegion,omitempty"`
	Phone              *string   `json:"phone,omitempty"`
	SupportedCarriers  *[]string `json:"supportedCarriers,omitempty"`
	AlternateLocations *[]string `json:"alternateLocations,omitempty"`
}

LocationProperties is describes the properties of a location.

type LocationsListResult

type LocationsListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Location `json:"value,omitempty"`
}

LocationsListResult is list of locations.

type LogLevel

type LogLevel string

LogLevel enumerates the values for log level.

const (
	// Error specifies the error state for log level.
	Error LogLevel = "Error"
	// Verbose specifies the verbose state for log level.
	Verbose LogLevel = "Verbose"
)

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
	AcceptLanguage string
}

ManagementClient is the base client for Storageimportexport.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

func (ManagementClient) GetLocation

func (client ManagementClient) GetLocation(locationName string) (result Location, err error)

GetLocation gets a location to which you can ship the disks associated with an import or export job. A location is an Azure region.

locationName is the name of the location. For example, 'West US' or 'westus'.

func (ManagementClient) GetLocationPreparer

func (client ManagementClient) GetLocationPreparer(locationName string) (*http.Request, error)

GetLocationPreparer prepares the GetLocation request.

func (ManagementClient) GetLocationResponder

func (client ManagementClient) GetLocationResponder(resp *http.Response) (result Location, err error)

GetLocationResponder handles the response to the GetLocation request. The method always closes the http.Response Body.

func (ManagementClient) GetLocationSender

func (client ManagementClient) GetLocationSender(req *http.Request) (*http.Response, error)

GetLocationSender sends the GetLocation request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) ListLocations

func (client ManagementClient) ListLocations() (result LocationsListResult, err error)

ListLocations returns a list of locations to which you can ship the disks associated with an import or export job. A location is a Microsoft data center region.

func (ManagementClient) ListLocationsPreparer

func (client ManagementClient) ListLocationsPreparer() (*http.Request, error)

ListLocationsPreparer prepares the ListLocations request.

func (ManagementClient) ListLocationsResponder

func (client ManagementClient) ListLocationsResponder(resp *http.Response) (result LocationsListResult, err error)

ListLocationsResponder handles the response to the ListLocations request. The method always closes the http.Response Body.

func (ManagementClient) ListLocationsSender

func (client ManagementClient) ListLocationsSender(req *http.Request) (*http.Response, error)

ListLocationsSender sends the ListLocations request. The method will close the http.Response Body if it receives an error.

func (ManagementClient) ListSupportedOperations

func (client ManagementClient) ListSupportedOperations() (result SupportedOperationsListResult, err error)

ListSupportedOperations returns the list of operations supported by the import/export resource provider.

func (ManagementClient) ListSupportedOperationsPreparer

func (client ManagementClient) ListSupportedOperationsPreparer() (*http.Request, error)

ListSupportedOperationsPreparer prepares the ListSupportedOperations request.

func (ManagementClient) ListSupportedOperationsResponder

func (client ManagementClient) ListSupportedOperationsResponder(resp *http.Response) (result SupportedOperationsListResult, err error)

ListSupportedOperationsResponder handles the response to the ListSupportedOperations request. The method always closes the http.Response Body.

func (ManagementClient) ListSupportedOperationsSender

func (client ManagementClient) ListSupportedOperationsSender(req *http.Request) (*http.Response, error)

ListSupportedOperationsSender sends the ListSupportedOperations request. The method will close the http.Response Body if it receives an error.

type MoveJobParameters

type MoveJobParameters struct {
	TargetResourceGroup *string   `json:"targetResourceGroup,omitempty"`
	Resources           *[]string `json:"resources,omitempty"`
}

MoveJobParameters is defines the parameters that need to be provided for moving an import/export job from one reesource group to another.

type MutableJob

type MutableJob struct {
	Tags                  *map[string]interface{} `json:"tags,omitempty"`
	*MutableJobProperties `json:"properties,omitempty"`
}

MutableJob is describes the updatable properties of the job

type MutableJobProperties

type MutableJobProperties struct {
	CancelRequested     *bool              `json:"cancelRequested,omitempty"`
	State               MutableJobState    `json:"state,omitempty"`
	ReturnAddress       *ReturnAddress     `json:"returnAddress,omitempty"`
	ReturnShipping      *ReturnShipping    `json:"returnShipping,omitempty"`
	DeliveryPackage     *PackageInfomation `json:"deliveryPackage,omitempty"`
	LogLevel            *string            `json:"logLevel,omitempty"`
	BackupDriveManifest *bool              `json:"backupDriveManifest,omitempty"`
}

MutableJobProperties is properties of the job that can be updated.

type MutableJobState

type MutableJobState string

MutableJobState enumerates the values for mutable job state.

const (
	// Shipping specifies the shipping state for mutable job state.
	Shipping MutableJobState = "Shipping"
)

type Operation

type Operation struct {
	Name                         *string `json:"name,omitempty"`
	*OperationDisplayInformation `json:"display,omitempty"`
}

Operation is describes a supported operation by the Storage Import/Export job API.

type OperationDisplayInformation

type OperationDisplayInformation struct {
	Provider    *string `json:"provider,omitempty"`
	Resource    *string `json:"resource,omitempty"`
	Operation   *string `json:"operation,omitempty"`
	Description *string `json:"description,omitempty"`
}

OperationDisplayInformation is display information about the operation.

type PackageInfomation

type PackageInfomation struct {
	CarrierName    *string `json:"carrierName,omitempty"`
	TrackingNumber *string `json:"trackingNumber,omitempty"`
	DriveCount     *int32  `json:"driveCount,omitempty"`
	ShipDate       *string `json:"shipDate,omitempty"`
}

PackageInfomation is provides information about the package being shipped by the customer to the Microsoft data center.

type Resource

type Resource struct {
	ID       *string                 `json:"id,omitempty"`
	Name     *string                 `json:"name,omitempty"`
	Type     *string                 `json:"type,omitempty"`
	Location *string                 `json:"location,omitempty"`
	Tags     *map[string]interface{} `json:"tags,omitempty"`
}

Resource is the Resource model definition.

type ReturnAddress

type ReturnAddress struct {
	RecipientName   *string `json:"recipientName,omitempty"`
	StreetAddress1  *string `json:"streetAddress1,omitempty"`
	StreetAddress2  *string `json:"streetAddress2,omitempty"`
	City            *string `json:"city,omitempty"`
	StateOrProvince *string `json:"stateOrProvince,omitempty"`
	PostalCode      *string `json:"postalCode,omitempty"`
	CountryOrRegion *string `json:"countryOrRegion,omitempty"`
	Phone           *string `json:"phone,omitempty"`
	Email           *string `json:"email,omitempty"`
}

ReturnAddress is specifies the return address information for the job.

type ReturnShipping

type ReturnShipping struct {
	CarrierName          *string `json:"carrierName,omitempty"`
	CarrierAccountNumber *string `json:"carrierAccountNumber,omitempty"`
}

ReturnShipping is specifies the return carrier and customer's account with the carrier.

type ShippingInformation

type ShippingInformation struct {
	Name    *string `json:"name,omitempty"`
	Address *string `json:"address,omitempty"`
}

ShippingInformation is provides information about the Microsoft datacenter to which the drives should be shipped.

type SupportedOperationsListResult

type SupportedOperationsListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Operation `json:"value,omitempty"`
}

SupportedOperationsListResult is list of supported operations by the import/export resource provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL