Categorygithub.com/Azure/azure-sdk-for-go/sdk/resourcemanager/deviceupdate/armdeviceupdate
modulepackage
1.3.0
Repository: https://github.com/azure/azure-sdk-for-go.git
Documentation: pkg.go.dev

# README

Azure Device Update Module for Go

PkgGoDev

The armdeviceupdate module provides operations for working with Azure Device Update.

Source code

Getting started

Prerequisites

  • an Azure subscription
  • Go 1.18 or above (You could download and install the latest version of Go from here. It will replace the existing Go on your machine. If you want to install multiple Go versions on the same machine, you could refer this doc.)

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Device Update module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/deviceupdate/armdeviceupdate

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Device Update. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Client Factory

Azure Device Update module consists of one or more clients. We provide a client factory which could be used to create any client in this module.

clientFactory, err := armdeviceupdate.NewClientFactory(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options := arm.ClientOptions {
    ClientOptions: azcore.ClientOptions {
        Cloud: cloud.AzureChina,
    },
}
clientFactory, err := armdeviceupdate.NewClientFactory(<subscription ID>, cred, &options)

Clients

A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.

client := clientFactory.NewAccountsClient()

Fakes

The fake package contains types used for constructing in-memory fake servers used in unit tests. This allows writing tests to cover various success/error conditions without the need for connecting to a live service.

Please see https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/samples/fakes for details and examples on how to use fakes.

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Device Update label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

# Packages

No description provided by the author

# Functions

NewAccountsClient creates a new instance of AccountsClient with the specified values.
NewClient creates a new instance of Client with the specified values.
NewClientFactory creates a new instance of ClientFactory with the specified values.
NewInstancesClient creates a new instance of InstancesClient with the specified values.
NewOperationsClient creates a new instance of OperationsClient with the specified values.
NewPrivateEndpointConnectionProxiesClient creates a new instance of PrivateEndpointConnectionProxiesClient with the specified values.
NewPrivateEndpointConnectionsClient creates a new instance of PrivateEndpointConnectionsClient with the specified values.
NewPrivateLinkResourcesClient creates a new instance of PrivateLinkResourcesClient with the specified values.
PossibleActionTypeValues returns the possible values for the ActionType const type.
PossibleAuthenticationTypeValues returns the possible values for the AuthenticationType const type.
PossibleCheckNameAvailabilityReasonValues returns the possible values for the CheckNameAvailabilityReason const type.
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
PossibleGroupIDProvisioningStateValues returns the possible values for the GroupIDProvisioningState const type.
PossibleManagedServiceIdentityTypeValues returns the possible values for the ManagedServiceIdentityType const type.
PossibleOriginValues returns the possible values for the Origin const type.
PossiblePrivateEndpointConnectionProvisioningStateValues returns the possible values for the PrivateEndpointConnectionProvisioningState const type.
PossiblePrivateEndpointConnectionProxyProvisioningStateValues returns the possible values for the PrivateEndpointConnectionProxyProvisioningState const type.
PossiblePrivateEndpointServiceConnectionStatusValues returns the possible values for the PrivateEndpointServiceConnectionStatus const type.
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
PossiblePublicNetworkAccessValues returns the possible values for the PublicNetworkAccess const type.
PossibleRoleValues returns the possible values for the Role const type.
PossibleSKUValues returns the possible values for the SKU const type.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Account - Device Update account details.
AccountList - List of Accounts.
AccountProperties - Device Update account properties.
AccountsClient contains the methods for the Accounts group.
AccountsClientBeginCreateOptions contains the optional parameters for the AccountsClient.BeginCreate method.
AccountsClientBeginDeleteOptions contains the optional parameters for the AccountsClient.BeginDelete method.
AccountsClientBeginUpdateOptions contains the optional parameters for the AccountsClient.BeginUpdate method.
AccountsClientCreateResponse contains the response from method AccountsClient.BeginCreate.
AccountsClientDeleteResponse contains the response from method AccountsClient.BeginDelete.
AccountsClientGetOptions contains the optional parameters for the AccountsClient.Get method.
AccountsClientGetResponse contains the response from method AccountsClient.Get.
AccountsClientHeadOptions contains the optional parameters for the AccountsClient.Head method.
AccountsClientHeadResponse contains the response from method AccountsClient.Head.
AccountsClientListByResourceGroupOptions contains the optional parameters for the AccountsClient.NewListByResourceGroupPager method.
AccountsClientListByResourceGroupResponse contains the response from method AccountsClient.NewListByResourceGroupPager.
AccountsClientListBySubscriptionOptions contains the optional parameters for the AccountsClient.NewListBySubscriptionPager method.
AccountsClientListBySubscriptionResponse contains the response from method AccountsClient.NewListBySubscriptionPager.
AccountsClientUpdateResponse contains the response from method AccountsClient.BeginUpdate.
AccountUpdate - Request payload used to update and existing Accounts.
CheckNameAvailabilityRequest - The check availability request body.
CheckNameAvailabilityResponse - The check availability result.
Client contains the methods for the DeviceUpdate group.
ClientCheckNameAvailabilityOptions contains the optional parameters for the Client.CheckNameAvailability method.
ClientCheckNameAvailabilityResponse contains the response from method Client.CheckNameAvailability.
ClientFactory is a client factory used to create any client in this module.
ConnectionDetails - Private endpoint connection proxy object properties.
DiagnosticStorageProperties - Customer-initiated diagnostic log collection storage properties.
Encryption - The CMK encryption settings on the Device Update account.
ErrorAdditionalInfo - The resource management error additional info.
ErrorDetail - The error detail.
ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations.
GroupConnectivityInformation - Group connectivity details.
GroupInformation - The group information for creating a private endpoint on an Account.
GroupInformationProperties - The properties for a group information object.
Instance - Device Update instance details.
InstanceList - List of Instances.
InstanceProperties - Device Update instance properties.
InstancesClient contains the methods for the Instances group.
InstancesClientBeginCreateOptions contains the optional parameters for the InstancesClient.BeginCreate method.
InstancesClientBeginDeleteOptions contains the optional parameters for the InstancesClient.BeginDelete method.
InstancesClientCreateResponse contains the response from method InstancesClient.BeginCreate.
InstancesClientDeleteResponse contains the response from method InstancesClient.BeginDelete.
InstancesClientGetOptions contains the optional parameters for the InstancesClient.Get method.
InstancesClientGetResponse contains the response from method InstancesClient.Get.
InstancesClientHeadOptions contains the optional parameters for the InstancesClient.Head method.
InstancesClientHeadResponse contains the response from method InstancesClient.Head.
InstancesClientListByAccountOptions contains the optional parameters for the InstancesClient.NewListByAccountPager method.
InstancesClientListByAccountResponse contains the response from method InstancesClient.NewListByAccountPager.
InstancesClientUpdateOptions contains the optional parameters for the InstancesClient.Update method.
InstancesClientUpdateResponse contains the response from method InstancesClient.Update.
IotHubSettings - Device Update account integration with IoT Hub settings.
No description provided by the author
ManagedServiceIdentity - Managed service identity (system assigned and/or user assigned identities).
Operation - Details of a REST API operation, returned from the Resource Provider Operations API.
OperationDisplay - Localized display information for this particular operation.
OperationListResult - A list of REST API operations supported by an Azure Resource Provider.
OperationsClient contains the methods for the Operations group.
OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
OperationsClientListResponse contains the response from method OperationsClient.NewListPager.
PrivateEndpoint - The Private Endpoint resource.
PrivateEndpointConnection - The Private Endpoint Connection resource.
PrivateEndpointConnectionListResult - List of private endpoint connection associated with the specified storage account.
PrivateEndpointConnectionProperties - Properties of the PrivateEndpointConnectProperties.
PrivateEndpointConnectionProxiesClient contains the methods for the PrivateEndpointConnectionProxies group.
PrivateEndpointConnectionProxiesClientBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointConnectionProxiesClient.BeginCreateOrUpdate method.
PrivateEndpointConnectionProxiesClientBeginDeleteOptions contains the optional parameters for the PrivateEndpointConnectionProxiesClient.BeginDelete method.
PrivateEndpointConnectionProxiesClientCreateOrUpdateResponse contains the response from method PrivateEndpointConnectionProxiesClient.BeginCreateOrUpdate.
PrivateEndpointConnectionProxiesClientDeleteResponse contains the response from method PrivateEndpointConnectionProxiesClient.BeginDelete.
PrivateEndpointConnectionProxiesClientGetOptions contains the optional parameters for the PrivateEndpointConnectionProxiesClient.Get method.
PrivateEndpointConnectionProxiesClientGetResponse contains the response from method PrivateEndpointConnectionProxiesClient.Get.
PrivateEndpointConnectionProxiesClientListByAccountOptions contains the optional parameters for the PrivateEndpointConnectionProxiesClient.NewListByAccountPager method.
PrivateEndpointConnectionProxiesClientListByAccountResponse contains the response from method PrivateEndpointConnectionProxiesClient.NewListByAccountPager.
PrivateEndpointConnectionProxiesClientUpdatePrivateEndpointPropertiesOptions contains the optional parameters for the PrivateEndpointConnectionProxiesClient.UpdatePrivateEndpointProperties method.
PrivateEndpointConnectionProxiesClientUpdatePrivateEndpointPropertiesResponse contains the response from method PrivateEndpointConnectionProxiesClient.UpdatePrivateEndpointProperties.
PrivateEndpointConnectionProxiesClientValidateOptions contains the optional parameters for the PrivateEndpointConnectionProxiesClient.Validate method.
PrivateEndpointConnectionProxiesClientValidateResponse contains the response from method PrivateEndpointConnectionProxiesClient.Validate.
PrivateEndpointConnectionProxy - Private endpoint connection proxy details.
PrivateEndpointConnectionProxyListResult - The available private endpoint connection proxies for an Account (not to be used by anyone, here because of ARM requirements).
PrivateEndpointConnectionProxyProperties - Private endpoint connection proxy object property bag.
PrivateEndpointConnectionProxyPropertiesAutoGenerated - Private endpoint connection proxy object properties.
PrivateEndpointConnectionsClient contains the methods for the PrivateEndpointConnections group.
PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointConnectionsClient.BeginCreateOrUpdate method.
PrivateEndpointConnectionsClientBeginDeleteOptions contains the optional parameters for the PrivateEndpointConnectionsClient.BeginDelete method.
PrivateEndpointConnectionsClientCreateOrUpdateResponse contains the response from method PrivateEndpointConnectionsClient.BeginCreateOrUpdate.
PrivateEndpointConnectionsClientDeleteResponse contains the response from method PrivateEndpointConnectionsClient.BeginDelete.
PrivateEndpointConnectionsClientGetOptions contains the optional parameters for the PrivateEndpointConnectionsClient.Get method.
PrivateEndpointConnectionsClientGetResponse contains the response from method PrivateEndpointConnectionsClient.Get.
PrivateEndpointConnectionsClientListByAccountOptions contains the optional parameters for the PrivateEndpointConnectionsClient.NewListByAccountPager method.
PrivateEndpointConnectionsClientListByAccountResponse contains the response from method PrivateEndpointConnectionsClient.NewListByAccountPager.
PrivateEndpointUpdate - Private endpoint update details.
PrivateLinkResourceListResult - The available private link resources for an Account.
PrivateLinkResourceProperties - Properties of a private link resource.
PrivateLinkResourcesClient contains the methods for the PrivateLinkResources group.
PrivateLinkResourcesClientGetOptions contains the optional parameters for the PrivateLinkResourcesClient.Get method.
PrivateLinkResourcesClientGetResponse contains the response from method PrivateLinkResourcesClient.Get.
PrivateLinkResourcesClientListByAccountOptions contains the optional parameters for the PrivateLinkResourcesClient.NewListByAccountPager method.
PrivateLinkResourcesClientListByAccountResponse contains the response from method PrivateLinkResourcesClient.NewListByAccountPager.
PrivateLinkServiceConnection - Private link service connection details.
PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
PrivateLinkServiceProxy - Private link service proxy details.
PrivateLinkServiceProxyRemotePrivateEndpointConnection - Remote private endpoint connection details.
ProxyResource - The resource model definition for a Azure Resource Manager proxy resource.
RemotePrivateEndpoint - Remote private endpoint details.
RemotePrivateEndpointConnection - Remote private endpoint connection details.
Resource - Common fields that are returned in the response for all Azure Resource Manager resources.
SystemData - Metadata pertaining to creation and last modification of the resource.
TagUpdate - Request payload used to update an existing resource's tags.
TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'.
UserAssignedIdentity - User assigned identity properties.

# Type aliases

ActionType - Enum.
AuthenticationType - Authentication Type.
CheckNameAvailabilityReason - The reason why the given name is not available.
CreatedByType - The type of identity that created the resource.
GroupIDProvisioningState - The provisioning state of private link group ID.
ManagedServiceIdentityType - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
Origin - The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX.
PrivateEndpointConnectionProvisioningState - The current provisioning state.
PrivateEndpointConnectionProxyProvisioningState - The current provisioning state.
PrivateEndpointServiceConnectionStatus - The private endpoint connection status.
ProvisioningState - Provisioning state.
PublicNetworkAccess - Whether or not public network access is allowed for the account.
Role - Whether the location is primary or failover.
SKU - Device Update Sku.