Documentation ¶
Index ¶
- func PossibleValuesForHostingMode() []string
- func PossibleValuesForPrivateLinkServiceConnectionStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForResourceType() []string
- func PossibleValuesForSearchServiceStatus() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForUnavailableNameReason() []string
- func ValidateSearchServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CheckNameAvailabilityInput
- type CheckNameAvailabilityOperationOptions
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityOutput
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type HostingMode
- type IPRule
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type NetworkRuleSet
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionPropertiesPrivateEndpoint
- type PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
- type PrivateLinkServiceConnectionStatus
- type ProvisioningState
- type PublicNetworkAccess
- type ResourceType
- type SearchService
- type SearchServiceId
- type SearchServiceOperationPredicate
- type SearchServiceProperties
- type SearchServiceStatus
- type ServicesClient
- func (c ServicesClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c ServicesClient) CreateOrUpdate(ctx context.Context, id SearchServiceId, input SearchService, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ServicesClient) CreateOrUpdateThenPoll(ctx context.Context, id SearchServiceId, input SearchService, ...) error
- func (c ServicesClient) Delete(ctx context.Context, id SearchServiceId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ServicesClient) Get(ctx context.Context, id SearchServiceId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ServicesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c ServicesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c ServicesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ServicesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c ServicesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c ServicesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c ServicesClient) Update(ctx context.Context, id SearchServiceId, input SearchService, ...) (result UpdateOperationResponse, err error)
- type Sku
- type SkuName
- type UnavailableNameReason
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHostingMode ¶
func PossibleValuesForHostingMode() []string
func PossibleValuesForPrivateLinkServiceConnectionStatus ¶
func PossibleValuesForPrivateLinkServiceConnectionStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForResourceType ¶
func PossibleValuesForResourceType() []string
func PossibleValuesForSearchServiceStatus ¶
func PossibleValuesForSearchServiceStatus() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForUnavailableNameReason ¶
func PossibleValuesForUnavailableNameReason() []string
func ValidateSearchServiceID ¶
ValidateSearchServiceID checks that 'input' can be parsed as a Search Service ID
Types ¶
type CheckNameAvailabilityInput ¶
type CheckNameAvailabilityInput struct { Name string `json:"name"` Type ResourceType `json:"type"` }
type CheckNameAvailabilityOperationOptions ¶
type CheckNameAvailabilityOperationOptions struct {
XMsClientRequestId *string
}
func DefaultCheckNameAvailabilityOperationOptions ¶
func DefaultCheckNameAvailabilityOperationOptions() CheckNameAvailabilityOperationOptions
func (CheckNameAvailabilityOperationOptions) ToHeaders ¶ added in v0.20230504.1071847
func (o CheckNameAvailabilityOperationOptions) ToHeaders() *client.Headers
func (CheckNameAvailabilityOperationOptions) ToOData ¶ added in v0.20230504.1071847
func (o CheckNameAvailabilityOperationOptions) ToOData() *odata.Query
func (CheckNameAvailabilityOperationOptions) ToQuery ¶ added in v0.20230504.1071847
func (o CheckNameAvailabilityOperationOptions) ToQuery() *client.QueryParams
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityOutput }
type CheckNameAvailabilityOutput ¶
type CheckNameAvailabilityOutput struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *UnavailableNameReason `json:"reason,omitempty"` }
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
XMsClientRequestId *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230504.1071847
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230504.1071847
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230504.1071847
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
XMsClientRequestId *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230504.1071847
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230504.1071847
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230504.1071847
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
XMsClientRequestId *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶ added in v0.20230504.1071847
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶ added in v0.20230504.1071847
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶ added in v0.20230504.1071847
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SearchService }
type HostingMode ¶
type HostingMode string
const ( HostingModeDefault HostingMode = "default" HostingModeHighDensity HostingMode = "highDensity" )
func (*HostingMode) UnmarshalJSON ¶ added in v0.20230504.1071847
func (s *HostingMode) UnmarshalJSON(bytes []byte) error
type IPRule ¶ added in v0.20220725.1131927
type IPRule struct {
Value *string `json:"value,omitempty"`
}
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []SearchService
}
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
XMsClientRequestId *string
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶ added in v0.20230504.1071847
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶ added in v0.20230504.1071847
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶ added in v0.20230504.1071847
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SearchService }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []SearchService
}
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct {
XMsClientRequestId *string
}
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶ added in v0.20230504.1071847
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶ added in v0.20230504.1071847
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶ added in v0.20230504.1071847
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SearchService }
type NetworkRuleSet ¶
type NetworkRuleSet struct {
IPRules *[]IPRule `json:"ipRules,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpointConnectionPropertiesPrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` }
type PrivateEndpointConnectionPropertiesPrivateEndpoint ¶
type PrivateEndpointConnectionPropertiesPrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState ¶
type PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateLinkServiceConnectionStatus `json:"status,omitempty"` }
type PrivateLinkServiceConnectionStatus ¶
type PrivateLinkServiceConnectionStatus string
const ( PrivateLinkServiceConnectionStatusApproved PrivateLinkServiceConnectionStatus = "Approved" PrivateLinkServiceConnectionStatusDisconnected PrivateLinkServiceConnectionStatus = "Disconnected" PrivateLinkServiceConnectionStatusPending PrivateLinkServiceConnectionStatus = "Pending" PrivateLinkServiceConnectionStatusRejected PrivateLinkServiceConnectionStatus = "Rejected" )
func (*PrivateLinkServiceConnectionStatus) UnmarshalJSON ¶ added in v0.20230504.1071847
func (s *PrivateLinkServiceConnectionStatus) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateFailed ProvisioningState = "failed" ProvisioningStateProvisioning ProvisioningState = "provisioning" ProvisioningStateSucceeded ProvisioningState = "succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230504.1071847
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.20230504.1071847
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type ResourceType ¶
type ResourceType string
const (
ResourceTypeSearchServices ResourceType = "searchServices"
)
func (*ResourceType) UnmarshalJSON ¶ added in v0.20230504.1071847
func (s *ResourceType) UnmarshalJSON(bytes []byte) error
type SearchService ¶
type SearchService struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *SearchServiceProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SearchServiceId ¶
type SearchServiceId struct { SubscriptionId string ResourceGroupName string SearchServiceName string }
SearchServiceId is a struct representing the Resource ID for a Search Service
func NewSearchServiceID ¶
func NewSearchServiceID(subscriptionId string, resourceGroupName string, searchServiceName string) SearchServiceId
NewSearchServiceID returns a new SearchServiceId struct
func ParseSearchServiceID ¶
func ParseSearchServiceID(input string) (*SearchServiceId, error)
ParseSearchServiceID parses 'input' into a SearchServiceId
func ParseSearchServiceIDInsensitively ¶
func ParseSearchServiceIDInsensitively(input string) (*SearchServiceId, error)
ParseSearchServiceIDInsensitively parses 'input' case-insensitively into a SearchServiceId note: this method should only be used for API response data and not user input
func (SearchServiceId) ID ¶
func (id SearchServiceId) ID() string
ID returns the formatted Search Service ID
func (SearchServiceId) Segments ¶
func (id SearchServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Search Service ID
func (SearchServiceId) String ¶
func (id SearchServiceId) String() string
String returns a human-readable description of this Search Service ID
type SearchServiceOperationPredicate ¶
type SearchServiceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (SearchServiceOperationPredicate) Matches ¶
func (p SearchServiceOperationPredicate) Matches(input SearchService) bool
type SearchServiceProperties ¶
type SearchServiceProperties struct { HostingMode *HostingMode `json:"hostingMode,omitempty"` NetworkRuleSet *NetworkRuleSet `json:"networkRuleSet,omitempty"` PartitionCount *int64 `json:"partitionCount,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` ReplicaCount *int64 `json:"replicaCount,omitempty"` Status *SearchServiceStatus `json:"status,omitempty"` StatusDetails *string `json:"statusDetails,omitempty"` }
type SearchServiceStatus ¶
type SearchServiceStatus string
const ( SearchServiceStatusDegraded SearchServiceStatus = "degraded" SearchServiceStatusDeleting SearchServiceStatus = "deleting" SearchServiceStatusDisabled SearchServiceStatus = "disabled" SearchServiceStatusError SearchServiceStatus = "error" SearchServiceStatusProvisioning SearchServiceStatus = "provisioning" SearchServiceStatusRunning SearchServiceStatus = "running" )
func (*SearchServiceStatus) UnmarshalJSON ¶ added in v0.20230504.1071847
func (s *SearchServiceStatus) UnmarshalJSON(bytes []byte) error
type ServicesClient ¶
type ServicesClient struct {
Client *resourcemanager.Client
}
func NewServicesClientWithBaseURI ¶
func NewServicesClientWithBaseURI(api environments.Api) (*ServicesClient, error)
func (ServicesClient) CheckNameAvailability ¶
func (c ServicesClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckNameAvailabilityInput, options CheckNameAvailabilityOperationOptions) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (ServicesClient) CreateOrUpdate ¶
func (c ServicesClient) CreateOrUpdate(ctx context.Context, id SearchServiceId, input SearchService, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServicesClient) CreateOrUpdateThenPoll ¶
func (c ServicesClient) CreateOrUpdateThenPoll(ctx context.Context, id SearchServiceId, input SearchService, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ServicesClient) Delete ¶
func (c ServicesClient) Delete(ctx context.Context, id SearchServiceId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ServicesClient) Get ¶
func (c ServicesClient) Get(ctx context.Context, id SearchServiceId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ServicesClient) ListByResourceGroup ¶
func (c ServicesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ServicesClient) ListByResourceGroupComplete ¶
func (c ServicesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ServicesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ServicesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate SearchServiceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServicesClient) ListBySubscription ¶
func (c ServicesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ServicesClient) ListBySubscriptionComplete ¶
func (c ServicesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ServicesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ServicesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate SearchServiceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServicesClient) Update ¶
func (c ServicesClient) Update(ctx context.Context, id SearchServiceId, input SearchService, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type SkuName ¶
type SkuName string
const ( SkuNameBasic SkuName = "basic" SkuNameFree SkuName = "free" SkuNameStandard SkuName = "standard" SkuNameStandardThree SkuName = "standard3" SkuNameStandardTwo SkuName = "standard2" SkuNameStorageOptimizedLOne SkuName = "storage_optimized_l1" SkuNameStorageOptimizedLTwo SkuName = "storage_optimized_l2" )
func (*SkuName) UnmarshalJSON ¶ added in v0.20230504.1071847
type UnavailableNameReason ¶
type UnavailableNameReason string
const ()
func (*UnavailableNameReason) UnmarshalJSON ¶ added in v0.20230504.1071847
func (s *UnavailableNameReason) UnmarshalJSON(bytes []byte) error
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
XMsClientRequestId *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20230504.1071847
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20230504.1071847
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20230504.1071847
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SearchService }
Source Files ¶
- client.go
- constants.go
- id_searchservice.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_checknameavailabilityinput.go
- model_checknameavailabilityoutput.go
- model_iprule.go
- model_networkruleset.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privateendpointconnectionpropertiesprivateendpoint.go
- model_privateendpointconnectionpropertiesprivatelinkserviceconnectionstate.go
- model_searchservice.go
- model_searchserviceproperties.go
- model_sku.go
- predicates.go
- version.go