Documentation ¶
Overview ¶
Package azurev1beta1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAzureDatabaseHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAzureDatabaseHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AzureDatabaseClient) error
- func RegisterAzureDatabaseHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAzureDatabaseHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AzureDatabaseServer) error
- func RegisterAzureDatabaseServer(s *grpc.Server, srv AzureDatabaseServer)
- type AddAzureDatabaseRequest
- func (*AddAzureDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddAzureDatabaseRequest) GetAddress() string
- func (x *AddAzureDatabaseRequest) GetAz() string
- func (x *AddAzureDatabaseRequest) GetAzureClientId() string
- func (x *AddAzureDatabaseRequest) GetAzureClientSecret() string
- func (x *AddAzureDatabaseRequest) GetAzureDatabaseExporter() bool
- func (x *AddAzureDatabaseRequest) GetAzureResourceGroup() string
- func (x *AddAzureDatabaseRequest) GetAzureSubscriptionId() string
- func (x *AddAzureDatabaseRequest) GetAzureTenantId() string
- func (x *AddAzureDatabaseRequest) GetCustomLabels() map[string]string
- func (x *AddAzureDatabaseRequest) GetDisableQueryExamples() bool
- func (x *AddAzureDatabaseRequest) GetEnvironment() string
- func (x *AddAzureDatabaseRequest) GetInstanceId() string
- func (x *AddAzureDatabaseRequest) GetNodeModel() string
- func (x *AddAzureDatabaseRequest) GetNodeName() string
- func (x *AddAzureDatabaseRequest) GetPassword() string
- func (x *AddAzureDatabaseRequest) GetPort() uint32
- func (x *AddAzureDatabaseRequest) GetQan() bool
- func (x *AddAzureDatabaseRequest) GetRegion() string
- func (x *AddAzureDatabaseRequest) GetServiceName() string
- func (x *AddAzureDatabaseRequest) GetSkipConnectionCheck() bool
- func (x *AddAzureDatabaseRequest) GetTablestatsGroupTableLimit() int32
- func (x *AddAzureDatabaseRequest) GetTls() bool
- func (x *AddAzureDatabaseRequest) GetTlsSkipVerify() bool
- func (x *AddAzureDatabaseRequest) GetType() DiscoverAzureDatabaseType
- func (x *AddAzureDatabaseRequest) GetUsername() string
- func (*AddAzureDatabaseRequest) ProtoMessage()
- func (x *AddAzureDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *AddAzureDatabaseRequest) Reset()
- func (x *AddAzureDatabaseRequest) String() string
- func (this *AddAzureDatabaseRequest) Validate() error
- type AddAzureDatabaseResponse
- func (*AddAzureDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddAzureDatabaseResponse) ProtoMessage()
- func (x *AddAzureDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *AddAzureDatabaseResponse) Reset()
- func (x *AddAzureDatabaseResponse) String() string
- func (this *AddAzureDatabaseResponse) Validate() error
- type AzureDatabaseClient
- type AzureDatabaseServer
- type DiscoverAzureDatabaseInstance
- func (*DiscoverAzureDatabaseInstance) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverAzureDatabaseInstance) GetAddress() string
- func (x *DiscoverAzureDatabaseInstance) GetAz() string
- func (x *DiscoverAzureDatabaseInstance) GetAzureResourceGroup() string
- func (x *DiscoverAzureDatabaseInstance) GetEnvironment() string
- func (x *DiscoverAzureDatabaseInstance) GetInstanceId() string
- func (x *DiscoverAzureDatabaseInstance) GetNodeModel() string
- func (x *DiscoverAzureDatabaseInstance) GetRegion() string
- func (x *DiscoverAzureDatabaseInstance) GetServiceName() string
- func (x *DiscoverAzureDatabaseInstance) GetType() DiscoverAzureDatabaseType
- func (x *DiscoverAzureDatabaseInstance) GetUsername() string
- func (*DiscoverAzureDatabaseInstance) ProtoMessage()
- func (x *DiscoverAzureDatabaseInstance) ProtoReflect() protoreflect.Message
- func (x *DiscoverAzureDatabaseInstance) Reset()
- func (x *DiscoverAzureDatabaseInstance) String() string
- func (this *DiscoverAzureDatabaseInstance) Validate() error
- type DiscoverAzureDatabaseRequest
- func (*DiscoverAzureDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverAzureDatabaseRequest) GetAzureClientId() string
- func (x *DiscoverAzureDatabaseRequest) GetAzureClientSecret() string
- func (x *DiscoverAzureDatabaseRequest) GetAzureSubscriptionId() string
- func (x *DiscoverAzureDatabaseRequest) GetAzureTenantId() string
- func (*DiscoverAzureDatabaseRequest) ProtoMessage()
- func (x *DiscoverAzureDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *DiscoverAzureDatabaseRequest) Reset()
- func (x *DiscoverAzureDatabaseRequest) String() string
- func (this *DiscoverAzureDatabaseRequest) Validate() error
- type DiscoverAzureDatabaseResponse
- func (*DiscoverAzureDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverAzureDatabaseResponse) GetAzureDatabaseInstance() []*DiscoverAzureDatabaseInstance
- func (*DiscoverAzureDatabaseResponse) ProtoMessage()
- func (x *DiscoverAzureDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *DiscoverAzureDatabaseResponse) Reset()
- func (x *DiscoverAzureDatabaseResponse) String() string
- func (this *DiscoverAzureDatabaseResponse) Validate() error
- type DiscoverAzureDatabaseType
- func (DiscoverAzureDatabaseType) Descriptor() protoreflect.EnumDescriptor
- func (x DiscoverAzureDatabaseType) Enum() *DiscoverAzureDatabaseType
- func (DiscoverAzureDatabaseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiscoverAzureDatabaseType) Number() protoreflect.EnumNumber
- func (x DiscoverAzureDatabaseType) String() string
- func (DiscoverAzureDatabaseType) Type() protoreflect.EnumType
- type UnimplementedAzureDatabaseServer
Constants ¶
This section is empty.
Variables ¶
var ( DiscoverAzureDatabaseType_name = map[int32]string{ 0: "DISCOVER_AZURE_DATABASE_TYPE_INVALID", 1: "DISCOVER_AZURE_DATABASE_TYPE_MYSQL", 2: "DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL", } DiscoverAzureDatabaseType_value = map[string]int32{ "DISCOVER_AZURE_DATABASE_TYPE_INVALID": 0, "DISCOVER_AZURE_DATABASE_TYPE_MYSQL": 1, "DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL": 2, } )
Enum value maps for DiscoverAzureDatabaseType.
var File_managementpb_azure_azure_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAzureDatabaseHandler ¶
func RegisterAzureDatabaseHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAzureDatabaseHandler registers the http handlers for service AzureDatabase to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAzureDatabaseHandlerClient ¶
func RegisterAzureDatabaseHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AzureDatabaseClient) error
RegisterAzureDatabaseHandlerClient registers the http handlers for service AzureDatabase to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AzureDatabaseClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AzureDatabaseClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AzureDatabaseClient" to call the correct interceptors.
func RegisterAzureDatabaseHandlerFromEndpoint ¶
func RegisterAzureDatabaseHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAzureDatabaseHandlerFromEndpoint is same as RegisterAzureDatabaseHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAzureDatabaseHandlerServer ¶
func RegisterAzureDatabaseHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AzureDatabaseServer) error
RegisterAzureDatabaseHandlerServer registers the http handlers for service AzureDatabase to "mux". UnaryRPC :call AzureDatabaseServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAzureDatabaseHandlerFromEndpoint instead.
func RegisterAzureDatabaseServer ¶
func RegisterAzureDatabaseServer(s *grpc.Server, srv AzureDatabaseServer)
Types ¶
type AddAzureDatabaseRequest ¶
type AddAzureDatabaseRequest struct { // Azure database location. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // Azure database availability zone. Az string `protobuf:"bytes,2,opt,name=az,proto3" json:"az,omitempty"` // Azure database instance ID. InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Represents a purchasable Stock Keeping Unit (SKU) under a product. // https://docs.microsoft.com/en-us/partner-center/develop/product-resources#sku. NodeModel string `protobuf:"bytes,4,opt,name=node_model,json=nodeModel,proto3" json:"node_model,omitempty"` // Address used to connect to it. Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` // Access port. Port uint32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` // Unique across all Nodes user-defined name. Defaults to Azure Database instance ID. NodeName string `protobuf:"bytes,7,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Unique across all Services user-defined name. Defaults to Azure Database instance ID. ServiceName string `protobuf:"bytes,8,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Environment name. Environment string `protobuf:"bytes,9,opt,name=environment,proto3" json:"environment,omitempty"` // Username for scraping metrics. Username string `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"` // Password for scraping metrics. Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"` // Azure client ID. AzureClientId string `protobuf:"bytes,12,opt,name=azure_client_id,json=azureClientId,proto3" json:"azure_client_id,omitempty"` // Azure client secret. AzureClientSecret string `protobuf:"bytes,13,opt,name=azure_client_secret,json=azureClientSecret,proto3" json:"azure_client_secret,omitempty"` // Azure tanant ID. AzureTenantId string `protobuf:"bytes,14,opt,name=azure_tenant_id,json=azureTenantId,proto3" json:"azure_tenant_id,omitempty"` // Azure subscription ID. AzureSubscriptionId string `protobuf:"bytes,15,opt,name=azure_subscription_id,json=azureSubscriptionId,proto3" json:"azure_subscription_id,omitempty"` // Azure resource group. AzureResourceGroup string `protobuf:"bytes,16,opt,name=azure_resource_group,json=azureResourceGroup,proto3" json:"azure_resource_group,omitempty"` // If true, adds azure_database_exporter. AzureDatabaseExporter bool `` /* 128-byte string literal not displayed */ // If true, adds qan-mysql-perfschema-agent or qan-postgresql-pgstatements-agent. Qan bool `protobuf:"varint,18,opt,name=qan,proto3" json:"qan,omitempty"` // Custom user-assigned labels for Node and Service. CustomLabels map[string]string `` /* 186-byte string literal not displayed */ // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,20,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Use TLS for database connections. Tls bool `protobuf:"varint,21,opt,name=tls,proto3" json:"tls,omitempty"` // Skip TLS certificate and hostname validation. TlsSkipVerify bool `protobuf:"varint,22,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` // Disable query examples. DisableQueryExamples bool `protobuf:"varint,23,opt,name=disable_query_examples,json=disableQueryExamples,proto3" json:"disable_query_examples,omitempty"` // Tablestats group collectors will be disabled if there are more than that number of tables. // If zero, server's default value is used. // Use negative value to disable them. TablestatsGroupTableLimit int32 `` /* 142-byte string literal not displayed */ // Azure database resource type (mysql, maria, postgres) Type DiscoverAzureDatabaseType `protobuf:"varint,25,opt,name=type,proto3,enum=azure.v1beta1.DiscoverAzureDatabaseType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*AddAzureDatabaseRequest) Descriptor
deprecated
func (*AddAzureDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddAzureDatabaseRequest.ProtoReflect.Descriptor instead.
func (*AddAzureDatabaseRequest) GetAddress ¶
func (x *AddAzureDatabaseRequest) GetAddress() string
func (*AddAzureDatabaseRequest) GetAz ¶
func (x *AddAzureDatabaseRequest) GetAz() string
func (*AddAzureDatabaseRequest) GetAzureClientId ¶
func (x *AddAzureDatabaseRequest) GetAzureClientId() string
func (*AddAzureDatabaseRequest) GetAzureClientSecret ¶
func (x *AddAzureDatabaseRequest) GetAzureClientSecret() string
func (*AddAzureDatabaseRequest) GetAzureDatabaseExporter ¶
func (x *AddAzureDatabaseRequest) GetAzureDatabaseExporter() bool
func (*AddAzureDatabaseRequest) GetAzureResourceGroup ¶
func (x *AddAzureDatabaseRequest) GetAzureResourceGroup() string
func (*AddAzureDatabaseRequest) GetAzureSubscriptionId ¶
func (x *AddAzureDatabaseRequest) GetAzureSubscriptionId() string
func (*AddAzureDatabaseRequest) GetAzureTenantId ¶
func (x *AddAzureDatabaseRequest) GetAzureTenantId() string
func (*AddAzureDatabaseRequest) GetCustomLabels ¶
func (x *AddAzureDatabaseRequest) GetCustomLabels() map[string]string
func (*AddAzureDatabaseRequest) GetDisableQueryExamples ¶
func (x *AddAzureDatabaseRequest) GetDisableQueryExamples() bool
func (*AddAzureDatabaseRequest) GetEnvironment ¶
func (x *AddAzureDatabaseRequest) GetEnvironment() string
func (*AddAzureDatabaseRequest) GetInstanceId ¶
func (x *AddAzureDatabaseRequest) GetInstanceId() string
func (*AddAzureDatabaseRequest) GetNodeModel ¶
func (x *AddAzureDatabaseRequest) GetNodeModel() string
func (*AddAzureDatabaseRequest) GetNodeName ¶
func (x *AddAzureDatabaseRequest) GetNodeName() string
func (*AddAzureDatabaseRequest) GetPassword ¶
func (x *AddAzureDatabaseRequest) GetPassword() string
func (*AddAzureDatabaseRequest) GetPort ¶
func (x *AddAzureDatabaseRequest) GetPort() uint32
func (*AddAzureDatabaseRequest) GetQan ¶
func (x *AddAzureDatabaseRequest) GetQan() bool
func (*AddAzureDatabaseRequest) GetRegion ¶
func (x *AddAzureDatabaseRequest) GetRegion() string
func (*AddAzureDatabaseRequest) GetServiceName ¶
func (x *AddAzureDatabaseRequest) GetServiceName() string
func (*AddAzureDatabaseRequest) GetSkipConnectionCheck ¶
func (x *AddAzureDatabaseRequest) GetSkipConnectionCheck() bool
func (*AddAzureDatabaseRequest) GetTablestatsGroupTableLimit ¶
func (x *AddAzureDatabaseRequest) GetTablestatsGroupTableLimit() int32
func (*AddAzureDatabaseRequest) GetTls ¶
func (x *AddAzureDatabaseRequest) GetTls() bool
func (*AddAzureDatabaseRequest) GetTlsSkipVerify ¶
func (x *AddAzureDatabaseRequest) GetTlsSkipVerify() bool
func (*AddAzureDatabaseRequest) GetType ¶
func (x *AddAzureDatabaseRequest) GetType() DiscoverAzureDatabaseType
func (*AddAzureDatabaseRequest) GetUsername ¶
func (x *AddAzureDatabaseRequest) GetUsername() string
func (*AddAzureDatabaseRequest) ProtoMessage ¶
func (*AddAzureDatabaseRequest) ProtoMessage()
func (*AddAzureDatabaseRequest) ProtoReflect ¶
func (x *AddAzureDatabaseRequest) ProtoReflect() protoreflect.Message
func (*AddAzureDatabaseRequest) Reset ¶
func (x *AddAzureDatabaseRequest) Reset()
func (*AddAzureDatabaseRequest) String ¶
func (x *AddAzureDatabaseRequest) String() string
func (*AddAzureDatabaseRequest) Validate ¶
func (this *AddAzureDatabaseRequest) Validate() error
type AddAzureDatabaseResponse ¶
type AddAzureDatabaseResponse struct {
// contains filtered or unexported fields
}
func (*AddAzureDatabaseResponse) Descriptor
deprecated
func (*AddAzureDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddAzureDatabaseResponse.ProtoReflect.Descriptor instead.
func (*AddAzureDatabaseResponse) ProtoMessage ¶
func (*AddAzureDatabaseResponse) ProtoMessage()
func (*AddAzureDatabaseResponse) ProtoReflect ¶
func (x *AddAzureDatabaseResponse) ProtoReflect() protoreflect.Message
func (*AddAzureDatabaseResponse) Reset ¶
func (x *AddAzureDatabaseResponse) Reset()
func (*AddAzureDatabaseResponse) String ¶
func (x *AddAzureDatabaseResponse) String() string
func (*AddAzureDatabaseResponse) Validate ¶
func (this *AddAzureDatabaseResponse) Validate() error
type AzureDatabaseClient ¶
type AzureDatabaseClient interface { // DiscoverAzureDatabase discovers Azure Database for MySQL, MariaDB and PostgreSQL Server instances. DiscoverAzureDatabase(ctx context.Context, in *DiscoverAzureDatabaseRequest, opts ...grpc.CallOption) (*DiscoverAzureDatabaseResponse, error) // AddAzureDatabase adds Azure Database instance. AddAzureDatabase(ctx context.Context, in *AddAzureDatabaseRequest, opts ...grpc.CallOption) (*AddAzureDatabaseResponse, error) }
AzureDatabaseClient is the client API for AzureDatabase service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAzureDatabaseClient ¶
func NewAzureDatabaseClient(cc grpc.ClientConnInterface) AzureDatabaseClient
type AzureDatabaseServer ¶
type AzureDatabaseServer interface { // DiscoverAzureDatabase discovers Azure Database for MySQL, MariaDB and PostgreSQL Server instances. DiscoverAzureDatabase(context.Context, *DiscoverAzureDatabaseRequest) (*DiscoverAzureDatabaseResponse, error) // AddAzureDatabase adds Azure Database instance. AddAzureDatabase(context.Context, *AddAzureDatabaseRequest) (*AddAzureDatabaseResponse, error) }
AzureDatabaseServer is the server API for AzureDatabase service.
type DiscoverAzureDatabaseInstance ¶
type DiscoverAzureDatabaseInstance struct { // Azure database instance ID. InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Azure database location. Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // Azure database server name. ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Database username. Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` // Address used to connect to it. Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` // Azure Resource group. AzureResourceGroup string `protobuf:"bytes,6,opt,name=azure_resource_group,json=azureResourceGroup,proto3" json:"azure_resource_group,omitempty"` // Environment tag. Environment string `protobuf:"bytes,7,opt,name=environment,proto3" json:"environment,omitempty"` // Database type. Type DiscoverAzureDatabaseType `protobuf:"varint,8,opt,name=type,proto3,enum=azure.v1beta1.DiscoverAzureDatabaseType" json:"type,omitempty"` // Azure database availability zone. Az string `protobuf:"bytes,9,opt,name=az,proto3" json:"az,omitempty"` // Represents a purchasable Stock Keeping Unit (SKU) under a product. // https://docs.microsoft.com/en-us/partner-center/develop/product-resources#sku. NodeModel string `protobuf:"bytes,10,opt,name=node_model,json=nodeModel,proto3" json:"node_model,omitempty"` // contains filtered or unexported fields }
DiscoverAzureDatabaseInstance models an unique Azure Database instance for the list of instances returned by Discovery.
func (*DiscoverAzureDatabaseInstance) Descriptor
deprecated
func (*DiscoverAzureDatabaseInstance) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverAzureDatabaseInstance.ProtoReflect.Descriptor instead.
func (*DiscoverAzureDatabaseInstance) GetAddress ¶
func (x *DiscoverAzureDatabaseInstance) GetAddress() string
func (*DiscoverAzureDatabaseInstance) GetAz ¶
func (x *DiscoverAzureDatabaseInstance) GetAz() string
func (*DiscoverAzureDatabaseInstance) GetAzureResourceGroup ¶
func (x *DiscoverAzureDatabaseInstance) GetAzureResourceGroup() string
func (*DiscoverAzureDatabaseInstance) GetEnvironment ¶
func (x *DiscoverAzureDatabaseInstance) GetEnvironment() string
func (*DiscoverAzureDatabaseInstance) GetInstanceId ¶
func (x *DiscoverAzureDatabaseInstance) GetInstanceId() string
func (*DiscoverAzureDatabaseInstance) GetNodeModel ¶
func (x *DiscoverAzureDatabaseInstance) GetNodeModel() string
func (*DiscoverAzureDatabaseInstance) GetRegion ¶
func (x *DiscoverAzureDatabaseInstance) GetRegion() string
func (*DiscoverAzureDatabaseInstance) GetServiceName ¶
func (x *DiscoverAzureDatabaseInstance) GetServiceName() string
func (*DiscoverAzureDatabaseInstance) GetType ¶
func (x *DiscoverAzureDatabaseInstance) GetType() DiscoverAzureDatabaseType
func (*DiscoverAzureDatabaseInstance) GetUsername ¶
func (x *DiscoverAzureDatabaseInstance) GetUsername() string
func (*DiscoverAzureDatabaseInstance) ProtoMessage ¶
func (*DiscoverAzureDatabaseInstance) ProtoMessage()
func (*DiscoverAzureDatabaseInstance) ProtoReflect ¶
func (x *DiscoverAzureDatabaseInstance) ProtoReflect() protoreflect.Message
func (*DiscoverAzureDatabaseInstance) Reset ¶
func (x *DiscoverAzureDatabaseInstance) Reset()
func (*DiscoverAzureDatabaseInstance) String ¶
func (x *DiscoverAzureDatabaseInstance) String() string
func (*DiscoverAzureDatabaseInstance) Validate ¶
func (this *DiscoverAzureDatabaseInstance) Validate() error
type DiscoverAzureDatabaseRequest ¶
type DiscoverAzureDatabaseRequest struct { // Azure client ID. AzureClientId string `protobuf:"bytes,1,opt,name=azure_client_id,json=azureClientId,proto3" json:"azure_client_id,omitempty"` // Azure client secret. AzureClientSecret string `protobuf:"bytes,2,opt,name=azure_client_secret,json=azureClientSecret,proto3" json:"azure_client_secret,omitempty"` // Azure tanant ID. AzureTenantId string `protobuf:"bytes,3,opt,name=azure_tenant_id,json=azureTenantId,proto3" json:"azure_tenant_id,omitempty"` // Azure subscription ID. AzureSubscriptionId string `protobuf:"bytes,4,opt,name=azure_subscription_id,json=azureSubscriptionId,proto3" json:"azure_subscription_id,omitempty"` // contains filtered or unexported fields }
DiscoverAzureDatabaseRequest discover azure databases request.
func (*DiscoverAzureDatabaseRequest) Descriptor
deprecated
func (*DiscoverAzureDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverAzureDatabaseRequest.ProtoReflect.Descriptor instead.
func (*DiscoverAzureDatabaseRequest) GetAzureClientId ¶
func (x *DiscoverAzureDatabaseRequest) GetAzureClientId() string
func (*DiscoverAzureDatabaseRequest) GetAzureClientSecret ¶
func (x *DiscoverAzureDatabaseRequest) GetAzureClientSecret() string
func (*DiscoverAzureDatabaseRequest) GetAzureSubscriptionId ¶
func (x *DiscoverAzureDatabaseRequest) GetAzureSubscriptionId() string
func (*DiscoverAzureDatabaseRequest) GetAzureTenantId ¶
func (x *DiscoverAzureDatabaseRequest) GetAzureTenantId() string
func (*DiscoverAzureDatabaseRequest) ProtoMessage ¶
func (*DiscoverAzureDatabaseRequest) ProtoMessage()
func (*DiscoverAzureDatabaseRequest) ProtoReflect ¶
func (x *DiscoverAzureDatabaseRequest) ProtoReflect() protoreflect.Message
func (*DiscoverAzureDatabaseRequest) Reset ¶
func (x *DiscoverAzureDatabaseRequest) Reset()
func (*DiscoverAzureDatabaseRequest) String ¶
func (x *DiscoverAzureDatabaseRequest) String() string
func (*DiscoverAzureDatabaseRequest) Validate ¶
func (this *DiscoverAzureDatabaseRequest) Validate() error
type DiscoverAzureDatabaseResponse ¶
type DiscoverAzureDatabaseResponse struct { AzureDatabaseInstance []*DiscoverAzureDatabaseInstance `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
DiscoverAzureDatabaseResponse discover azure databases response.
func (*DiscoverAzureDatabaseResponse) Descriptor
deprecated
func (*DiscoverAzureDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverAzureDatabaseResponse.ProtoReflect.Descriptor instead.
func (*DiscoverAzureDatabaseResponse) GetAzureDatabaseInstance ¶
func (x *DiscoverAzureDatabaseResponse) GetAzureDatabaseInstance() []*DiscoverAzureDatabaseInstance
func (*DiscoverAzureDatabaseResponse) ProtoMessage ¶
func (*DiscoverAzureDatabaseResponse) ProtoMessage()
func (*DiscoverAzureDatabaseResponse) ProtoReflect ¶
func (x *DiscoverAzureDatabaseResponse) ProtoReflect() protoreflect.Message
func (*DiscoverAzureDatabaseResponse) Reset ¶
func (x *DiscoverAzureDatabaseResponse) Reset()
func (*DiscoverAzureDatabaseResponse) String ¶
func (x *DiscoverAzureDatabaseResponse) String() string
func (*DiscoverAzureDatabaseResponse) Validate ¶
func (this *DiscoverAzureDatabaseResponse) Validate() error
type DiscoverAzureDatabaseType ¶
type DiscoverAzureDatabaseType int32
DiscoverAzureDatabaseType describes supported Azure Database instance engines.
const ( DiscoverAzureDatabaseType_DISCOVER_AZURE_DATABASE_TYPE_INVALID DiscoverAzureDatabaseType = 0 // MySQL type: microsoft.dbformysql or MariaDB type: microsoft.dbformariadb DiscoverAzureDatabaseType_DISCOVER_AZURE_DATABASE_TYPE_MYSQL DiscoverAzureDatabaseType = 1 // PostgreSQL type: microsoft.dbformysql DiscoverAzureDatabaseType_DISCOVER_AZURE_DATABASE_TYPE_POSTGRESQL DiscoverAzureDatabaseType = 2 )
func (DiscoverAzureDatabaseType) Descriptor ¶
func (DiscoverAzureDatabaseType) Descriptor() protoreflect.EnumDescriptor
func (DiscoverAzureDatabaseType) Enum ¶
func (x DiscoverAzureDatabaseType) Enum() *DiscoverAzureDatabaseType
func (DiscoverAzureDatabaseType) EnumDescriptor
deprecated
func (DiscoverAzureDatabaseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiscoverAzureDatabaseType.Descriptor instead.
func (DiscoverAzureDatabaseType) Number ¶
func (x DiscoverAzureDatabaseType) Number() protoreflect.EnumNumber
func (DiscoverAzureDatabaseType) String ¶
func (x DiscoverAzureDatabaseType) String() string
func (DiscoverAzureDatabaseType) Type ¶
func (DiscoverAzureDatabaseType) Type() protoreflect.EnumType
type UnimplementedAzureDatabaseServer ¶
type UnimplementedAzureDatabaseServer struct { }
UnimplementedAzureDatabaseServer can be embedded to have forward compatible implementations.
func (*UnimplementedAzureDatabaseServer) AddAzureDatabase ¶
func (*UnimplementedAzureDatabaseServer) AddAzureDatabase(context.Context, *AddAzureDatabaseRequest) (*AddAzureDatabaseResponse, error)
func (*UnimplementedAzureDatabaseServer) DiscoverAzureDatabase ¶
func (*UnimplementedAzureDatabaseServer) DiscoverAzureDatabase(context.Context, *DiscoverAzureDatabaseRequest) (*DiscoverAzureDatabaseResponse, error)