Documentation ¶
Index ¶
- type DeviceService
- type DeviceServiceCheckNameAvailabilityParameters
- type DeviceServiceDescriptionListResult
- type DeviceServiceNameAvailabilityInfo
- type DeviceServiceProperties
- type ErrorDetails
- type ErrorDetailsError
- type OperationDisplayInfo
- type OperationEntity
- type OperationListResult
- type OperationsClient
- type OperationsClientListOptions
- type OperationsClientListResponse
- type ProxyResource
- type Resource
- type ServiceNameUnavailabilityReason
- type ServicesClient
- func (client *ServicesClient) CheckDeviceServiceNameAvailability(ctx context.Context, ...) (ServicesClientCheckDeviceServiceNameAvailabilityResponse, error)
- func (client *ServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deviceName string, ...) (ServicesClientCreateOrUpdateResponse, error)
- func (client *ServicesClient) Delete(ctx context.Context, resourceGroupName string, deviceName string, ...) (ServicesClientDeleteResponse, error)
- func (client *ServicesClient) Get(ctx context.Context, resourceGroupName string, deviceName string, ...) (ServicesClientGetResponse, error)
- func (client *ServicesClient) NewListByResourceGroupPager(resourceGroupName string, options *ServicesClientListByResourceGroupOptions) *runtime.Pager[ServicesClientListByResourceGroupResponse]
- func (client *ServicesClient) NewListPager(options *ServicesClientListOptions) *runtime.Pager[ServicesClientListResponse]
- func (client *ServicesClient) Update(ctx context.Context, resourceGroupName string, deviceName string, ...) (ServicesClientUpdateResponse, error)
- type ServicesClientCheckDeviceServiceNameAvailabilityOptions
- type ServicesClientCheckDeviceServiceNameAvailabilityResponse
- type ServicesClientCreateOrUpdateOptions
- type ServicesClientCreateOrUpdateResponse
- type ServicesClientDeleteOptions
- type ServicesClientDeleteResponse
- type ServicesClientGetOptions
- type ServicesClientGetResponse
- type ServicesClientListByResourceGroupOptions
- type ServicesClientListByResourceGroupResponse
- type ServicesClientListOptions
- type ServicesClientListResponse
- type ServicesClientUpdateOptions
- type ServicesClientUpdateResponse
- type TrackedResource
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceService ¶
type DeviceService struct { // 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"` // The Azure Region where the resource lives Location *string `json:"location,omitempty"` // The properties of a Windows IoT Device Service. Properties *DeviceServiceProperties `json:"properties,omitempty"` // Resource tags. Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; Fully qualified resource Id for the resource ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
DeviceService - The description of the Windows IoT Device Service.
func (DeviceService) MarshalJSON ¶
func (d DeviceService) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeviceService.
type DeviceServiceCheckNameAvailabilityParameters ¶
type DeviceServiceCheckNameAvailabilityParameters struct { // REQUIRED; The name of the Windows IoT Device Service to check. Name *string `json:"name,omitempty"` }
DeviceServiceCheckNameAvailabilityParameters - Input values.
type DeviceServiceDescriptionListResult ¶
type DeviceServiceDescriptionListResult struct { // The array of DeviceService objects. Value []*DeviceService `json:"value,omitempty"` // READ-ONLY; The next link. NextLink *string `json:"nextLink,omitempty" azure:"ro"` }
DeviceServiceDescriptionListResult - The JSON-serialized array of DeviceService objects with a next link.
func (DeviceServiceDescriptionListResult) MarshalJSON ¶
func (d DeviceServiceDescriptionListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeviceServiceDescriptionListResult.
type DeviceServiceNameAvailabilityInfo ¶
type DeviceServiceNameAvailabilityInfo struct { // The detailed reason message. Message *string `json:"message,omitempty"` // READ-ONLY; The value which indicates whether the provided name is available. NameAvailable *bool `json:"nameAvailable,omitempty" azure:"ro"` // READ-ONLY; The reason for unavailability. Reason *ServiceNameUnavailabilityReason `json:"reason,omitempty" azure:"ro"` }
DeviceServiceNameAvailabilityInfo - The properties indicating whether a given Windows IoT Device Service name is available.
type DeviceServiceProperties ¶
type DeviceServiceProperties struct { // Windows IoT Device Service OEM AAD domain AdminDomainName *string `json:"adminDomainName,omitempty"` // Windows IoT Device Service ODM AAD domain BillingDomainName *string `json:"billingDomainName,omitempty"` // Windows IoT Device Service notes. Notes *string `json:"notes,omitempty"` // Windows IoT Device Service device allocation, Quantity *int64 `json:"quantity,omitempty"` // READ-ONLY; Windows IoT Device Service start date, StartDate *time.Time `json:"startDate,omitempty" azure:"ro"` }
DeviceServiceProperties - The properties of a Windows IoT Device Service.
func (DeviceServiceProperties) MarshalJSON ¶
func (d DeviceServiceProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeviceServiceProperties.
func (*DeviceServiceProperties) UnmarshalJSON ¶
func (d *DeviceServiceProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeviceServiceProperties.
type ErrorDetails ¶
type ErrorDetails struct { // The error object. Error *ErrorDetailsError `json:"error,omitempty"` }
ErrorDetails - The details of the error.
type ErrorDetailsError ¶
type ErrorDetailsError struct { // One of a server-defined set of error codes. Code *string `json:"code,omitempty"` // A human-readable representation of the error's details. Details *string `json:"details,omitempty"` // A human-readable representation of the error. Message *string `json:"message,omitempty"` // The target of the particular error. Target *string `json:"target,omitempty"` }
ErrorDetailsError - The error object.
type OperationDisplayInfo ¶
type OperationDisplayInfo struct { // The description of the operation. Description *string `json:"description,omitempty"` // The action that users can perform, based on their permission level. Operation *string `json:"operation,omitempty"` // Service provider: Azure Data Catalog Service. Provider *string `json:"provider,omitempty"` // Resource on which the operation is performed. Resource *string `json:"resource,omitempty"` }
OperationDisplayInfo - The operation supported by Azure Data Catalog Service.
type OperationEntity ¶
type OperationEntity struct { // The operation supported by Azure Data Catalog Service. Display *OperationDisplayInfo `json:"display,omitempty"` // Indicates whether the operation is a data action IsDataAction *bool `json:"isDataAction,omitempty"` // Operation name: {provider}/{resource}/{operation}. Name *string `json:"name,omitempty"` // Indicates the executor of the operation. Origin *string `json:"origin,omitempty"` }
OperationEntity - The operation supported by Azure Data Catalog Service.
type OperationListResult ¶
type OperationListResult struct { // READ-ONLY; URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty" azure:"ro"` // READ-ONLY; List of Windows IoT Device Service operations supported by the Microsoft.WindowsIoT resource provider. Value []*OperationEntity `json:"value,omitempty" azure:"ro"` }
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) MarshalJSON ¶
func (o OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationListResult.
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)
NewOperationsClient creates a new instance of OperationsClient with the specified values. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*OperationsClient) NewListPager ¶ added in v0.4.0
func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]
NewListPager - Lists all of the available Windows IoT Services REST API operations. If the operation fails it returns an *azcore.ResponseError type. options - OperationsClientListOptions contains the optional parameters for the OperationsClient.List method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) return } ctx := context.Background() client, err := armwindowsiot.NewOperationsClient(cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) return } pager := client.NewListPager(nil) for pager.More() { nextResult, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) return } for _, v := range nextResult.Value { // TODO: use page item _ = v } } }
Output:
type OperationsClientListOptions ¶ added in v0.2.0
type OperationsClientListOptions struct { }
OperationsClientListOptions contains the optional parameters for the OperationsClient.List method.
type OperationsClientListResponse ¶ added in v0.2.0
type OperationsClientListResponse struct {
OperationListResult
}
OperationsClientListResponse contains the response from method OperationsClient.List.
type ProxyResource ¶
type ProxyResource struct { // READ-ONLY; Fully qualified resource Id for the resource ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
ProxyResource - The resource model definition for a ARM proxy resource. It will have everything other than required location and tags
type Resource ¶
type Resource struct { // READ-ONLY; Fully qualified resource Id for the resource ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
Resource - The core properties of ARM resources
type ServiceNameUnavailabilityReason ¶
type ServiceNameUnavailabilityReason string
ServiceNameUnavailabilityReason - The reason for unavailability.
const ()
func PossibleServiceNameUnavailabilityReasonValues ¶
func PossibleServiceNameUnavailabilityReasonValues() []ServiceNameUnavailabilityReason
PossibleServiceNameUnavailabilityReasonValues returns the possible values for the ServiceNameUnavailabilityReason const type.
type ServicesClient ¶
type ServicesClient struct {
// contains filtered or unexported fields
}
ServicesClient contains the methods for the Services group. Don't use this type directly, use NewServicesClient() instead.
func NewServicesClient ¶
func NewServicesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ServicesClient, error)
NewServicesClient creates a new instance of ServicesClient with the specified values. subscriptionID - The subscription identifier. credential - used to authorize requests. Usually a credential from azidentity. options - pass nil to accept the default values.
func (*ServicesClient) CheckDeviceServiceNameAvailability ¶
func (client *ServicesClient) CheckDeviceServiceNameAvailability(ctx context.Context, deviceServiceCheckNameAvailabilityParameters DeviceServiceCheckNameAvailabilityParameters, options *ServicesClientCheckDeviceServiceNameAvailabilityOptions) (ServicesClientCheckDeviceServiceNameAvailabilityResponse, error)
CheckDeviceServiceNameAvailability - Check if a Windows IoT Device Service name is available. If the operation fails it returns an *azcore.ResponseError type. deviceServiceCheckNameAvailabilityParameters - Set the name parameter in the DeviceServiceCheckNameAvailabilityParameters structure to the name of the Windows IoT Device Service to check. options - ServicesClientCheckDeviceServiceNameAvailabilityOptions contains the optional parameters for the ServicesClient.CheckDeviceServiceNameAvailability method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_CheckNameAvailability.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) return } ctx := context.Background() client, err := armwindowsiot.NewServicesClient("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) return } res, err := client.CheckDeviceServiceNameAvailability(ctx, armwindowsiot.DeviceServiceCheckNameAvailabilityParameters{ Name: to.Ptr("<name>"), }, nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) return } // TODO: use response item _ = res }
Output:
func (*ServicesClient) CreateOrUpdate ¶
func (client *ServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deviceName string, deviceService DeviceService, options *ServicesClientCreateOrUpdateOptions) (ServicesClientCreateOrUpdateResponse, 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. If the operation fails it returns an *azcore.ResponseError type. 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. options - ServicesClientCreateOrUpdateOptions contains the optional parameters for the ServicesClient.CreateOrUpdate method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Create.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) return } ctx := context.Background() client, err := armwindowsiot.NewServicesClient("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) return } res, err := client.CreateOrUpdate(ctx, "<resource-group-name>", "<device-name>", armwindowsiot.DeviceService{ Location: to.Ptr("<location>"), Properties: &armwindowsiot.DeviceServiceProperties{ AdminDomainName: to.Ptr("<admin-domain-name>"), BillingDomainName: to.Ptr("<billing-domain-name>"), Notes: to.Ptr("<notes>"), Quantity: to.Ptr[int64](1000000), }, }, &armwindowsiot.ServicesClientCreateOrUpdateOptions{IfMatch: nil}) if err != nil { log.Fatalf("failed to finish the request: %v", err) return } // TODO: use response item _ = res }
Output:
func (*ServicesClient) Delete ¶
func (client *ServicesClient) Delete(ctx context.Context, resourceGroupName string, deviceName string, options *ServicesClientDeleteOptions) (ServicesClientDeleteResponse, error)
Delete - Delete a Windows IoT Device Service. If the operation fails it returns an *azcore.ResponseError type. resourceGroupName - The name of the resource group that contains the Windows IoT Device Service. deviceName - The name of the Windows IoT Device Service. options - ServicesClientDeleteOptions contains the optional parameters for the ServicesClient.Delete method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Delete.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) return } ctx := context.Background() client, err := armwindowsiot.NewServicesClient("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) return } res, err := client.Delete(ctx, "<resource-group-name>", "<device-name>", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) return } // TODO: use response item _ = res }
Output:
func (*ServicesClient) Get ¶
func (client *ServicesClient) Get(ctx context.Context, resourceGroupName string, deviceName string, options *ServicesClientGetOptions) (ServicesClientGetResponse, error)
Get - Get the non-security related metadata of a Windows IoT Device Service. If the operation fails it returns an *azcore.ResponseError type. resourceGroupName - The name of the resource group that contains the Windows IoT Device Service. deviceName - The name of the Windows IoT Device Service. options - ServicesClientGetOptions contains the optional parameters for the ServicesClient.Get method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_GetProperties.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) return } ctx := context.Background() client, err := armwindowsiot.NewServicesClient("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) return } res, err := client.Get(ctx, "<resource-group-name>", "<device-name>", nil) if err != nil { log.Fatalf("failed to finish the request: %v", err) return } // TODO: use response item _ = res }
Output:
func (*ServicesClient) NewListByResourceGroupPager ¶ added in v0.4.0
func (client *ServicesClient) NewListByResourceGroupPager(resourceGroupName string, options *ServicesClientListByResourceGroupOptions) *runtime.Pager[ServicesClientListByResourceGroupResponse]
NewListByResourceGroupPager - Get all the IoT hubs in a resource group. If the operation fails it returns an *azcore.ResponseError type. resourceGroupName - The name of the resource group that contains the Windows IoT Device Service. options - ServicesClientListByResourceGroupOptions contains the optional parameters for the ServicesClient.ListByResourceGroup method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_ListByResourceGroup.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) return } ctx := context.Background() client, err := armwindowsiot.NewServicesClient("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) return } pager := client.NewListByResourceGroupPager("<resource-group-name>", nil) for pager.More() { nextResult, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) return } for _, v := range nextResult.Value { // TODO: use page item _ = v } } }
Output:
func (*ServicesClient) NewListPager ¶ added in v0.4.0
func (client *ServicesClient) NewListPager(options *ServicesClientListOptions) *runtime.Pager[ServicesClientListResponse]
NewListPager - Get all the IoT hubs in a subscription. If the operation fails it returns an *azcore.ResponseError type. options - ServicesClientListOptions contains the optional parameters for the ServicesClient.List method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_List.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) return } ctx := context.Background() client, err := armwindowsiot.NewServicesClient("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) return } pager := client.NewListPager(nil) for pager.More() { nextResult, err := pager.NextPage(ctx) if err != nil { log.Fatalf("failed to advance page: %v", err) return } for _, v := range nextResult.Value { // TODO: use page item _ = v } } }
Output:
func (*ServicesClient) Update ¶
func (client *ServicesClient) Update(ctx context.Context, resourceGroupName string, deviceName string, deviceService DeviceService, options *ServicesClientUpdateOptions) (ServicesClientUpdateResponse, 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. If the operation fails it returns an *azcore.ResponseError type. 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. options - ServicesClientUpdateOptions contains the optional parameters for the ServicesClient.Update method.
Example ¶
Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/Service_Update.json
package main import ( "context" "log" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot" ) func main() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { log.Fatalf("failed to obtain a credential: %v", err) return } ctx := context.Background() client, err := armwindowsiot.NewServicesClient("<subscription-id>", cred, nil) if err != nil { log.Fatalf("failed to create client: %v", err) return } res, err := client.Update(ctx, "<resource-group-name>", "<device-name>", armwindowsiot.DeviceService{ Location: to.Ptr("<location>"), Properties: &armwindowsiot.DeviceServiceProperties{ AdminDomainName: to.Ptr("<admin-domain-name>"), BillingDomainName: to.Ptr("<billing-domain-name>"), Notes: to.Ptr("<notes>"), Quantity: to.Ptr[int64](1000000), }, }, &armwindowsiot.ServicesClientUpdateOptions{IfMatch: nil}) if err != nil { log.Fatalf("failed to finish the request: %v", err) return } // TODO: use response item _ = res }
Output:
type ServicesClientCheckDeviceServiceNameAvailabilityOptions ¶ added in v0.2.0
type ServicesClientCheckDeviceServiceNameAvailabilityOptions struct { }
ServicesClientCheckDeviceServiceNameAvailabilityOptions contains the optional parameters for the ServicesClient.CheckDeviceServiceNameAvailability method.
type ServicesClientCheckDeviceServiceNameAvailabilityResponse ¶ added in v0.2.0
type ServicesClientCheckDeviceServiceNameAvailabilityResponse struct {
DeviceServiceNameAvailabilityInfo
}
ServicesClientCheckDeviceServiceNameAvailabilityResponse contains the response from method ServicesClient.CheckDeviceServiceNameAvailability.
type ServicesClientCreateOrUpdateOptions ¶ added in v0.2.0
type ServicesClientCreateOrUpdateOptions struct { // 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. IfMatch *string }
ServicesClientCreateOrUpdateOptions contains the optional parameters for the ServicesClient.CreateOrUpdate method.
type ServicesClientCreateOrUpdateResponse ¶ added in v0.2.0
type ServicesClientCreateOrUpdateResponse struct {
DeviceService
}
ServicesClientCreateOrUpdateResponse contains the response from method ServicesClient.CreateOrUpdate.
type ServicesClientDeleteOptions ¶ added in v0.2.0
type ServicesClientDeleteOptions struct { }
ServicesClientDeleteOptions contains the optional parameters for the ServicesClient.Delete method.
type ServicesClientDeleteResponse ¶ added in v0.2.0
type ServicesClientDeleteResponse struct {
DeviceService
}
ServicesClientDeleteResponse contains the response from method ServicesClient.Delete.
type ServicesClientGetOptions ¶ added in v0.2.0
type ServicesClientGetOptions struct { }
ServicesClientGetOptions contains the optional parameters for the ServicesClient.Get method.
type ServicesClientGetResponse ¶ added in v0.2.0
type ServicesClientGetResponse struct {
DeviceService
}
ServicesClientGetResponse contains the response from method ServicesClient.Get.
type ServicesClientListByResourceGroupOptions ¶ added in v0.2.0
type ServicesClientListByResourceGroupOptions struct { }
ServicesClientListByResourceGroupOptions contains the optional parameters for the ServicesClient.ListByResourceGroup method.
type ServicesClientListByResourceGroupResponse ¶ added in v0.2.0
type ServicesClientListByResourceGroupResponse struct {
DeviceServiceDescriptionListResult
}
ServicesClientListByResourceGroupResponse contains the response from method ServicesClient.ListByResourceGroup.
type ServicesClientListOptions ¶ added in v0.2.0
type ServicesClientListOptions struct { }
ServicesClientListOptions contains the optional parameters for the ServicesClient.List method.
type ServicesClientListResponse ¶ added in v0.2.0
type ServicesClientListResponse struct {
DeviceServiceDescriptionListResult
}
ServicesClientListResponse contains the response from method ServicesClient.List.
type ServicesClientUpdateOptions ¶ added in v0.2.0
type ServicesClientUpdateOptions struct { // 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. IfMatch *string }
ServicesClientUpdateOptions contains the optional parameters for the ServicesClient.Update method.
type ServicesClientUpdateResponse ¶ added in v0.2.0
type ServicesClientUpdateResponse struct {
DeviceService
}
ServicesClientUpdateResponse contains the response from method ServicesClient.Update.
type TrackedResource ¶
type TrackedResource struct { // The Azure Region where the resource lives Location *string `json:"location,omitempty"` // Resource tags. Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; Fully qualified resource Id for the resource ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
TrackedResource - The resource model definition for a ARM tracked top level resource
func (TrackedResource) MarshalJSON ¶
func (t TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TrackedResource.