Documentation ¶
Index ¶
- func PossibleValuesForConnectionPropertiesProvisioningState() []string
- func PossibleValuesForPrivateLinkServiceConnectionStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func ValidateDigitalTwinsInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type ConnectionProperties
- type ConnectionPropertiesProvisioningState
- type ConnectionState
- type DigitalTwinsCreateOrUpdateOperationResponse
- type DigitalTwinsDeleteOperationResponse
- type DigitalTwinsDescription
- type DigitalTwinsDescriptionOperationPredicate
- type DigitalTwinsGetOperationResponse
- type DigitalTwinsInstanceClient
- func (c DigitalTwinsInstanceClient) DigitalTwinsCreateOrUpdate(ctx context.Context, id DigitalTwinsInstanceId, input DigitalTwinsDescription) (result DigitalTwinsCreateOrUpdateOperationResponse, err error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsCreateOrUpdateThenPoll(ctx context.Context, id DigitalTwinsInstanceId, input DigitalTwinsDescription) error
- func (c DigitalTwinsInstanceClient) DigitalTwinsDelete(ctx context.Context, id DigitalTwinsInstanceId) (result DigitalTwinsDeleteOperationResponse, err error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsDeleteThenPoll(ctx context.Context, id DigitalTwinsInstanceId) error
- func (c DigitalTwinsInstanceClient) DigitalTwinsGet(ctx context.Context, id DigitalTwinsInstanceId) (result DigitalTwinsGetOperationResponse, err error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsList(ctx context.Context, id commonids.SubscriptionId) (resp DigitalTwinsListOperationResponse, err error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp DigitalTwinsListByResourceGroupOperationResponse, err error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (DigitalTwinsListByResourceGroupCompleteResult, error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp DigitalTwinsListByResourceGroupCompleteResult, err error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsListComplete(ctx context.Context, id commonids.SubscriptionId) (DigitalTwinsListCompleteResult, error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp DigitalTwinsListCompleteResult, err error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsUpdate(ctx context.Context, id DigitalTwinsInstanceId, ...) (result DigitalTwinsUpdateOperationResponse, err error)
- func (c DigitalTwinsInstanceClient) DigitalTwinsUpdateThenPoll(ctx context.Context, id DigitalTwinsInstanceId, ...) error
- type DigitalTwinsInstanceId
- type DigitalTwinsListByResourceGroupCompleteResult
- type DigitalTwinsListByResourceGroupOperationResponse
- type DigitalTwinsListCompleteResult
- type DigitalTwinsListOperationResponse
- type DigitalTwinsPatchDescription
- type DigitalTwinsPatchProperties
- type DigitalTwinsProperties
- func (o *DigitalTwinsProperties) GetCreatedTimeAsTime() (*time.Time, error)
- func (o *DigitalTwinsProperties) GetLastUpdatedTimeAsTime() (*time.Time, error)
- func (o *DigitalTwinsProperties) SetCreatedTimeAsTime(input time.Time)
- func (o *DigitalTwinsProperties) SetLastUpdatedTimeAsTime(input time.Time)
- type DigitalTwinsUpdateOperationResponse
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateLinkServiceConnectionStatus
- type ProvisioningState
- type PublicNetworkAccess
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConnectionPropertiesProvisioningState ¶
func PossibleValuesForConnectionPropertiesProvisioningState() []string
func PossibleValuesForPrivateLinkServiceConnectionStatus ¶
func PossibleValuesForPrivateLinkServiceConnectionStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func ValidateDigitalTwinsInstanceID ¶
func ValidateDigitalTwinsInstanceID(input interface{}, key string) (warnings []string, errors []error)
ValidateDigitalTwinsInstanceID checks that 'input' can be parsed as a Digital Twins Instance ID
Types ¶
type ConnectionProperties ¶
type ConnectionProperties struct { GroupIds *[]string `json:"groupIds,omitempty"` PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *ConnectionState `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *ConnectionPropertiesProvisioningState `json:"provisioningState,omitempty"` }
type ConnectionPropertiesProvisioningState ¶
type ConnectionPropertiesProvisioningState string
const ( ConnectionPropertiesProvisioningStateApproved ConnectionPropertiesProvisioningState = "Approved" ConnectionPropertiesProvisioningStateDisconnected ConnectionPropertiesProvisioningState = "Disconnected" ConnectionPropertiesProvisioningStatePending ConnectionPropertiesProvisioningState = "Pending" ConnectionPropertiesProvisioningStateRejected ConnectionPropertiesProvisioningState = "Rejected" )
type ConnectionState ¶
type ConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description string `json:"description"` Status PrivateLinkServiceConnectionStatus `json:"status"` }
type DigitalTwinsCreateOrUpdateOperationResponse ¶
type DigitalTwinsCreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DigitalTwinsDeleteOperationResponse ¶
type DigitalTwinsDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DigitalTwinsDescription ¶
type DigitalTwinsDescription struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DigitalTwinsProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DigitalTwinsDescriptionOperationPredicate ¶
type DigitalTwinsDescriptionOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (DigitalTwinsDescriptionOperationPredicate) Matches ¶
func (p DigitalTwinsDescriptionOperationPredicate) Matches(input DigitalTwinsDescription) bool
type DigitalTwinsGetOperationResponse ¶
type DigitalTwinsGetOperationResponse struct { HttpResponse *http.Response Model *DigitalTwinsDescription }
type DigitalTwinsInstanceClient ¶
type DigitalTwinsInstanceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDigitalTwinsInstanceClientWithBaseURI ¶
func NewDigitalTwinsInstanceClientWithBaseURI(endpoint string) DigitalTwinsInstanceClient
func (DigitalTwinsInstanceClient) DigitalTwinsCreateOrUpdate ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsCreateOrUpdate(ctx context.Context, id DigitalTwinsInstanceId, input DigitalTwinsDescription) (result DigitalTwinsCreateOrUpdateOperationResponse, err error)
DigitalTwinsCreateOrUpdate ...
func (DigitalTwinsInstanceClient) DigitalTwinsCreateOrUpdateThenPoll ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsCreateOrUpdateThenPoll(ctx context.Context, id DigitalTwinsInstanceId, input DigitalTwinsDescription) error
DigitalTwinsCreateOrUpdateThenPoll performs DigitalTwinsCreateOrUpdate then polls until it's completed
func (DigitalTwinsInstanceClient) DigitalTwinsDelete ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsDelete(ctx context.Context, id DigitalTwinsInstanceId) (result DigitalTwinsDeleteOperationResponse, err error)
DigitalTwinsDelete ...
func (DigitalTwinsInstanceClient) DigitalTwinsDeleteThenPoll ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsDeleteThenPoll(ctx context.Context, id DigitalTwinsInstanceId) error
DigitalTwinsDeleteThenPoll performs DigitalTwinsDelete then polls until it's completed
func (DigitalTwinsInstanceClient) DigitalTwinsGet ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsGet(ctx context.Context, id DigitalTwinsInstanceId) (result DigitalTwinsGetOperationResponse, err error)
DigitalTwinsGet ...
func (DigitalTwinsInstanceClient) DigitalTwinsList ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsList(ctx context.Context, id commonids.SubscriptionId) (resp DigitalTwinsListOperationResponse, err error)
DigitalTwinsList ...
func (DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroup ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp DigitalTwinsListByResourceGroupOperationResponse, err error)
DigitalTwinsListByResourceGroup ...
func (DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroupComplete ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (DigitalTwinsListByResourceGroupCompleteResult, error)
DigitalTwinsListByResourceGroupComplete retrieves all of the results into a single object
func (DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroupCompleteMatchingPredicate ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DigitalTwinsDescriptionOperationPredicate) (resp DigitalTwinsListByResourceGroupCompleteResult, err error)
DigitalTwinsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DigitalTwinsInstanceClient) DigitalTwinsListComplete ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsListComplete(ctx context.Context, id commonids.SubscriptionId) (DigitalTwinsListCompleteResult, error)
DigitalTwinsListComplete retrieves all of the results into a single object
func (DigitalTwinsInstanceClient) DigitalTwinsListCompleteMatchingPredicate ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DigitalTwinsDescriptionOperationPredicate) (resp DigitalTwinsListCompleteResult, err error)
DigitalTwinsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DigitalTwinsInstanceClient) DigitalTwinsUpdate ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsUpdate(ctx context.Context, id DigitalTwinsInstanceId, input DigitalTwinsPatchDescription) (result DigitalTwinsUpdateOperationResponse, err error)
DigitalTwinsUpdate ...
func (DigitalTwinsInstanceClient) DigitalTwinsUpdateThenPoll ¶
func (c DigitalTwinsInstanceClient) DigitalTwinsUpdateThenPoll(ctx context.Context, id DigitalTwinsInstanceId, input DigitalTwinsPatchDescription) error
DigitalTwinsUpdateThenPoll performs DigitalTwinsUpdate then polls until it's completed
type DigitalTwinsInstanceId ¶
type DigitalTwinsInstanceId struct { SubscriptionId string ResourceGroupName string ResourceName string }
DigitalTwinsInstanceId is a struct representing the Resource ID for a Digital Twins Instance
func NewDigitalTwinsInstanceID ¶
func NewDigitalTwinsInstanceID(subscriptionId string, resourceGroupName string, resourceName string) DigitalTwinsInstanceId
NewDigitalTwinsInstanceID returns a new DigitalTwinsInstanceId struct
func ParseDigitalTwinsInstanceID ¶
func ParseDigitalTwinsInstanceID(input string) (*DigitalTwinsInstanceId, error)
ParseDigitalTwinsInstanceID parses 'input' into a DigitalTwinsInstanceId
func ParseDigitalTwinsInstanceIDInsensitively ¶
func ParseDigitalTwinsInstanceIDInsensitively(input string) (*DigitalTwinsInstanceId, error)
ParseDigitalTwinsInstanceIDInsensitively parses 'input' case-insensitively into a DigitalTwinsInstanceId note: this method should only be used for API response data and not user input
func (DigitalTwinsInstanceId) ID ¶
func (id DigitalTwinsInstanceId) ID() string
ID returns the formatted Digital Twins Instance ID
func (DigitalTwinsInstanceId) Segments ¶
func (id DigitalTwinsInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Digital Twins Instance ID
func (DigitalTwinsInstanceId) String ¶
func (id DigitalTwinsInstanceId) String() string
String returns a human-readable description of this Digital Twins Instance ID
type DigitalTwinsListByResourceGroupCompleteResult ¶
type DigitalTwinsListByResourceGroupCompleteResult struct {
Items []DigitalTwinsDescription
}
type DigitalTwinsListByResourceGroupOperationResponse ¶
type DigitalTwinsListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]DigitalTwinsDescription // contains filtered or unexported fields }
func (DigitalTwinsListByResourceGroupOperationResponse) HasMore ¶
func (r DigitalTwinsListByResourceGroupOperationResponse) HasMore() bool
func (DigitalTwinsListByResourceGroupOperationResponse) LoadMore ¶
func (r DigitalTwinsListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp DigitalTwinsListByResourceGroupOperationResponse, err error)
type DigitalTwinsListCompleteResult ¶
type DigitalTwinsListCompleteResult struct {
Items []DigitalTwinsDescription
}
type DigitalTwinsListOperationResponse ¶
type DigitalTwinsListOperationResponse struct { HttpResponse *http.Response Model *[]DigitalTwinsDescription // contains filtered or unexported fields }
func (DigitalTwinsListOperationResponse) HasMore ¶
func (r DigitalTwinsListOperationResponse) HasMore() bool
func (DigitalTwinsListOperationResponse) LoadMore ¶
func (r DigitalTwinsListOperationResponse) LoadMore(ctx context.Context) (resp DigitalTwinsListOperationResponse, err error)
type DigitalTwinsPatchDescription ¶
type DigitalTwinsPatchDescription struct { Identity *identity.SystemAssigned `json:"identity,omitempty"` Properties *DigitalTwinsPatchProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DigitalTwinsPatchProperties ¶
type DigitalTwinsPatchProperties struct {
PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}
type DigitalTwinsProperties ¶
type DigitalTwinsProperties struct { CreatedTime *string `json:"createdTime,omitempty"` HostName *string `json:"hostName,omitempty"` LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` }
func (*DigitalTwinsProperties) GetCreatedTimeAsTime ¶
func (o *DigitalTwinsProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*DigitalTwinsProperties) GetLastUpdatedTimeAsTime ¶
func (o *DigitalTwinsProperties) GetLastUpdatedTimeAsTime() (*time.Time, error)
func (*DigitalTwinsProperties) SetCreatedTimeAsTime ¶
func (o *DigitalTwinsProperties) SetCreatedTimeAsTime(input time.Time)
func (*DigitalTwinsProperties) SetLastUpdatedTimeAsTime ¶
func (o *DigitalTwinsProperties) SetLastUpdatedTimeAsTime(input time.Time)
type DigitalTwinsUpdateOperationResponse ¶
type DigitalTwinsUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 ConnectionProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type PrivateLinkServiceConnectionStatus ¶
type PrivateLinkServiceConnectionStatus string
const ( PrivateLinkServiceConnectionStatusApproved PrivateLinkServiceConnectionStatus = "Approved" PrivateLinkServiceConnectionStatusDisconnected PrivateLinkServiceConnectionStatus = "Disconnected" PrivateLinkServiceConnectionStatusPending PrivateLinkServiceConnectionStatus = "Pending" PrivateLinkServiceConnectionStatusRejected PrivateLinkServiceConnectionStatus = "Rejected" )
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateRestoring ProvisioningState = "Restoring" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateSuspending ProvisioningState = "Suspending" ProvisioningStateUpdating ProvisioningState = "Updating" ProvisioningStateWarning ProvisioningState = "Warning" )
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
Source Files ¶
- client.go
- constants.go
- id_digitaltwinsinstance.go
- method_digitaltwinscreateorupdate_autorest.go
- method_digitaltwinsdelete_autorest.go
- method_digitaltwinsget_autorest.go
- method_digitaltwinslist_autorest.go
- method_digitaltwinslistbyresourcegroup_autorest.go
- method_digitaltwinsupdate_autorest.go
- model_connectionproperties.go
- model_connectionstate.go
- model_digitaltwinsdescription.go
- model_digitaltwinspatchdescription.go
- model_digitaltwinspatchproperties.go
- model_digitaltwinsproperties.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- predicates.go
- version.go