Documentation ¶
Index ¶
- func PossibleValuesForAuthenticationType() []string
- func PossibleValuesForClusterWitnessType() []string
- func PossibleValuesForDataBoxEdgeDeviceKind() []string
- func PossibleValuesForDataBoxEdgeDeviceStatus() []string
- func PossibleValuesForDataResidencyType() []string
- func PossibleValuesForDeviceType() []string
- func PossibleValuesForEncryptionAlgorithm() []string
- func PossibleValuesForInstallRebootBehavior() []string
- func PossibleValuesForInstallationImpact() []string
- func PossibleValuesForJobStatus() []string
- func PossibleValuesForKeyVaultSyncStatus() []string
- func PossibleValuesForMsiIdentityType() []string
- func PossibleValuesForNetworkAdapterDHCPStatus() []string
- func PossibleValuesForNetworkAdapterRDMAStatus() []string
- func PossibleValuesForNetworkAdapterStatus() []string
- func PossibleValuesForNetworkGroup() []string
- func PossibleValuesForResourceMoveStatus() []string
- func PossibleValuesForRoleTypes() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForSubscriptionState() []string
- func PossibleValuesForUpdateOperation() []string
- func PossibleValuesForUpdateStatus() []string
- func PossibleValuesForUpdateType() []string
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- type AsymmetricEncryptedSecret
- type AuthenticationType
- type ClusterWitnessType
- type CreateOrUpdateOperationResponse
- type CreateOrUpdateSecuritySettingsOperationResponse
- type DataBoxEdgeDevice
- type DataBoxEdgeDeviceExtendedInfo
- type DataBoxEdgeDeviceExtendedInfoPatch
- type DataBoxEdgeDeviceExtendedInfoProperties
- type DataBoxEdgeDeviceId
- type DataBoxEdgeDeviceKind
- type DataBoxEdgeDeviceOperationPredicate
- type DataBoxEdgeDevicePatch
- type DataBoxEdgeDeviceProperties
- type DataBoxEdgeDevicePropertiesPatch
- type DataBoxEdgeDeviceStatus
- type DataResidency
- type DataResidencyType
- type DeleteOperationResponse
- type DeviceType
- type DevicesClient
- func (c DevicesClient) CreateOrUpdate(ctx context.Context, id DataBoxEdgeDeviceId, input DataBoxEdgeDevice) (result CreateOrUpdateOperationResponse, err error)
- func (c DevicesClient) CreateOrUpdateSecuritySettings(ctx context.Context, id DataBoxEdgeDeviceId, input SecuritySettings) (result CreateOrUpdateSecuritySettingsOperationResponse, err error)
- func (c DevicesClient) CreateOrUpdateSecuritySettingsThenPoll(ctx context.Context, id DataBoxEdgeDeviceId, input SecuritySettings) error
- func (c DevicesClient) Delete(ctx context.Context, id DataBoxEdgeDeviceId) (result DeleteOperationResponse, err error)
- func (c DevicesClient) DeleteThenPoll(ctx context.Context, id DataBoxEdgeDeviceId) error
- func (c DevicesClient) DownloadUpdates(ctx context.Context, id DataBoxEdgeDeviceId) (result DownloadUpdatesOperationResponse, err error)
- func (c DevicesClient) DownloadUpdatesThenPoll(ctx context.Context, id DataBoxEdgeDeviceId) error
- func (c DevicesClient) GenerateCertificate(ctx context.Context, id DataBoxEdgeDeviceId) (result GenerateCertificateOperationResponse, err error)
- func (c DevicesClient) Get(ctx context.Context, id DataBoxEdgeDeviceId) (result GetOperationResponse, err error)
- func (c DevicesClient) GetExtendedInformation(ctx context.Context, id DataBoxEdgeDeviceId) (result GetExtendedInformationOperationResponse, err error)
- func (c DevicesClient) GetNetworkSettings(ctx context.Context, id DataBoxEdgeDeviceId) (result GetNetworkSettingsOperationResponse, err error)
- func (c DevicesClient) GetUpdateSummary(ctx context.Context, id DataBoxEdgeDeviceId) (result GetUpdateSummaryOperationResponse, err error)
- func (c DevicesClient) InstallUpdates(ctx context.Context, id DataBoxEdgeDeviceId) (result InstallUpdatesOperationResponse, err error)
- func (c DevicesClient) InstallUpdatesThenPoll(ctx context.Context, id DataBoxEdgeDeviceId) error
- func (c DevicesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c DevicesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c DevicesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c DevicesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c DevicesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c DevicesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c DevicesClient) ScanForUpdates(ctx context.Context, id DataBoxEdgeDeviceId) (result ScanForUpdatesOperationResponse, err error)
- func (c DevicesClient) ScanForUpdatesThenPoll(ctx context.Context, id DataBoxEdgeDeviceId) error
- func (c DevicesClient) Update(ctx context.Context, id DataBoxEdgeDeviceId, input DataBoxEdgeDevicePatch) (result UpdateOperationResponse, err error)
- func (c DevicesClient) UpdateExtendedInformation(ctx context.Context, id DataBoxEdgeDeviceId, ...) (result UpdateExtendedInformationOperationResponse, err error)
- func (c DevicesClient) UploadCertificate(ctx context.Context, id DataBoxEdgeDeviceId, input UploadCertificateRequest) (result UploadCertificateOperationResponse, err error)
- type DownloadUpdatesOperationResponse
- type EdgeProfile
- type EdgeProfilePatch
- type EdgeProfileSubscription
- type EdgeProfileSubscriptionPatch
- type EncryptionAlgorithm
- type GenerateCertResponse
- type GenerateCertificateOperationResponse
- type GetExtendedInformationOperationResponse
- type GetNetworkSettingsOperationResponse
- type GetOperationResponse
- type GetUpdateSummaryOperationResponse
- type IPv4Config
- type IPv6Config
- type InstallRebootBehavior
- type InstallUpdatesOperationResponse
- type InstallationImpact
- type JobStatus
- type KeyVaultSyncStatus
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type MsiIdentityType
- type NetworkAdapter
- type NetworkAdapterDHCPStatus
- type NetworkAdapterPosition
- type NetworkAdapterRDMAStatus
- type NetworkAdapterStatus
- type NetworkGroup
- type NetworkSettings
- type NetworkSettingsProperties
- type RawCertificateData
- type ResourceIdentity
- type ResourceMoveDetails
- type ResourceMoveStatus
- type RoleTypes
- type ScanForUpdatesOperationResponse
- type Secret
- type SecuritySettings
- type SecuritySettingsProperties
- type Sku
- type SkuName
- type SkuTier
- type SubscriptionProperties
- type SubscriptionRegisteredFeatures
- type SubscriptionState
- type UpdateDetails
- type UpdateExtendedInformationOperationResponse
- type UpdateOperation
- type UpdateOperationResponse
- type UpdateStatus
- type UpdateSummary
- type UpdateSummaryProperties
- func (o *UpdateSummaryProperties) GetDeviceLastScannedDateTimeAsTime() (*time.Time, error)
- func (o *UpdateSummaryProperties) GetInProgressDownloadJobStartedDateTimeAsTime() (*time.Time, error)
- func (o *UpdateSummaryProperties) GetInProgressInstallJobStartedDateTimeAsTime() (*time.Time, error)
- func (o *UpdateSummaryProperties) GetLastCompletedDownloadJobDateTimeAsTime() (*time.Time, error)
- func (o *UpdateSummaryProperties) GetLastCompletedInstallJobDateTimeAsTime() (*time.Time, error)
- func (o *UpdateSummaryProperties) GetLastCompletedScanJobDateTimeAsTime() (*time.Time, error)
- func (o *UpdateSummaryProperties) GetLastSuccessfulInstallJobDateTimeAsTime() (*time.Time, error)
- func (o *UpdateSummaryProperties) GetLastSuccessfulScanJobTimeAsTime() (*time.Time, error)
- func (o *UpdateSummaryProperties) SetDeviceLastScannedDateTimeAsTime(input time.Time)
- func (o *UpdateSummaryProperties) SetInProgressDownloadJobStartedDateTimeAsTime(input time.Time)
- func (o *UpdateSummaryProperties) SetInProgressInstallJobStartedDateTimeAsTime(input time.Time)
- func (o *UpdateSummaryProperties) SetLastCompletedDownloadJobDateTimeAsTime(input time.Time)
- func (o *UpdateSummaryProperties) SetLastCompletedInstallJobDateTimeAsTime(input time.Time)
- func (o *UpdateSummaryProperties) SetLastCompletedScanJobDateTimeAsTime(input time.Time)
- func (o *UpdateSummaryProperties) SetLastSuccessfulInstallJobDateTimeAsTime(input time.Time)
- func (o *UpdateSummaryProperties) SetLastSuccessfulScanJobTimeAsTime(input time.Time)
- type UpdateType
- type UploadCertificateOperationResponse
- type UploadCertificateRequest
- type UploadCertificateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthenticationType ¶
func PossibleValuesForAuthenticationType() []string
func PossibleValuesForClusterWitnessType ¶
func PossibleValuesForClusterWitnessType() []string
func PossibleValuesForDataBoxEdgeDeviceKind ¶
func PossibleValuesForDataBoxEdgeDeviceKind() []string
func PossibleValuesForDataBoxEdgeDeviceStatus ¶
func PossibleValuesForDataBoxEdgeDeviceStatus() []string
func PossibleValuesForDataResidencyType ¶
func PossibleValuesForDataResidencyType() []string
func PossibleValuesForDeviceType ¶
func PossibleValuesForDeviceType() []string
func PossibleValuesForEncryptionAlgorithm ¶
func PossibleValuesForEncryptionAlgorithm() []string
func PossibleValuesForInstallRebootBehavior ¶
func PossibleValuesForInstallRebootBehavior() []string
func PossibleValuesForInstallationImpact ¶
func PossibleValuesForInstallationImpact() []string
func PossibleValuesForJobStatus ¶
func PossibleValuesForJobStatus() []string
func PossibleValuesForKeyVaultSyncStatus ¶
func PossibleValuesForKeyVaultSyncStatus() []string
func PossibleValuesForMsiIdentityType ¶
func PossibleValuesForMsiIdentityType() []string
func PossibleValuesForNetworkAdapterDHCPStatus ¶
func PossibleValuesForNetworkAdapterDHCPStatus() []string
func PossibleValuesForNetworkAdapterRDMAStatus ¶
func PossibleValuesForNetworkAdapterRDMAStatus() []string
func PossibleValuesForNetworkAdapterStatus ¶
func PossibleValuesForNetworkAdapterStatus() []string
func PossibleValuesForNetworkGroup ¶
func PossibleValuesForNetworkGroup() []string
func PossibleValuesForResourceMoveStatus ¶
func PossibleValuesForResourceMoveStatus() []string
func PossibleValuesForRoleTypes ¶
func PossibleValuesForRoleTypes() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForSubscriptionState ¶
func PossibleValuesForSubscriptionState() []string
func PossibleValuesForUpdateOperation ¶
func PossibleValuesForUpdateOperation() []string
func PossibleValuesForUpdateStatus ¶
func PossibleValuesForUpdateStatus() []string
func PossibleValuesForUpdateType ¶
func PossibleValuesForUpdateType() []string
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
Types ¶
type AsymmetricEncryptedSecret ¶
type AsymmetricEncryptedSecret struct { EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm"` EncryptionCertThumbprint *string `json:"encryptionCertThumbprint,omitempty"` Value string `json:"value"` }
type AuthenticationType ¶
type AuthenticationType string
const ( AuthenticationTypeAzureActiveDirectory AuthenticationType = "AzureActiveDirectory" AuthenticationTypeInvalid AuthenticationType = "Invalid" )
func (*AuthenticationType) UnmarshalJSON ¶
func (s *AuthenticationType) UnmarshalJSON(bytes []byte) error
type ClusterWitnessType ¶
type ClusterWitnessType string
const ( ClusterWitnessTypeCloud ClusterWitnessType = "Cloud" ClusterWitnessTypeNone ClusterWitnessType = "None" )
func (*ClusterWitnessType) UnmarshalJSON ¶
func (s *ClusterWitnessType) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataBoxEdgeDevice }
type DataBoxEdgeDevice ¶
type DataBoxEdgeDevice struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *ResourceIdentity `json:"identity,omitempty"` Kind *DataBoxEdgeDeviceKind `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DataBoxEdgeDeviceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DataBoxEdgeDeviceExtendedInfo ¶
type DataBoxEdgeDeviceExtendedInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DataBoxEdgeDeviceExtendedInfoProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DataBoxEdgeDeviceExtendedInfoPatch ¶
type DataBoxEdgeDeviceExtendedInfoPatch struct { ChannelIntegrityKeyName *string `json:"channelIntegrityKeyName,omitempty"` ChannelIntegrityKeyVersion *string `json:"channelIntegrityKeyVersion,omitempty"` ClientSecretStoreId *string `json:"clientSecretStoreId,omitempty"` ClientSecretStoreURL *string `json:"clientSecretStoreUrl,omitempty"` SyncStatus *KeyVaultSyncStatus `json:"syncStatus,omitempty"` }
type DataBoxEdgeDeviceExtendedInfoProperties ¶
type DataBoxEdgeDeviceExtendedInfoProperties struct { ChannelIntegrityKeyName *string `json:"channelIntegrityKeyName,omitempty"` ChannelIntegrityKeyVersion *string `json:"channelIntegrityKeyVersion,omitempty"` ClientSecretStoreId *string `json:"clientSecretStoreId,omitempty"` ClientSecretStoreURL *string `json:"clientSecretStoreUrl,omitempty"` CloudWitnessContainerName *string `json:"cloudWitnessContainerName,omitempty"` CloudWitnessStorageAccountName *string `json:"cloudWitnessStorageAccountName,omitempty"` CloudWitnessStorageEndpoint *string `json:"cloudWitnessStorageEndpoint,omitempty"` ClusterWitnessType *ClusterWitnessType `json:"clusterWitnessType,omitempty"` DeviceSecrets *map[string]Secret `json:"deviceSecrets,omitempty"` EncryptionKey *string `json:"encryptionKey,omitempty"` EncryptionKeyThumbprint *string `json:"encryptionKeyThumbprint,omitempty"` KeyVaultSyncStatus *KeyVaultSyncStatus `json:"keyVaultSyncStatus,omitempty"` ResourceKey *string `json:"resourceKey,omitempty"` }
type DataBoxEdgeDeviceId ¶
type DataBoxEdgeDeviceId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string }
DataBoxEdgeDeviceId is a struct representing the Resource ID for a Data Box Edge Device
func NewDataBoxEdgeDeviceID ¶
func NewDataBoxEdgeDeviceID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string) DataBoxEdgeDeviceId
NewDataBoxEdgeDeviceID returns a new DataBoxEdgeDeviceId struct
func ParseDataBoxEdgeDeviceID ¶
func ParseDataBoxEdgeDeviceID(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceID parses 'input' into a DataBoxEdgeDeviceId
func ParseDataBoxEdgeDeviceIDInsensitively ¶
func ParseDataBoxEdgeDeviceIDInsensitively(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceIDInsensitively parses 'input' case-insensitively into a DataBoxEdgeDeviceId note: this method should only be used for API response data and not user input
func (*DataBoxEdgeDeviceId) FromParseResult ¶
func (id *DataBoxEdgeDeviceId) FromParseResult(input resourceids.ParseResult) error
func (DataBoxEdgeDeviceId) ID ¶
func (id DataBoxEdgeDeviceId) ID() string
ID returns the formatted Data Box Edge Device ID
func (DataBoxEdgeDeviceId) Segments ¶
func (id DataBoxEdgeDeviceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Box Edge Device ID
func (DataBoxEdgeDeviceId) String ¶
func (id DataBoxEdgeDeviceId) String() string
String returns a human-readable description of this Data Box Edge Device ID
type DataBoxEdgeDeviceKind ¶
type DataBoxEdgeDeviceKind string
const ( DataBoxEdgeDeviceKindAzureDataBoxGateway DataBoxEdgeDeviceKind = "AzureDataBoxGateway" DataBoxEdgeDeviceKindAzureModularDataCentre DataBoxEdgeDeviceKind = "AzureModularDataCentre" DataBoxEdgeDeviceKindAzureStackEdge DataBoxEdgeDeviceKind = "AzureStackEdge" DataBoxEdgeDeviceKindAzureStackHub DataBoxEdgeDeviceKind = "AzureStackHub" )
func (*DataBoxEdgeDeviceKind) UnmarshalJSON ¶
func (s *DataBoxEdgeDeviceKind) UnmarshalJSON(bytes []byte) error
type DataBoxEdgeDeviceOperationPredicate ¶
type DataBoxEdgeDeviceOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (DataBoxEdgeDeviceOperationPredicate) Matches ¶
func (p DataBoxEdgeDeviceOperationPredicate) Matches(input DataBoxEdgeDevice) bool
type DataBoxEdgeDevicePatch ¶
type DataBoxEdgeDevicePatch struct { Identity *ResourceIdentity `json:"identity,omitempty"` Properties *DataBoxEdgeDevicePropertiesPatch `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DataBoxEdgeDeviceProperties ¶
type DataBoxEdgeDeviceProperties struct { ConfiguredRoleTypes *[]RoleTypes `json:"configuredRoleTypes,omitempty"` Culture *string `json:"culture,omitempty"` DataBoxEdgeDeviceStatus *DataBoxEdgeDeviceStatus `json:"dataBoxEdgeDeviceStatus,omitempty"` DataResidency *DataResidency `json:"dataResidency,omitempty"` Description *string `json:"description,omitempty"` DeviceHcsVersion *string `json:"deviceHcsVersion,omitempty"` DeviceLocalCapacity *int64 `json:"deviceLocalCapacity,omitempty"` DeviceModel *string `json:"deviceModel,omitempty"` DeviceSoftwareVersion *string `json:"deviceSoftwareVersion,omitempty"` DeviceType *DeviceType `json:"deviceType,omitempty"` EdgeProfile *EdgeProfile `json:"edgeProfile,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ModelDescription *string `json:"modelDescription,omitempty"` NodeCount *int64 `json:"nodeCount,omitempty"` ResourceMoveDetails *ResourceMoveDetails `json:"resourceMoveDetails,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
type DataBoxEdgeDevicePropertiesPatch ¶
type DataBoxEdgeDevicePropertiesPatch struct {
EdgeProfile *EdgeProfilePatch `json:"edgeProfile,omitempty"`
}
type DataBoxEdgeDeviceStatus ¶
type DataBoxEdgeDeviceStatus string
const ( DataBoxEdgeDeviceStatusDisconnected DataBoxEdgeDeviceStatus = "Disconnected" DataBoxEdgeDeviceStatusMaintenance DataBoxEdgeDeviceStatus = "Maintenance" DataBoxEdgeDeviceStatusNeedsAttention DataBoxEdgeDeviceStatus = "NeedsAttention" DataBoxEdgeDeviceStatusOffline DataBoxEdgeDeviceStatus = "Offline" DataBoxEdgeDeviceStatusOnline DataBoxEdgeDeviceStatus = "Online" DataBoxEdgeDeviceStatusPartiallyDisconnected DataBoxEdgeDeviceStatus = "PartiallyDisconnected" DataBoxEdgeDeviceStatusReadyToSetup DataBoxEdgeDeviceStatus = "ReadyToSetup" )
func (*DataBoxEdgeDeviceStatus) UnmarshalJSON ¶
func (s *DataBoxEdgeDeviceStatus) UnmarshalJSON(bytes []byte) error
type DataResidency ¶
type DataResidency struct {
Type *DataResidencyType `json:"type,omitempty"`
}
type DataResidencyType ¶
type DataResidencyType string
const ( DataResidencyTypeGeoZoneReplication DataResidencyType = "GeoZoneReplication" DataResidencyTypeZoneReplication DataResidencyType = "ZoneReplication" )
func (*DataResidencyType) UnmarshalJSON ¶
func (s *DataResidencyType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DeviceType ¶
type DeviceType string
const (
DeviceTypeDataBoxEdgeDevice DeviceType = "DataBoxEdgeDevice"
)
func (*DeviceType) UnmarshalJSON ¶
func (s *DeviceType) UnmarshalJSON(bytes []byte) error
type DevicesClient ¶
type DevicesClient struct {
Client *resourcemanager.Client
}
func NewDevicesClientWithBaseURI ¶
func NewDevicesClientWithBaseURI(sdkApi sdkEnv.Api) (*DevicesClient, error)
func (DevicesClient) CreateOrUpdate ¶
func (c DevicesClient) CreateOrUpdate(ctx context.Context, id DataBoxEdgeDeviceId, input DataBoxEdgeDevice) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DevicesClient) CreateOrUpdateSecuritySettings ¶
func (c DevicesClient) CreateOrUpdateSecuritySettings(ctx context.Context, id DataBoxEdgeDeviceId, input SecuritySettings) (result CreateOrUpdateSecuritySettingsOperationResponse, err error)
CreateOrUpdateSecuritySettings ...
func (DevicesClient) CreateOrUpdateSecuritySettingsThenPoll ¶
func (c DevicesClient) CreateOrUpdateSecuritySettingsThenPoll(ctx context.Context, id DataBoxEdgeDeviceId, input SecuritySettings) error
CreateOrUpdateSecuritySettingsThenPoll performs CreateOrUpdateSecuritySettings then polls until it's completed
func (DevicesClient) Delete ¶
func (c DevicesClient) Delete(ctx context.Context, id DataBoxEdgeDeviceId) (result DeleteOperationResponse, err error)
Delete ...
func (DevicesClient) DeleteThenPoll ¶
func (c DevicesClient) DeleteThenPoll(ctx context.Context, id DataBoxEdgeDeviceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DevicesClient) DownloadUpdates ¶
func (c DevicesClient) DownloadUpdates(ctx context.Context, id DataBoxEdgeDeviceId) (result DownloadUpdatesOperationResponse, err error)
DownloadUpdates ...
func (DevicesClient) DownloadUpdatesThenPoll ¶
func (c DevicesClient) DownloadUpdatesThenPoll(ctx context.Context, id DataBoxEdgeDeviceId) error
DownloadUpdatesThenPoll performs DownloadUpdates then polls until it's completed
func (DevicesClient) GenerateCertificate ¶
func (c DevicesClient) GenerateCertificate(ctx context.Context, id DataBoxEdgeDeviceId) (result GenerateCertificateOperationResponse, err error)
GenerateCertificate ...
func (DevicesClient) Get ¶
func (c DevicesClient) Get(ctx context.Context, id DataBoxEdgeDeviceId) (result GetOperationResponse, err error)
Get ...
func (DevicesClient) GetExtendedInformation ¶
func (c DevicesClient) GetExtendedInformation(ctx context.Context, id DataBoxEdgeDeviceId) (result GetExtendedInformationOperationResponse, err error)
GetExtendedInformation ...
func (DevicesClient) GetNetworkSettings ¶
func (c DevicesClient) GetNetworkSettings(ctx context.Context, id DataBoxEdgeDeviceId) (result GetNetworkSettingsOperationResponse, err error)
GetNetworkSettings ...
func (DevicesClient) GetUpdateSummary ¶
func (c DevicesClient) GetUpdateSummary(ctx context.Context, id DataBoxEdgeDeviceId) (result GetUpdateSummaryOperationResponse, err error)
GetUpdateSummary ...
func (DevicesClient) InstallUpdates ¶
func (c DevicesClient) InstallUpdates(ctx context.Context, id DataBoxEdgeDeviceId) (result InstallUpdatesOperationResponse, err error)
InstallUpdates ...
func (DevicesClient) InstallUpdatesThenPoll ¶
func (c DevicesClient) InstallUpdatesThenPoll(ctx context.Context, id DataBoxEdgeDeviceId) error
InstallUpdatesThenPoll performs InstallUpdates then polls until it's completed
func (DevicesClient) ListByResourceGroup ¶
func (c DevicesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DevicesClient) ListByResourceGroupComplete ¶
func (c DevicesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (DevicesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DevicesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate DataBoxEdgeDeviceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DevicesClient) ListBySubscription ¶
func (c DevicesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DevicesClient) ListBySubscriptionComplete ¶
func (c DevicesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (DevicesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DevicesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate DataBoxEdgeDeviceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DevicesClient) ScanForUpdates ¶
func (c DevicesClient) ScanForUpdates(ctx context.Context, id DataBoxEdgeDeviceId) (result ScanForUpdatesOperationResponse, err error)
ScanForUpdates ...
func (DevicesClient) ScanForUpdatesThenPoll ¶
func (c DevicesClient) ScanForUpdatesThenPoll(ctx context.Context, id DataBoxEdgeDeviceId) error
ScanForUpdatesThenPoll performs ScanForUpdates then polls until it's completed
func (DevicesClient) Update ¶
func (c DevicesClient) Update(ctx context.Context, id DataBoxEdgeDeviceId, input DataBoxEdgeDevicePatch) (result UpdateOperationResponse, err error)
Update ...
func (DevicesClient) UpdateExtendedInformation ¶
func (c DevicesClient) UpdateExtendedInformation(ctx context.Context, id DataBoxEdgeDeviceId, input DataBoxEdgeDeviceExtendedInfoPatch) (result UpdateExtendedInformationOperationResponse, err error)
UpdateExtendedInformation ...
func (DevicesClient) UploadCertificate ¶
func (c DevicesClient) UploadCertificate(ctx context.Context, id DataBoxEdgeDeviceId, input UploadCertificateRequest) (result UploadCertificateOperationResponse, err error)
UploadCertificate ...
type EdgeProfile ¶
type EdgeProfile struct {
Subscription *EdgeProfileSubscription `json:"subscription,omitempty"`
}
type EdgeProfilePatch ¶
type EdgeProfilePatch struct {
Subscription *EdgeProfileSubscriptionPatch `json:"subscription,omitempty"`
}
type EdgeProfileSubscription ¶
type EdgeProfileSubscription struct { Id *string `json:"id,omitempty"` Properties *SubscriptionProperties `json:"properties,omitempty"` RegistrationDate *string `json:"registrationDate,omitempty"` RegistrationId *string `json:"registrationId,omitempty"` State *SubscriptionState `json:"state,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` }
type EdgeProfileSubscriptionPatch ¶
type EdgeProfileSubscriptionPatch struct {
Id *string `json:"id,omitempty"`
}
type EncryptionAlgorithm ¶
type EncryptionAlgorithm string
const ( EncryptionAlgorithmAESTwoFiveSix EncryptionAlgorithm = "AES256" EncryptionAlgorithmNone EncryptionAlgorithm = "None" EncryptionAlgorithmRSAESPKCSOneVOneFive EncryptionAlgorithm = "RSAES_PKCS1_v_1_5" )
func (*EncryptionAlgorithm) UnmarshalJSON ¶
func (s *EncryptionAlgorithm) UnmarshalJSON(bytes []byte) error
type GenerateCertResponse ¶
type GenerateCertificateOperationResponse ¶
type GenerateCertificateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GenerateCertResponse }
type GetExtendedInformationOperationResponse ¶
type GetExtendedInformationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataBoxEdgeDeviceExtendedInfo }
type GetNetworkSettingsOperationResponse ¶
type GetNetworkSettingsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkSettings }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataBoxEdgeDevice }
type GetUpdateSummaryOperationResponse ¶
type GetUpdateSummaryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *UpdateSummary }
type IPv4Config ¶
type IPv6Config ¶
type InstallRebootBehavior ¶
type InstallRebootBehavior string
const ( InstallRebootBehaviorNeverReboots InstallRebootBehavior = "NeverReboots" InstallRebootBehaviorRequestReboot InstallRebootBehavior = "RequestReboot" InstallRebootBehaviorRequiresReboot InstallRebootBehavior = "RequiresReboot" )
func (*InstallRebootBehavior) UnmarshalJSON ¶
func (s *InstallRebootBehavior) UnmarshalJSON(bytes []byte) error
type InstallationImpact ¶
type InstallationImpact string
const ( InstallationImpactDeviceRebooted InstallationImpact = "DeviceRebooted" InstallationImpactKubernetesWorkloadsDown InstallationImpact = "KubernetesWorkloadsDown" InstallationImpactNone InstallationImpact = "None" )
func (*InstallationImpact) UnmarshalJSON ¶
func (s *InstallationImpact) UnmarshalJSON(bytes []byte) error
type KeyVaultSyncStatus ¶
type KeyVaultSyncStatus string
const ( KeyVaultSyncStatusKeyVaultNotConfigured KeyVaultSyncStatus = "KeyVaultNotConfigured" KeyVaultSyncStatusKeyVaultNotSynced KeyVaultSyncStatus = "KeyVaultNotSynced" KeyVaultSyncStatusKeyVaultSyncFailed KeyVaultSyncStatus = "KeyVaultSyncFailed" KeyVaultSyncStatusKeyVaultSyncPending KeyVaultSyncStatus = "KeyVaultSyncPending" KeyVaultSyncStatusKeyVaultSynced KeyVaultSyncStatus = "KeyVaultSynced" KeyVaultSyncStatusKeyVaultSyncing KeyVaultSyncStatus = "KeyVaultSyncing" )
func (*KeyVaultSyncStatus) UnmarshalJSON ¶
func (s *KeyVaultSyncStatus) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []DataBoxEdgeDevice }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
Expand *string
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataBoxEdgeDevice }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []DataBoxEdgeDevice }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct {
Expand *string
}
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataBoxEdgeDevice }
type MsiIdentityType ¶
type MsiIdentityType string
const ( MsiIdentityTypeNone MsiIdentityType = "None" MsiIdentityTypeSystemAssigned MsiIdentityType = "SystemAssigned" MsiIdentityTypeUserAssigned MsiIdentityType = "UserAssigned" )
func (*MsiIdentityType) UnmarshalJSON ¶
func (s *MsiIdentityType) UnmarshalJSON(bytes []byte) error
type NetworkAdapter ¶
type NetworkAdapter struct { AdapterId *string `json:"adapterId,omitempty"` AdapterPosition *NetworkAdapterPosition `json:"adapterPosition,omitempty"` DhcpStatus *NetworkAdapterDHCPStatus `json:"dhcpStatus,omitempty"` DnsServers *[]string `json:"dnsServers,omitempty"` IPv4Configuration *IPv4Config `json:"ipv4Configuration,omitempty"` IPv6Configuration *IPv6Config `json:"ipv6Configuration,omitempty"` IPv6LinkLocalAddress *string `json:"ipv6LinkLocalAddress,omitempty"` Index *int64 `json:"index,omitempty"` Label *string `json:"label,omitempty"` LinkSpeed *int64 `json:"linkSpeed,omitempty"` MacAddress *string `json:"macAddress,omitempty"` NetworkAdapterName *string `json:"networkAdapterName,omitempty"` NodeId *string `json:"nodeId,omitempty"` RdmaStatus *NetworkAdapterRDMAStatus `json:"rdmaStatus,omitempty"` Status *NetworkAdapterStatus `json:"status,omitempty"` }
type NetworkAdapterDHCPStatus ¶
type NetworkAdapterDHCPStatus string
const ( NetworkAdapterDHCPStatusDisabled NetworkAdapterDHCPStatus = "Disabled" NetworkAdapterDHCPStatusEnabled NetworkAdapterDHCPStatus = "Enabled" )
func (*NetworkAdapterDHCPStatus) UnmarshalJSON ¶
func (s *NetworkAdapterDHCPStatus) UnmarshalJSON(bytes []byte) error
type NetworkAdapterPosition ¶
type NetworkAdapterPosition struct { NetworkGroup *NetworkGroup `json:"networkGroup,omitempty"` Port *int64 `json:"port,omitempty"` }
type NetworkAdapterRDMAStatus ¶
type NetworkAdapterRDMAStatus string
const ( NetworkAdapterRDMAStatusCapable NetworkAdapterRDMAStatus = "Capable" NetworkAdapterRDMAStatusIncapable NetworkAdapterRDMAStatus = "Incapable" )
func (*NetworkAdapterRDMAStatus) UnmarshalJSON ¶
func (s *NetworkAdapterRDMAStatus) UnmarshalJSON(bytes []byte) error
type NetworkAdapterStatus ¶
type NetworkAdapterStatus string
const ( NetworkAdapterStatusActive NetworkAdapterStatus = "Active" NetworkAdapterStatusInactive NetworkAdapterStatus = "Inactive" )
func (*NetworkAdapterStatus) UnmarshalJSON ¶
func (s *NetworkAdapterStatus) UnmarshalJSON(bytes []byte) error
type NetworkGroup ¶
type NetworkGroup string
const ( NetworkGroupNonRDMA NetworkGroup = "NonRDMA" NetworkGroupNone NetworkGroup = "None" NetworkGroupRDMA NetworkGroup = "RDMA" )
func (*NetworkGroup) UnmarshalJSON ¶
func (s *NetworkGroup) UnmarshalJSON(bytes []byte) error
type NetworkSettings ¶
type NetworkSettings struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NetworkSettingsProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type NetworkSettingsProperties ¶
type NetworkSettingsProperties struct {
NetworkAdapters *[]NetworkAdapter `json:"networkAdapters,omitempty"`
}
type RawCertificateData ¶
type RawCertificateData struct { AuthenticationType *AuthenticationType `json:"authenticationType,omitempty"` Certificate string `json:"certificate"` }
type ResourceIdentity ¶
type ResourceIdentity struct { PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type *MsiIdentityType `json:"type,omitempty"` }
type ResourceMoveDetails ¶
type ResourceMoveDetails struct { OperationInProgress *ResourceMoveStatus `json:"operationInProgress,omitempty"` OperationInProgressLockTimeoutInUTC *string `json:"operationInProgressLockTimeoutInUTC,omitempty"` }
func (*ResourceMoveDetails) GetOperationInProgressLockTimeoutInUTCAsTime ¶
func (o *ResourceMoveDetails) GetOperationInProgressLockTimeoutInUTCAsTime() (*time.Time, error)
func (*ResourceMoveDetails) SetOperationInProgressLockTimeoutInUTCAsTime ¶
func (o *ResourceMoveDetails) SetOperationInProgressLockTimeoutInUTCAsTime(input time.Time)
type ResourceMoveStatus ¶
type ResourceMoveStatus string
const ( ResourceMoveStatusNone ResourceMoveStatus = "None" ResourceMoveStatusResourceMoveFailed ResourceMoveStatus = "ResourceMoveFailed" ResourceMoveStatusResourceMoveInProgress ResourceMoveStatus = "ResourceMoveInProgress" )
func (*ResourceMoveStatus) UnmarshalJSON ¶
func (s *ResourceMoveStatus) UnmarshalJSON(bytes []byte) error
type Secret ¶
type Secret struct { EncryptedSecret *AsymmetricEncryptedSecret `json:"encryptedSecret,omitempty"` KeyVaultId *string `json:"keyVaultId,omitempty"` }
type SecuritySettings ¶
type SecuritySettings struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties SecuritySettingsProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type SecuritySettingsProperties ¶
type SecuritySettingsProperties struct {
DeviceAdminPassword AsymmetricEncryptedSecret `json:"deviceAdminPassword"`
}
type SkuName ¶
type SkuName string
const ( SkuNameEPTwoOneTwoEightGPUOneMxOneW SkuName = "EP2_128_GPU1_Mx1_W" SkuNameEPTwoOneTwoEightOneTFourMxOneW SkuName = "EP2_128_1T4_Mx1_W" SkuNameEPTwoSixFourMxOneW SkuName = "EP2_64_Mx1_W" SkuNameEPTwoSixFourOneVPUW SkuName = "EP2_64_1VPU_W" SkuNameEPTwoTwoFiveSixGPUTwoMxOne SkuName = "EP2_256_GPU2_Mx1" SkuNameEPTwoTwoFiveSixTwoTFourW SkuName = "EP2_256_2T4_W" SkuNameEdge SkuName = "Edge" SkuNameEdgeMRMini SkuName = "EdgeMR_Mini" SkuNameEdgeMRTCP SkuName = "EdgeMR_TCP" SkuNameEdgePBase SkuName = "EdgeP_Base" SkuNameEdgePHigh SkuName = "EdgeP_High" SkuNameEdgePRBase SkuName = "EdgePR_Base" SkuNameEdgePRBaseUPS SkuName = "EdgePR_Base_UPS" SkuNameGPU SkuName = "GPU" SkuNameGateway SkuName = "Gateway" SkuNameManagement SkuName = "Management" SkuNameRCALarge SkuName = "RCA_Large" SkuNameRCASmall SkuName = "RCA_Small" SkuNameRDC SkuName = "RDC" SkuNameTCALarge SkuName = "TCA_Large" SkuNameTCASmall SkuName = "TCA_Small" SkuNameTDC SkuName = "TDC" SkuNameTEAFourNodeHeater SkuName = "TEA_4Node_Heater" SkuNameTEAFourNodeUPSHeater SkuName = "TEA_4Node_UPS_Heater" SkuNameTEAOneNode SkuName = "TEA_1Node" SkuNameTEAOneNodeHeater SkuName = "TEA_1Node_Heater" SkuNameTEAOneNodeUPS SkuName = "TEA_1Node_UPS" SkuNameTEAOneNodeUPSHeater SkuName = "TEA_1Node_UPS_Heater" SkuNameTMA SkuName = "TMA" )
func (*SkuName) UnmarshalJSON ¶
type SkuTier ¶
type SkuTier string
const (
SkuTierStandard SkuTier = "Standard"
)
func (*SkuTier) UnmarshalJSON ¶
type SubscriptionProperties ¶
type SubscriptionProperties struct { LocationPlacementId *string `json:"locationPlacementId,omitempty"` QuotaId *string `json:"quotaId,omitempty"` RegisteredFeatures *[]SubscriptionRegisteredFeatures `json:"registeredFeatures,omitempty"` SerializedDetails *string `json:"serializedDetails,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type SubscriptionState ¶
type SubscriptionState string
const ( SubscriptionStateDeleted SubscriptionState = "Deleted" SubscriptionStateRegistered SubscriptionState = "Registered" SubscriptionStateSuspended SubscriptionState = "Suspended" SubscriptionStateUnregistered SubscriptionState = "Unregistered" SubscriptionStateWarned SubscriptionState = "Warned" )
func (*SubscriptionState) UnmarshalJSON ¶
func (s *SubscriptionState) UnmarshalJSON(bytes []byte) error
type UpdateDetails ¶
type UpdateDetails struct { EstimatedInstallTimeInMins *int64 `json:"estimatedInstallTimeInMins,omitempty"` FriendlyVersionNumber *string `json:"friendlyVersionNumber,omitempty"` InstallationImpact *InstallationImpact `json:"installationImpact,omitempty"` RebootBehavior *InstallRebootBehavior `json:"rebootBehavior,omitempty"` Status *UpdateStatus `json:"status,omitempty"` TargetVersion *string `json:"targetVersion,omitempty"` UpdateSize *float64 `json:"updateSize,omitempty"` UpdateTitle *string `json:"updateTitle,omitempty"` UpdateType *UpdateType `json:"updateType,omitempty"` }
type UpdateExtendedInformationOperationResponse ¶
type UpdateExtendedInformationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataBoxEdgeDeviceExtendedInfo }
type UpdateOperation ¶
type UpdateOperation string
const ( UpdateOperationDownload UpdateOperation = "Download" UpdateOperationInstall UpdateOperation = "Install" UpdateOperationNone UpdateOperation = "None" UpdateOperationScan UpdateOperation = "Scan" )
func (*UpdateOperation) UnmarshalJSON ¶
func (s *UpdateOperation) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataBoxEdgeDevice }
type UpdateStatus ¶
type UpdateStatus string
const ( UpdateStatusDownloadCompleted UpdateStatus = "DownloadCompleted" UpdateStatusDownloadPending UpdateStatus = "DownloadPending" UpdateStatusDownloadStarted UpdateStatus = "DownloadStarted" UpdateStatusInstallCompleted UpdateStatus = "InstallCompleted" UpdateStatusInstallStarted UpdateStatus = "InstallStarted" )
func (*UpdateStatus) UnmarshalJSON ¶
func (s *UpdateStatus) UnmarshalJSON(bytes []byte) error
type UpdateSummary ¶
type UpdateSummary struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *UpdateSummaryProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UpdateSummaryProperties ¶
type UpdateSummaryProperties struct { DeviceLastScannedDateTime *string `json:"deviceLastScannedDateTime,omitempty"` DeviceVersionNumber *string `json:"deviceVersionNumber,omitempty"` FriendlyDeviceVersionName *string `json:"friendlyDeviceVersionName,omitempty"` InProgressDownloadJobId *string `json:"inProgressDownloadJobId,omitempty"` InProgressDownloadJobStartedDateTime *string `json:"inProgressDownloadJobStartedDateTime,omitempty"` InProgressInstallJobId *string `json:"inProgressInstallJobId,omitempty"` InProgressInstallJobStartedDateTime *string `json:"inProgressInstallJobStartedDateTime,omitempty"` LastCompletedDownloadJobDateTime *string `json:"lastCompletedDownloadJobDateTime,omitempty"` LastCompletedDownloadJobId *string `json:"lastCompletedDownloadJobId,omitempty"` LastCompletedInstallJobDateTime *string `json:"lastCompletedInstallJobDateTime,omitempty"` LastCompletedInstallJobId *string `json:"lastCompletedInstallJobId,omitempty"` LastCompletedScanJobDateTime *string `json:"lastCompletedScanJobDateTime,omitempty"` LastDownloadJobStatus *JobStatus `json:"lastDownloadJobStatus,omitempty"` LastInstallJobStatus *JobStatus `json:"lastInstallJobStatus,omitempty"` LastSuccessfulInstallJobDateTime *string `json:"lastSuccessfulInstallJobDateTime,omitempty"` LastSuccessfulScanJobTime *string `json:"lastSuccessfulScanJobTime,omitempty"` OngoingUpdateOperation *UpdateOperation `json:"ongoingUpdateOperation,omitempty"` RebootBehavior *InstallRebootBehavior `json:"rebootBehavior,omitempty"` TotalNumberOfUpdatesAvailable *int64 `json:"totalNumberOfUpdatesAvailable,omitempty"` TotalNumberOfUpdatesPendingDownload *int64 `json:"totalNumberOfUpdatesPendingDownload,omitempty"` TotalNumberOfUpdatesPendingInstall *int64 `json:"totalNumberOfUpdatesPendingInstall,omitempty"` TotalTimeInMinutes *int64 `json:"totalTimeInMinutes,omitempty"` TotalUpdateSizeInBytes *float64 `json:"totalUpdateSizeInBytes,omitempty"` UpdateTitles *[]string `json:"updateTitles,omitempty"` Updates *[]UpdateDetails `json:"updates,omitempty"` }
func (*UpdateSummaryProperties) GetDeviceLastScannedDateTimeAsTime ¶
func (o *UpdateSummaryProperties) GetDeviceLastScannedDateTimeAsTime() (*time.Time, error)
func (*UpdateSummaryProperties) GetInProgressDownloadJobStartedDateTimeAsTime ¶
func (o *UpdateSummaryProperties) GetInProgressDownloadJobStartedDateTimeAsTime() (*time.Time, error)
func (*UpdateSummaryProperties) GetInProgressInstallJobStartedDateTimeAsTime ¶
func (o *UpdateSummaryProperties) GetInProgressInstallJobStartedDateTimeAsTime() (*time.Time, error)
func (*UpdateSummaryProperties) GetLastCompletedDownloadJobDateTimeAsTime ¶
func (o *UpdateSummaryProperties) GetLastCompletedDownloadJobDateTimeAsTime() (*time.Time, error)
func (*UpdateSummaryProperties) GetLastCompletedInstallJobDateTimeAsTime ¶
func (o *UpdateSummaryProperties) GetLastCompletedInstallJobDateTimeAsTime() (*time.Time, error)
func (*UpdateSummaryProperties) GetLastCompletedScanJobDateTimeAsTime ¶
func (o *UpdateSummaryProperties) GetLastCompletedScanJobDateTimeAsTime() (*time.Time, error)
func (*UpdateSummaryProperties) GetLastSuccessfulInstallJobDateTimeAsTime ¶
func (o *UpdateSummaryProperties) GetLastSuccessfulInstallJobDateTimeAsTime() (*time.Time, error)
func (*UpdateSummaryProperties) GetLastSuccessfulScanJobTimeAsTime ¶
func (o *UpdateSummaryProperties) GetLastSuccessfulScanJobTimeAsTime() (*time.Time, error)
func (*UpdateSummaryProperties) SetDeviceLastScannedDateTimeAsTime ¶
func (o *UpdateSummaryProperties) SetDeviceLastScannedDateTimeAsTime(input time.Time)
func (*UpdateSummaryProperties) SetInProgressDownloadJobStartedDateTimeAsTime ¶
func (o *UpdateSummaryProperties) SetInProgressDownloadJobStartedDateTimeAsTime(input time.Time)
func (*UpdateSummaryProperties) SetInProgressInstallJobStartedDateTimeAsTime ¶
func (o *UpdateSummaryProperties) SetInProgressInstallJobStartedDateTimeAsTime(input time.Time)
func (*UpdateSummaryProperties) SetLastCompletedDownloadJobDateTimeAsTime ¶
func (o *UpdateSummaryProperties) SetLastCompletedDownloadJobDateTimeAsTime(input time.Time)
func (*UpdateSummaryProperties) SetLastCompletedInstallJobDateTimeAsTime ¶
func (o *UpdateSummaryProperties) SetLastCompletedInstallJobDateTimeAsTime(input time.Time)
func (*UpdateSummaryProperties) SetLastCompletedScanJobDateTimeAsTime ¶
func (o *UpdateSummaryProperties) SetLastCompletedScanJobDateTimeAsTime(input time.Time)
func (*UpdateSummaryProperties) SetLastSuccessfulInstallJobDateTimeAsTime ¶
func (o *UpdateSummaryProperties) SetLastSuccessfulInstallJobDateTimeAsTime(input time.Time)
func (*UpdateSummaryProperties) SetLastSuccessfulScanJobTimeAsTime ¶
func (o *UpdateSummaryProperties) SetLastSuccessfulScanJobTimeAsTime(input time.Time)
type UpdateType ¶
type UpdateType string
const ( UpdateTypeFirmware UpdateType = "Firmware" UpdateTypeKubernetes UpdateType = "Kubernetes" UpdateTypeSoftware UpdateType = "Software" )
func (*UpdateType) UnmarshalJSON ¶
func (s *UpdateType) UnmarshalJSON(bytes []byte) error
type UploadCertificateOperationResponse ¶
type UploadCertificateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *UploadCertificateResponse }
type UploadCertificateRequest ¶
type UploadCertificateRequest struct {
Properties RawCertificateData `json:"properties"`
}
type UploadCertificateResponse ¶
type UploadCertificateResponse struct { AadAudience *string `json:"aadAudience,omitempty"` AadAuthority *string `json:"aadAuthority,omitempty"` AadTenantId *string `json:"aadTenantId,omitempty"` AuthType *AuthenticationType `json:"authType,omitempty"` AzureManagementEndpointAudience *string `json:"azureManagementEndpointAudience,omitempty"` ResourceId *string `json:"resourceId,omitempty"` ServicePrincipalClientId *string `json:"servicePrincipalClientId,omitempty"` ServicePrincipalObjectId *string `json:"servicePrincipalObjectId,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_databoxedgedevice.go
- method_createorupdate.go
- method_createorupdatesecuritysettings.go
- method_delete.go
- method_downloadupdates.go
- method_generatecertificate.go
- method_get.go
- method_getextendedinformation.go
- method_getnetworksettings.go
- method_getupdatesummary.go
- method_installupdates.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_scanforupdates.go
- method_update.go
- method_updateextendedinformation.go
- method_uploadcertificate.go
- model_asymmetricencryptedsecret.go
- model_databoxedgedevice.go
- model_databoxedgedeviceextendedinfo.go
- model_databoxedgedeviceextendedinfopatch.go
- model_databoxedgedeviceextendedinfoproperties.go
- model_databoxedgedevicepatch.go
- model_databoxedgedeviceproperties.go
- model_databoxedgedevicepropertiespatch.go
- model_dataresidency.go
- model_edgeprofile.go
- model_edgeprofilepatch.go
- model_edgeprofilesubscription.go
- model_edgeprofilesubscriptionpatch.go
- model_generatecertresponse.go
- model_ipv4config.go
- model_ipv6config.go
- model_networkadapter.go
- model_networkadapterposition.go
- model_networksettings.go
- model_networksettingsproperties.go
- model_rawcertificatedata.go
- model_resourceidentity.go
- model_resourcemovedetails.go
- model_secret.go
- model_securitysettings.go
- model_securitysettingsproperties.go
- model_sku.go
- model_subscriptionproperties.go
- model_subscriptionregisteredfeatures.go
- model_updatedetails.go
- model_updatesummary.go
- model_updatesummaryproperties.go
- model_uploadcertificaterequest.go
- model_uploadcertificateresponse.go
- predicates.go
- version.go