iothub

package
v17.3.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package iothub implements the Azure ARM Iothub service API version 2017-08-21-preview.

API for using the Azure IoT Hub Device Provisioning Service features.

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

Copyright (c) Microsoft and contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. UserAgent returns the UserAgent string to use when sending http.Requests.

func Version deprecated

func Version() string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type AccessRightsDescription deprecated

type AccessRightsDescription string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. AccessRightsDescription enumerates the values for access rights description.

const (
	// DeviceConnect ...
	DeviceConnect AccessRightsDescription = "DeviceConnect"
	// EnrollmentRead ...
	EnrollmentRead AccessRightsDescription = "EnrollmentRead"
	// EnrollmentWrite ...
	EnrollmentWrite AccessRightsDescription = "EnrollmentWrite"
	// RegistrationStatusRead ...
	RegistrationStatusRead AccessRightsDescription = "RegistrationStatusRead"
	// RegistrationStatusWrite ...
	RegistrationStatusWrite AccessRightsDescription = "RegistrationStatusWrite"
	// ServiceConfig ...
	ServiceConfig AccessRightsDescription = "ServiceConfig"
)

func PossibleAccessRightsDescriptionValues deprecated

func PossibleAccessRightsDescriptionValues() []AccessRightsDescription

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. PossibleAccessRightsDescriptionValues returns an array of possible values for the AccessRightsDescription const type.

type AllocationPolicy deprecated

type AllocationPolicy string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. AllocationPolicy enumerates the values for allocation policy.

const (
	// GeoLatency ...
	GeoLatency AllocationPolicy = "GeoLatency"
	// Hashed ...
	Hashed AllocationPolicy = "Hashed"
	// Static ...
	Static AllocationPolicy = "Static"
)

func PossibleAllocationPolicyValues deprecated

func PossibleAllocationPolicyValues() []AllocationPolicy

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. PossibleAllocationPolicyValues returns an array of possible values for the AllocationPolicy const type.

type AsyncOperationResult deprecated

type AsyncOperationResult struct {
	autorest.Response `json:"-"`
	Status            *string        `json:"status,omitempty"`
	Error             *ErrorMesssage `json:"error,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. AsyncOperationResult result of a long running operation.

type BaseClient deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. BaseClient is the base client for Iothub.

func New deprecated

func New(subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. New creates an instance of the BaseClient client.

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewWithBaseURI creates an instance of the BaseClient client.

type CertificateBodyDescription deprecated

type CertificateBodyDescription struct {
	// Certificate - Base-64 representation of the X509 leaf certificate .cer file or just .pem file content.
	Certificate *string `json:"certificate,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CertificateBodyDescription the JSON-serialized X509 Certificate.

type CertificateListDescription deprecated

type CertificateListDescription struct {
	autorest.Response `json:"-"`
	// Value - The array of Certificate objects.
	Value *[]CertificateResponse `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CertificateListDescription the JSON-serialized array of Certificate objects.

type CertificateProperties deprecated

type CertificateProperties struct {
	// Subject - The certificate's subject name.
	Subject *string `json:"subject,omitempty"`
	// Expiry - The certificate's expiration date and time.
	Expiry *date.TimeRFC1123 `json:"expiry,omitempty"`
	// Thumbprint - The certificate's thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// IsVerified - Determines whether certificate has been verified.
	IsVerified *bool `json:"isVerified,omitempty"`
	// Created - The certificate's creation date and time.
	Created *date.TimeRFC1123 `json:"created,omitempty"`
	// Updated - The certificate's last update date and time.
	Updated *date.TimeRFC1123 `json:"updated,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CertificateProperties the description of an X509 CA Certificate.

type CertificatePurpose deprecated

type CertificatePurpose string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CertificatePurpose enumerates the values for certificate purpose.

const (
	// ClientAuthentication ...
	ClientAuthentication CertificatePurpose = "clientAuthentication"
	// ServerAuthentication ...
	ServerAuthentication CertificatePurpose = "serverAuthentication"
)

func PossibleCertificatePurposeValues deprecated

func PossibleCertificatePurposeValues() []CertificatePurpose

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. PossibleCertificatePurposeValues returns an array of possible values for the CertificatePurpose const type.

type CertificateResponse deprecated

type CertificateResponse struct {
	autorest.Response `json:"-"`
	Properties        *CertificateProperties `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name of the certificate.
	Name *string `json:"name,omitempty"`
	// Etag - The entity tag.
	Etag *string `json:"etag,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CertificateResponse the X509 Certificate.

type DefinitionDescription deprecated

type DefinitionDescription struct {
	ApplyAllocationPolicy *bool  `json:"applyAllocationPolicy,omitempty"`
	AllocationWeight      *int32 `json:"allocationWeight,omitempty"`
	// Name - Host name of the IoT hub.
	Name *string `json:"name,omitempty"`
	// ConnectionString - Connection string og the IoT hub.
	ConnectionString *string `json:"connectionString,omitempty"`
	// Location - ARM region of the IoT hub.
	Location *string `json:"location,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DefinitionDescription description of the IoT hub.

type DpsCertificateClient deprecated

type DpsCertificateClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DpsCertificateClient is the API for using the Azure IoT Hub Device Provisioning Service features.

func NewDpsCertificateClient deprecated

func NewDpsCertificateClient(subscriptionID string) DpsCertificateClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewDpsCertificateClient creates an instance of the DpsCertificateClient client.

func NewDpsCertificateClientWithBaseURI deprecated

func NewDpsCertificateClientWithBaseURI(baseURI string, subscriptionID string) DpsCertificateClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewDpsCertificateClientWithBaseURI creates an instance of the DpsCertificateClient client.

func (DpsCertificateClient) CreateOrUpdate deprecated

func (client DpsCertificateClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, provisioningServiceName string, certificateName string, certificateDescription CertificateBodyDescription, ifMatch string) (result CertificateResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CreateOrUpdate add new certificate or update an existing certificate.

resourceGroupName is resource group identifier. provisioningServiceName is the name of the provisioning service. certificateName is the name of the certificate create or update. certificateDescription is the certificate body. ifMatch is eTag of the certificate. This is required to update an existing certificate, and ignored while creating a brand new certificate.

func (DpsCertificateClient) CreateOrUpdatePreparer deprecated

func (client DpsCertificateClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, provisioningServiceName string, certificateName string, certificateDescription CertificateBodyDescription, ifMatch string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DpsCertificateClient) CreateOrUpdateResponder deprecated

func (client DpsCertificateClient) CreateOrUpdateResponder(resp *http.Response) (result CertificateResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DpsCertificateClient) CreateOrUpdateSender deprecated

func (client DpsCertificateClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DpsCertificateClient) Delete deprecated

func (client DpsCertificateClient) Delete(ctx context.Context, resourceGroupName string, ifMatch string, provisioningServiceName string, certificateName string, certificatename string, certificaterawBytes []byte, certificateisVerified *bool, certificatepurpose CertificatePurpose, certificatecreated *date.Time, certificatelastUpdated *date.Time, certificatehasPrivateKey *bool, certificatenonce string) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Delete sends the delete request.

resourceGroupName is resource group identifier. ifMatch is eTag of the certificate provisioningServiceName is the name of the provisioning service. certificateName is this is a mandatory field, and is the logical name of the certificate that the provisioning service will access by. certificatename is this is optional, and it is the Common Name of the certificate. certificaterawBytes is raw data within the certificate. certificateisVerified is indicates if certificate has been verified by owner of the private key. certificatepurpose is a description that mentions the purpose of the certificate. certificatecreated is time the certificate is created. certificatelastUpdated is time the certificate is last updated. certificatehasPrivateKey is indicates if the certificate contains a private key. certificatenonce is random number generated to indicate Proof of Possession.

func (DpsCertificateClient) DeletePreparer deprecated

func (client DpsCertificateClient) DeletePreparer(ctx context.Context, resourceGroupName string, ifMatch string, provisioningServiceName string, certificateName string, certificatename string, certificaterawBytes []byte, certificateisVerified *bool, certificatepurpose CertificatePurpose, certificatecreated *date.Time, certificatelastUpdated *date.Time, certificatehasPrivateKey *bool, certificatenonce string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DeletePreparer prepares the Delete request.

func (DpsCertificateClient) DeleteResponder deprecated

func (client DpsCertificateClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DpsCertificateClient) DeleteSender deprecated

func (client DpsCertificateClient) DeleteSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DpsCertificateClient) GenerateVerificationCode deprecated

func (client DpsCertificateClient) GenerateVerificationCode(ctx context.Context, certificateName string, ifMatch string, resourceGroupName string, provisioningServiceName string, certificatename string, certificaterawBytes []byte, certificateisVerified *bool, certificatepurpose CertificatePurpose, certificatecreated *date.Time, certificatelastUpdated *date.Time, certificatehasPrivateKey *bool, certificatenonce string) (result VerificationCodeResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GenerateVerificationCode generate verification code for Proof of Possession.

certificateName is the mandatory logical name of the certificate, that the provisioning service uses to access. ifMatch is eTag of the certificate. This is required to update an existing certificate, and ignored while creating a brand new certificate. resourceGroupName is name of resource group. provisioningServiceName is name of provisioning service. certificatename is common Name for the certificate. certificaterawBytes is raw data of certificate. certificateisVerified is indicates if the certificate has been verified by owner of the private key. certificatepurpose is description mentioning the purpose of the certificate. certificatecreated is certificate creation time. certificatelastUpdated is certificate last updated time. certificatehasPrivateKey is indicates if the certificate contains private key. certificatenonce is random number generated to indicate Proof of Possession.

func (DpsCertificateClient) GenerateVerificationCodePreparer deprecated

func (client DpsCertificateClient) GenerateVerificationCodePreparer(ctx context.Context, certificateName string, ifMatch string, resourceGroupName string, provisioningServiceName string, certificatename string, certificaterawBytes []byte, certificateisVerified *bool, certificatepurpose CertificatePurpose, certificatecreated *date.Time, certificatelastUpdated *date.Time, certificatehasPrivateKey *bool, certificatenonce string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GenerateVerificationCodePreparer prepares the GenerateVerificationCode request.

func (DpsCertificateClient) GenerateVerificationCodeResponder deprecated

func (client DpsCertificateClient) GenerateVerificationCodeResponder(resp *http.Response) (result VerificationCodeResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GenerateVerificationCodeResponder handles the response to the GenerateVerificationCode request. The method always closes the http.Response Body.

func (DpsCertificateClient) GenerateVerificationCodeSender deprecated

func (client DpsCertificateClient) GenerateVerificationCodeSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GenerateVerificationCodeSender sends the GenerateVerificationCode request. The method will close the http.Response Body if it receives an error.

func (DpsCertificateClient) Get deprecated

func (client DpsCertificateClient) Get(ctx context.Context, certificateName string, resourceGroupName string, provisioningServiceName string, ifMatch string) (result CertificateResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Get get the certificate from the provisioning service.

certificateName is name of the certificate to retrieve. resourceGroupName is resource group identifier. provisioningServiceName is name of the provisioning service the certificate is associated with. ifMatch is eTag of the certificate.

func (DpsCertificateClient) GetPreparer deprecated

func (client DpsCertificateClient) GetPreparer(ctx context.Context, certificateName string, resourceGroupName string, provisioningServiceName string, ifMatch string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetPreparer prepares the Get request.

func (DpsCertificateClient) GetResponder deprecated

func (client DpsCertificateClient) GetResponder(resp *http.Response) (result CertificateResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DpsCertificateClient) GetSender deprecated

func (client DpsCertificateClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DpsCertificateClient) VerifyCertificate deprecated

func (client DpsCertificateClient) VerifyCertificate(ctx context.Context, certificateName string, ifMatch string, request VerificationCodeRequest, resourceGroupName string, provisioningServiceName string, certificatename string, certificaterawBytes []byte, certificateisVerified *bool, certificatepurpose CertificatePurpose, certificatecreated *date.Time, certificatelastUpdated *date.Time, certificatehasPrivateKey *bool, certificatenonce string) (result CertificateResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. VerifyCertificate verifies certificate for the provisioning service.

certificateName is the mandatory logical name of the certificate, that the provisioning service uses to access. ifMatch is eTag of the certificate. resourceGroupName is resource group name. provisioningServiceName is provisioning service name. certificatename is common Name for the certificate. certificaterawBytes is raw data of certificate. certificateisVerified is indicates if the certificate has been verified by owner of the private key. certificatepurpose is describe the purpose of the certificate. certificatecreated is certificate creation time. certificatelastUpdated is certificate last updated time. certificatehasPrivateKey is indicates if the certificate contains private key. certificatenonce is random number generated to indicate Proof of Possession.

func (DpsCertificateClient) VerifyCertificatePreparer deprecated

func (client DpsCertificateClient) VerifyCertificatePreparer(ctx context.Context, certificateName string, ifMatch string, request VerificationCodeRequest, resourceGroupName string, provisioningServiceName string, certificatename string, certificaterawBytes []byte, certificateisVerified *bool, certificatepurpose CertificatePurpose, certificatecreated *date.Time, certificatelastUpdated *date.Time, certificatehasPrivateKey *bool, certificatenonce string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. VerifyCertificatePreparer prepares the VerifyCertificate request.

func (DpsCertificateClient) VerifyCertificateResponder deprecated

func (client DpsCertificateClient) VerifyCertificateResponder(resp *http.Response) (result CertificateResponse, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. VerifyCertificateResponder handles the response to the VerifyCertificate request. The method always closes the http.Response Body.

func (DpsCertificateClient) VerifyCertificateSender deprecated

func (client DpsCertificateClient) VerifyCertificateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. VerifyCertificateSender sends the VerifyCertificate request. The method will close the http.Response Body if it receives an error.

type DpsCertificatesClient deprecated

type DpsCertificatesClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DpsCertificatesClient is the API for using the Azure IoT Hub Device Provisioning Service features.

func NewDpsCertificatesClient deprecated

func NewDpsCertificatesClient(subscriptionID string) DpsCertificatesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewDpsCertificatesClient creates an instance of the DpsCertificatesClient client.

func NewDpsCertificatesClientWithBaseURI deprecated

func NewDpsCertificatesClientWithBaseURI(baseURI string, subscriptionID string) DpsCertificatesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewDpsCertificatesClientWithBaseURI creates an instance of the DpsCertificatesClient client.

func (DpsCertificatesClient) List deprecated

func (client DpsCertificatesClient) List(ctx context.Context, resourceGroupName string, provisioningServiceName string) (result CertificateListDescription, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. List get all the certificates tied to the provisioning service.

resourceGroupName is name of resource group. provisioningServiceName is name of provisioning service to retrieve certificates for.

func (DpsCertificatesClient) ListPreparer deprecated

func (client DpsCertificatesClient) ListPreparer(ctx context.Context, resourceGroupName string, provisioningServiceName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListPreparer prepares the List request.

func (DpsCertificatesClient) ListResponder deprecated

func (client DpsCertificatesClient) ListResponder(resp *http.Response) (result CertificateListDescription, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DpsCertificatesClient) ListSender deprecated

func (client DpsCertificatesClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ErrorDetails deprecated

type ErrorDetails struct {
	// Code - error code.
	Code           *string `json:"code,omitempty"`
	HTTPStatusCode *string `json:"httpStatusCode,omitempty"`
	Message        *string `json:"message,omitempty"`
	Details        *string `json:"details,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ErrorDetails ...

type ErrorMesssage deprecated

type ErrorMesssage struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Details *string `json:"details,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ErrorMesssage error response containing message and code.

type IotDpsPropertiesDescription deprecated

type IotDpsPropertiesDescription struct {
	// State - Current state of the provisioning service. Possible values include: 'Activating', 'Active', 'Deleting', 'Deleted', 'ActivationFailed', 'DeletionFailed', 'Transitioning', 'Suspending', 'Suspended', 'Resuming', 'FailingOver', 'FailoverFailed'
	State State `json:"state,omitempty"`
	// ProvisioningState - The ARM provisioning state of the provisioning service.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// IotHubs - List of IoT hubs assosciated with this provisioning service.
	IotHubs *[]DefinitionDescription `json:"iotHubs,omitempty"`
	// AllocationPolicy - Allocation policy to be used by this provisioning service. Possible values include: 'Hashed', 'GeoLatency', 'Static'
	AllocationPolicy AllocationPolicy `json:"allocationPolicy,omitempty"`
	// ServiceOperationsHostName - Service endpoint for provisioning service.
	ServiceOperationsHostName *string `json:"serviceOperationsHostName,omitempty"`
	// DeviceProvisioningHostName - Device endpoint for this provisioning service.
	DeviceProvisioningHostName *string `json:"deviceProvisioningHostName,omitempty"`
	// IDScope - Unique identifier of this provisioning service.
	IDScope               *string                                                          `json:"idScope,omitempty"`
	AuthorizationPolicies *[]SharedAccessSignatureAuthorizationRuleAccessRightsDescription `json:"authorizationPolicies,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsPropertiesDescription ...

type IotDpsResourceClient deprecated

type IotDpsResourceClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsResourceClient is the API for using the Azure IoT Hub Device Provisioning Service features.

func NewIotDpsResourceClient deprecated

func NewIotDpsResourceClient(subscriptionID string) IotDpsResourceClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewIotDpsResourceClient creates an instance of the IotDpsResourceClient client.

func NewIotDpsResourceClientWithBaseURI deprecated

func NewIotDpsResourceClientWithBaseURI(baseURI string, subscriptionID string) IotDpsResourceClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewIotDpsResourceClientWithBaseURI creates an instance of the IotDpsResourceClient client.

func (IotDpsResourceClient) CheckNameAvailability deprecated

func (client IotDpsResourceClient) CheckNameAvailability(ctx context.Context, arguments OperationInputs) (result NameAvailabilityInfo, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CheckNameAvailability check if a provisioning service name is available.

arguments is set the name parameter in the OperationInputs structure to the name of the provisioning service to check.

func (IotDpsResourceClient) CheckNameAvailabilityPreparer deprecated

func (client IotDpsResourceClient) CheckNameAvailabilityPreparer(ctx context.Context, arguments OperationInputs) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (IotDpsResourceClient) CheckNameAvailabilityResponder deprecated

func (client IotDpsResourceClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityInfo, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (IotDpsResourceClient) CheckNameAvailabilitySender deprecated

func (client IotDpsResourceClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) CreateOrUpdate deprecated

func (client IotDpsResourceClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, provisioningServiceName string, iotDpsDescription ProvisioningServiceDescription) (result IotDpsResourceCreateOrUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CreateOrUpdate create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service.

resourceGroupName is resource group identifier. provisioningServiceName is name of provisioning service to create or update. iotDpsDescription is description of the provisioning service to create or update.

func (IotDpsResourceClient) CreateOrUpdatePreparer deprecated

func (client IotDpsResourceClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, provisioningServiceName string, iotDpsDescription ProvisioningServiceDescription) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (IotDpsResourceClient) CreateOrUpdateResponder deprecated

func (client IotDpsResourceClient) CreateOrUpdateResponder(resp *http.Response) (result ProvisioningServiceDescription, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (IotDpsResourceClient) CreateOrUpdateSender deprecated

func (client IotDpsResourceClient) CreateOrUpdateSender(req *http.Request) (future IotDpsResourceCreateOrUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) Delete deprecated

func (client IotDpsResourceClient) Delete(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result IotDpsResourceDeleteFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Delete sends the delete request.

provisioningServiceName is name of provisioning service to delete. resourceGroupName is resource group identifier.

func (IotDpsResourceClient) DeletePreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DeletePreparer prepares the Delete request.

func (IotDpsResourceClient) DeleteResponder deprecated

func (client IotDpsResourceClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (IotDpsResourceClient) DeleteSender deprecated

func (client IotDpsResourceClient) DeleteSender(req *http.Request) (future IotDpsResourceDeleteFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) Get deprecated

func (client IotDpsResourceClient) Get(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result ProvisioningServiceDescription, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Get get the non-security related metadata of the provisioning service.

provisioningServiceName is name of the provisioning service to retrieve. resourceGroupName is resource group name.

func (IotDpsResourceClient) GetKeysForKeyName deprecated

func (client IotDpsResourceClient) GetKeysForKeyName(ctx context.Context, provisioningServiceName string, keyName string, resourceGroupName string) (result SharedAccessSignatureAuthorizationRuleAccessRightsDescription, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetKeysForKeyName get a shared access policy by name from a provisioning service.

provisioningServiceName is name of the provisioning service. keyName is logical key name to get key-values for. resourceGroupName is the name of the resource group that contains the provisioning service.

func (IotDpsResourceClient) GetKeysForKeyNamePreparer deprecated

func (client IotDpsResourceClient) GetKeysForKeyNamePreparer(ctx context.Context, provisioningServiceName string, keyName string, resourceGroupName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetKeysForKeyNamePreparer prepares the GetKeysForKeyName request.

func (IotDpsResourceClient) GetKeysForKeyNameResponder deprecated

func (client IotDpsResourceClient) GetKeysForKeyNameResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRuleAccessRightsDescription, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetKeysForKeyNameResponder handles the response to the GetKeysForKeyName request. The method always closes the http.Response Body.

func (IotDpsResourceClient) GetKeysForKeyNameSender deprecated

func (client IotDpsResourceClient) GetKeysForKeyNameSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetKeysForKeyNameSender sends the GetKeysForKeyName request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) GetOperationResult deprecated

func (client IotDpsResourceClient) GetOperationResult(ctx context.Context, operationID string, resourceGroupName string, provisioningServiceName string, asyncinfo string) (result AsyncOperationResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetOperationResult gets the status of a long running operation, such as create, update or delete a provisioning service.

operationID is operation id corresponding to long running operation. Use this to poll for the status. resourceGroupName is resource group identifier. provisioningServiceName is name of provisioning service that the operation is running on. asyncinfo is async header used to poll on the status of the operation, obtained while creating the long running operation.

func (IotDpsResourceClient) GetOperationResultPreparer deprecated

func (client IotDpsResourceClient) GetOperationResultPreparer(ctx context.Context, operationID string, resourceGroupName string, provisioningServiceName string, asyncinfo string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetOperationResultPreparer prepares the GetOperationResult request.

func (IotDpsResourceClient) GetOperationResultResponder deprecated

func (client IotDpsResourceClient) GetOperationResultResponder(resp *http.Response) (result AsyncOperationResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetOperationResultResponder handles the response to the GetOperationResult request. The method always closes the http.Response Body.

func (IotDpsResourceClient) GetOperationResultSender deprecated

func (client IotDpsResourceClient) GetOperationResultSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetOperationResultSender sends the GetOperationResult request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) GetPreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetPreparer prepares the Get request.

func (IotDpsResourceClient) GetResponder deprecated

func (client IotDpsResourceClient) GetResponder(resp *http.Response) (result ProvisioningServiceDescription, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (IotDpsResourceClient) GetSender deprecated

func (client IotDpsResourceClient) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) ListByResourceGroup deprecated

func (client IotDpsResourceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProvisioningServiceDescriptionListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListByResourceGroup get a list of all provisioning services in the given resource group.

resourceGroupName is resource group identifier.

func (IotDpsResourceClient) ListByResourceGroupComplete deprecated

func (client IotDpsResourceClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProvisioningServiceDescriptionListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (IotDpsResourceClient) ListByResourceGroupPreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (IotDpsResourceClient) ListByResourceGroupResponder deprecated

func (client IotDpsResourceClient) ListByResourceGroupResponder(resp *http.Response) (result ProvisioningServiceDescriptionListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (IotDpsResourceClient) ListByResourceGroupSender deprecated

func (client IotDpsResourceClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) ListBySubscription deprecated

func (client IotDpsResourceClient) ListBySubscription(ctx context.Context) (result ProvisioningServiceDescriptionListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListBySubscription get all the provisioning services in a subscription.

func (IotDpsResourceClient) ListBySubscriptionComplete deprecated

func (client IotDpsResourceClient) ListBySubscriptionComplete(ctx context.Context) (result ProvisioningServiceDescriptionListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (IotDpsResourceClient) ListBySubscriptionPreparer deprecated

func (client IotDpsResourceClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListBySubscriptionPreparer prepares the ListBySubscription request.

func (IotDpsResourceClient) ListBySubscriptionResponder deprecated

func (client IotDpsResourceClient) ListBySubscriptionResponder(resp *http.Response) (result ProvisioningServiceDescriptionListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (IotDpsResourceClient) ListBySubscriptionSender deprecated

func (client IotDpsResourceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) ListKeys deprecated

func (client IotDpsResourceClient) ListKeys(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result SharedAccessSignatureAuthorizationRuleListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListKeys get the security metadata for a provisioning service.

provisioningServiceName is the provisioning service name to get the shared access keys for. resourceGroupName is resource group name

func (IotDpsResourceClient) ListKeysComplete deprecated

func (client IotDpsResourceClient) ListKeysComplete(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result SharedAccessSignatureAuthorizationRuleListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListKeysComplete enumerates all values, automatically crossing page boundaries as required.

func (IotDpsResourceClient) ListKeysPreparer deprecated

func (client IotDpsResourceClient) ListKeysPreparer(ctx context.Context, provisioningServiceName string, resourceGroupName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListKeysPreparer prepares the ListKeys request.

func (IotDpsResourceClient) ListKeysResponder deprecated

func (client IotDpsResourceClient) ListKeysResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRuleListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (IotDpsResourceClient) ListKeysSender deprecated

func (client IotDpsResourceClient) ListKeysSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.

func (IotDpsResourceClient) ListValidSkus deprecated

func (client IotDpsResourceClient) ListValidSkus(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result IotDpsSkuDefinitionListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListValidSkus get the list of valid SKUs for a provisioning service.

provisioningServiceName is name of provisioning service. resourceGroupName is name of resource group.

func (IotDpsResourceClient) ListValidSkusComplete deprecated

func (client IotDpsResourceClient) ListValidSkusComplete(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result IotDpsSkuDefinitionListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListValidSkusComplete enumerates all values, automatically crossing page boundaries as required.

func (IotDpsResourceClient) ListValidSkusPreparer deprecated

func (client IotDpsResourceClient) ListValidSkusPreparer(ctx context.Context, provisioningServiceName string, resourceGroupName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListValidSkusPreparer prepares the ListValidSkus request.

func (IotDpsResourceClient) ListValidSkusResponder deprecated

func (client IotDpsResourceClient) ListValidSkusResponder(resp *http.Response) (result IotDpsSkuDefinitionListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListValidSkusResponder handles the response to the ListValidSkus request. The method always closes the http.Response Body.

func (IotDpsResourceClient) ListValidSkusSender deprecated

func (client IotDpsResourceClient) ListValidSkusSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListValidSkusSender sends the ListValidSkus request. The method will close the http.Response Body if it receives an error.

type IotDpsResourceCreateOrUpdateFuture deprecated

type IotDpsResourceCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsResourceCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (IotDpsResourceCreateOrUpdateFuture) Result deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type IotDpsResourceDeleteFuture deprecated

type IotDpsResourceDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsResourceDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (IotDpsResourceDeleteFuture) Result deprecated

func (future IotDpsResourceDeleteFuture) Result(client IotDpsResourceClient) (ar autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type IotDpsSku deprecated

type IotDpsSku string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsSku enumerates the values for iot dps sku.

const (
	// S1 ...
	S1 IotDpsSku = "S1"
)

func PossibleIotDpsSkuValues deprecated

func PossibleIotDpsSkuValues() []IotDpsSku

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. PossibleIotDpsSkuValues returns an array of possible values for the IotDpsSku const type.

type IotDpsSkuDefinition deprecated

type IotDpsSkuDefinition struct {
	// Name - Possible values include: 'S1'
	Name IotDpsSku `json:"name,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsSkuDefinition SKU definition in terms of tier and units.

type IotDpsSkuDefinitionListResult deprecated

type IotDpsSkuDefinitionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]IotDpsSkuDefinition `json:"value,omitempty"`
	NextLink          *string                `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsSkuDefinitionListResult list of available SKUs.

func (IotDpsSkuDefinitionListResult) IsEmpty deprecated

func (idsdlr IotDpsSkuDefinitionListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IsEmpty returns true if the ListResult contains no values.

type IotDpsSkuDefinitionListResultIterator deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsSkuDefinitionListResultIterator provides access to a complete listing of IotDpsSkuDefinition values.

func (*IotDpsSkuDefinitionListResultIterator) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IotDpsSkuDefinitionListResultIterator) NotDone deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (IotDpsSkuDefinitionListResultIterator) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Response returns the raw server response from the last page request.

func (IotDpsSkuDefinitionListResultIterator) Value deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IotDpsSkuDefinitionListResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsSkuDefinitionListResultPage contains a page of IotDpsSkuDefinition values.

func (*IotDpsSkuDefinitionListResultPage) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. 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.

func (IotDpsSkuDefinitionListResultPage) NotDone deprecated

func (page IotDpsSkuDefinitionListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (IotDpsSkuDefinitionListResultPage) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Response returns the raw server response from the last page request.

func (IotDpsSkuDefinitionListResultPage) Values deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Values returns the slice of values for the current page or nil if there are no values.

type IotDpsSkuInfo deprecated

type IotDpsSkuInfo struct {
	// Name - Possible values include: 'S1'
	Name IotDpsSku `json:"name,omitempty"`
	// Tier - Pricing tier of the provisioning service.
	Tier *string `json:"tier,omitempty"`
	// Capacity - The number of services of the selected tier allowed in the subscription.
	Capacity *int64 `json:"capacity,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IotDpsSkuInfo list of possible provisoning service SKUs.

type NameAvailabilityInfo deprecated

type NameAvailabilityInfo struct {
	autorest.Response `json:"-"`
	NameAvailable     *bool `json:"nameAvailable,omitempty"`
	// Reason - Possible values include: 'Invalid', 'AlreadyExists'
	Reason  NameUnavailabilityReason `json:"reason,omitempty"`
	Message *string                  `json:"message,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NameAvailabilityInfo description of name availability.

type NameUnavailabilityReason deprecated

type NameUnavailabilityReason string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NameUnavailabilityReason enumerates the values for name unavailability reason.

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

func PossibleNameUnavailabilityReasonValues deprecated

func PossibleNameUnavailabilityReasonValues() []NameUnavailabilityReason

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. PossibleNameUnavailabilityReasonValues returns an array of possible values for the NameUnavailabilityReason const type.

type Operation deprecated

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{read | write | action | delete}
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Operation ioT Hub REST API operation.

type OperationDisplay deprecated

type OperationDisplay struct {
	// Provider - Service provider: Microsoft Devices.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource Type: ProvisioningServices.
	Resource *string `json:"resource,omitempty"`
	// Operation - Name of the operation.
	Operation *string `json:"operation,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. OperationDisplay the object that represents the operation.

type OperationInputs deprecated

type OperationInputs struct {
	// Name - The name of the Provisioning Service to check.
	Name *string `json:"name,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. OperationInputs input values for operation results call.

type OperationListResult deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. OperationListResult result of the request to list IoT Hub operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty deprecated

func (olr OperationListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. OperationListResultIterator provides access to a complete listing of Operation values.

func (*OperationListResultIterator) Next deprecated

func (iter *OperationListResultIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Next 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 deprecated

func (iter OperationListResultIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. OperationListResultPage contains a page of Operation values.

func (*OperationListResultPage) Next deprecated

func (page *OperationListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. 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.

func (OperationListResultPage) NotDone deprecated

func (page OperationListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Response returns the raw server response from the last page request.

func (OperationListResultPage) Values deprecated

func (page OperationListResultPage) Values() []Operation

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient deprecated

type OperationsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. OperationsClient is the API for using the Azure IoT Hub Device Provisioning Service features.

func NewOperationsClient deprecated

func NewOperationsClient(subscriptionID string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI deprecated

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. List lists all of the available Microsoft.Devices REST API operations.

func (OperationsClient) ListComplete deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListPreparer prepares the List request.

func (OperationsClient) ListResponder deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender deprecated

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProvisioningServiceDescription deprecated

type ProvisioningServiceDescription 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"`
	Properties *IotDpsPropertiesDescription `json:"properties,omitempty"`
	Sku        *IotDpsSkuInfo               `json:"sku,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ProvisioningServiceDescription the description of the provisioning service.

func (ProvisioningServiceDescription) MarshalJSON deprecated

func (psd ProvisioningServiceDescription) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. MarshalJSON is the custom marshaler for ProvisioningServiceDescription.

type ProvisioningServiceDescriptionListResult deprecated

type ProvisioningServiceDescriptionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ProvisioningServiceDescription `json:"value,omitempty"`
	NextLink          *string                           `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ProvisioningServiceDescriptionListResult list of provisioning service descriptions.

func (ProvisioningServiceDescriptionListResult) IsEmpty deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IsEmpty returns true if the ListResult contains no values.

type ProvisioningServiceDescriptionListResultIterator deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ProvisioningServiceDescriptionListResultIterator provides access to a complete listing of ProvisioningServiceDescription values.

func (*ProvisioningServiceDescriptionListResultIterator) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ProvisioningServiceDescriptionListResultIterator) NotDone deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (ProvisioningServiceDescriptionListResultIterator) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Response returns the raw server response from the last page request.

func (ProvisioningServiceDescriptionListResultIterator) Value deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ProvisioningServiceDescriptionListResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. ProvisioningServiceDescriptionListResultPage contains a page of ProvisioningServiceDescription values.

func (*ProvisioningServiceDescriptionListResultPage) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. 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.

func (ProvisioningServiceDescriptionListResultPage) NotDone deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (ProvisioningServiceDescriptionListResultPage) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Response returns the raw server response from the last page request.

func (ProvisioningServiceDescriptionListResultPage) Values deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Values returns the slice of values for the current page or nil if there are no values.

type Resource deprecated

type Resource struct {
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Resource the common properties of an Azure resource.

func (Resource) MarshalJSON deprecated

func (r Resource) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. MarshalJSON is the custom marshaler for Resource.

type SharedAccessSignatureAuthorizationRuleAccessRightsDescription deprecated

type SharedAccessSignatureAuthorizationRuleAccessRightsDescription struct {
	autorest.Response `json:"-"`
	// KeyName - Name of the key.
	KeyName *string `json:"keyName,omitempty"`
	// PrimaryKey - Primary SAS key value.
	PrimaryKey *string `json:"primaryKey,omitempty"`
	// SecondaryKey - Secondary SAS key value.
	SecondaryKey *string `json:"secondaryKey,omitempty"`
	// Rights - Rights that this key has. Possible values include: 'ServiceConfig', 'EnrollmentRead', 'EnrollmentWrite', 'DeviceConnect', 'RegistrationStatusRead', 'RegistrationStatusWrite'
	Rights AccessRightsDescription `json:"rights,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. SharedAccessSignatureAuthorizationRuleAccessRightsDescription description of the shared access key.

type SharedAccessSignatureAuthorizationRuleListResult deprecated

type SharedAccessSignatureAuthorizationRuleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]SharedAccessSignatureAuthorizationRuleAccessRightsDescription `json:"value,omitempty"`
	NextLink          *string                                                          `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. SharedAccessSignatureAuthorizationRuleListResult list of shared access keys.

func (SharedAccessSignatureAuthorizationRuleListResult) IsEmpty deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. IsEmpty returns true if the ListResult contains no values.

type SharedAccessSignatureAuthorizationRuleListResultIterator deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. SharedAccessSignatureAuthorizationRuleListResultIterator provides access to a complete listing of SharedAccessSignatureAuthorizationRuleAccessRightsDescription values.

func (*SharedAccessSignatureAuthorizationRuleListResultIterator) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SharedAccessSignatureAuthorizationRuleListResultIterator) NotDone deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (SharedAccessSignatureAuthorizationRuleListResultIterator) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Response returns the raw server response from the last page request.

func (SharedAccessSignatureAuthorizationRuleListResultIterator) Value deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SharedAccessSignatureAuthorizationRuleListResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. SharedAccessSignatureAuthorizationRuleListResultPage contains a page of SharedAccessSignatureAuthorizationRuleAccessRightsDescription values.

func (*SharedAccessSignatureAuthorizationRuleListResultPage) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. 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.

func (SharedAccessSignatureAuthorizationRuleListResultPage) NotDone deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (SharedAccessSignatureAuthorizationRuleListResultPage) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Response returns the raw server response from the last page request.

func (SharedAccessSignatureAuthorizationRuleListResultPage) Values deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. Values returns the slice of values for the current page or nil if there are no values.

type State deprecated

type State string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. State enumerates the values for state.

const (
	// Activating ...
	Activating State = "Activating"
	// ActivationFailed ...
	ActivationFailed State = "ActivationFailed"
	// Active ...
	Active State = "Active"
	// Deleted ...
	Deleted State = "Deleted"
	// Deleting ...
	Deleting State = "Deleting"
	// DeletionFailed ...
	DeletionFailed State = "DeletionFailed"
	// FailingOver ...
	FailingOver State = "FailingOver"
	// FailoverFailed ...
	FailoverFailed State = "FailoverFailed"
	// Resuming ...
	Resuming State = "Resuming"
	// Suspended ...
	Suspended State = "Suspended"
	// Suspending ...
	Suspending State = "Suspending"
	// Transitioning ...
	Transitioning State = "Transitioning"
)

func PossibleStateValues deprecated

func PossibleStateValues() []State

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. PossibleStateValues returns an array of possible values for the State const type.

type VerificationCodeRequest deprecated

type VerificationCodeRequest struct {
	Certificate *string `json:"certificate,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. VerificationCodeRequest certificate to generate verification code for.

type VerificationCodeResponse deprecated

type VerificationCodeResponse struct {
	autorest.Response `json:"-"`
	// VerificationCode - Verification code.
	VerificationCode *string `json:"verificationCode,omitempty"`
	// Name - Name of certificate.
	Name *string `json:"name,omitempty"`
	// Etag - Request etag.
	Etag *string `json:"etag,omitempty"`
	// Subject - Certificate subject.
	Subject *string `json:"subject,omitempty"`
	// Expiry - Code expiry.
	Expiry *string `json:"expiry,omitempty"`
	// Thumbprint - Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// IsVerified - Indicate if the certificate is verified by owner of private key.
	IsVerified *bool `json:"isVerified,omitempty"`
	// Created - Certificate created time.
	Created *string `json:"created,omitempty"`
	// Updated - Certificate updated time.
	Updated *string `json:"updated,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/provisioningservices/preview/mgmt/2017-08-21-preview/iothub instead. VerificationCodeResponse description of the response of the verification code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL