Documentation ¶
Index ¶
- func PossibleValuesForAppSku() []string
- func PossibleValuesForAppState() []string
- func PossibleValuesForIPRuleAction() []string
- func PossibleValuesForNetworkAction() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func ValidateIotAppID(input interface{}, key string) (warnings []string, errors []error)
- type App
- type AppAvailabilityInfo
- type AppOperationPredicate
- type AppPatch
- type AppProperties
- type AppSku
- type AppSkuInfo
- type AppState
- type AppTemplate
- type AppTemplateLocations
- type AppTemplateOperationPredicate
- type AppsClient
- func (c AppsClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input OperationInputs) (result CheckNameAvailabilityOperationResponse, err error)
- func (c AppsClient) CheckSubdomainAvailability(ctx context.Context, id commonids.SubscriptionId, input OperationInputs) (result CheckSubdomainAvailabilityOperationResponse, err error)
- func (c AppsClient) CreateOrUpdate(ctx context.Context, id IotAppId, input App) (result CreateOrUpdateOperationResponse, err error)
- func (c AppsClient) CreateOrUpdateThenPoll(ctx context.Context, id IotAppId, input App) error
- func (c AppsClient) Delete(ctx context.Context, id IotAppId) (result DeleteOperationResponse, err error)
- func (c AppsClient) DeleteThenPoll(ctx context.Context, id IotAppId) error
- func (c AppsClient) Get(ctx context.Context, id IotAppId) (result GetOperationResponse, err error)
- func (c AppsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c AppsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AppsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c AppsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c AppsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AppsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c AppsClient) ListTemplates(ctx context.Context, id commonids.SubscriptionId) (result ListTemplatesOperationResponse, err error)
- func (c AppsClient) ListTemplatesComplete(ctx context.Context, id commonids.SubscriptionId) (ListTemplatesCompleteResult, error)
- func (c AppsClient) ListTemplatesCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListTemplatesCompleteResult, err error)
- func (c AppsClient) Update(ctx context.Context, id IotAppId, input AppPatch) (result UpdateOperationResponse, err error)
- func (c AppsClient) UpdateThenPoll(ctx context.Context, id IotAppId, input AppPatch) error
- type CheckNameAvailabilityOperationResponse
- type CheckSubdomainAvailabilityOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IPRuleAction
- type IotAppId
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListTemplatesCompleteResult
- type ListTemplatesOperationResponse
- type NetworkAction
- type NetworkRuleSetIPRule
- type NetworkRuleSets
- type OperationInputs
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAppSku ¶
func PossibleValuesForAppSku() []string
func PossibleValuesForAppState ¶
func PossibleValuesForAppState() []string
func PossibleValuesForIPRuleAction ¶ added in v0.20220725.1131927
func PossibleValuesForIPRuleAction() []string
func PossibleValuesForNetworkAction ¶
func PossibleValuesForNetworkAction() []string
func PossibleValuesForPrivateEndpointConnectionProvisioningState ¶
func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func ValidateIotAppID ¶
ValidateIotAppID checks that 'input' can be parsed as a Iot App ID
Types ¶
type App ¶
type App struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AppProperties `json:"properties,omitempty"` Sku AppSkuInfo `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AppAvailabilityInfo ¶
type AppOperationPredicate ¶
func (AppOperationPredicate) Matches ¶
func (p AppOperationPredicate) Matches(input App) bool
type AppPatch ¶
type AppPatch struct { Identity *identity.SystemAssigned `json:"identity,omitempty"` Properties *AppProperties `json:"properties,omitempty"` Sku *AppSkuInfo `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AppProperties ¶
type AppProperties struct { ApplicationId *string `json:"applicationId,omitempty"` DisplayName *string `json:"displayName,omitempty"` NetworkRuleSets *NetworkRuleSets `json:"networkRuleSets,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` State *AppState `json:"state,omitempty"` Subdomain *string `json:"subdomain,omitempty"` Template *string `json:"template,omitempty"` }
type AppSkuInfo ¶
type AppSkuInfo struct {
Name AppSku `json:"name"`
}
type AppTemplate ¶
type AppTemplate struct { Description *string `json:"description,omitempty"` Industry *string `json:"industry,omitempty"` Locations *[]AppTemplateLocations `json:"locations,omitempty"` ManifestId *string `json:"manifestId,omitempty"` ManifestVersion *string `json:"manifestVersion,omitempty"` Name *string `json:"name,omitempty"` Order *float64 `json:"order,omitempty"` Title *string `json:"title,omitempty"` }
type AppTemplateLocations ¶
type AppTemplateOperationPredicate ¶
type AppTemplateOperationPredicate struct { Description *string Industry *string ManifestId *string ManifestVersion *string Name *string Order *float64 Title *string }
func (AppTemplateOperationPredicate) Matches ¶
func (p AppTemplateOperationPredicate) Matches(input AppTemplate) bool
type AppsClient ¶
type AppsClient struct {
Client *resourcemanager.Client
}
func NewAppsClientWithBaseURI ¶
func NewAppsClientWithBaseURI(sdkApi sdkEnv.Api) (*AppsClient, error)
func (AppsClient) CheckNameAvailability ¶
func (c AppsClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input OperationInputs) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (AppsClient) CheckSubdomainAvailability ¶
func (c AppsClient) CheckSubdomainAvailability(ctx context.Context, id commonids.SubscriptionId, input OperationInputs) (result CheckSubdomainAvailabilityOperationResponse, err error)
CheckSubdomainAvailability ...
func (AppsClient) CreateOrUpdate ¶
func (c AppsClient) CreateOrUpdate(ctx context.Context, id IotAppId, input App) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AppsClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AppsClient) Delete ¶
func (c AppsClient) Delete(ctx context.Context, id IotAppId) (result DeleteOperationResponse, err error)
Delete ...
func (AppsClient) DeleteThenPoll ¶
func (c AppsClient) DeleteThenPoll(ctx context.Context, id IotAppId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AppsClient) Get ¶
func (c AppsClient) Get(ctx context.Context, id IotAppId) (result GetOperationResponse, err error)
Get ...
func (AppsClient) ListByResourceGroup ¶
func (c AppsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AppsClient) ListByResourceGroupComplete ¶
func (c AppsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AppsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AppsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AppOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AppsClient) ListBySubscription ¶
func (c AppsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AppsClient) ListBySubscriptionComplete ¶
func (c AppsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AppsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AppsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AppOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AppsClient) ListTemplates ¶
func (c AppsClient) ListTemplates(ctx context.Context, id commonids.SubscriptionId) (result ListTemplatesOperationResponse, err error)
ListTemplates ...
func (AppsClient) ListTemplatesComplete ¶
func (c AppsClient) ListTemplatesComplete(ctx context.Context, id commonids.SubscriptionId) (ListTemplatesCompleteResult, error)
ListTemplatesComplete retrieves all the results into a single object
func (AppsClient) ListTemplatesCompleteMatchingPredicate ¶
func (c AppsClient) ListTemplatesCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AppTemplateOperationPredicate) (result ListTemplatesCompleteResult, err error)
ListTemplatesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AppsClient) Update ¶
func (c AppsClient) Update(ctx context.Context, id IotAppId, input AppPatch) (result UpdateOperationResponse, err error)
Update ...
func (AppsClient) UpdateThenPoll ¶
UpdateThenPoll performs Update then polls until it's completed
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AppAvailabilityInfo }
type CheckSubdomainAvailabilityOperationResponse ¶
type CheckSubdomainAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AppAvailabilityInfo }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type IPRuleAction ¶ added in v0.20220725.1131927
type IPRuleAction string
const (
IPRuleActionAllow IPRuleAction = "Allow"
)
func (*IPRuleAction) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *IPRuleAction) UnmarshalJSON(bytes []byte) error
type IotAppId ¶
IotAppId is a struct representing the Resource ID for a Iot App
func NewIotAppID ¶
NewIotAppID returns a new IotAppId struct
func ParseIotAppID ¶
ParseIotAppID parses 'input' into a IotAppId
func ParseIotAppIDInsensitively ¶
ParseIotAppIDInsensitively parses 'input' case-insensitively into a IotAppId note: this method should only be used for API response data and not user input
func (IotAppId) Segments ¶
func (id IotAppId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Iot App ID
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []App
}
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []App
}
type ListTemplatesCompleteResult ¶
type ListTemplatesCompleteResult struct {
Items []AppTemplate
}
type ListTemplatesOperationResponse ¶
type ListTemplatesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AppTemplate }
type NetworkAction ¶
type NetworkAction string
const ( NetworkActionAllow NetworkAction = "Allow" NetworkActionDeny NetworkAction = "Deny" )
func (*NetworkAction) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *NetworkAction) UnmarshalJSON(bytes []byte) error
type NetworkRuleSetIPRule ¶ added in v0.20220725.1131927
type NetworkRuleSetIPRule struct { Action *IPRuleAction `json:"action,omitempty"` FilterName *string `json:"filterName,omitempty"` IPMask *string `json:"ipMask,omitempty"` }
type NetworkRuleSets ¶
type NetworkRuleSets struct { ApplyToDevices *bool `json:"applyToDevices,omitempty"` ApplyToIoTCentral *bool `json:"applyToIoTCentral,omitempty"` DefaultAction *NetworkAction `json:"defaultAction,omitempty"` IPRules *[]NetworkRuleSetIPRule `json:"ipRules,omitempty"` }
type OperationInputs ¶
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,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { GroupIds *[]string `json:"groupIds,omitempty"` PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` ProvisioningState *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` }
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
const ( PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" )
func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_iotapp.go
- method_checknameavailability.go
- method_checksubdomainavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listtemplates.go
- method_update.go
- model_app.go
- model_appavailabilityinfo.go
- model_apppatch.go
- model_appproperties.go
- model_appskuinfo.go
- model_apptemplate.go
- model_apptemplatelocations.go
- model_networkrulesetiprule.go
- model_networkrulesets.go
- model_operationinputs.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- predicates.go
- version.go