search

package
v0.0.0-...-37ff63d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	pulumi.CustomResourceState

	// 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"`
	// 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` and `standard3` 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/search_service.html.markdown.

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 {
	// 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 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` and `standard3` 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 ServiceQueryKey

type ServiceQueryKey struct {
	// The value of this Query Key.
	Key *string `pulumi:"key"`
	// The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.
	Name *string `pulumi:"name"`
}

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
}

type ServiceQueryKeyArrayOutput

type ServiceQueryKeyArrayOutput struct{ *pulumi.OutputState }

func (ServiceQueryKeyArrayOutput) ElementType

func (ServiceQueryKeyArrayOutput) ElementType() reflect.Type

func (ServiceQueryKeyArrayOutput) Index

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
}

type ServiceQueryKeyOutput

type ServiceQueryKeyOutput struct{ *pulumi.OutputState }

func (ServiceQueryKeyOutput) ElementType

func (ServiceQueryKeyOutput) ElementType() reflect.Type

func (ServiceQueryKeyOutput) Key

The value of this Query Key.

func (ServiceQueryKeyOutput) Name

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 {
	// 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
	// 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` and `standard3` 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL