azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/windowsiot/mgmt/2019-06-01/windowsiot Index | Files | Directories

package windowsiot

import "github.com/Azure/azure-sdk-for-go/services/windowsiot/mgmt/2019-06-01/windowsiot"

Package windowsiot implements the Azure ARM Windowsiot service API version 2019-06-01.

Use this API to manage the Windows IoT device services in your Azure subscription.

Index

Package Files

client.go models.go operations.go services.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Windowsiot
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Windowsiot.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type DeviceService Uses

type DeviceService struct {
    autorest.Response `json:"-"`
    // Etag - The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
    Etag *string `json:"etag,omitempty"`
    // DeviceServiceProperties - The properties of a Windows IoT Device Service.
    *DeviceServiceProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The Azure Region where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

DeviceService the description of the Windows IoT Device Service.

func (DeviceService) MarshalJSON Uses

func (ds DeviceService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceService.

func (*DeviceService) UnmarshalJSON Uses

func (ds *DeviceService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeviceService struct.

type DeviceServiceCheckNameAvailabilityParameters Uses

type DeviceServiceCheckNameAvailabilityParameters struct {
    // Name - The name of the Windows IoT Device Service to check.
    Name *string `json:"name,omitempty"`
}

DeviceServiceCheckNameAvailabilityParameters input values.

type DeviceServiceDescriptionListResult Uses

type DeviceServiceDescriptionListResult struct {
    autorest.Response `json:"-"`
    // Value - The array of DeviceService objects.
    Value *[]DeviceService `json:"value,omitempty"`
    // NextLink - READ-ONLY; The next link.
    NextLink *string `json:"nextLink,omitempty"`
}

DeviceServiceDescriptionListResult the JSON-serialized array of DeviceService objects with a next link.

func (DeviceServiceDescriptionListResult) IsEmpty Uses

func (dsdlr DeviceServiceDescriptionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DeviceServiceDescriptionListResultIterator Uses

type DeviceServiceDescriptionListResultIterator struct {
    // contains filtered or unexported fields
}

DeviceServiceDescriptionListResultIterator provides access to a complete listing of DeviceService values.

func NewDeviceServiceDescriptionListResultIterator Uses

func NewDeviceServiceDescriptionListResultIterator(page DeviceServiceDescriptionListResultPage) DeviceServiceDescriptionListResultIterator

Creates a new instance of the DeviceServiceDescriptionListResultIterator type.

func (*DeviceServiceDescriptionListResultIterator) Next Uses

func (iter *DeviceServiceDescriptionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DeviceServiceDescriptionListResultIterator) NextWithContext Uses

func (iter *DeviceServiceDescriptionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DeviceServiceDescriptionListResultIterator) NotDone Uses

func (iter DeviceServiceDescriptionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DeviceServiceDescriptionListResultIterator) Response Uses

func (iter DeviceServiceDescriptionListResultIterator) Response() DeviceServiceDescriptionListResult

Response returns the raw server response from the last page request.

func (DeviceServiceDescriptionListResultIterator) Value Uses

func (iter DeviceServiceDescriptionListResultIterator) Value() DeviceService

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DeviceServiceDescriptionListResultPage Uses

type DeviceServiceDescriptionListResultPage struct {
    // contains filtered or unexported fields
}

DeviceServiceDescriptionListResultPage contains a page of DeviceService values.

func NewDeviceServiceDescriptionListResultPage Uses

func NewDeviceServiceDescriptionListResultPage(getNextPage func(context.Context, DeviceServiceDescriptionListResult) (DeviceServiceDescriptionListResult, error)) DeviceServiceDescriptionListResultPage

Creates a new instance of the DeviceServiceDescriptionListResultPage type.

func (*DeviceServiceDescriptionListResultPage) Next Uses

func (page *DeviceServiceDescriptionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DeviceServiceDescriptionListResultPage) NextWithContext Uses

func (page *DeviceServiceDescriptionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DeviceServiceDescriptionListResultPage) NotDone Uses

func (page DeviceServiceDescriptionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DeviceServiceDescriptionListResultPage) Response Uses

func (page DeviceServiceDescriptionListResultPage) Response() DeviceServiceDescriptionListResult

Response returns the raw server response from the last page request.

func (DeviceServiceDescriptionListResultPage) Values Uses

func (page DeviceServiceDescriptionListResultPage) Values() []DeviceService

Values returns the slice of values for the current page or nil if there are no values.

type DeviceServiceNameAvailabilityInfo Uses

type DeviceServiceNameAvailabilityInfo struct {
    autorest.Response `json:"-"`
    // NameAvailable - READ-ONLY; The value which indicates whether the provided name is available.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Reason - READ-ONLY; The reason for unavailability. Possible values include: 'Invalid', 'AlreadyExists'
    Reason ServiceNameUnavailabilityReason `json:"reason,omitempty"`
    // Message - The detailed reason message.
    Message *string `json:"message,omitempty"`
}

DeviceServiceNameAvailabilityInfo the properties indicating whether a given Windows IoT Device Service name is available.

type DeviceServiceProperties Uses

type DeviceServiceProperties struct {
    // Notes - Windows IoT Device Service notes.
    Notes *string `json:"notes,omitempty"`
    // StartDate - READ-ONLY; Windows IoT Device Service start date,
    StartDate *date.Time `json:"startDate,omitempty"`
    // Quantity - Windows IoT Device Service device allocation,
    Quantity *int64 `json:"quantity,omitempty"`
    // BillingDomainName - Windows IoT Device Service ODM AAD domain
    BillingDomainName *string `json:"billingDomainName,omitempty"`
    // AdminDomainName - Windows IoT Device Service OEM AAD domain
    AdminDomainName *string `json:"adminDomainName,omitempty"`
}

DeviceServiceProperties the properties of a Windows IoT Device Service.

type ErrorDetails Uses

type ErrorDetails struct {
    // Code - One of a server-defined set of error codes.
    Code *string `json:"code,omitempty"`
    // Message - A human-readable representation of the error.
    Message *string `json:"message,omitempty"`
    // Target - The target of the particular error.
    Target *string `json:"target,omitempty"`
    // Details - A human-readable representation of the error's details.
    Details *string `json:"details,omitempty"`
}

ErrorDetails the details of the error.

type OperationDisplayInfo Uses

type OperationDisplayInfo struct {
    // Description - The description of the operation.
    Description *string `json:"description,omitempty"`
    // Operation - The action that users can perform, based on their permission level.
    Operation *string `json:"operation,omitempty"`
    // Provider - Service provider: Azure Data Catalog Service.
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
}

OperationDisplayInfo the operation supported by Azure Data Catalog Service.

type OperationEntity Uses

type OperationEntity struct {
    // Name - Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The operation supported by Azure Data Catalog Service.
    Display *OperationDisplayInfo `json:"display,omitempty"`
}

OperationEntity the operation supported by Azure Data Catalog Service.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of Windows IoT Device Service operations supported by the Microsoft.WindowsIoT resource provider.
    Value *[]OperationEntity `json:"value,omitempty"`
    // NextLink - READ-ONLY; URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of the request to list Windows IoT Device Service operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

type OperationListResultIterator struct {
    // contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of OperationEntity values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext Uses

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() OperationEntity

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage Uses

type OperationListResultPage struct {
    // contains filtered or unexported fields
}

OperationListResultPage contains a page of OperationEntity values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext Uses

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []OperationEntity

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the use this API to manage the Windows IoT device services in your Azure subscription.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available Windows IoT Services REST API operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

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

func (OperationsClient) ListSender Uses

func (client OperationsClient) 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.

type ProxyResource Uses

type ProxyResource struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

Resource the core properties of ARM resources

type ServiceNameUnavailabilityReason Uses

type ServiceNameUnavailabilityReason string

ServiceNameUnavailabilityReason enumerates the values for service name unavailability reason.

const (
    // AlreadyExists ...
    AlreadyExists ServiceNameUnavailabilityReason = "AlreadyExists"
    // Invalid ...
    Invalid ServiceNameUnavailabilityReason = "Invalid"
)

func PossibleServiceNameUnavailabilityReasonValues Uses

func PossibleServiceNameUnavailabilityReasonValues() []ServiceNameUnavailabilityReason

PossibleServiceNameUnavailabilityReasonValues returns an array of possible values for the ServiceNameUnavailabilityReason const type.

type ServicesClient Uses

type ServicesClient struct {
    BaseClient
}

ServicesClient is the use this API to manage the Windows IoT device services in your Azure subscription.

func NewServicesClient Uses

func NewServicesClient(subscriptionID string) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI Uses

func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient client.

func (ServicesClient) CheckDeviceServiceNameAvailability Uses

func (client ServicesClient) CheckDeviceServiceNameAvailability(ctx context.Context, deviceServiceCheckNameAvailabilityParameters DeviceServiceCheckNameAvailabilityParameters) (result DeviceServiceNameAvailabilityInfo, err error)

CheckDeviceServiceNameAvailability check if a Windows IoT Device Service name is available. Parameters: deviceServiceCheckNameAvailabilityParameters - set the name parameter in the DeviceServiceCheckNameAvailabilityParameters structure to the name of the Windows IoT Device Service to check.

func (ServicesClient) CheckDeviceServiceNameAvailabilityPreparer Uses

func (client ServicesClient) CheckDeviceServiceNameAvailabilityPreparer(ctx context.Context, deviceServiceCheckNameAvailabilityParameters DeviceServiceCheckNameAvailabilityParameters) (*http.Request, error)

CheckDeviceServiceNameAvailabilityPreparer prepares the CheckDeviceServiceNameAvailability request.

func (ServicesClient) CheckDeviceServiceNameAvailabilityResponder Uses

func (client ServicesClient) CheckDeviceServiceNameAvailabilityResponder(resp *http.Response) (result DeviceServiceNameAvailabilityInfo, err error)

CheckDeviceServiceNameAvailabilityResponder handles the response to the CheckDeviceServiceNameAvailability request. The method always closes the http.Response Body.

func (ServicesClient) CheckDeviceServiceNameAvailabilitySender Uses

func (client ServicesClient) CheckDeviceServiceNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) CreateOrUpdate Uses

func (client ServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deviceName string, deviceService DeviceServiceProperties, ifMatch string) (result DeviceService, err error)

CreateOrUpdate create or update the metadata of a Windows IoT Device Service. The usual pattern to modify a property is to retrieve the Windows IoT Device Service metadata and security metadata, and then combine them with the modified values in a new body to update the Windows IoT Device Service. Parameters: resourceGroupName - the name of the resource group that contains the Windows IoT Device Service. deviceName - the name of the Windows IoT Device Service. deviceService - the Windows IoT Device Service metadata and security metadata. ifMatch - eTag of the Windows IoT Device Service. Do not specify for creating a new Windows IoT Device Service. Required to update an existing Windows IoT Device Service.

func (ServicesClient) CreateOrUpdatePreparer Uses

func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, deviceName string, deviceService DeviceServiceProperties, ifMatch string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServicesClient) CreateOrUpdateResponder Uses

func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (result DeviceService, err error)

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

func (ServicesClient) CreateOrUpdateSender Uses

func (client ServicesClient) 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 (ServicesClient) Delete Uses

func (client ServicesClient) Delete(ctx context.Context, resourceGroupName string, deviceName string) (result DeviceService, err error)

Delete delete a Windows IoT Device Service. Parameters: resourceGroupName - the name of the resource group that contains the Windows IoT Device Service. deviceName - the name of the Windows IoT Device Service.

func (ServicesClient) DeletePreparer Uses

func (client ServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, deviceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServicesClient) DeleteResponder Uses

func (client ServicesClient) DeleteResponder(resp *http.Response) (result DeviceService, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ServicesClient) DeleteSender Uses

func (client ServicesClient) 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 (ServicesClient) Get Uses

func (client ServicesClient) Get(ctx context.Context, resourceGroupName string, deviceName string) (result DeviceService, err error)

Get get the non-security related metadata of a Windows IoT Device Service. Parameters: resourceGroupName - the name of the resource group that contains the Windows IoT Device Service. deviceName - the name of the Windows IoT Device Service.

func (ServicesClient) GetPreparer Uses

func (client ServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, deviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder Uses

func (client ServicesClient) GetResponder(resp *http.Response) (result DeviceService, err error)

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

func (ServicesClient) GetSender Uses

func (client ServicesClient) 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 (ServicesClient) List Uses

func (client ServicesClient) List(ctx context.Context) (result DeviceServiceDescriptionListResultPage, err error)

List get all the IoT hubs in a subscription.

func (ServicesClient) ListByResourceGroup Uses

func (client ServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DeviceServiceDescriptionListResultPage, err error)

ListByResourceGroup get all the IoT hubs in a resource group. Parameters: resourceGroupName - the name of the resource group that contains the Windows IoT Device Service.

func (ServicesClient) ListByResourceGroupComplete Uses

func (client ServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DeviceServiceDescriptionListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ServicesClient) ListByResourceGroupPreparer Uses

func (client ServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServicesClient) ListByResourceGroupResponder Uses

func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) (result DeviceServiceDescriptionListResult, err error)

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

func (ServicesClient) ListByResourceGroupSender Uses

func (client ServicesClient) 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 (ServicesClient) ListComplete Uses

func (client ServicesClient) ListComplete(ctx context.Context) (result DeviceServiceDescriptionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ServicesClient) ListPreparer Uses

func (client ServicesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ServicesClient) ListResponder Uses

func (client ServicesClient) ListResponder(resp *http.Response) (result DeviceServiceDescriptionListResult, err error)

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

func (ServicesClient) ListSender Uses

func (client ServicesClient) 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 (ServicesClient) Update Uses

func (client ServicesClient) Update(ctx context.Context, resourceGroupName string, deviceName string, deviceService DeviceServiceProperties, ifMatch string) (result DeviceService, err error)

Update updates the metadata of a Windows IoT Device Service. The usual pattern to modify a property is to retrieve the Windows IoT Device Service metadata and security metadata, and then combine them with the modified values in a new body to update the Windows IoT Device Service. Parameters: resourceGroupName - the name of the resource group that contains the Windows IoT Device Service. deviceName - the name of the Windows IoT Device Service. deviceService - the Windows IoT Device Service metadata and security metadata. ifMatch - eTag of the Windows IoT Device Service. Do not specify for creating a brand new Windows IoT Device Service. Required to update an existing Windows IoT Device Service.

func (ServicesClient) UpdatePreparer Uses

func (client ServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, deviceName string, deviceService DeviceServiceProperties, ifMatch string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServicesClient) UpdateResponder Uses

func (client ServicesClient) UpdateResponder(resp *http.Response) (result DeviceService, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ServicesClient) UpdateSender Uses

func (client ServicesClient) 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 TrackedResource Uses

type TrackedResource struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The Azure Region where the resource lives
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON Uses

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Directories

PathSynopsis
windowsiotapi

Package windowsiot imports 10 packages (graph) and is imported by 3 packages. Updated 2019-08-01. Refresh now. Tools for package owners.