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) (result 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, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c CommunicationServiceClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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 OData *odata.OData Model *NameAvailability }
type CommunicationServiceClient ¶
type CommunicationServiceClient struct {
Client *resourcemanager.Client
}
func NewCommunicationServiceClientWithBaseURI ¶
func NewCommunicationServiceClientWithBaseURI(api environments.Api) (*CommunicationServiceClient, error)
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) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (CommunicationServiceClient) ListByResourceGroupComplete ¶
func (c CommunicationServiceClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (CommunicationServiceClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CommunicationServiceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CommunicationServiceResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CommunicationServiceClient) ListBySubscription ¶
func (c CommunicationServiceClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (CommunicationServiceClient) ListBySubscriptionComplete ¶
func (c CommunicationServiceClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (CommunicationServiceClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c CommunicationServiceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CommunicationServiceResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CommunicationServiceResource }
type LinkNotificationHubOperationResponse ¶
type LinkNotificationHubOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 OData *odata.OData Model *[]CommunicationServiceResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []CommunicationServiceResource
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CommunicationServiceResource }
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RegenerateKeyOperationResponse ¶
type RegenerateKeyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CommunicationServiceKeys }
type RegenerateKeyParameters ¶
type RegenerateKeyParameters struct {
KeyType *KeyType `json:"keyType,omitempty"`
}
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CommunicationServiceResource }
Source Files ¶
- client.go
- constants.go
- id_communicationservice.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_linknotificationhub.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listkeys.go
- method_regeneratekey.go
- method_update.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