README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/deviceprovisioningservices/2022-02-05/iotdpsresource
Documentation
The iotdpsresource
SDK allows for interaction with the Azure Resource Manager Service deviceprovisioningservices
(API Version 2022-02-05
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/deviceprovisioningservices/2022-02-05/iotdpsresource"
Client Initialization
client := iotdpsresource.NewIotDpsResourceClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: IotDpsResourceClient.CheckProvisioningServiceNameAvailability
ctx := context.TODO()
id := iotdpsresource.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
payload := iotdpsresource.OperationInputs{
// ...
}
read, err := client.CheckProvisioningServiceNameAvailability(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IotDpsResourceClient.CreateOrUpdate
ctx := context.TODO()
id := iotdpsresource.NewProvisioningServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue")
payload := iotdpsresource.ProvisioningServiceDescription{
// ...
}
if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: IotDpsResourceClient.CreateOrUpdatePrivateEndpointConnection
ctx := context.TODO()
id := iotdpsresource.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceValue", "privateEndpointConnectionValue")
payload := iotdpsresource.PrivateEndpointConnection{
// ...
}
if err := client.CreateOrUpdatePrivateEndpointConnectionThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: IotDpsResourceClient.Delete
ctx := context.TODO()
id := iotdpsresource.NewProvisioningServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue")
if err := client.DeleteThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: IotDpsResourceClient.DeletePrivateEndpointConnection
ctx := context.TODO()
id := iotdpsresource.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceValue", "privateEndpointConnectionValue")
if err := client.DeletePrivateEndpointConnectionThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: IotDpsResourceClient.Get
ctx := context.TODO()
id := iotdpsresource.NewProvisioningServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IotDpsResourceClient.GetPrivateEndpointConnection
ctx := context.TODO()
id := iotdpsresource.NewPrivateEndpointConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceValue", "privateEndpointConnectionValue")
read, err := client.GetPrivateEndpointConnection(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IotDpsResourceClient.GetPrivateLinkResources
ctx := context.TODO()
id := iotdpsresource.NewPrivateLinkResourceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceValue", "groupIdValue")
read, err := client.GetPrivateLinkResources(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IotDpsResourceClient.ListByResourceGroup
ctx := context.TODO()
id := iotdpsresource.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: IotDpsResourceClient.ListBySubscription
ctx := context.TODO()
id := iotdpsresource.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: IotDpsResourceClient.ListKeys
ctx := context.TODO()
id := iotdpsresource.NewProvisioningServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue")
// alternatively `client.ListKeys(ctx, id)` can be used to do batched pagination
items, err := client.ListKeysComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: IotDpsResourceClient.ListKeysForKeyName
ctx := context.TODO()
id := iotdpsresource.NewKeyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue", "keyValue")
read, err := client.ListKeysForKeyName(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IotDpsResourceClient.ListPrivateEndpointConnections
ctx := context.TODO()
id := iotdpsresource.NewProvisioningServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue")
read, err := client.ListPrivateEndpointConnections(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IotDpsResourceClient.ListPrivateLinkResources
ctx := context.TODO()
id := iotdpsresource.NewProvisioningServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue")
read, err := client.ListPrivateLinkResources(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IotDpsResourceClient.ListValidSkus
ctx := context.TODO()
id := iotdpsresource.NewProvisioningServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue")
// alternatively `client.ListValidSkus(ctx, id)` can be used to do batched pagination
items, err := client.ListValidSkusComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: IotDpsResourceClient.Update
ctx := context.TODO()
id := iotdpsresource.NewProvisioningServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "provisioningServiceValue")
payload := iotdpsresource.TagsResource{
// ...
}
if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Documentation ¶
Index ¶
- func PossibleValuesForAccessRightsDescription() []string
- func PossibleValuesForAllocationPolicy() []string
- func PossibleValuesForIPFilterActionType() []string
- func PossibleValuesForIPFilterTargetType() []string
- func PossibleValuesForIotDpsSku() []string
- func PossibleValuesForNameUnavailabilityReason() []string
- func PossibleValuesForPrivateLinkServiceConnectionStatus() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForState() []string
- func ValidateKeyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateEndpointConnectionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
- type AccessRightsDescription
- type AllocationPolicy
- type CheckProvisioningServiceNameAvailabilityOperationResponse
- type CreateOrUpdateOperationResponse
- type CreateOrUpdatePrivateEndpointConnectionOperationResponse
- type DeleteOperationResponse
- type DeletePrivateEndpointConnectionOperationResponse
- type GetOperationResponse
- type GetPrivateEndpointConnectionOperationResponse
- type GetPrivateLinkResourcesOperationResponse
- type GroupIdInformation
- type GroupIdInformationProperties
- type IPFilterActionType
- type IPFilterRule
- type IPFilterTargetType
- type IotDpsPropertiesDescription
- type IotDpsResourceClient
- func (c IotDpsResourceClient) CheckProvisioningServiceNameAvailability(ctx context.Context, id commonids.SubscriptionId, input OperationInputs) (result CheckProvisioningServiceNameAvailabilityOperationResponse, err error)
- func (c IotDpsResourceClient) CreateOrUpdate(ctx context.Context, id commonids.ProvisioningServiceId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c IotDpsResourceClient) CreateOrUpdatePrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId, ...) (result CreateOrUpdatePrivateEndpointConnectionOperationResponse, err error)
- func (c IotDpsResourceClient) CreateOrUpdatePrivateEndpointConnectionThenPoll(ctx context.Context, id PrivateEndpointConnectionId, ...) error
- func (c IotDpsResourceClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.ProvisioningServiceId, ...) error
- func (c IotDpsResourceClient) Delete(ctx context.Context, id commonids.ProvisioningServiceId) (result DeleteOperationResponse, err error)
- func (c IotDpsResourceClient) DeletePrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId) (result DeletePrivateEndpointConnectionOperationResponse, err error)
- func (c IotDpsResourceClient) DeletePrivateEndpointConnectionThenPoll(ctx context.Context, id PrivateEndpointConnectionId) error
- func (c IotDpsResourceClient) DeleteThenPoll(ctx context.Context, id commonids.ProvisioningServiceId) error
- func (c IotDpsResourceClient) Get(ctx context.Context, id commonids.ProvisioningServiceId) (result GetOperationResponse, err error)
- func (c IotDpsResourceClient) GetPrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId) (result GetPrivateEndpointConnectionOperationResponse, err error)
- func (c IotDpsResourceClient) GetPrivateLinkResources(ctx context.Context, id PrivateLinkResourceId) (result GetPrivateLinkResourcesOperationResponse, err error)
- func (c IotDpsResourceClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c IotDpsResourceClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c IotDpsResourceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c IotDpsResourceClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c IotDpsResourceClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c IotDpsResourceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c IotDpsResourceClient) ListKeys(ctx context.Context, id commonids.ProvisioningServiceId) (resp ListKeysOperationResponse, err error)
- func (c IotDpsResourceClient) ListKeysComplete(ctx context.Context, id commonids.ProvisioningServiceId) (ListKeysCompleteResult, error)
- func (c IotDpsResourceClient) ListKeysCompleteMatchingPredicate(ctx context.Context, id commonids.ProvisioningServiceId, ...) (resp ListKeysCompleteResult, err error)
- func (c IotDpsResourceClient) ListKeysForKeyName(ctx context.Context, id KeyId) (result ListKeysForKeyNameOperationResponse, err error)
- func (c IotDpsResourceClient) ListPrivateEndpointConnections(ctx context.Context, id commonids.ProvisioningServiceId) (result ListPrivateEndpointConnectionsOperationResponse, err error)
- func (c IotDpsResourceClient) ListPrivateLinkResources(ctx context.Context, id commonids.ProvisioningServiceId) (result ListPrivateLinkResourcesOperationResponse, err error)
- func (c IotDpsResourceClient) ListValidSkus(ctx context.Context, id commonids.ProvisioningServiceId) (resp ListValidSkusOperationResponse, err error)
- func (c IotDpsResourceClient) ListValidSkusComplete(ctx context.Context, id commonids.ProvisioningServiceId) (ListValidSkusCompleteResult, error)
- func (c IotDpsResourceClient) ListValidSkusCompleteMatchingPredicate(ctx context.Context, id commonids.ProvisioningServiceId, ...) (resp ListValidSkusCompleteResult, err error)
- func (c IotDpsResourceClient) Update(ctx context.Context, id commonids.ProvisioningServiceId, input TagsResource) (result UpdateOperationResponse, err error)
- func (c IotDpsResourceClient) UpdateThenPoll(ctx context.Context, id commonids.ProvisioningServiceId, input TagsResource) error
- type IotDpsSku
- type IotDpsSkuDefinition
- type IotDpsSkuDefinitionOperationPredicate
- type IotDpsSkuInfo
- type IotHubDefinitionDescription
- type KeyId
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListKeysCompleteResult
- type ListKeysForKeyNameOperationResponse
- type ListKeysOperationResponse
- type ListPrivateEndpointConnectionsOperationResponse
- type ListPrivateLinkResourcesOperationResponse
- type ListValidSkusCompleteResult
- type ListValidSkusOperationResponse
- type NameAvailabilityInfo
- type NameUnavailabilityReason
- type OperationInputs
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionId
- func NewPrivateEndpointConnectionID(subscriptionId string, resourceGroupName string, resourceName string, ...) PrivateEndpointConnectionId
- func ParsePrivateEndpointConnectionID(input string) (*PrivateEndpointConnectionId, error)
- func ParsePrivateEndpointConnectionIDInsensitively(input string) (*PrivateEndpointConnectionId, error)
- type PrivateEndpointConnectionProperties
- type PrivateLinkResourceId
- type PrivateLinkResources
- type PrivateLinkServiceConnectionState
- type PrivateLinkServiceConnectionStatus
- type ProvisioningServiceDescription
- type ProvisioningServiceDescriptionOperationPredicate
- type PublicNetworkAccess
- type SharedAccessSignatureAuthorizationRuleAccessRightsDescription
- type SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionOperationPredicate
- type State
- type TagsResource
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRightsDescription ¶
func PossibleValuesForAccessRightsDescription() []string
func PossibleValuesForAllocationPolicy ¶
func PossibleValuesForAllocationPolicy() []string
func PossibleValuesForIPFilterActionType ¶
func PossibleValuesForIPFilterActionType() []string
func PossibleValuesForIPFilterTargetType ¶
func PossibleValuesForIPFilterTargetType() []string
func PossibleValuesForIotDpsSku ¶
func PossibleValuesForIotDpsSku() []string
func PossibleValuesForNameUnavailabilityReason ¶
func PossibleValuesForNameUnavailabilityReason() []string
func PossibleValuesForPrivateLinkServiceConnectionStatus ¶
func PossibleValuesForPrivateLinkServiceConnectionStatus() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func ValidateKeyID ¶
ValidateKeyID checks that 'input' can be parsed as a Key ID
func ValidatePrivateEndpointConnectionID ¶
func ValidatePrivateEndpointConnectionID(input interface{}, key string) (warnings []string, errors []error)
ValidatePrivateEndpointConnectionID checks that 'input' can be parsed as a Private Endpoint Connection ID
func ValidatePrivateLinkResourceID ¶
func ValidatePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
ValidatePrivateLinkResourceID checks that 'input' can be parsed as a Private Link Resource ID
Types ¶
type AccessRightsDescription ¶
type AccessRightsDescription string
const ( AccessRightsDescriptionDeviceConnect AccessRightsDescription = "DeviceConnect" AccessRightsDescriptionEnrollmentRead AccessRightsDescription = "EnrollmentRead" AccessRightsDescriptionEnrollmentWrite AccessRightsDescription = "EnrollmentWrite" AccessRightsDescriptionRegistrationStatusRead AccessRightsDescription = "RegistrationStatusRead" AccessRightsDescriptionRegistrationStatusWrite AccessRightsDescription = "RegistrationStatusWrite" AccessRightsDescriptionServiceConfig AccessRightsDescription = "ServiceConfig" )
type AllocationPolicy ¶
type AllocationPolicy string
const ( AllocationPolicyGeoLatency AllocationPolicy = "GeoLatency" AllocationPolicyHashed AllocationPolicy = "Hashed" AllocationPolicyStatic AllocationPolicy = "Static" )
type CheckProvisioningServiceNameAvailabilityOperationResponse ¶
type CheckProvisioningServiceNameAvailabilityOperationResponse struct { HttpResponse *http.Response Model *NameAvailabilityInfo }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreateOrUpdatePrivateEndpointConnectionOperationResponse ¶
type CreateOrUpdatePrivateEndpointConnectionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeletePrivateEndpointConnectionOperationResponse ¶
type DeletePrivateEndpointConnectionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ProvisioningServiceDescription }
type GetPrivateEndpointConnectionOperationResponse ¶
type GetPrivateEndpointConnectionOperationResponse struct { HttpResponse *http.Response Model *PrivateEndpointConnection }
type GetPrivateLinkResourcesOperationResponse ¶
type GetPrivateLinkResourcesOperationResponse struct { HttpResponse *http.Response Model *GroupIdInformation }
type GroupIdInformation ¶
type GroupIdInformation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties GroupIdInformationProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type IPFilterActionType ¶
type IPFilterActionType string
const ( IPFilterActionTypeAccept IPFilterActionType = "Accept" IPFilterActionTypeReject IPFilterActionType = "Reject" )
type IPFilterRule ¶
type IPFilterRule struct { Action IPFilterActionType `json:"action"` FilterName string `json:"filterName"` IPMask string `json:"ipMask"` Target *IPFilterTargetType `json:"target,omitempty"` }
type IPFilterTargetType ¶
type IPFilterTargetType string
const ( IPFilterTargetTypeAll IPFilterTargetType = "all" IPFilterTargetTypeDeviceApi IPFilterTargetType = "deviceApi" IPFilterTargetTypeServiceApi IPFilterTargetType = "serviceApi" )
type IotDpsPropertiesDescription ¶
type IotDpsPropertiesDescription struct { AllocationPolicy *AllocationPolicy `json:"allocationPolicy,omitempty"` AuthorizationPolicies *[]SharedAccessSignatureAuthorizationRuleAccessRightsDescription `json:"authorizationPolicies,omitempty"` DeviceProvisioningHostName *string `json:"deviceProvisioningHostName,omitempty"` EnableDataResidency *bool `json:"enableDataResidency,omitempty"` IPFilterRules *[]IPFilterRule `json:"ipFilterRules,omitempty"` IdScope *string `json:"idScope,omitempty"` IotHubs *[]IotHubDefinitionDescription `json:"iotHubs,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` ServiceOperationsHostName *string `json:"serviceOperationsHostName,omitempty"` State *State `json:"state,omitempty"` }
type IotDpsResourceClient ¶
type IotDpsResourceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewIotDpsResourceClientWithBaseURI ¶
func NewIotDpsResourceClientWithBaseURI(endpoint string) IotDpsResourceClient
func (IotDpsResourceClient) CheckProvisioningServiceNameAvailability ¶
func (c IotDpsResourceClient) CheckProvisioningServiceNameAvailability(ctx context.Context, id commonids.SubscriptionId, input OperationInputs) (result CheckProvisioningServiceNameAvailabilityOperationResponse, err error)
CheckProvisioningServiceNameAvailability ...
func (IotDpsResourceClient) CreateOrUpdate ¶
func (c IotDpsResourceClient) CreateOrUpdate(ctx context.Context, id commonids.ProvisioningServiceId, input ProvisioningServiceDescription) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IotDpsResourceClient) CreateOrUpdatePrivateEndpointConnection ¶
func (c IotDpsResourceClient) CreateOrUpdatePrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId, input PrivateEndpointConnection) (result CreateOrUpdatePrivateEndpointConnectionOperationResponse, err error)
CreateOrUpdatePrivateEndpointConnection ...
func (IotDpsResourceClient) CreateOrUpdatePrivateEndpointConnectionThenPoll ¶
func (c IotDpsResourceClient) CreateOrUpdatePrivateEndpointConnectionThenPoll(ctx context.Context, id PrivateEndpointConnectionId, input PrivateEndpointConnection) error
CreateOrUpdatePrivateEndpointConnectionThenPoll performs CreateOrUpdatePrivateEndpointConnection then polls until it's completed
func (IotDpsResourceClient) CreateOrUpdateThenPoll ¶
func (c IotDpsResourceClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.ProvisioningServiceId, input ProvisioningServiceDescription) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (IotDpsResourceClient) Delete ¶
func (c IotDpsResourceClient) Delete(ctx context.Context, id commonids.ProvisioningServiceId) (result DeleteOperationResponse, err error)
Delete ...
func (IotDpsResourceClient) DeletePrivateEndpointConnection ¶
func (c IotDpsResourceClient) DeletePrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId) (result DeletePrivateEndpointConnectionOperationResponse, err error)
DeletePrivateEndpointConnection ...
func (IotDpsResourceClient) DeletePrivateEndpointConnectionThenPoll ¶
func (c IotDpsResourceClient) DeletePrivateEndpointConnectionThenPoll(ctx context.Context, id PrivateEndpointConnectionId) error
DeletePrivateEndpointConnectionThenPoll performs DeletePrivateEndpointConnection then polls until it's completed
func (IotDpsResourceClient) DeleteThenPoll ¶
func (c IotDpsResourceClient) DeleteThenPoll(ctx context.Context, id commonids.ProvisioningServiceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (IotDpsResourceClient) Get ¶
func (c IotDpsResourceClient) Get(ctx context.Context, id commonids.ProvisioningServiceId) (result GetOperationResponse, err error)
Get ...
func (IotDpsResourceClient) GetPrivateEndpointConnection ¶
func (c IotDpsResourceClient) GetPrivateEndpointConnection(ctx context.Context, id PrivateEndpointConnectionId) (result GetPrivateEndpointConnectionOperationResponse, err error)
GetPrivateEndpointConnection ...
func (IotDpsResourceClient) GetPrivateLinkResources ¶
func (c IotDpsResourceClient) GetPrivateLinkResources(ctx context.Context, id PrivateLinkResourceId) (result GetPrivateLinkResourcesOperationResponse, err error)
GetPrivateLinkResources ...
func (IotDpsResourceClient) ListByResourceGroup ¶
func (c IotDpsResourceClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (IotDpsResourceClient) ListByResourceGroupComplete ¶
func (c IotDpsResourceClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (IotDpsResourceClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c IotDpsResourceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ProvisioningServiceDescriptionOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (IotDpsResourceClient) ListBySubscription ¶
func (c IotDpsResourceClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (IotDpsResourceClient) ListBySubscriptionComplete ¶
func (c IotDpsResourceClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (IotDpsResourceClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c IotDpsResourceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ProvisioningServiceDescriptionOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (IotDpsResourceClient) ListKeys ¶
func (c IotDpsResourceClient) ListKeys(ctx context.Context, id commonids.ProvisioningServiceId) (resp ListKeysOperationResponse, err error)
ListKeys ...
func (IotDpsResourceClient) ListKeysComplete ¶
func (c IotDpsResourceClient) ListKeysComplete(ctx context.Context, id commonids.ProvisioningServiceId) (ListKeysCompleteResult, error)
ListKeysComplete retrieves all of the results into a single object
func (IotDpsResourceClient) ListKeysCompleteMatchingPredicate ¶
func (c IotDpsResourceClient) ListKeysCompleteMatchingPredicate(ctx context.Context, id commonids.ProvisioningServiceId, predicate SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionOperationPredicate) (resp ListKeysCompleteResult, err error)
ListKeysCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (IotDpsResourceClient) ListKeysForKeyName ¶
func (c IotDpsResourceClient) ListKeysForKeyName(ctx context.Context, id KeyId) (result ListKeysForKeyNameOperationResponse, err error)
ListKeysForKeyName ...
func (IotDpsResourceClient) ListPrivateEndpointConnections ¶
func (c IotDpsResourceClient) ListPrivateEndpointConnections(ctx context.Context, id commonids.ProvisioningServiceId) (result ListPrivateEndpointConnectionsOperationResponse, err error)
ListPrivateEndpointConnections ...
func (IotDpsResourceClient) ListPrivateLinkResources ¶
func (c IotDpsResourceClient) ListPrivateLinkResources(ctx context.Context, id commonids.ProvisioningServiceId) (result ListPrivateLinkResourcesOperationResponse, err error)
ListPrivateLinkResources ...
func (IotDpsResourceClient) ListValidSkus ¶
func (c IotDpsResourceClient) ListValidSkus(ctx context.Context, id commonids.ProvisioningServiceId) (resp ListValidSkusOperationResponse, err error)
ListValidSkus ...
func (IotDpsResourceClient) ListValidSkusComplete ¶
func (c IotDpsResourceClient) ListValidSkusComplete(ctx context.Context, id commonids.ProvisioningServiceId) (ListValidSkusCompleteResult, error)
ListValidSkusComplete retrieves all of the results into a single object
func (IotDpsResourceClient) ListValidSkusCompleteMatchingPredicate ¶
func (c IotDpsResourceClient) ListValidSkusCompleteMatchingPredicate(ctx context.Context, id commonids.ProvisioningServiceId, predicate IotDpsSkuDefinitionOperationPredicate) (resp ListValidSkusCompleteResult, err error)
ListValidSkusCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (IotDpsResourceClient) Update ¶
func (c IotDpsResourceClient) Update(ctx context.Context, id commonids.ProvisioningServiceId, input TagsResource) (result UpdateOperationResponse, err error)
Update ...
func (IotDpsResourceClient) UpdateThenPoll ¶
func (c IotDpsResourceClient) UpdateThenPoll(ctx context.Context, id commonids.ProvisioningServiceId, input TagsResource) error
UpdateThenPoll performs Update then polls until it's completed
type IotDpsSkuDefinition ¶
type IotDpsSkuDefinition struct {
Name *IotDpsSku `json:"name,omitempty"`
}
type IotDpsSkuDefinitionOperationPredicate ¶
type IotDpsSkuDefinitionOperationPredicate struct { }
func (IotDpsSkuDefinitionOperationPredicate) Matches ¶
func (p IotDpsSkuDefinitionOperationPredicate) Matches(input IotDpsSkuDefinition) bool
type IotDpsSkuInfo ¶
type KeyId ¶
type KeyId struct { SubscriptionId string ResourceGroupName string ProvisioningServiceName string KeyName string }
KeyId is a struct representing the Resource ID for a Key
func NewKeyID ¶
func NewKeyID(subscriptionId string, resourceGroupName string, provisioningServiceName string, keyName string) KeyId
NewKeyID returns a new KeyId struct
func ParseKeyID ¶
ParseKeyID parses 'input' into a KeyId
func ParseKeyIDInsensitively ¶
ParseKeyIDInsensitively parses 'input' case-insensitively into a KeyId note: this method should only be used for API response data and not user input
func (KeyId) Segments ¶
func (id KeyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Key ID
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []ProvisioningServiceDescription
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ProvisioningServiceDescription // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ProvisioningServiceDescription
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ProvisioningServiceDescription // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListKeysCompleteResult ¶
type ListKeysCompleteResult struct {
Items []SharedAccessSignatureAuthorizationRuleAccessRightsDescription
}
type ListKeysForKeyNameOperationResponse ¶
type ListKeysForKeyNameOperationResponse struct { HttpResponse *http.Response Model *SharedAccessSignatureAuthorizationRuleAccessRightsDescription }
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response Model *[]SharedAccessSignatureAuthorizationRuleAccessRightsDescription // contains filtered or unexported fields }
func (ListKeysOperationResponse) HasMore ¶
func (r ListKeysOperationResponse) HasMore() bool
func (ListKeysOperationResponse) LoadMore ¶
func (r ListKeysOperationResponse) LoadMore(ctx context.Context) (resp ListKeysOperationResponse, err error)
type ListPrivateEndpointConnectionsOperationResponse ¶
type ListPrivateEndpointConnectionsOperationResponse struct { HttpResponse *http.Response Model *[]PrivateEndpointConnection }
type ListPrivateLinkResourcesOperationResponse ¶
type ListPrivateLinkResourcesOperationResponse struct { HttpResponse *http.Response Model *PrivateLinkResources }
type ListValidSkusCompleteResult ¶
type ListValidSkusCompleteResult struct {
Items []IotDpsSkuDefinition
}
type ListValidSkusOperationResponse ¶
type ListValidSkusOperationResponse struct { HttpResponse *http.Response Model *[]IotDpsSkuDefinition // contains filtered or unexported fields }
func (ListValidSkusOperationResponse) HasMore ¶
func (r ListValidSkusOperationResponse) HasMore() bool
func (ListValidSkusOperationResponse) LoadMore ¶
func (r ListValidSkusOperationResponse) LoadMore(ctx context.Context) (resp ListValidSkusOperationResponse, err error)
type NameAvailabilityInfo ¶
type NameAvailabilityInfo struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *NameUnavailabilityReason `json:"reason,omitempty"` }
type OperationInputs ¶
type OperationInputs struct {
Name string `json:"name"`
}
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties PrivateEndpointConnectionProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionId ¶
type PrivateEndpointConnectionId struct { SubscriptionId string ResourceGroupName string ResourceName string PrivateEndpointConnectionName string }
PrivateEndpointConnectionId is a struct representing the Resource ID for a Private Endpoint Connection
func NewPrivateEndpointConnectionID ¶
func NewPrivateEndpointConnectionID(subscriptionId string, resourceGroupName string, resourceName string, privateEndpointConnectionName string) PrivateEndpointConnectionId
NewPrivateEndpointConnectionID returns a new PrivateEndpointConnectionId struct
func ParsePrivateEndpointConnectionID ¶
func ParsePrivateEndpointConnectionID(input string) (*PrivateEndpointConnectionId, error)
ParsePrivateEndpointConnectionID parses 'input' into a PrivateEndpointConnectionId
func ParsePrivateEndpointConnectionIDInsensitively ¶
func ParsePrivateEndpointConnectionIDInsensitively(input string) (*PrivateEndpointConnectionId, error)
ParsePrivateEndpointConnectionIDInsensitively parses 'input' case-insensitively into a PrivateEndpointConnectionId note: this method should only be used for API response data and not user input
func (PrivateEndpointConnectionId) ID ¶
func (id PrivateEndpointConnectionId) ID() string
ID returns the formatted Private Endpoint Connection ID
func (PrivateEndpointConnectionId) Segments ¶
func (id PrivateEndpointConnectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Endpoint Connection ID
func (PrivateEndpointConnectionId) String ¶
func (id PrivateEndpointConnectionId) String() string
String returns a human-readable description of this Private Endpoint Connection ID
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` }
type PrivateLinkResourceId ¶
type PrivateLinkResourceId struct { SubscriptionId string ResourceGroupName string ResourceName string GroupId string }
PrivateLinkResourceId is a struct representing the Resource ID for a Private Link Resource
func NewPrivateLinkResourceID ¶
func NewPrivateLinkResourceID(subscriptionId string, resourceGroupName string, resourceName string, groupId string) PrivateLinkResourceId
NewPrivateLinkResourceID returns a new PrivateLinkResourceId struct
func ParsePrivateLinkResourceID ¶
func ParsePrivateLinkResourceID(input string) (*PrivateLinkResourceId, error)
ParsePrivateLinkResourceID parses 'input' into a PrivateLinkResourceId
func ParsePrivateLinkResourceIDInsensitively ¶
func ParsePrivateLinkResourceIDInsensitively(input string) (*PrivateLinkResourceId, error)
ParsePrivateLinkResourceIDInsensitively parses 'input' case-insensitively into a PrivateLinkResourceId note: this method should only be used for API response data and not user input
func (PrivateLinkResourceId) ID ¶
func (id PrivateLinkResourceId) ID() string
ID returns the formatted Private Link Resource ID
func (PrivateLinkResourceId) Segments ¶
func (id PrivateLinkResourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Link Resource ID
func (PrivateLinkResourceId) String ¶
func (id PrivateLinkResourceId) String() string
String returns a human-readable description of this Private Link Resource ID
type PrivateLinkResources ¶
type PrivateLinkResources struct {
Value *[]GroupIdInformation `json:"value,omitempty"`
}
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description string `json:"description"` Status PrivateLinkServiceConnectionStatus `json:"status"` }
type PrivateLinkServiceConnectionStatus ¶
type PrivateLinkServiceConnectionStatus string
const ( PrivateLinkServiceConnectionStatusApproved PrivateLinkServiceConnectionStatus = "Approved" PrivateLinkServiceConnectionStatusDisconnected PrivateLinkServiceConnectionStatus = "Disconnected" PrivateLinkServiceConnectionStatusPending PrivateLinkServiceConnectionStatus = "Pending" PrivateLinkServiceConnectionStatusRejected PrivateLinkServiceConnectionStatus = "Rejected" )
type ProvisioningServiceDescription ¶
type ProvisioningServiceDescription struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties IotDpsPropertiesDescription `json:"properties"` Sku IotDpsSkuInfo `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ProvisioningServiceDescriptionOperationPredicate ¶
type ProvisioningServiceDescriptionOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (ProvisioningServiceDescriptionOperationPredicate) Matches ¶
func (p ProvisioningServiceDescriptionOperationPredicate) Matches(input ProvisioningServiceDescription) bool
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
type SharedAccessSignatureAuthorizationRuleAccessRightsDescription ¶
type SharedAccessSignatureAuthorizationRuleAccessRightsDescription struct {}
type SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionOperationPredicate ¶
type SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionOperationPredicate struct {}
type State ¶
type State string
const ( StateActivating State = "Activating" StateActivationFailed State = "ActivationFailed" StateActive State = "Active" StateDeleted State = "Deleted" StateDeleting State = "Deleting" StateDeletionFailed State = "DeletionFailed" StateFailingOver State = "FailingOver" StateFailoverFailed State = "FailoverFailed" StateResuming State = "Resuming" StateSuspended State = "Suspended" StateSuspending State = "Suspending" StateTransitioning State = "Transitioning" )
type TagsResource ¶
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_key.go
- id_privateendpointconnection.go
- id_privatelinkresource.go
- method_checkprovisioningservicenameavailability_autorest.go
- method_createorupdate_autorest.go
- method_createorupdateprivateendpointconnection_autorest.go
- method_delete_autorest.go
- method_deleteprivateendpointconnection_autorest.go
- method_get_autorest.go
- method_getprivateendpointconnection_autorest.go
- method_getprivatelinkresources_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_listkeys_autorest.go
- method_listkeysforkeyname_autorest.go
- method_listprivateendpointconnections_autorest.go
- method_listprivatelinkresources_autorest.go
- method_listvalidskus_autorest.go
- method_update_autorest.go
- model_groupidinformation.go
- model_groupidinformationproperties.go
- model_iotdpspropertiesdescription.go
- model_iotdpsskudefinition.go
- model_iotdpsskuinfo.go
- model_iothubdefinitiondescription.go
- model_ipfilterrule.go
- model_nameavailabilityinfo.go
- model_operationinputs.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkresources.go
- model_privatelinkserviceconnectionstate.go
- model_provisioningservicedescription.go
- model_sharedaccesssignatureauthorizationruleaccessrightsdescription.go
- model_tagsresource.go
- predicates.go
- version.go