Documentation ¶
Index ¶
- func PossibleValuesForCreatedByType() []string
- func PossibleValuesForKeyType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateCommunicationServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type CheckNameAvailabilityResponse
- type CommunicationServiceClient
- func (c CommunicationServiceClient) CheckNameAvailability(ctx context.Context, id SubscriptionId, input NameAvailabilityParameters) (result CheckNameAvailabilityResponse, err error)
- func (c CommunicationServiceClient) CreateOrUpdate(ctx context.Context, id CommunicationServiceId, ...) (result CreateOrUpdateResponse, err error)
- func (c CommunicationServiceClient) CreateOrUpdateThenPoll(ctx context.Context, id CommunicationServiceId, ...) error
- func (c CommunicationServiceClient) Delete(ctx context.Context, id CommunicationServiceId) (result DeleteResponse, err error)
- func (c CommunicationServiceClient) DeleteThenPoll(ctx context.Context, id CommunicationServiceId) error
- func (c CommunicationServiceClient) Get(ctx context.Context, id CommunicationServiceId) (result GetResponse, err error)
- func (c CommunicationServiceClient) LinkNotificationHub(ctx context.Context, id CommunicationServiceId, ...) (result LinkNotificationHubResponse, err error)
- func (c CommunicationServiceClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
- func (c CommunicationServiceClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c CommunicationServiceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c CommunicationServiceClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
- func (c CommunicationServiceClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c CommunicationServiceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c CommunicationServiceClient) ListKeys(ctx context.Context, id CommunicationServiceId) (result ListKeysResponse, err error)
- func (c CommunicationServiceClient) RegenerateKey(ctx context.Context, id CommunicationServiceId, input RegenerateKeyParameters) (result RegenerateKeyResponse, err error)
- func (c CommunicationServiceClient) Update(ctx context.Context, id CommunicationServiceId, ...) (result UpdateResponse, err error)
- type CommunicationServiceId
- type CommunicationServiceKeys
- type CommunicationServiceProperties
- type CommunicationServiceResource
- type CommunicationServiceResourcePredicate
- type CreateOrUpdateResponse
- type CreatedByType
- type DeleteResponse
- type GetResponse
- type KeyType
- type LinkNotificationHubParameters
- type LinkNotificationHubResponse
- type LinkedNotificationHub
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionResponse
- type ListKeysResponse
- type NameAvailability
- type NameAvailabilityParameters
- type ProvisioningState
- type RegenerateKeyParameters
- type RegenerateKeyResponse
- type ResourceGroupId
- type SubscriptionId
- type SystemData
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreatedByType ¶
func PossibleValuesForCreatedByType() []string
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
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
Types ¶
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse 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 SubscriptionId, input NameAvailabilityParameters) (result CheckNameAvailabilityResponse, err error)
CheckNameAvailability ...
func (CommunicationServiceClient) CreateOrUpdate ¶
func (c CommunicationServiceClient) CreateOrUpdate(ctx context.Context, id CommunicationServiceId, input CommunicationServiceResource) (result CreateOrUpdateResponse, 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 DeleteResponse, 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 GetResponse, err error)
Get ...
func (CommunicationServiceClient) LinkNotificationHub ¶
func (c CommunicationServiceClient) LinkNotificationHub(ctx context.Context, id CommunicationServiceId, input LinkNotificationHubParameters) (result LinkNotificationHubResponse, err error)
LinkNotificationHub ...
func (CommunicationServiceClient) ListByResourceGroup ¶
func (c CommunicationServiceClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
ListByResourceGroup ...
func (CommunicationServiceClient) ListByResourceGroupComplete ¶
func (c CommunicationServiceClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (CommunicationServiceClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CommunicationServiceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate CommunicationServiceResourcePredicate) (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 SubscriptionId) (resp ListBySubscriptionResponse, err error)
ListBySubscription ...
func (CommunicationServiceClient) ListBySubscriptionComplete ¶
func (c CommunicationServiceClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (CommunicationServiceClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c CommunicationServiceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate CommunicationServiceResourcePredicate) (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 ListKeysResponse, err error)
ListKeys ...
func (CommunicationServiceClient) RegenerateKey ¶
func (c CommunicationServiceClient) RegenerateKey(ctx context.Context, id CommunicationServiceId, input RegenerateKeyParameters) (result RegenerateKeyResponse, err error)
RegenerateKey ...
func (CommunicationServiceClient) Update ¶
func (c CommunicationServiceClient) Update(ctx context.Context, id CommunicationServiceId, input CommunicationServiceResource) (result UpdateResponse, 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 `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CommunicationServiceResourcePredicate ¶
type CommunicationServiceResourcePredicate struct { Id *string Location *string Name *string Type *string }
func (CommunicationServiceResourcePredicate) Matches ¶
func (p CommunicationServiceResourcePredicate) Matches(input CommunicationServiceResource) bool
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreatedByType ¶
type CreatedByType string
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
type DeleteResponse ¶
type DeleteResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *CommunicationServiceResource }
type LinkNotificationHubResponse ¶
type LinkNotificationHubResponse struct { HttpResponse *http.Response Model *LinkedNotificationHub }
type LinkedNotificationHub ¶
type LinkedNotificationHub struct {
ResourceId *string `json:"resourceId,omitempty"`
}
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []CommunicationServiceResource
}
type ListByResourceGroupResponse ¶
type ListByResourceGroupResponse struct { HttpResponse *http.Response Model *[]CommunicationServiceResource // contains filtered or unexported fields }
func (ListByResourceGroupResponse) HasMore ¶
func (r ListByResourceGroupResponse) HasMore() bool
func (ListByResourceGroupResponse) LoadMore ¶
func (r ListByResourceGroupResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []CommunicationServiceResource
}
type ListBySubscriptionResponse ¶
type ListBySubscriptionResponse struct { HttpResponse *http.Response Model *[]CommunicationServiceResource // contains filtered or unexported fields }
func (ListBySubscriptionResponse) HasMore ¶
func (r ListBySubscriptionResponse) HasMore() bool
func (ListBySubscriptionResponse) LoadMore ¶
func (r ListBySubscriptionResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionResponse, err error)
type ListKeysResponse ¶
type ListKeysResponse 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 RegenerateKeyParameters ¶
type RegenerateKeyParameters struct {
KeyType *KeyType `json:"keyType,omitempty"`
}
type RegenerateKeyResponse ¶
type RegenerateKeyResponse struct { HttpResponse *http.Response Model *CommunicationServiceKeys }
type ResourceGroupId ¶
ResourceGroupId is a struct representing the Resource ID for a Resource Group
func NewResourceGroupID ¶
func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId
NewResourceGroupID returns a new ResourceGroupId struct
func ParseResourceGroupID ¶
func ParseResourceGroupID(input string) (*ResourceGroupId, error)
ParseResourceGroupID parses 'input' into a ResourceGroupId
func ParseResourceGroupIDInsensitively ¶
func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)
ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input
func (ResourceGroupId) ID ¶
func (id ResourceGroupId) ID() string
ID returns the formatted Resource Group ID
func (ResourceGroupId) Segments ¶
func (id ResourceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group ID
func (ResourceGroupId) String ¶
func (id ResourceGroupId) String() string
String returns a human-readable description of this Resource Group ID
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type SystemData ¶
type SystemData struct { CreatedAt *string `json:"createdAt,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByType *CreatedByType `json:"createdByType,omitempty"` LastModifiedAt *string `json:"lastModifiedAt,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` }
func (SystemData) GetCreatedAtAsTime ¶
func (o SystemData) GetCreatedAtAsTime() (*time.Time, error)
func (SystemData) GetLastModifiedAtAsTime ¶
func (o SystemData) GetLastModifiedAtAsTime() (*time.Time, error)
func (SystemData) SetCreatedAtAsTime ¶
func (o SystemData) SetCreatedAtAsTime(input time.Time)
func (SystemData) SetLastModifiedAtAsTime ¶
func (o SystemData) SetLastModifiedAtAsTime(input time.Time)
type UpdateResponse ¶
type UpdateResponse struct { HttpResponse *http.Response Model *CommunicationServiceResource }
Source Files ¶
- client.go
- constants.go
- id_communicationservice.go
- id_resourcegroup.go
- id_subscription.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
- model_systemdata.go
- predicates.go
- version.go