Documentation ¶
Index ¶
- func PossibleValuesForKeyType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateCommunicationServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CheckNameAvailabilityOperationResponse
- type CommunicationServiceClient
- func (c CommunicationServiceClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c CommunicationServiceClient) CreateOrUpdate(ctx context.Context, id CommunicationServiceId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c CommunicationServiceClient) CreateOrUpdateThenPoll(ctx context.Context, id CommunicationServiceId, ...) error
- func (c CommunicationServiceClient) Delete(ctx context.Context, id CommunicationServiceId) (result DeleteOperationResponse, err error)
- func (c CommunicationServiceClient) DeleteThenPoll(ctx context.Context, id CommunicationServiceId) error
- func (c CommunicationServiceClient) Get(ctx context.Context, id CommunicationServiceId) (result GetOperationResponse, err error)
- func (c CommunicationServiceClient) LinkNotificationHub(ctx context.Context, id CommunicationServiceId, ...) (result LinkNotificationHubOperationResponse, err error)
- func (c CommunicationServiceClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c CommunicationServiceClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c CommunicationServiceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c CommunicationServiceClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c CommunicationServiceClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c CommunicationServiceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c CommunicationServiceClient) ListKeys(ctx context.Context, id CommunicationServiceId) (result ListKeysOperationResponse, err error)
- func (c CommunicationServiceClient) RegenerateKey(ctx context.Context, id CommunicationServiceId, input RegenerateKeyParameters) (result RegenerateKeyOperationResponse, err error)
- func (c CommunicationServiceClient) Update(ctx context.Context, id CommunicationServiceId, ...) (result UpdateOperationResponse, err error)
- type CommunicationServiceId
- type CommunicationServiceKeys
- type CommunicationServiceProperties
- type CommunicationServiceResource
- type CommunicationServiceResourceOperationPredicate
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyType
- type LinkNotificationHubOperationResponse
- type LinkNotificationHubParameters
- type LinkedNotificationHub
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListKeysOperationResponse
- type NameAvailability
- type NameAvailabilityParameters
- type ProvisioningState
- type RegenerateKeyOperationResponse
- type RegenerateKeyParameters
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateCommunicationServiceID ¶
func ValidateCommunicationServiceID(input interface{}, key string) (warnings []string, errors []error)
ValidateCommunicationServiceID checks that 'input' can be parsed as a Communication Service ID
Types ¶
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response Model *NameAvailability }
type CommunicationServiceClient ¶
type CommunicationServiceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewCommunicationServiceClientWithBaseURI ¶
func NewCommunicationServiceClientWithBaseURI(endpoint string) CommunicationServiceClient
func (CommunicationServiceClient) CheckNameAvailability ¶
func (c CommunicationServiceClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input NameAvailabilityParameters) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (CommunicationServiceClient) CreateOrUpdate ¶
func (c CommunicationServiceClient) CreateOrUpdate(ctx context.Context, id CommunicationServiceId, input CommunicationServiceResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CommunicationServiceClient) CreateOrUpdateThenPoll ¶
func (c CommunicationServiceClient) CreateOrUpdateThenPoll(ctx context.Context, id CommunicationServiceId, input CommunicationServiceResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CommunicationServiceClient) Delete ¶
func (c CommunicationServiceClient) Delete(ctx context.Context, id CommunicationServiceId) (result DeleteOperationResponse, err error)
Delete ...
func (CommunicationServiceClient) DeleteThenPoll ¶
func (c CommunicationServiceClient) DeleteThenPoll(ctx context.Context, id CommunicationServiceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CommunicationServiceClient) Get ¶
func (c CommunicationServiceClient) Get(ctx context.Context, id CommunicationServiceId) (result GetOperationResponse, err error)
Get ...
func (CommunicationServiceClient) LinkNotificationHub ¶
func (c CommunicationServiceClient) LinkNotificationHub(ctx context.Context, id CommunicationServiceId, input LinkNotificationHubParameters) (result LinkNotificationHubOperationResponse, err error)
LinkNotificationHub ...
func (CommunicationServiceClient) ListByResourceGroup ¶
func (c CommunicationServiceClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (CommunicationServiceClient) ListByResourceGroupComplete ¶
func (c CommunicationServiceClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (CommunicationServiceClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CommunicationServiceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CommunicationServiceResourceOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CommunicationServiceClient) ListBySubscription ¶
func (c CommunicationServiceClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (CommunicationServiceClient) ListBySubscriptionComplete ¶
func (c CommunicationServiceClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (CommunicationServiceClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c CommunicationServiceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CommunicationServiceResourceOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CommunicationServiceClient) ListKeys ¶
func (c CommunicationServiceClient) ListKeys(ctx context.Context, id CommunicationServiceId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (CommunicationServiceClient) RegenerateKey ¶
func (c CommunicationServiceClient) RegenerateKey(ctx context.Context, id CommunicationServiceId, input RegenerateKeyParameters) (result RegenerateKeyOperationResponse, err error)
RegenerateKey ...
func (CommunicationServiceClient) Update ¶
func (c CommunicationServiceClient) Update(ctx context.Context, id CommunicationServiceId, input CommunicationServiceResource) (result UpdateOperationResponse, err error)
Update ...
type CommunicationServiceId ¶
type CommunicationServiceId struct { SubscriptionId string ResourceGroupName string CommunicationServiceName string }
CommunicationServiceId is a struct representing the Resource ID for a Communication Service
func NewCommunicationServiceID ¶
func NewCommunicationServiceID(subscriptionId string, resourceGroupName string, communicationServiceName string) CommunicationServiceId
NewCommunicationServiceID returns a new CommunicationServiceId struct
func ParseCommunicationServiceID ¶
func ParseCommunicationServiceID(input string) (*CommunicationServiceId, error)
ParseCommunicationServiceID parses 'input' into a CommunicationServiceId
func ParseCommunicationServiceIDInsensitively ¶
func ParseCommunicationServiceIDInsensitively(input string) (*CommunicationServiceId, error)
ParseCommunicationServiceIDInsensitively parses 'input' case-insensitively into a CommunicationServiceId note: this method should only be used for API response data and not user input
func (CommunicationServiceId) ID ¶
func (id CommunicationServiceId) ID() string
ID returns the formatted Communication Service ID
func (CommunicationServiceId) Segments ¶
func (id CommunicationServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Communication Service ID
func (CommunicationServiceId) String ¶
func (id CommunicationServiceId) String() string
String returns a human-readable description of this Communication Service ID
type CommunicationServiceProperties ¶
type CommunicationServiceProperties struct { DataLocation string `json:"dataLocation"` HostName *string `json:"hostName,omitempty"` ImmutableResourceId *string `json:"immutableResourceId,omitempty"` NotificationHubId *string `json:"notificationHubId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Version *string `json:"version,omitempty"` }
type CommunicationServiceResource ¶
type CommunicationServiceResource struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *CommunicationServiceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CommunicationServiceResourceOperationPredicate ¶
type CommunicationServiceResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (CommunicationServiceResourceOperationPredicate) Matches ¶
func (p CommunicationServiceResourceOperationPredicate) Matches(input CommunicationServiceResource) bool
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *CommunicationServiceResource }
type LinkNotificationHubOperationResponse ¶
type LinkNotificationHubOperationResponse struct { HttpResponse *http.Response Model *LinkedNotificationHub }
type LinkedNotificationHub ¶
type LinkedNotificationHub struct {
ResourceId *string `json:"resourceId,omitempty"`
}
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []CommunicationServiceResource
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]CommunicationServiceResource // 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 []CommunicationServiceResource
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]CommunicationServiceResource // 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 ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response Model *CommunicationServiceKeys }
type NameAvailability ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" ProvisioningStateUpdating ProvisioningState = "Updating" )
type RegenerateKeyOperationResponse ¶
type RegenerateKeyOperationResponse struct { HttpResponse *http.Response Model *CommunicationServiceKeys }
type RegenerateKeyParameters ¶
type RegenerateKeyParameters struct {
KeyType *KeyType `json:"keyType,omitempty"`
}
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *CommunicationServiceResource }
Source Files ¶
- client.go
- constants.go
- id_communicationservice.go
- method_checknameavailability_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_linknotificationhub_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_listkeys_autorest.go
- method_regeneratekey_autorest.go
- method_update_autorest.go
- model_communicationservicekeys.go
- model_communicationserviceproperties.go
- model_communicationserviceresource.go
- model_linkednotificationhub.go
- model_linknotificationhubparameters.go
- model_nameavailability.go
- model_nameavailabilityparameters.go
- model_regeneratekeyparameters.go
- predicates.go
- version.go