Documentation
¶
Index ¶
- type Service
- type ServiceArgs
- 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 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 Service ¶
type Service struct { pulumi.CustomResourceState // A list of IPv4 addresses that are allowed access to the search service endpoint. AllowedIps pulumi.StringArrayOutput `pulumi:"allowedIps"` // A `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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/search" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
type ServiceArgs ¶
type ServiceArgs struct { // A list of IPv4 addresses that are allowed access to the search service endpoint. AllowedIps pulumi.StringArrayInput // A `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 ServiceIdentity ¶ added in v3.28.0
type ServiceIdentity 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 Type of Identity which should be used for the Search Service. At this time the only possible value is `SystemAssigned`. Type string `pulumi:"type"` }
type ServiceIdentityArgs ¶ added in v3.28.0
type ServiceIdentityArgs struct { // The (Client) ID of the Service Principal. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Type of Identity which should be used for the Search Service. At this time the only possible value is `SystemAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (ServiceIdentityArgs) ElementType ¶ added in v3.28.0
func (ServiceIdentityArgs) ElementType() reflect.Type
func (ServiceIdentityArgs) ToServiceIdentityOutput ¶ added in v3.28.0
func (i ServiceIdentityArgs) ToServiceIdentityOutput() ServiceIdentityOutput
func (ServiceIdentityArgs) ToServiceIdentityOutputWithContext ¶ added in v3.28.0
func (i ServiceIdentityArgs) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
func (ServiceIdentityArgs) ToServiceIdentityPtrOutput ¶ added in v3.28.0
func (i ServiceIdentityArgs) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext ¶ added in v3.28.0
func (i ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
type ServiceIdentityInput ¶ added in v3.28.0
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 ¶ added in v3.28.0
type ServiceIdentityOutput struct{ *pulumi.OutputState }
func (ServiceIdentityOutput) ElementType ¶ added in v3.28.0
func (ServiceIdentityOutput) ElementType() reflect.Type
func (ServiceIdentityOutput) PrincipalId ¶ added in v3.28.0
func (o ServiceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The (Client) ID of the Service Principal.
func (ServiceIdentityOutput) TenantId ¶ added in v3.28.0
func (o ServiceIdentityOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant the Service Principal is assigned in.
func (ServiceIdentityOutput) ToServiceIdentityOutput ¶ added in v3.28.0
func (o ServiceIdentityOutput) ToServiceIdentityOutput() ServiceIdentityOutput
func (ServiceIdentityOutput) ToServiceIdentityOutputWithContext ¶ added in v3.28.0
func (o ServiceIdentityOutput) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
func (ServiceIdentityOutput) ToServiceIdentityPtrOutput ¶ added in v3.28.0
func (o ServiceIdentityOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext ¶ added in v3.28.0
func (o ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
func (ServiceIdentityOutput) Type ¶ added in v3.28.0
func (o ServiceIdentityOutput) Type() pulumi.StringOutput
The Type of Identity which should be used for the Search Service. At this time the only possible value is `SystemAssigned`.
type ServiceIdentityPtrInput ¶ added in v3.28.0
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 ¶ added in v3.28.0
func ServiceIdentityPtr(v *ServiceIdentityArgs) ServiceIdentityPtrInput
type ServiceIdentityPtrOutput ¶ added in v3.28.0
type ServiceIdentityPtrOutput struct{ *pulumi.OutputState }
func (ServiceIdentityPtrOutput) Elem ¶ added in v3.28.0
func (o ServiceIdentityPtrOutput) Elem() ServiceIdentityOutput
func (ServiceIdentityPtrOutput) ElementType ¶ added in v3.28.0
func (ServiceIdentityPtrOutput) ElementType() reflect.Type
func (ServiceIdentityPtrOutput) PrincipalId ¶ added in v3.28.0
func (o ServiceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The (Client) ID of the Service Principal.
func (ServiceIdentityPtrOutput) TenantId ¶ added in v3.28.0
func (o ServiceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant the Service Principal is assigned in.
func (ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput ¶ added in v3.28.0
func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext ¶ added in v3.28.0
func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
func (ServiceIdentityPtrOutput) Type ¶ added in v3.28.0
func (o ServiceIdentityPtrOutput) Type() pulumi.StringPtrOutput
The Type of Identity which should be used for the Search Service. At this time the only possible value is `SystemAssigned`.
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 that are allowed access to the search service endpoint. AllowedIps pulumi.StringArrayInput // A `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