Documentation ¶
Index ¶
- func PossibleValuesForEncryptionAlgorithm() []string
- func PossibleValuesForHostPlatformType() []string
- func PossibleValuesForKubernetesNodeType() []string
- func PossibleValuesForKubernetesState() []string
- func PossibleValuesForMountType() []string
- func PossibleValuesForPlatformType() []string
- func PossibleValuesForPosixComplianceStatus() []string
- func PossibleValuesForRoleStatus() []string
- func PossibleValuesForRoleTypes() []string
- func PossibleValuesForSubscriptionState() []string
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRoleID(input interface{}, key string) (warnings []string, errors []error)
- type AsymmetricEncryptedSecret
- type Authentication
- type CloudEdgeManagementRole
- type CloudEdgeManagementRoleProperties
- type CniConfig
- type ComputeResource
- type CreateOrUpdateOperationResponse
- type DataBoxEdgeDeviceId
- type DeleteOperationResponse
- type EdgeProfile
- type EdgeProfileSubscription
- type EncryptionAlgorithm
- type EtcdInfo
- type GetOperationResponse
- type HostPlatformType
- type ImageRepositoryCredential
- type IoTDeviceInfo
- type IoTEdgeAgentInfo
- type IoTRole
- type IoTRoleProperties
- type KubernetesClusterInfo
- type KubernetesIPConfiguration
- type KubernetesNodeType
- type KubernetesRole
- type KubernetesRoleCompute
- type KubernetesRoleNetwork
- type KubernetesRoleProperties
- type KubernetesRoleResources
- type KubernetesRoleStorage
- type KubernetesRoleStorageClassInfo
- type KubernetesState
- type ListByDataBoxEdgeDeviceCompleteResult
- type ListByDataBoxEdgeDeviceOperationResponse
- type LoadBalancerConfig
- type MECRole
- type MECRoleProperties
- type MountPointMap
- type MountType
- type NodeInfo
- type PlatformType
- type PosixComplianceStatus
- type RawRoleImpl
- type Role
- type RoleId
- type RoleOperationPredicate
- type RoleStatus
- type RoleTypes
- type RolesClient
- func (c RolesClient) CreateOrUpdate(ctx context.Context, id RoleId, input Role) (result CreateOrUpdateOperationResponse, err error)
- func (c RolesClient) CreateOrUpdateThenPoll(ctx context.Context, id RoleId, input Role) error
- func (c RolesClient) Delete(ctx context.Context, id RoleId) (result DeleteOperationResponse, err error)
- func (c RolesClient) DeleteThenPoll(ctx context.Context, id RoleId) error
- func (c RolesClient) Get(ctx context.Context, id RoleId) (result GetOperationResponse, err error)
- func (c RolesClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
- func (c RolesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
- func (c RolesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate RoleOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
- type SubscriptionProperties
- type SubscriptionRegisteredFeatures
- type SubscriptionState
- type SymmetricKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEncryptionAlgorithm ¶
func PossibleValuesForEncryptionAlgorithm() []string
func PossibleValuesForHostPlatformType ¶
func PossibleValuesForHostPlatformType() []string
func PossibleValuesForKubernetesNodeType ¶
func PossibleValuesForKubernetesNodeType() []string
func PossibleValuesForKubernetesState ¶
func PossibleValuesForKubernetesState() []string
func PossibleValuesForMountType ¶
func PossibleValuesForMountType() []string
func PossibleValuesForPlatformType ¶
func PossibleValuesForPlatformType() []string
func PossibleValuesForPosixComplianceStatus ¶
func PossibleValuesForPosixComplianceStatus() []string
func PossibleValuesForRoleStatus ¶
func PossibleValuesForRoleStatus() []string
func PossibleValuesForRoleTypes ¶
func PossibleValuesForRoleTypes() []string
func PossibleValuesForSubscriptionState ¶
func PossibleValuesForSubscriptionState() []string
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
func ValidateRoleID ¶
ValidateRoleID checks that 'input' can be parsed as a Role ID
Types ¶
type AsymmetricEncryptedSecret ¶
type AsymmetricEncryptedSecret struct { EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm"` EncryptionCertThumbprint *string `json:"encryptionCertThumbprint,omitempty"` Value string `json:"value"` }
type Authentication ¶
type Authentication struct {
SymmetricKey *SymmetricKey `json:"symmetricKey,omitempty"`
}
type CloudEdgeManagementRole ¶
type CloudEdgeManagementRole struct { Properties *CloudEdgeManagementRoleProperties `json:"properties,omitempty"` // Fields inherited from Role Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (CloudEdgeManagementRole) MarshalJSON ¶
func (s CloudEdgeManagementRole) MarshalJSON() ([]byte, error)
type CloudEdgeManagementRoleProperties ¶
type CloudEdgeManagementRoleProperties struct { EdgeProfile *EdgeProfile `json:"edgeProfile,omitempty"` LocalManagementStatus *RoleStatus `json:"localManagementStatus,omitempty"` RoleStatus RoleStatus `json:"roleStatus"` }
type ComputeResource ¶
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) 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 DeleteOperationResponse ¶
type EdgeProfile ¶
type EdgeProfile struct {
Subscription *EdgeProfileSubscription `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 EncryptionAlgorithm ¶
type EncryptionAlgorithm string
const ( EncryptionAlgorithmAESTwoFiveSix EncryptionAlgorithm = "AES256" EncryptionAlgorithmNone EncryptionAlgorithm = "None" EncryptionAlgorithmRSAESPKCSOneVOneFive EncryptionAlgorithm = "RSAES_PKCS1_v_1_5" )
func (*EncryptionAlgorithm) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *EncryptionAlgorithm) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type HostPlatformType ¶
type HostPlatformType string
const ( HostPlatformTypeKubernetesCluster HostPlatformType = "KubernetesCluster" HostPlatformTypeLinuxVM HostPlatformType = "LinuxVM" )
func (*HostPlatformType) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *HostPlatformType) UnmarshalJSON(bytes []byte) error
type ImageRepositoryCredential ¶
type ImageRepositoryCredential struct { ImageRepositoryUrl string `json:"imageRepositoryUrl"` Password *AsymmetricEncryptedSecret `json:"password,omitempty"` UserName string `json:"userName"` }
type IoTDeviceInfo ¶
type IoTDeviceInfo struct { Authentication *Authentication `json:"authentication,omitempty"` DeviceId string `json:"deviceId"` IoTHostHub string `json:"ioTHostHub"` IoTHostHubId *string `json:"ioTHostHubId,omitempty"` }
type IoTEdgeAgentInfo ¶
type IoTEdgeAgentInfo struct { ImageName string `json:"imageName"` ImageRepository *ImageRepositoryCredential `json:"imageRepository,omitempty"` Tag string `json:"tag"` }
type IoTRole ¶
type IoTRole struct { Properties *IoTRoleProperties `json:"properties,omitempty"` // Fields inherited from Role Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (IoTRole) MarshalJSON ¶
type IoTRoleProperties ¶
type IoTRoleProperties struct { ComputeResource *ComputeResource `json:"computeResource,omitempty"` HostPlatform PlatformType `json:"hostPlatform"` HostPlatformType *HostPlatformType `json:"hostPlatformType,omitempty"` IoTDeviceDetails IoTDeviceInfo `json:"ioTDeviceDetails"` IoTEdgeAgentInfo *IoTEdgeAgentInfo `json:"ioTEdgeAgentInfo,omitempty"` IoTEdgeDeviceDetails IoTDeviceInfo `json:"ioTEdgeDeviceDetails"` RoleStatus RoleStatus `json:"roleStatus"` }
type KubernetesClusterInfo ¶
type KubernetesNodeType ¶
type KubernetesNodeType string
const ( KubernetesNodeTypeInvalid KubernetesNodeType = "Invalid" KubernetesNodeTypeMaster KubernetesNodeType = "Master" KubernetesNodeTypeWorker KubernetesNodeType = "Worker" )
func (*KubernetesNodeType) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *KubernetesNodeType) UnmarshalJSON(bytes []byte) error
type KubernetesRole ¶
type KubernetesRole struct { Properties *KubernetesRoleProperties `json:"properties,omitempty"` // Fields inherited from Role Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (KubernetesRole) MarshalJSON ¶
func (s KubernetesRole) MarshalJSON() ([]byte, error)
type KubernetesRoleCompute ¶
type KubernetesRoleNetwork ¶
type KubernetesRoleNetwork struct { CniConfig *CniConfig `json:"cniConfig,omitempty"` LoadBalancerConfig *LoadBalancerConfig `json:"loadBalancerConfig,omitempty"` }
type KubernetesRoleProperties ¶
type KubernetesRoleProperties struct { HostPlatform PlatformType `json:"hostPlatform"` HostPlatformType *HostPlatformType `json:"hostPlatformType,omitempty"` KubernetesClusterInfo KubernetesClusterInfo `json:"kubernetesClusterInfo"` KubernetesRoleResources KubernetesRoleResources `json:"kubernetesRoleResources"` ProvisioningState *KubernetesState `json:"provisioningState,omitempty"` RoleStatus RoleStatus `json:"roleStatus"` }
type KubernetesRoleResources ¶
type KubernetesRoleResources struct { Compute KubernetesRoleCompute `json:"compute"` Network *KubernetesRoleNetwork `json:"network,omitempty"` Storage *KubernetesRoleStorage `json:"storage,omitempty"` }
type KubernetesRoleStorage ¶
type KubernetesRoleStorage struct { Endpoints *[]MountPointMap `json:"endpoints,omitempty"` StorageClasses *[]KubernetesRoleStorageClassInfo `json:"storageClasses,omitempty"` }
type KubernetesRoleStorageClassInfo ¶
type KubernetesRoleStorageClassInfo struct { Name *string `json:"name,omitempty"` PosixCompliant *PosixComplianceStatus `json:"posixCompliant,omitempty"` Type *string `json:"type,omitempty"` }
type KubernetesState ¶
type KubernetesState string
const ( KubernetesStateCreated KubernetesState = "Created" KubernetesStateCreating KubernetesState = "Creating" KubernetesStateDeleting KubernetesState = "Deleting" KubernetesStateFailed KubernetesState = "Failed" KubernetesStateInvalid KubernetesState = "Invalid" KubernetesStateReconfiguring KubernetesState = "Reconfiguring" KubernetesStateUpdating KubernetesState = "Updating" )
func (*KubernetesState) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *KubernetesState) UnmarshalJSON(bytes []byte) error
type ListByDataBoxEdgeDeviceCompleteResult ¶
type ListByDataBoxEdgeDeviceCompleteResult struct {
Items []Role
}
type LoadBalancerConfig ¶
type MECRole ¶
type MECRole struct { Properties *MECRoleProperties `json:"properties,omitempty"` // Fields inherited from Role Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (MECRole) MarshalJSON ¶
type MECRoleProperties ¶
type MECRoleProperties struct { ConnectionString *AsymmetricEncryptedSecret `json:"connectionString,omitempty"` ControllerEndpoint *string `json:"controllerEndpoint,omitempty"` ResourceUniqueId *string `json:"resourceUniqueId,omitempty"` RoleStatus RoleStatus `json:"roleStatus"` }
type MountPointMap ¶
type MountType ¶
type MountType string
func (*MountType) UnmarshalJSON ¶ added in v0.20230420.1093529
type NodeInfo ¶
type NodeInfo struct { IPConfiguration *[]KubernetesIPConfiguration `json:"ipConfiguration,omitempty"` Name *string `json:"name,omitempty"` Type *KubernetesNodeType `json:"type,omitempty"` }
type PlatformType ¶
type PlatformType string
const ( PlatformTypeLinux PlatformType = "Linux" PlatformTypeWindows PlatformType = "Windows" )
func (*PlatformType) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *PlatformType) UnmarshalJSON(bytes []byte) error
type PosixComplianceStatus ¶
type PosixComplianceStatus string
const ( PosixComplianceStatusDisabled PosixComplianceStatus = "Disabled" PosixComplianceStatusEnabled PosixComplianceStatus = "Enabled" PosixComplianceStatusInvalid PosixComplianceStatus = "Invalid" )
func (*PosixComplianceStatus) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *PosixComplianceStatus) UnmarshalJSON(bytes []byte) error
type RawRoleImpl ¶ added in v0.20230807.1063129
RawRoleImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RoleId ¶
type RoleId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string RoleName string }
RoleId is a struct representing the Resource ID for a Role
func NewRoleID ¶
func NewRoleID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string, roleName string) RoleId
NewRoleID returns a new RoleId struct
func ParseRoleID ¶
ParseRoleID parses 'input' into a RoleId
func ParseRoleIDInsensitively ¶
ParseRoleIDInsensitively parses 'input' case-insensitively into a RoleId note: this method should only be used for API response data and not user input
func (RoleId) Segments ¶
func (id RoleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Role ID
type RoleOperationPredicate ¶
type RoleOperationPredicate struct { }
func (RoleOperationPredicate) Matches ¶
func (p RoleOperationPredicate) Matches(input Role) bool
type RoleStatus ¶
type RoleStatus string
const ( RoleStatusDisabled RoleStatus = "Disabled" RoleStatusEnabled RoleStatus = "Enabled" )
func (*RoleStatus) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *RoleStatus) UnmarshalJSON(bytes []byte) error
type RoleTypes ¶
type RoleTypes string
func (*RoleTypes) UnmarshalJSON ¶ added in v0.20230420.1093529
type RolesClient ¶
type RolesClient struct {
Client *resourcemanager.Client
}
func NewRolesClientWithBaseURI ¶
func NewRolesClientWithBaseURI(sdkApi sdkEnv.Api) (*RolesClient, error)
func (RolesClient) CreateOrUpdate ¶
func (c RolesClient) CreateOrUpdate(ctx context.Context, id RoleId, input Role) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RolesClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (RolesClient) Delete ¶
func (c RolesClient) Delete(ctx context.Context, id RoleId) (result DeleteOperationResponse, err error)
Delete ...
func (RolesClient) DeleteThenPoll ¶
func (c RolesClient) DeleteThenPoll(ctx context.Context, id RoleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RolesClient) Get ¶
func (c RolesClient) Get(ctx context.Context, id RoleId) (result GetOperationResponse, err error)
Get ...
func (RolesClient) ListByDataBoxEdgeDevice ¶
func (c RolesClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
ListByDataBoxEdgeDevice ...
func (RolesClient) ListByDataBoxEdgeDeviceComplete ¶
func (c RolesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
ListByDataBoxEdgeDeviceComplete retrieves all the results into a single object
func (RolesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate ¶
func (c RolesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate RoleOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
ListByDataBoxEdgeDeviceCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 ¶ added in v0.20230420.1093529
func (s *SubscriptionState) UnmarshalJSON(bytes []byte) error
type SymmetricKey ¶
type SymmetricKey struct {
ConnectionString *AsymmetricEncryptedSecret `json:"connectionString,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_databoxedgedevice.go
- id_role.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbydataboxedgedevice.go
- model_asymmetricencryptedsecret.go
- model_authentication.go
- model_cloudedgemanagementrole.go
- model_cloudedgemanagementroleproperties.go
- model_cniconfig.go
- model_computeresource.go
- model_edgeprofile.go
- model_edgeprofilesubscription.go
- model_etcdinfo.go
- model_imagerepositorycredential.go
- model_iotdeviceinfo.go
- model_iotedgeagentinfo.go
- model_iotrole.go
- model_iotroleproperties.go
- model_kubernetesclusterinfo.go
- model_kubernetesipconfiguration.go
- model_kubernetesrole.go
- model_kubernetesrolecompute.go
- model_kubernetesrolenetwork.go
- model_kubernetesroleproperties.go
- model_kubernetesroleresources.go
- model_kubernetesrolestorage.go
- model_kubernetesrolestorageclassinfo.go
- model_loadbalancerconfig.go
- model_mecrole.go
- model_mecroleproperties.go
- model_mountpointmap.go
- model_nodeinfo.go
- model_role.go
- model_subscriptionproperties.go
- model_subscriptionregisteredfeatures.go
- model_symmetrickey.go
- predicates.go
- version.go