Documentation ¶
Index ¶
- type GetServiceIdentity
- type GetServiceIdentityArgs
- type GetServiceIdentityArray
- type GetServiceIdentityArrayInput
- type GetServiceIdentityArrayOutput
- func (GetServiceIdentityArrayOutput) ElementType() reflect.Type
- func (o GetServiceIdentityArrayOutput) Index(i pulumi.IntInput) GetServiceIdentityOutput
- func (o GetServiceIdentityArrayOutput) ToGetServiceIdentityArrayOutput() GetServiceIdentityArrayOutput
- func (o GetServiceIdentityArrayOutput) ToGetServiceIdentityArrayOutputWithContext(ctx context.Context) GetServiceIdentityArrayOutput
- type GetServiceIdentityInput
- type GetServiceIdentityOutput
- func (GetServiceIdentityOutput) ElementType() reflect.Type
- func (o GetServiceIdentityOutput) PrincipalId() pulumi.StringOutput
- func (o GetServiceIdentityOutput) TenantId() pulumi.StringOutput
- func (o GetServiceIdentityOutput) ToGetServiceIdentityOutput() GetServiceIdentityOutput
- func (o GetServiceIdentityOutput) ToGetServiceIdentityOutputWithContext(ctx context.Context) GetServiceIdentityOutput
- func (o GetServiceIdentityOutput) Type() pulumi.StringOutput
- type GetServiceQueryKey
- type GetServiceQueryKeyArgs
- type GetServiceQueryKeyArray
- type GetServiceQueryKeyArrayInput
- type GetServiceQueryKeyArrayOutput
- func (GetServiceQueryKeyArrayOutput) ElementType() reflect.Type
- func (o GetServiceQueryKeyArrayOutput) Index(i pulumi.IntInput) GetServiceQueryKeyOutput
- func (o GetServiceQueryKeyArrayOutput) ToGetServiceQueryKeyArrayOutput() GetServiceQueryKeyArrayOutput
- func (o GetServiceQueryKeyArrayOutput) ToGetServiceQueryKeyArrayOutputWithContext(ctx context.Context) GetServiceQueryKeyArrayOutput
- type GetServiceQueryKeyInput
- type GetServiceQueryKeyOutput
- func (GetServiceQueryKeyOutput) ElementType() reflect.Type
- func (o GetServiceQueryKeyOutput) Key() pulumi.StringOutput
- func (o GetServiceQueryKeyOutput) Name() pulumi.StringOutput
- func (o GetServiceQueryKeyOutput) ToGetServiceQueryKeyOutput() GetServiceQueryKeyOutput
- func (o GetServiceQueryKeyOutput) ToGetServiceQueryKeyOutputWithContext(ctx context.Context) GetServiceQueryKeyOutput
- type LookupServiceArgs
- type LookupServiceOutputArgs
- type LookupServiceResult
- type LookupServiceResultOutput
- func (LookupServiceResultOutput) ElementType() reflect.Type
- func (o LookupServiceResultOutput) Id() pulumi.StringOutput
- func (o LookupServiceResultOutput) Identities() GetServiceIdentityArrayOutput
- func (o LookupServiceResultOutput) Name() pulumi.StringOutput
- func (o LookupServiceResultOutput) PartitionCount() pulumi.IntOutput
- func (o LookupServiceResultOutput) PrimaryKey() pulumi.StringOutput
- func (o LookupServiceResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
- func (o LookupServiceResultOutput) QueryKeys() GetServiceQueryKeyArrayOutput
- func (o LookupServiceResultOutput) ReplicaCount() pulumi.IntOutput
- func (o LookupServiceResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupServiceResultOutput) SecondaryKey() pulumi.StringOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
- type Service
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- type ServiceIdentity
- type ServiceIdentityArgs
- func (ServiceIdentityArgs) ElementType() reflect.Type
- func (i ServiceIdentityArgs) ToServiceIdentityOutput() ServiceIdentityOutput
- func (i ServiceIdentityArgs) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
- func (i ServiceIdentityArgs) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
- func (i ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
- type ServiceIdentityInput
- type ServiceIdentityOutput
- func (ServiceIdentityOutput) ElementType() reflect.Type
- func (o ServiceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ServiceIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o ServiceIdentityOutput) ToServiceIdentityOutput() ServiceIdentityOutput
- func (o ServiceIdentityOutput) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
- func (o ServiceIdentityOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
- func (o ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
- func (o ServiceIdentityOutput) Type() pulumi.StringOutput
- type ServiceIdentityPtrInput
- type ServiceIdentityPtrOutput
- func (o ServiceIdentityPtrOutput) Elem() ServiceIdentityOutput
- func (ServiceIdentityPtrOutput) ElementType() reflect.Type
- func (o ServiceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ServiceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
- func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
- func (o ServiceIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type ServiceInput
- type ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- type ServiceOutput
- func (o ServiceOutput) AllowedIps() pulumi.StringArrayOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) Identity() ServiceIdentityPtrOutput
- func (o ServiceOutput) Location() pulumi.StringOutput
- func (o ServiceOutput) Name() pulumi.StringOutput
- func (o ServiceOutput) PartitionCount() pulumi.IntOutput
- func (o ServiceOutput) PrimaryKey() pulumi.StringOutput
- func (o ServiceOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
- func (o ServiceOutput) QueryKeys() ServiceQueryKeyArrayOutput
- func (o ServiceOutput) ReplicaCount() pulumi.IntOutput
- func (o ServiceOutput) ResourceGroupName() pulumi.StringOutput
- func (o ServiceOutput) SecondaryKey() pulumi.StringOutput
- func (o ServiceOutput) Sku() pulumi.StringOutput
- func (o ServiceOutput) Tags() pulumi.StringMapOutput
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- type ServiceQueryKey
- type ServiceQueryKeyArgs
- type ServiceQueryKeyArray
- type ServiceQueryKeyArrayInput
- type ServiceQueryKeyArrayOutput
- func (ServiceQueryKeyArrayOutput) ElementType() reflect.Type
- func (o ServiceQueryKeyArrayOutput) Index(i pulumi.IntInput) ServiceQueryKeyOutput
- func (o ServiceQueryKeyArrayOutput) ToServiceQueryKeyArrayOutput() ServiceQueryKeyArrayOutput
- func (o ServiceQueryKeyArrayOutput) ToServiceQueryKeyArrayOutputWithContext(ctx context.Context) ServiceQueryKeyArrayOutput
- type ServiceQueryKeyInput
- type ServiceQueryKeyOutput
- func (ServiceQueryKeyOutput) ElementType() reflect.Type
- func (o ServiceQueryKeyOutput) Key() pulumi.StringPtrOutput
- func (o ServiceQueryKeyOutput) Name() pulumi.StringPtrOutput
- func (o ServiceQueryKeyOutput) ToServiceQueryKeyOutput() ServiceQueryKeyOutput
- func (o ServiceQueryKeyOutput) ToServiceQueryKeyOutputWithContext(ctx context.Context) ServiceQueryKeyOutput
- type ServiceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetServiceIdentity ¶
type GetServiceIdentity struct { // The (Client) ID of the Service Principal. PrincipalId string `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. TenantId string `pulumi:"tenantId"` // The identity type of this Managed Service Identity. Type string `pulumi:"type"` }
type GetServiceIdentityArgs ¶
type GetServiceIdentityArgs struct { // The (Client) ID of the Service Principal. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. TenantId pulumi.StringInput `pulumi:"tenantId"` // The identity type of this Managed Service Identity. Type pulumi.StringInput `pulumi:"type"` }
func (GetServiceIdentityArgs) ElementType ¶
func (GetServiceIdentityArgs) ElementType() reflect.Type
func (GetServiceIdentityArgs) ToGetServiceIdentityOutput ¶
func (i GetServiceIdentityArgs) ToGetServiceIdentityOutput() GetServiceIdentityOutput
func (GetServiceIdentityArgs) ToGetServiceIdentityOutputWithContext ¶
func (i GetServiceIdentityArgs) ToGetServiceIdentityOutputWithContext(ctx context.Context) GetServiceIdentityOutput
type GetServiceIdentityArray ¶
type GetServiceIdentityArray []GetServiceIdentityInput
func (GetServiceIdentityArray) ElementType ¶
func (GetServiceIdentityArray) ElementType() reflect.Type
func (GetServiceIdentityArray) ToGetServiceIdentityArrayOutput ¶
func (i GetServiceIdentityArray) ToGetServiceIdentityArrayOutput() GetServiceIdentityArrayOutput
func (GetServiceIdentityArray) ToGetServiceIdentityArrayOutputWithContext ¶
func (i GetServiceIdentityArray) ToGetServiceIdentityArrayOutputWithContext(ctx context.Context) GetServiceIdentityArrayOutput
type GetServiceIdentityArrayInput ¶
type GetServiceIdentityArrayInput interface { pulumi.Input ToGetServiceIdentityArrayOutput() GetServiceIdentityArrayOutput ToGetServiceIdentityArrayOutputWithContext(context.Context) GetServiceIdentityArrayOutput }
GetServiceIdentityArrayInput is an input type that accepts GetServiceIdentityArray and GetServiceIdentityArrayOutput values. You can construct a concrete instance of `GetServiceIdentityArrayInput` via:
GetServiceIdentityArray{ GetServiceIdentityArgs{...} }
type GetServiceIdentityArrayOutput ¶
type GetServiceIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetServiceIdentityArrayOutput) ElementType ¶
func (GetServiceIdentityArrayOutput) ElementType() reflect.Type
func (GetServiceIdentityArrayOutput) Index ¶
func (o GetServiceIdentityArrayOutput) Index(i pulumi.IntInput) GetServiceIdentityOutput
func (GetServiceIdentityArrayOutput) ToGetServiceIdentityArrayOutput ¶
func (o GetServiceIdentityArrayOutput) ToGetServiceIdentityArrayOutput() GetServiceIdentityArrayOutput
func (GetServiceIdentityArrayOutput) ToGetServiceIdentityArrayOutputWithContext ¶
func (o GetServiceIdentityArrayOutput) ToGetServiceIdentityArrayOutputWithContext(ctx context.Context) GetServiceIdentityArrayOutput
type GetServiceIdentityInput ¶
type GetServiceIdentityInput interface { pulumi.Input ToGetServiceIdentityOutput() GetServiceIdentityOutput ToGetServiceIdentityOutputWithContext(context.Context) GetServiceIdentityOutput }
GetServiceIdentityInput is an input type that accepts GetServiceIdentityArgs and GetServiceIdentityOutput values. You can construct a concrete instance of `GetServiceIdentityInput` via:
GetServiceIdentityArgs{...}
type GetServiceIdentityOutput ¶
type GetServiceIdentityOutput struct{ *pulumi.OutputState }
func (GetServiceIdentityOutput) ElementType ¶
func (GetServiceIdentityOutput) ElementType() reflect.Type
func (GetServiceIdentityOutput) PrincipalId ¶
func (o GetServiceIdentityOutput) PrincipalId() pulumi.StringOutput
The (Client) ID of the Service Principal.
func (GetServiceIdentityOutput) TenantId ¶
func (o GetServiceIdentityOutput) TenantId() pulumi.StringOutput
The ID of the Tenant the Service Principal is assigned in.
func (GetServiceIdentityOutput) ToGetServiceIdentityOutput ¶
func (o GetServiceIdentityOutput) ToGetServiceIdentityOutput() GetServiceIdentityOutput
func (GetServiceIdentityOutput) ToGetServiceIdentityOutputWithContext ¶
func (o GetServiceIdentityOutput) ToGetServiceIdentityOutputWithContext(ctx context.Context) GetServiceIdentityOutput
func (GetServiceIdentityOutput) Type ¶
func (o GetServiceIdentityOutput) Type() pulumi.StringOutput
The identity type of this Managed Service Identity.
type GetServiceQueryKey ¶
type GetServiceQueryKeyArgs ¶
type GetServiceQueryKeyArgs struct { // The value of this Query Key. Key pulumi.StringInput `pulumi:"key"` // The Name of the Search Service. Name pulumi.StringInput `pulumi:"name"` }
func (GetServiceQueryKeyArgs) ElementType ¶
func (GetServiceQueryKeyArgs) ElementType() reflect.Type
func (GetServiceQueryKeyArgs) ToGetServiceQueryKeyOutput ¶
func (i GetServiceQueryKeyArgs) ToGetServiceQueryKeyOutput() GetServiceQueryKeyOutput
func (GetServiceQueryKeyArgs) ToGetServiceQueryKeyOutputWithContext ¶
func (i GetServiceQueryKeyArgs) ToGetServiceQueryKeyOutputWithContext(ctx context.Context) GetServiceQueryKeyOutput
type GetServiceQueryKeyArray ¶
type GetServiceQueryKeyArray []GetServiceQueryKeyInput
func (GetServiceQueryKeyArray) ElementType ¶
func (GetServiceQueryKeyArray) ElementType() reflect.Type
func (GetServiceQueryKeyArray) ToGetServiceQueryKeyArrayOutput ¶
func (i GetServiceQueryKeyArray) ToGetServiceQueryKeyArrayOutput() GetServiceQueryKeyArrayOutput
func (GetServiceQueryKeyArray) ToGetServiceQueryKeyArrayOutputWithContext ¶
func (i GetServiceQueryKeyArray) ToGetServiceQueryKeyArrayOutputWithContext(ctx context.Context) GetServiceQueryKeyArrayOutput
type GetServiceQueryKeyArrayInput ¶
type GetServiceQueryKeyArrayInput interface { pulumi.Input ToGetServiceQueryKeyArrayOutput() GetServiceQueryKeyArrayOutput ToGetServiceQueryKeyArrayOutputWithContext(context.Context) GetServiceQueryKeyArrayOutput }
GetServiceQueryKeyArrayInput is an input type that accepts GetServiceQueryKeyArray and GetServiceQueryKeyArrayOutput values. You can construct a concrete instance of `GetServiceQueryKeyArrayInput` via:
GetServiceQueryKeyArray{ GetServiceQueryKeyArgs{...} }
type GetServiceQueryKeyArrayOutput ¶
type GetServiceQueryKeyArrayOutput struct{ *pulumi.OutputState }
func (GetServiceQueryKeyArrayOutput) ElementType ¶
func (GetServiceQueryKeyArrayOutput) ElementType() reflect.Type
func (GetServiceQueryKeyArrayOutput) Index ¶
func (o GetServiceQueryKeyArrayOutput) Index(i pulumi.IntInput) GetServiceQueryKeyOutput
func (GetServiceQueryKeyArrayOutput) ToGetServiceQueryKeyArrayOutput ¶
func (o GetServiceQueryKeyArrayOutput) ToGetServiceQueryKeyArrayOutput() GetServiceQueryKeyArrayOutput
func (GetServiceQueryKeyArrayOutput) ToGetServiceQueryKeyArrayOutputWithContext ¶
func (o GetServiceQueryKeyArrayOutput) ToGetServiceQueryKeyArrayOutputWithContext(ctx context.Context) GetServiceQueryKeyArrayOutput
type GetServiceQueryKeyInput ¶
type GetServiceQueryKeyInput interface { pulumi.Input ToGetServiceQueryKeyOutput() GetServiceQueryKeyOutput ToGetServiceQueryKeyOutputWithContext(context.Context) GetServiceQueryKeyOutput }
GetServiceQueryKeyInput is an input type that accepts GetServiceQueryKeyArgs and GetServiceQueryKeyOutput values. You can construct a concrete instance of `GetServiceQueryKeyInput` via:
GetServiceQueryKeyArgs{...}
type GetServiceQueryKeyOutput ¶
type GetServiceQueryKeyOutput struct{ *pulumi.OutputState }
func (GetServiceQueryKeyOutput) ElementType ¶
func (GetServiceQueryKeyOutput) ElementType() reflect.Type
func (GetServiceQueryKeyOutput) Key ¶
func (o GetServiceQueryKeyOutput) Key() pulumi.StringOutput
The value of this Query Key.
func (GetServiceQueryKeyOutput) Name ¶
func (o GetServiceQueryKeyOutput) Name() pulumi.StringOutput
The Name of the Search Service.
func (GetServiceQueryKeyOutput) ToGetServiceQueryKeyOutput ¶
func (o GetServiceQueryKeyOutput) ToGetServiceQueryKeyOutput() GetServiceQueryKeyOutput
func (GetServiceQueryKeyOutput) ToGetServiceQueryKeyOutputWithContext ¶
func (o GetServiceQueryKeyOutput) ToGetServiceQueryKeyOutputWithContext(ctx context.Context) GetServiceQueryKeyOutput
type LookupServiceArgs ¶
type LookupServiceArgs struct { // The Name of the Search Service. Name string `pulumi:"name"` // The name of the Resource Group where the Search Service exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getService.
type LookupServiceOutputArgs ¶
type LookupServiceOutputArgs struct { // The Name of the Search Service. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group where the Search Service exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getService.
func (LookupServiceOutputArgs) ElementType ¶
func (LookupServiceOutputArgs) ElementType() reflect.Type
type LookupServiceResult ¶
type LookupServiceResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // An `identity` block as defined below. Identities []GetServiceIdentity `pulumi:"identities"` // The name of this Query Key. Name string `pulumi:"name"` // The number of partitions which have been created. PartitionCount int `pulumi:"partitionCount"` // The Primary Key used for Search Service Administration. PrimaryKey string `pulumi:"primaryKey"` // Whether or not public network access is enabled for this resource. PublicNetworkAccessEnabled bool `pulumi:"publicNetworkAccessEnabled"` // A `queryKeys` block as defined below. QueryKeys []GetServiceQueryKey `pulumi:"queryKeys"` // The number of replica's which have been created. ReplicaCount int `pulumi:"replicaCount"` ResourceGroupName string `pulumi:"resourceGroupName"` // The Secondary Key used for Search Service Administration. SecondaryKey string `pulumi:"secondaryKey"` }
A collection of values returned by getService.
func LookupService ¶
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
Manages a Search Service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/search" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _ = search.LookupServiceOutput(ctx, search.GetServiceOutputArgs{ Name: pulumi.String("example-search-service"), ResourceGroupName: exampleResourceGroup.Name, }, nil) return nil }) }
```
type LookupServiceResultOutput ¶
type LookupServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func LookupServiceOutput ¶
func LookupServiceOutput(ctx *pulumi.Context, args LookupServiceOutputArgs, opts ...pulumi.InvokeOption) LookupServiceResultOutput
func (LookupServiceResultOutput) ElementType ¶
func (LookupServiceResultOutput) ElementType() reflect.Type
func (LookupServiceResultOutput) Id ¶
func (o LookupServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupServiceResultOutput) Identities ¶
func (o LookupServiceResultOutput) Identities() GetServiceIdentityArrayOutput
An `identity` block as defined below.
func (LookupServiceResultOutput) Name ¶
func (o LookupServiceResultOutput) Name() pulumi.StringOutput
The name of this Query Key.
func (LookupServiceResultOutput) PartitionCount ¶
func (o LookupServiceResultOutput) PartitionCount() pulumi.IntOutput
The number of partitions which have been created.
func (LookupServiceResultOutput) PrimaryKey ¶
func (o LookupServiceResultOutput) PrimaryKey() pulumi.StringOutput
The Primary Key used for Search Service Administration.
func (LookupServiceResultOutput) PublicNetworkAccessEnabled ¶
func (o LookupServiceResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
Whether or not public network access is enabled for this resource.
func (LookupServiceResultOutput) QueryKeys ¶
func (o LookupServiceResultOutput) QueryKeys() GetServiceQueryKeyArrayOutput
A `queryKeys` block as defined below.
func (LookupServiceResultOutput) ReplicaCount ¶
func (o LookupServiceResultOutput) ReplicaCount() pulumi.IntOutput
The number of replica's which have been created.
func (LookupServiceResultOutput) ResourceGroupName ¶
func (o LookupServiceResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupServiceResultOutput) SecondaryKey ¶
func (o LookupServiceResultOutput) SecondaryKey() pulumi.StringOutput
The Secondary Key used for Search Service Administration.
func (LookupServiceResultOutput) ToLookupServiceResultOutput ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
type Service ¶
type Service struct { pulumi.CustomResourceState // A list of IPv4 addresses or CIDRs that are allowed access to the search service endpoint. AllowedIps pulumi.StringArrayOutput `pulumi:"allowedIps"` // An `identity` block as defined below. Identity ServiceIdentityPtrOutput `pulumi:"identity"` // The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created. Location pulumi.StringOutput `pulumi:"location"` // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name pulumi.StringOutput `pulumi:"name"` // The number of partitions which should be created. PartitionCount pulumi.IntOutput `pulumi:"partitionCount"` // The Primary Key used for Search Service Administration. PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"` // Whether or not public network access is allowed for this resource. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // A `queryKeys` block as defined below. QueryKeys ServiceQueryKeyArrayOutput `pulumi:"queryKeys"` // The number of replica's which should be created. ReplicaCount pulumi.IntOutput `pulumi:"replicaCount"` // The name of the Resource Group where the Search Service should exist. Changing this forces a new Search Service to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Secondary Key used for Search Service Administration. SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"` // The SKU which should be used for this Search Service. Possible values are `basic`, `free`, `standard`, `standard2`, `standard3`, `storageOptimizedL1` and `storageOptimizedL2`. Changing this forces a new Search Service to be created. Sku pulumi.StringOutput `pulumi:"sku"` // A mapping of tags which should be assigned to the Search Service. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Search Service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/search" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = search.NewService(ctx, "exampleService", &search.ServiceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Sku: pulumi.String("standard"), }) if err != nil { return err } return nil }) }
```
## Import
Search Services can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:search/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Search/searchServices/service1
```
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (*Service) ElementType ¶
func (*Service) ToServiceOutput ¶
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceArgs ¶
type ServiceArgs struct { // A list of IPv4 addresses or CIDRs that are allowed access to the search service endpoint. AllowedIps pulumi.StringArrayInput // An `identity` block as defined below. Identity ServiceIdentityPtrInput // The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created. Location pulumi.StringPtrInput // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name pulumi.StringPtrInput // The number of partitions which should be created. PartitionCount pulumi.IntPtrInput // Whether or not public network access is allowed for this resource. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The number of replica's which should be created. ReplicaCount pulumi.IntPtrInput // The name of the Resource Group where the Search Service should exist. Changing this forces a new Search Service to be created. ResourceGroupName pulumi.StringInput // The SKU which should be used for this Search Service. Possible values are `basic`, `free`, `standard`, `standard2`, `standard3`, `storageOptimizedL1` and `storageOptimizedL2`. Changing this forces a new Search Service to be created. Sku pulumi.StringInput // A mapping of tags which should be assigned to the Search Service. Tags pulumi.StringMapInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceArray ¶
type ServiceArray []ServiceInput
func (ServiceArray) ElementType ¶
func (ServiceArray) ElementType() reflect.Type
func (ServiceArray) ToServiceArrayOutput ¶
func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArray) ToServiceArrayOutputWithContext ¶
func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceArrayInput ¶
type ServiceArrayInput interface { pulumi.Input ToServiceArrayOutput() ServiceArrayOutput ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput }
ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:
ServiceArray{ ServiceArgs{...} }
type ServiceArrayOutput ¶
type ServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceArrayOutput) ElementType ¶
func (ServiceArrayOutput) ElementType() reflect.Type
func (ServiceArrayOutput) Index ¶
func (o ServiceArrayOutput) Index(i pulumi.IntInput) ServiceOutput
func (ServiceArrayOutput) ToServiceArrayOutput ¶
func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArrayOutput) ToServiceArrayOutputWithContext ¶
func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceIdentity ¶
type ServiceIdentity struct { // The Principal ID associated with this Managed Service Identity. PrincipalId *string `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Search Service. The only possible value is `SystemAssigned`. Type string `pulumi:"type"` }
type ServiceIdentityArgs ¶
type ServiceIdentityArgs struct { // The Principal ID associated with this Managed Service Identity. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Search Service. The only possible value is `SystemAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (ServiceIdentityArgs) ElementType ¶
func (ServiceIdentityArgs) ElementType() reflect.Type
func (ServiceIdentityArgs) ToServiceIdentityOutput ¶
func (i ServiceIdentityArgs) ToServiceIdentityOutput() ServiceIdentityOutput
func (ServiceIdentityArgs) ToServiceIdentityOutputWithContext ¶
func (i ServiceIdentityArgs) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
func (ServiceIdentityArgs) ToServiceIdentityPtrOutput ¶
func (i ServiceIdentityArgs) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext ¶
func (i ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
type ServiceIdentityInput ¶
type ServiceIdentityInput interface { pulumi.Input ToServiceIdentityOutput() ServiceIdentityOutput ToServiceIdentityOutputWithContext(context.Context) ServiceIdentityOutput }
ServiceIdentityInput is an input type that accepts ServiceIdentityArgs and ServiceIdentityOutput values. You can construct a concrete instance of `ServiceIdentityInput` via:
ServiceIdentityArgs{...}
type ServiceIdentityOutput ¶
type ServiceIdentityOutput struct{ *pulumi.OutputState }
func (ServiceIdentityOutput) ElementType ¶
func (ServiceIdentityOutput) ElementType() reflect.Type
func (ServiceIdentityOutput) PrincipalId ¶
func (o ServiceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (ServiceIdentityOutput) TenantId ¶
func (o ServiceIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (ServiceIdentityOutput) ToServiceIdentityOutput ¶
func (o ServiceIdentityOutput) ToServiceIdentityOutput() ServiceIdentityOutput
func (ServiceIdentityOutput) ToServiceIdentityOutputWithContext ¶
func (o ServiceIdentityOutput) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
func (ServiceIdentityOutput) ToServiceIdentityPtrOutput ¶
func (o ServiceIdentityOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext ¶
func (o ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
func (ServiceIdentityOutput) Type ¶
func (o ServiceIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity that should be configured on this Search Service. The only possible value is `SystemAssigned`.
type ServiceIdentityPtrInput ¶
type ServiceIdentityPtrInput interface { pulumi.Input ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput ToServiceIdentityPtrOutputWithContext(context.Context) ServiceIdentityPtrOutput }
ServiceIdentityPtrInput is an input type that accepts ServiceIdentityArgs, ServiceIdentityPtr and ServiceIdentityPtrOutput values. You can construct a concrete instance of `ServiceIdentityPtrInput` via:
ServiceIdentityArgs{...} or: nil
func ServiceIdentityPtr ¶
func ServiceIdentityPtr(v *ServiceIdentityArgs) ServiceIdentityPtrInput
type ServiceIdentityPtrOutput ¶
type ServiceIdentityPtrOutput struct{ *pulumi.OutputState }
func (ServiceIdentityPtrOutput) Elem ¶
func (o ServiceIdentityPtrOutput) Elem() ServiceIdentityOutput
func (ServiceIdentityPtrOutput) ElementType ¶
func (ServiceIdentityPtrOutput) ElementType() reflect.Type
func (ServiceIdentityPtrOutput) PrincipalId ¶
func (o ServiceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (ServiceIdentityPtrOutput) TenantId ¶
func (o ServiceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput ¶
func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext ¶
func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
func (ServiceIdentityPtrOutput) Type ¶
func (o ServiceIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity that should be configured on this Search Service. The only possible value is `SystemAssigned`.
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceMap ¶
type ServiceMap map[string]ServiceInput
func (ServiceMap) ElementType ¶
func (ServiceMap) ElementType() reflect.Type
func (ServiceMap) ToServiceMapOutput ¶
func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput
func (ServiceMap) ToServiceMapOutputWithContext ¶
func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceMapInput ¶
type ServiceMapInput interface { pulumi.Input ToServiceMapOutput() ServiceMapOutput ToServiceMapOutputWithContext(context.Context) ServiceMapOutput }
ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:
ServiceMap{ "key": ServiceArgs{...} }
type ServiceMapOutput ¶
type ServiceMapOutput struct{ *pulumi.OutputState }
func (ServiceMapOutput) ElementType ¶
func (ServiceMapOutput) ElementType() reflect.Type
func (ServiceMapOutput) MapIndex ¶
func (o ServiceMapOutput) MapIndex(k pulumi.StringInput) ServiceOutput
func (ServiceMapOutput) ToServiceMapOutput ¶
func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput
func (ServiceMapOutput) ToServiceMapOutputWithContext ¶
func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceOutput ¶
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) AllowedIps ¶ added in v5.5.0
func (o ServiceOutput) AllowedIps() pulumi.StringArrayOutput
A list of IPv4 addresses or CIDRs that are allowed access to the search service endpoint.
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) Identity ¶ added in v5.5.0
func (o ServiceOutput) Identity() ServiceIdentityPtrOutput
An `identity` block as defined below.
func (ServiceOutput) Location ¶ added in v5.5.0
func (o ServiceOutput) Location() pulumi.StringOutput
The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created.
func (ServiceOutput) Name ¶ added in v5.5.0
func (o ServiceOutput) Name() pulumi.StringOutput
The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.
func (ServiceOutput) PartitionCount ¶ added in v5.5.0
func (o ServiceOutput) PartitionCount() pulumi.IntOutput
The number of partitions which should be created.
func (ServiceOutput) PrimaryKey ¶ added in v5.5.0
func (o ServiceOutput) PrimaryKey() pulumi.StringOutput
The Primary Key used for Search Service Administration.
func (ServiceOutput) PublicNetworkAccessEnabled ¶ added in v5.5.0
func (o ServiceOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
Whether or not public network access is allowed for this resource. Defaults to `true`.
func (ServiceOutput) QueryKeys ¶ added in v5.5.0
func (o ServiceOutput) QueryKeys() ServiceQueryKeyArrayOutput
A `queryKeys` block as defined below.
func (ServiceOutput) ReplicaCount ¶ added in v5.5.0
func (o ServiceOutput) ReplicaCount() pulumi.IntOutput
The number of replica's which should be created.
func (ServiceOutput) ResourceGroupName ¶ added in v5.5.0
func (o ServiceOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Search Service should exist. Changing this forces a new Search Service to be created.
func (ServiceOutput) SecondaryKey ¶ added in v5.5.0
func (o ServiceOutput) SecondaryKey() pulumi.StringOutput
The Secondary Key used for Search Service Administration.
func (ServiceOutput) Sku ¶ added in v5.5.0
func (o ServiceOutput) Sku() pulumi.StringOutput
The SKU which should be used for this Search Service. Possible values are `basic`, `free`, `standard`, `standard2`, `standard3`, `storageOptimizedL1` and `storageOptimizedL2`. Changing this forces a new Search Service to be created.
func (ServiceOutput) Tags ¶ added in v5.5.0
func (o ServiceOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Search Service.
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceQueryKey ¶
type ServiceQueryKeyArgs ¶
type ServiceQueryKeyArgs struct { // The value of this Query Key. Key pulumi.StringPtrInput `pulumi:"key"` // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name pulumi.StringPtrInput `pulumi:"name"` }
func (ServiceQueryKeyArgs) ElementType ¶
func (ServiceQueryKeyArgs) ElementType() reflect.Type
func (ServiceQueryKeyArgs) ToServiceQueryKeyOutput ¶
func (i ServiceQueryKeyArgs) ToServiceQueryKeyOutput() ServiceQueryKeyOutput
func (ServiceQueryKeyArgs) ToServiceQueryKeyOutputWithContext ¶
func (i ServiceQueryKeyArgs) ToServiceQueryKeyOutputWithContext(ctx context.Context) ServiceQueryKeyOutput
type ServiceQueryKeyArray ¶
type ServiceQueryKeyArray []ServiceQueryKeyInput
func (ServiceQueryKeyArray) ElementType ¶
func (ServiceQueryKeyArray) ElementType() reflect.Type
func (ServiceQueryKeyArray) ToServiceQueryKeyArrayOutput ¶
func (i ServiceQueryKeyArray) ToServiceQueryKeyArrayOutput() ServiceQueryKeyArrayOutput
func (ServiceQueryKeyArray) ToServiceQueryKeyArrayOutputWithContext ¶
func (i ServiceQueryKeyArray) ToServiceQueryKeyArrayOutputWithContext(ctx context.Context) ServiceQueryKeyArrayOutput
type ServiceQueryKeyArrayInput ¶
type ServiceQueryKeyArrayInput interface { pulumi.Input ToServiceQueryKeyArrayOutput() ServiceQueryKeyArrayOutput ToServiceQueryKeyArrayOutputWithContext(context.Context) ServiceQueryKeyArrayOutput }
ServiceQueryKeyArrayInput is an input type that accepts ServiceQueryKeyArray and ServiceQueryKeyArrayOutput values. You can construct a concrete instance of `ServiceQueryKeyArrayInput` via:
ServiceQueryKeyArray{ ServiceQueryKeyArgs{...} }
type ServiceQueryKeyArrayOutput ¶
type ServiceQueryKeyArrayOutput struct{ *pulumi.OutputState }
func (ServiceQueryKeyArrayOutput) ElementType ¶
func (ServiceQueryKeyArrayOutput) ElementType() reflect.Type
func (ServiceQueryKeyArrayOutput) Index ¶
func (o ServiceQueryKeyArrayOutput) Index(i pulumi.IntInput) ServiceQueryKeyOutput
func (ServiceQueryKeyArrayOutput) ToServiceQueryKeyArrayOutput ¶
func (o ServiceQueryKeyArrayOutput) ToServiceQueryKeyArrayOutput() ServiceQueryKeyArrayOutput
func (ServiceQueryKeyArrayOutput) ToServiceQueryKeyArrayOutputWithContext ¶
func (o ServiceQueryKeyArrayOutput) ToServiceQueryKeyArrayOutputWithContext(ctx context.Context) ServiceQueryKeyArrayOutput
type ServiceQueryKeyInput ¶
type ServiceQueryKeyInput interface { pulumi.Input ToServiceQueryKeyOutput() ServiceQueryKeyOutput ToServiceQueryKeyOutputWithContext(context.Context) ServiceQueryKeyOutput }
ServiceQueryKeyInput is an input type that accepts ServiceQueryKeyArgs and ServiceQueryKeyOutput values. You can construct a concrete instance of `ServiceQueryKeyInput` via:
ServiceQueryKeyArgs{...}
type ServiceQueryKeyOutput ¶
type ServiceQueryKeyOutput struct{ *pulumi.OutputState }
func (ServiceQueryKeyOutput) ElementType ¶
func (ServiceQueryKeyOutput) ElementType() reflect.Type
func (ServiceQueryKeyOutput) Key ¶
func (o ServiceQueryKeyOutput) Key() pulumi.StringPtrOutput
The value of this Query Key.
func (ServiceQueryKeyOutput) Name ¶
func (o ServiceQueryKeyOutput) Name() pulumi.StringPtrOutput
The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.
func (ServiceQueryKeyOutput) ToServiceQueryKeyOutput ¶
func (o ServiceQueryKeyOutput) ToServiceQueryKeyOutput() ServiceQueryKeyOutput
func (ServiceQueryKeyOutput) ToServiceQueryKeyOutputWithContext ¶
func (o ServiceQueryKeyOutput) ToServiceQueryKeyOutputWithContext(ctx context.Context) ServiceQueryKeyOutput
type ServiceState ¶
type ServiceState struct { // A list of IPv4 addresses or CIDRs that are allowed access to the search service endpoint. AllowedIps pulumi.StringArrayInput // An `identity` block as defined below. Identity ServiceIdentityPtrInput // The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created. Location pulumi.StringPtrInput // The Name which should be used for this Search Service. Changing this forces a new Search Service to be created. Name pulumi.StringPtrInput // The number of partitions which should be created. PartitionCount pulumi.IntPtrInput // The Primary Key used for Search Service Administration. PrimaryKey pulumi.StringPtrInput // Whether or not public network access is allowed for this resource. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // A `queryKeys` block as defined below. QueryKeys ServiceQueryKeyArrayInput // The number of replica's which should be created. ReplicaCount pulumi.IntPtrInput // The name of the Resource Group where the Search Service should exist. Changing this forces a new Search Service to be created. ResourceGroupName pulumi.StringPtrInput // The Secondary Key used for Search Service Administration. SecondaryKey pulumi.StringPtrInput // The SKU which should be used for this Search Service. Possible values are `basic`, `free`, `standard`, `standard2`, `standard3`, `storageOptimizedL1` and `storageOptimizedL2`. Changing this forces a new Search Service to be created. Sku pulumi.StringPtrInput // A mapping of tags which should be assigned to the Search Service. Tags pulumi.StringMapInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type