Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateScopedEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DeviceConfiguration
- type EdgeDevice
- type EdgeDeviceOperationPredicate
- type EdgeDeviceProperties
- type EdgeDevicesClient
- func (c EdgeDevicesClient) CreateOrUpdate(ctx context.Context, id ScopedEdgeDeviceId, input EdgeDevice) (result CreateOrUpdateOperationResponse, err error)
- func (c EdgeDevicesClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedEdgeDeviceId, input EdgeDevice) error
- func (c EdgeDevicesClient) Delete(ctx context.Context, id ScopedEdgeDeviceId) (result DeleteOperationResponse, err error)
- func (c EdgeDevicesClient) DeleteThenPoll(ctx context.Context, id ScopedEdgeDeviceId) error
- func (c EdgeDevicesClient) Get(ctx context.Context, id ScopedEdgeDeviceId) (result GetOperationResponse, err error)
- func (c EdgeDevicesClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c EdgeDevicesClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c EdgeDevicesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
- func (c EdgeDevicesClient) Validate(ctx context.Context, id ScopedEdgeDeviceId, input ValidateRequest) (result ValidateOperationResponse, err error)
- func (c EdgeDevicesClient) ValidateThenPoll(ctx context.Context, id ScopedEdgeDeviceId, input ValidateRequest) error
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type NicDetail
- type ProvisioningState
- type ScopedEdgeDeviceId
- type ValidateOperationResponse
- type ValidateRequest
- type ValidateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateScopedEdgeDeviceID ¶
ValidateScopedEdgeDeviceID checks that 'input' can be parsed as a Scoped Edge Device ID
Types ¶
type DeleteOperationResponse ¶
type DeviceConfiguration ¶
type EdgeDevice ¶
type EdgeDevice struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EdgeDeviceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type EdgeDeviceOperationPredicate ¶
func (EdgeDeviceOperationPredicate) Matches ¶
func (p EdgeDeviceOperationPredicate) Matches(input EdgeDevice) bool
type EdgeDeviceProperties ¶
type EdgeDeviceProperties struct { DeviceConfiguration *DeviceConfiguration `json:"deviceConfiguration,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type EdgeDevicesClient ¶
type EdgeDevicesClient struct {
Client *resourcemanager.Client
}
func NewEdgeDevicesClientWithBaseURI ¶
func NewEdgeDevicesClientWithBaseURI(sdkApi sdkEnv.Api) (*EdgeDevicesClient, error)
func (EdgeDevicesClient) CreateOrUpdate ¶
func (c EdgeDevicesClient) CreateOrUpdate(ctx context.Context, id ScopedEdgeDeviceId, input EdgeDevice) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EdgeDevicesClient) CreateOrUpdateThenPoll ¶
func (c EdgeDevicesClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedEdgeDeviceId, input EdgeDevice) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (EdgeDevicesClient) Delete ¶
func (c EdgeDevicesClient) Delete(ctx context.Context, id ScopedEdgeDeviceId) (result DeleteOperationResponse, err error)
Delete ...
func (EdgeDevicesClient) DeleteThenPoll ¶
func (c EdgeDevicesClient) DeleteThenPoll(ctx context.Context, id ScopedEdgeDeviceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (EdgeDevicesClient) Get ¶
func (c EdgeDevicesClient) Get(ctx context.Context, id ScopedEdgeDeviceId) (result GetOperationResponse, err error)
Get ...
func (EdgeDevicesClient) List ¶
func (c EdgeDevicesClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (EdgeDevicesClient) ListComplete ¶
func (c EdgeDevicesClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EdgeDevicesClient) ListCompleteMatchingPredicate ¶
func (c EdgeDevicesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate EdgeDeviceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EdgeDevicesClient) Validate ¶
func (c EdgeDevicesClient) Validate(ctx context.Context, id ScopedEdgeDeviceId, input ValidateRequest) (result ValidateOperationResponse, err error)
Validate ...
func (EdgeDevicesClient) ValidateThenPoll ¶
func (c EdgeDevicesClient) ValidateThenPoll(ctx context.Context, id ScopedEdgeDeviceId, input ValidateRequest) error
ValidateThenPoll performs Validate then polls until it's completed
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EdgeDevice }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []EdgeDevice }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EdgeDevice }
type NicDetail ¶
type NicDetail struct { AdapterName string `json:"adapterName"` ComponentId *string `json:"componentId,omitempty"` DefaultGateway *string `json:"defaultGateway,omitempty"` DefaultIsolationId *string `json:"defaultIsolationId,omitempty"` DnsServers *[]string `json:"dnsServers,omitempty"` DriverVersion *string `json:"driverVersion,omitempty"` IP4Address *string `json:"ip4Address,omitempty"` InterfaceDescription *string `json:"interfaceDescription,omitempty"` SubnetMask *string `json:"subnetMask,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ScopedEdgeDeviceId ¶
ScopedEdgeDeviceId is a struct representing the Resource ID for a Scoped Edge Device
func NewScopedEdgeDeviceID ¶
func NewScopedEdgeDeviceID(resourceUri string, edgeDeviceName string) ScopedEdgeDeviceId
NewScopedEdgeDeviceID returns a new ScopedEdgeDeviceId struct
func ParseScopedEdgeDeviceID ¶
func ParseScopedEdgeDeviceID(input string) (*ScopedEdgeDeviceId, error)
ParseScopedEdgeDeviceID parses 'input' into a ScopedEdgeDeviceId
func ParseScopedEdgeDeviceIDInsensitively ¶
func ParseScopedEdgeDeviceIDInsensitively(input string) (*ScopedEdgeDeviceId, error)
ParseScopedEdgeDeviceIDInsensitively parses 'input' case-insensitively into a ScopedEdgeDeviceId note: this method should only be used for API response data and not user input
func (*ScopedEdgeDeviceId) FromParseResult ¶
func (id *ScopedEdgeDeviceId) FromParseResult(input resourceids.ParseResult) error
func (ScopedEdgeDeviceId) ID ¶
func (id ScopedEdgeDeviceId) ID() string
ID returns the formatted Scoped Edge Device ID
func (ScopedEdgeDeviceId) Segments ¶
func (id ScopedEdgeDeviceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Edge Device ID
func (ScopedEdgeDeviceId) String ¶
func (id ScopedEdgeDeviceId) String() string
String returns a human-readable description of this Scoped Edge Device ID
type ValidateRequest ¶
type ValidateResponse ¶
type ValidateResponse struct {
Status *string `json:"status,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_scopededgedevice.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_validate.go
- model_deviceconfiguration.go
- model_edgedevice.go
- model_edgedeviceproperties.go
- model_nicdetail.go
- model_validaterequest.go
- model_validateresponse.go
- predicates.go
- version.go