Versions in this module Expand all Collapse all v28 v28.1.0 Apr 29, 2019 v28.0.0 Apr 26, 2019 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AccessRightsDescription string + const DeviceConnect + const EnrollmentRead + const EnrollmentWrite + const RegistrationStatusRead + const RegistrationStatusWrite + const ServiceConfig + func PossibleAccessRightsDescriptionValues() []AccessRightsDescription + type AllocationPolicy string + const GeoLatency + const Hashed + const Static + func PossibleAllocationPolicyValues() []AllocationPolicy + type AsyncOperationResult struct + Error *ErrorMesssage + Status *string + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type CertificateBodyDescription struct + Certificate *string + type CertificateListDescription struct + Value *[]CertificateResponse + type CertificateProperties struct + Created *date.TimeRFC1123 + Expiry *date.TimeRFC1123 + IsVerified *bool + Subject *string + Thumbprint *string + Updated *date.TimeRFC1123 + type CertificatePurpose string + const ClientAuthentication + const ServerAuthentication + func PossibleCertificatePurposeValues() []CertificatePurpose + type CertificateResponse struct + Etag *string + ID *string + Name *string + Properties *CertificateProperties + Type *string + type DefinitionDescription struct + AllocationWeight *int32 + ApplyAllocationPolicy *bool + ConnectionString *string + Location *string + Name *string + type DpsCertificateClient struct + func NewDpsCertificateClient(subscriptionID string) DpsCertificateClient + func NewDpsCertificateClientWithBaseURI(baseURI string, subscriptionID string) DpsCertificateClient + func (client DpsCertificateClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, provisioningServiceName string, ...) (result CertificateResponse, err error) + func (client DpsCertificateClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, provisioningServiceName string, ...) (*http.Request, error) + func (client DpsCertificateClient) CreateOrUpdateResponder(resp *http.Response) (result CertificateResponse, err error) + func (client DpsCertificateClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client DpsCertificateClient) Delete(ctx context.Context, resourceGroupName string, ifMatch string, ...) (result autorest.Response, err error) + func (client DpsCertificateClient) DeletePreparer(ctx context.Context, resourceGroupName string, ifMatch string, ...) (*http.Request, error) + func (client DpsCertificateClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client DpsCertificateClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client DpsCertificateClient) GenerateVerificationCode(ctx context.Context, certificateName string, ifMatch string, ...) (result VerificationCodeResponse, err error) + func (client DpsCertificateClient) GenerateVerificationCodePreparer(ctx context.Context, certificateName string, ifMatch string, ...) (*http.Request, error) + func (client DpsCertificateClient) GenerateVerificationCodeResponder(resp *http.Response) (result VerificationCodeResponse, err error) + func (client DpsCertificateClient) GenerateVerificationCodeSender(req *http.Request) (*http.Response, error) + func (client DpsCertificateClient) Get(ctx context.Context, certificateName string, resourceGroupName string, ...) (result CertificateResponse, err error) + func (client DpsCertificateClient) GetPreparer(ctx context.Context, certificateName string, resourceGroupName string, ...) (*http.Request, error) + func (client DpsCertificateClient) GetResponder(resp *http.Response) (result CertificateResponse, err error) + func (client DpsCertificateClient) GetSender(req *http.Request) (*http.Response, error) + func (client DpsCertificateClient) List(ctx context.Context, resourceGroupName string, provisioningServiceName string) (result CertificateListDescription, err error) + func (client DpsCertificateClient) ListPreparer(ctx context.Context, resourceGroupName string, provisioningServiceName string) (*http.Request, error) + func (client DpsCertificateClient) ListResponder(resp *http.Response) (result CertificateListDescription, err error) + func (client DpsCertificateClient) ListSender(req *http.Request) (*http.Response, error) + func (client DpsCertificateClient) VerifyCertificate(ctx context.Context, certificateName string, ifMatch string, ...) (result CertificateResponse, err error) + func (client DpsCertificateClient) VerifyCertificatePreparer(ctx context.Context, certificateName string, ifMatch string, ...) (*http.Request, error) + func (client DpsCertificateClient) VerifyCertificateResponder(resp *http.Response) (result CertificateResponse, err error) + func (client DpsCertificateClient) VerifyCertificateSender(req *http.Request) (*http.Response, error) + type ErrorDetails struct + Code *string + Details *string + HTTPStatusCode *string + Message *string + type ErrorMesssage struct + Code *string + Details *string + Message *string + type IotDpsPropertiesDescription struct + AllocationPolicy AllocationPolicy + AuthorizationPolicies *[]SharedAccessSignatureAuthorizationRuleAccessRightsDescription + DeviceProvisioningHostName *string + IDScope *string + IotHubs *[]DefinitionDescription + ProvisioningState *string + ServiceOperationsHostName *string + State State + type IotDpsResourceClient struct + func NewIotDpsResourceClient(subscriptionID string) IotDpsResourceClient + func NewIotDpsResourceClientWithBaseURI(baseURI string, subscriptionID string) IotDpsResourceClient + func (client IotDpsResourceClient) CheckProvisioningServiceNameAvailability(ctx context.Context, arguments OperationInputs) (result NameAvailabilityInfo, err error) + func (client IotDpsResourceClient) CheckProvisioningServiceNameAvailabilityPreparer(ctx context.Context, arguments OperationInputs) (*http.Request, error) + func (client IotDpsResourceClient) CheckProvisioningServiceNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityInfo, err error) + func (client IotDpsResourceClient) CheckProvisioningServiceNameAvailabilitySender(req *http.Request) (*http.Response, error) + func (client IotDpsResourceClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, provisioningServiceName string, ...) (result IotDpsResourceCreateOrUpdateFuture, err error) + func (client IotDpsResourceClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, provisioningServiceName string, ...) (*http.Request, error) + func (client IotDpsResourceClient) CreateOrUpdateResponder(resp *http.Response) (result ProvisioningServiceDescription, err error) + func (client IotDpsResourceClient) CreateOrUpdateSender(req *http.Request) (future IotDpsResourceCreateOrUpdateFuture, err error) + func (client IotDpsResourceClient) Delete(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result IotDpsResourceDeleteFuture, err error) + func (client IotDpsResourceClient) DeletePreparer(ctx context.Context, provisioningServiceName string, resourceGroupName string) (*http.Request, error) + func (client IotDpsResourceClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client IotDpsResourceClient) DeleteSender(req *http.Request) (future IotDpsResourceDeleteFuture, err error) + func (client IotDpsResourceClient) Get(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result ProvisioningServiceDescription, err error) + func (client IotDpsResourceClient) GetOperationResult(ctx context.Context, operationID string, resourceGroupName string, ...) (result AsyncOperationResult, err error) + func (client IotDpsResourceClient) GetOperationResultPreparer(ctx context.Context, operationID string, resourceGroupName string, ...) (*http.Request, error) + func (client IotDpsResourceClient) GetOperationResultResponder(resp *http.Response) (result AsyncOperationResult, err error) + func (client IotDpsResourceClient) GetOperationResultSender(req *http.Request) (*http.Response, error) + func (client IotDpsResourceClient) GetPreparer(ctx context.Context, provisioningServiceName string, resourceGroupName string) (*http.Request, error) + func (client IotDpsResourceClient) GetResponder(resp *http.Response) (result ProvisioningServiceDescription, err error) + func (client IotDpsResourceClient) GetSender(req *http.Request) (*http.Response, error) + func (client IotDpsResourceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProvisioningServiceDescriptionListResultPage, err error) + func (client IotDpsResourceClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProvisioningServiceDescriptionListResultIterator, err error) + func (client IotDpsResourceClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client IotDpsResourceClient) ListByResourceGroupResponder(resp *http.Response) (result ProvisioningServiceDescriptionListResult, err error) + func (client IotDpsResourceClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client IotDpsResourceClient) ListBySubscription(ctx context.Context) (result ProvisioningServiceDescriptionListResultPage, err error) + func (client IotDpsResourceClient) ListBySubscriptionComplete(ctx context.Context) (result ProvisioningServiceDescriptionListResultIterator, err error) + func (client IotDpsResourceClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) + func (client IotDpsResourceClient) ListBySubscriptionResponder(resp *http.Response) (result ProvisioningServiceDescriptionListResult, err error) + func (client IotDpsResourceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) + func (client IotDpsResourceClient) ListKeys(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result SharedAccessSignatureAuthorizationRuleListResultPage, err error) + func (client IotDpsResourceClient) ListKeysComplete(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result SharedAccessSignatureAuthorizationRuleListResultIterator, err error) + func (client IotDpsResourceClient) ListKeysForKeyName(ctx context.Context, provisioningServiceName string, keyName string, ...) (result SharedAccessSignatureAuthorizationRuleAccessRightsDescription, ...) + func (client IotDpsResourceClient) ListKeysForKeyNamePreparer(ctx context.Context, provisioningServiceName string, keyName string, ...) (*http.Request, error) + func (client IotDpsResourceClient) ListKeysForKeyNameResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRuleAccessRightsDescription, ...) + func (client IotDpsResourceClient) ListKeysForKeyNameSender(req *http.Request) (*http.Response, error) + func (client IotDpsResourceClient) ListKeysPreparer(ctx context.Context, provisioningServiceName string, resourceGroupName string) (*http.Request, error) + func (client IotDpsResourceClient) ListKeysResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRuleListResult, err error) + func (client IotDpsResourceClient) ListKeysSender(req *http.Request) (*http.Response, error) + func (client IotDpsResourceClient) ListValidSkus(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result IotDpsSkuDefinitionListResultPage, err error) + func (client IotDpsResourceClient) ListValidSkusComplete(ctx context.Context, provisioningServiceName string, resourceGroupName string) (result IotDpsSkuDefinitionListResultIterator, err error) + func (client IotDpsResourceClient) ListValidSkusPreparer(ctx context.Context, provisioningServiceName string, resourceGroupName string) (*http.Request, error) + func (client IotDpsResourceClient) ListValidSkusResponder(resp *http.Response) (result IotDpsSkuDefinitionListResult, err error) + func (client IotDpsResourceClient) ListValidSkusSender(req *http.Request) (*http.Response, error) + func (client IotDpsResourceClient) Update(ctx context.Context, resourceGroupName string, provisioningServiceName string, ...) (result IotDpsResourceUpdateFuture, err error) + func (client IotDpsResourceClient) UpdatePreparer(ctx context.Context, resourceGroupName string, provisioningServiceName string, ...) (*http.Request, error) + func (client IotDpsResourceClient) UpdateResponder(resp *http.Response) (result ProvisioningServiceDescription, err error) + func (client IotDpsResourceClient) UpdateSender(req *http.Request) (future IotDpsResourceUpdateFuture, err error) + type IotDpsResourceCreateOrUpdateFuture struct + func (future *IotDpsResourceCreateOrUpdateFuture) Result(client IotDpsResourceClient) (psd ProvisioningServiceDescription, err error) + type IotDpsResourceDeleteFuture struct + func (future *IotDpsResourceDeleteFuture) Result(client IotDpsResourceClient) (ar autorest.Response, err error) + type IotDpsResourceUpdateFuture struct + func (future *IotDpsResourceUpdateFuture) Result(client IotDpsResourceClient) (psd ProvisioningServiceDescription, err error) + type IotDpsSku string + const S1 + func PossibleIotDpsSkuValues() []IotDpsSku + type IotDpsSkuDefinition struct + Name IotDpsSku + type IotDpsSkuDefinitionListResult struct + NextLink *string + Value *[]IotDpsSkuDefinition + func (idsdlr IotDpsSkuDefinitionListResult) IsEmpty() bool + type IotDpsSkuDefinitionListResultIterator struct + func NewIotDpsSkuDefinitionListResultIterator(page IotDpsSkuDefinitionListResultPage) IotDpsSkuDefinitionListResultIterator + func (iter *IotDpsSkuDefinitionListResultIterator) Next() error + func (iter *IotDpsSkuDefinitionListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter IotDpsSkuDefinitionListResultIterator) NotDone() bool + func (iter IotDpsSkuDefinitionListResultIterator) Response() IotDpsSkuDefinitionListResult + func (iter IotDpsSkuDefinitionListResultIterator) Value() IotDpsSkuDefinition + type IotDpsSkuDefinitionListResultPage struct + func NewIotDpsSkuDefinitionListResultPage(...) IotDpsSkuDefinitionListResultPage + func (page *IotDpsSkuDefinitionListResultPage) Next() error + func (page *IotDpsSkuDefinitionListResultPage) NextWithContext(ctx context.Context) (err error) + func (page IotDpsSkuDefinitionListResultPage) NotDone() bool + func (page IotDpsSkuDefinitionListResultPage) Response() IotDpsSkuDefinitionListResult + func (page IotDpsSkuDefinitionListResultPage) Values() []IotDpsSkuDefinition + type IotDpsSkuInfo struct + Capacity *int64 + Name IotDpsSku + Tier *string + type NameAvailabilityInfo struct + Message *string + NameAvailable *bool + Reason NameUnavailabilityReason + type NameUnavailabilityReason string + const AlreadyExists + const Invalid + func PossibleNameUnavailabilityReasonValues() []NameUnavailabilityReason + type Operation struct + Display *OperationDisplay + Name *string + type OperationDisplay struct + Operation *string + Provider *string + Resource *string + type OperationInputs struct + Name *string + type OperationListResult struct + NextLink *string + Value *[]Operation + func (olr OperationListResult) IsEmpty() bool + type OperationListResultIterator struct + func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator + func (iter *OperationListResultIterator) Next() error + func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListResultIterator) NotDone() bool + func (iter OperationListResultIterator) Response() OperationListResult + func (iter OperationListResultIterator) Value() Operation + type OperationListResultPage struct + func NewOperationListResultPage(...) OperationListResultPage + func (page *OperationListResultPage) Next() error + func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListResultPage) NotDone() bool + func (page OperationListResultPage) Response() OperationListResult + func (page OperationListResultPage) Values() []Operation + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type ProvisioningServiceDescription struct + Etag *string + ID *string + Location *string + Name *string + Properties *IotDpsPropertiesDescription + Sku *IotDpsSkuInfo + Tags map[string]*string + Type *string + func (psd ProvisioningServiceDescription) MarshalJSON() ([]byte, error) + type ProvisioningServiceDescriptionListResult struct + NextLink *string + Value *[]ProvisioningServiceDescription + func (psdlr ProvisioningServiceDescriptionListResult) IsEmpty() bool + type ProvisioningServiceDescriptionListResultIterator struct + func NewProvisioningServiceDescriptionListResultIterator(page ProvisioningServiceDescriptionListResultPage) ProvisioningServiceDescriptionListResultIterator + func (iter *ProvisioningServiceDescriptionListResultIterator) Next() error + func (iter *ProvisioningServiceDescriptionListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ProvisioningServiceDescriptionListResultIterator) NotDone() bool + func (iter ProvisioningServiceDescriptionListResultIterator) Response() ProvisioningServiceDescriptionListResult + func (iter ProvisioningServiceDescriptionListResultIterator) Value() ProvisioningServiceDescription + type ProvisioningServiceDescriptionListResultPage struct + func NewProvisioningServiceDescriptionListResultPage(...) ProvisioningServiceDescriptionListResultPage + func (page *ProvisioningServiceDescriptionListResultPage) Next() error + func (page *ProvisioningServiceDescriptionListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ProvisioningServiceDescriptionListResultPage) NotDone() bool + func (page ProvisioningServiceDescriptionListResultPage) Response() ProvisioningServiceDescriptionListResult + func (page ProvisioningServiceDescriptionListResultPage) Values() []ProvisioningServiceDescription + type Resource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type SharedAccessSignatureAuthorizationRuleAccessRightsDescription struct + KeyName *string + PrimaryKey *string + Rights AccessRightsDescription + SecondaryKey *string + type SharedAccessSignatureAuthorizationRuleListResult struct + NextLink *string + Value *[]SharedAccessSignatureAuthorizationRuleAccessRightsDescription + func (sasarlr SharedAccessSignatureAuthorizationRuleListResult) IsEmpty() bool + type SharedAccessSignatureAuthorizationRuleListResultIterator struct + func NewSharedAccessSignatureAuthorizationRuleListResultIterator(page SharedAccessSignatureAuthorizationRuleListResultPage) SharedAccessSignatureAuthorizationRuleListResultIterator + func (iter *SharedAccessSignatureAuthorizationRuleListResultIterator) Next() error + func (iter *SharedAccessSignatureAuthorizationRuleListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) NotDone() bool + func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) Response() SharedAccessSignatureAuthorizationRuleListResult + func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) Value() SharedAccessSignatureAuthorizationRuleAccessRightsDescription + type SharedAccessSignatureAuthorizationRuleListResultPage struct + func NewSharedAccessSignatureAuthorizationRuleListResultPage(...) SharedAccessSignatureAuthorizationRuleListResultPage + func (page *SharedAccessSignatureAuthorizationRuleListResultPage) Next() error + func (page *SharedAccessSignatureAuthorizationRuleListResultPage) NextWithContext(ctx context.Context) (err error) + func (page SharedAccessSignatureAuthorizationRuleListResultPage) NotDone() bool + func (page SharedAccessSignatureAuthorizationRuleListResultPage) Response() SharedAccessSignatureAuthorizationRuleListResult + func (page SharedAccessSignatureAuthorizationRuleListResultPage) Values() []SharedAccessSignatureAuthorizationRuleAccessRightsDescription + type State string + const Activating + const ActivationFailed + const Active + const Deleted + const Deleting + const DeletionFailed + const FailingOver + const FailoverFailed + const Resuming + const Suspended + const Suspending + const Transitioning + func PossibleStateValues() []State + type TagsResource struct + Tags map[string]*string + func (tr TagsResource) MarshalJSON() ([]byte, error) + type VerificationCodeRequest struct + Certificate *string + type VerificationCodeResponse struct + Etag *string + ID *string + Name *string + Properties *VerificationCodeResponseProperties + Type *string + type VerificationCodeResponseProperties struct + Created *string + Expiry *string + IsVerified *bool + Subject *string + Thumbprint *string + Updated *string + VerificationCode *string Other modules containing this package gopkg.in/azure/azure-sdk-for-go.v15 gopkg.in/azure/azure-sdk-for-go.v16 gopkg.in/azure/azure-sdk-for-go.v17 gopkg.in/azure/azure-sdk-for-go.v18 gopkg.in/azure/azure-sdk-for-go.v19 gopkg.in/azure/azure-sdk-for-go.v20 gopkg.in/azure/azure-sdk-for-go.v21 gopkg.in/azure/azure-sdk-for-go.v22 gopkg.in/azure/azure-sdk-for-go.v23 gopkg.in/azure/azure-sdk-for-go.v24 gopkg.in/azure/azure-sdk-for-go.v25 gopkg.in/azure/azure-sdk-for-go.v26 gopkg.in/azure/azure-sdk-for-go.v27 gopkg.in/azure/azure-sdk-for-go.v29 gopkg.in/azure/azure-sdk-for-go.v30 gopkg.in/azure/azure-sdk-for-go.v31 gopkg.in/azure/azure-sdk-for-go.v32 gopkg.in/azure/azure-sdk-for-go.v33 gopkg.in/azure/azure-sdk-for-go.v34 gopkg.in/azure/azure-sdk-for-go.v35 gopkg.in/azure/azure-sdk-for-go.v36 gopkg.in/azure/azure-sdk-for-go.v37 gopkg.in/azure/azure-sdk-for-go.v38 gopkg.in/azure/azure-sdk-for-go.v39 gopkg.in/azure/azure-sdk-for-go.v40 gopkg.in/azure/azure-sdk-for-go.v41 gopkg.in/azure/azure-sdk-for-go.v42 gopkg.in/azure/azure-sdk-for-go.v43 gopkg.in/azure/azure-sdk-for-go.v44 gopkg.in/azure/azure-sdk-for-go.v45 gopkg.in/azure/azure-sdk-for-go.v46 gopkg.in/azure/azure-sdk-for-go.v47 gopkg.in/azure/azure-sdk-for-go.v48 gopkg.in/azure/azure-sdk-for-go.v49