connector

package
v0.20240617.1095803 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/servicelinker/2024-04-01/connector Documentation

The connector SDK allows for interaction with the Azure Resource Manager Service servicelinker (API Version 2024-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/servicelinker/2024-04-01/connector"

Client Initialization

client := connector.NewConnectorClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ConnectorClient.CreateDryrun

ctx := context.TODO()
id := connector.NewDryrunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "dryrunValue")

payload := connector.DryrunResource{
	// ...
}


if err := client.CreateDryrunThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ConnectorClient.Delete

ctx := context.TODO()
id := connector.NewConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "connectorValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ConnectorClient.DeleteDryrun

ctx := context.TODO()
id := connector.NewDryrunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "dryrunValue")

read, err := client.DeleteDryrun(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ConnectorClient.GenerateConfigurations

ctx := context.TODO()
id := connector.NewConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "connectorValue")

payload := connector.ConfigurationInfo{
	// ...
}


read, err := client.GenerateConfigurations(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ConnectorClient.GetDryrun

ctx := context.TODO()
id := connector.NewDryrunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "dryrunValue")

read, err := client.GetDryrun(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ConnectorClient.ListDryrun

ctx := context.TODO()
id := connector.NewLocationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue")

// alternatively `client.ListDryrun(ctx, id)` can be used to do batched pagination
items, err := client.ListDryrunComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ConnectorClient.Update

ctx := context.TODO()
id := connector.NewConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "connectorValue")

payload := connector.LinkerPatch{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ConnectorClient.UpdateDryrun

ctx := context.TODO()
id := connector.NewDryrunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "dryrunValue")

payload := connector.DryrunPatch{
	// ...
}


if err := client.UpdateDryrunThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ConnectorClient.Validate

ctx := context.TODO()
id := connector.NewConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "locationValue", "connectorValue")

if err := client.ValidateThenPoll(ctx, id); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccessKeyPermissions

func PossibleValuesForAccessKeyPermissions() []string

func PossibleValuesForActionType

func PossibleValuesForActionType() []string

func PossibleValuesForAllowType

func PossibleValuesForAllowType() []string

func PossibleValuesForAuthMode

func PossibleValuesForAuthMode() []string

func PossibleValuesForAuthType

func PossibleValuesForAuthType() []string

func PossibleValuesForAzureResourceType

func PossibleValuesForAzureResourceType() []string

func PossibleValuesForClientType

func PossibleValuesForClientType() []string

func PossibleValuesForDaprBindingComponentDirection

func PossibleValuesForDaprBindingComponentDirection() []string

func PossibleValuesForDaprMetadataRequired

func PossibleValuesForDaprMetadataRequired() []string

func PossibleValuesForDeleteOrUpdateBehavior

func PossibleValuesForDeleteOrUpdateBehavior() []string

func PossibleValuesForDryrunActionName

func PossibleValuesForDryrunActionName() []string

func PossibleValuesForDryrunPrerequisiteResultType

func PossibleValuesForDryrunPrerequisiteResultType() []string

func PossibleValuesForDryrunPreviewOperationType

func PossibleValuesForDryrunPreviewOperationType() []string

func PossibleValuesForLinkerConfigurationType

func PossibleValuesForLinkerConfigurationType() []string

func PossibleValuesForSecretType

func PossibleValuesForSecretType() []string

func PossibleValuesForTargetServiceType

func PossibleValuesForTargetServiceType() []string

func PossibleValuesForVNetSolutionType

func PossibleValuesForVNetSolutionType() []string

func PossibleValuesForValidationResultStatus

func PossibleValuesForValidationResultStatus() []string

func ValidateConnectorID

func ValidateConnectorID(input interface{}, key string) (warnings []string, errors []error)

ValidateConnectorID checks that 'input' can be parsed as a Connector ID

func ValidateDryrunID

func ValidateDryrunID(input interface{}, key string) (warnings []string, errors []error)

ValidateDryrunID checks that 'input' can be parsed as a Dryrun ID

func ValidateLocationID

func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationID checks that 'input' can be parsed as a Location ID

Types

type AccessKeyInfoBase

type AccessKeyInfoBase struct {
	Permissions *[]AccessKeyPermissions `json:"permissions,omitempty"`

	// Fields inherited from AuthInfoBase
	AuthMode *AuthMode `json:"authMode,omitempty"`
}

func (AccessKeyInfoBase) MarshalJSON

func (s AccessKeyInfoBase) MarshalJSON() ([]byte, error)

type AccessKeyPermissions

type AccessKeyPermissions string
const (
	AccessKeyPermissionsListen AccessKeyPermissions = "Listen"
	AccessKeyPermissionsManage AccessKeyPermissions = "Manage"
	AccessKeyPermissionsRead   AccessKeyPermissions = "Read"
	AccessKeyPermissionsSend   AccessKeyPermissions = "Send"
	AccessKeyPermissionsWrite  AccessKeyPermissions = "Write"
)

func (*AccessKeyPermissions) UnmarshalJSON

func (s *AccessKeyPermissions) UnmarshalJSON(bytes []byte) error

type ActionType

type ActionType string
const (
	ActionTypeEnable ActionType = "enable"
	ActionTypeOptOut ActionType = "optOut"
)

func (*ActionType) UnmarshalJSON

func (s *ActionType) UnmarshalJSON(bytes []byte) error

type AllowType

type AllowType string
const (
	AllowTypeFalse AllowType = "false"
	AllowTypeTrue  AllowType = "true"
)

func (*AllowType) UnmarshalJSON

func (s *AllowType) UnmarshalJSON(bytes []byte) error

type AuthInfoBase

type AuthInfoBase interface {
}

type AuthMode

type AuthMode string
const (
	AuthModeOptInAllAuth  AuthMode = "optInAllAuth"
	AuthModeOptOutAllAuth AuthMode = "optOutAllAuth"
)

func (*AuthMode) UnmarshalJSON

func (s *AuthMode) UnmarshalJSON(bytes []byte) error

type AuthType

type AuthType string
const (
	AuthTypeAccessKey                   AuthType = "accessKey"
	AuthTypeEasyAuthMicrosoftEntraID    AuthType = "easyAuthMicrosoftEntraID"
	AuthTypeSecret                      AuthType = "secret"
	AuthTypeServicePrincipalCertificate AuthType = "servicePrincipalCertificate"
	AuthTypeServicePrincipalSecret      AuthType = "servicePrincipalSecret"
	AuthTypeSystemAssignedIdentity      AuthType = "systemAssignedIdentity"
	AuthTypeUserAccount                 AuthType = "userAccount"
	AuthTypeUserAssignedIdentity        AuthType = "userAssignedIdentity"
)

func (*AuthType) UnmarshalJSON

func (s *AuthType) UnmarshalJSON(bytes []byte) error

type AzureKeyVaultProperties

type AzureKeyVaultProperties struct {
	ConnectAsKubernetesCsiDriver *bool `json:"connectAsKubernetesCsiDriver,omitempty"`
}

func (AzureKeyVaultProperties) MarshalJSON

func (s AzureKeyVaultProperties) MarshalJSON() ([]byte, error)

type AzureResource

type AzureResource struct {
	Id                 *string                     `json:"id,omitempty"`
	ResourceProperties AzureResourcePropertiesBase `json:"resourceProperties"`
}

func (AzureResource) MarshalJSON

func (s AzureResource) MarshalJSON() ([]byte, error)

func (*AzureResource) UnmarshalJSON

func (s *AzureResource) UnmarshalJSON(bytes []byte) error

type AzureResourcePropertiesBase

type AzureResourcePropertiesBase interface {
}

type AzureResourceType

type AzureResourceType string
const (
	AzureResourceTypeKeyVault AzureResourceType = "KeyVault"
)

func (*AzureResourceType) UnmarshalJSON

func (s *AzureResourceType) UnmarshalJSON(bytes []byte) error

type BasicErrorDryrunPrerequisiteResult

type BasicErrorDryrunPrerequisiteResult struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

func (BasicErrorDryrunPrerequisiteResult) MarshalJSON

func (s BasicErrorDryrunPrerequisiteResult) MarshalJSON() ([]byte, error)

type ClientType

type ClientType string
const (
	ClientTypeDapr                    ClientType = "dapr"
	ClientTypeDjango                  ClientType = "django"
	ClientTypeDotnet                  ClientType = "dotnet"
	ClientTypeGo                      ClientType = "go"
	ClientTypeJava                    ClientType = "java"
	ClientTypeJmsNegativespringBoot   ClientType = "jms-springBoot"
	ClientTypeKafkaNegativespringBoot ClientType = "kafka-springBoot"
	ClientTypeNodejs                  ClientType = "nodejs"
	ClientTypeNone                    ClientType = "none"
	ClientTypePhp                     ClientType = "php"
	ClientTypePython                  ClientType = "python"
	ClientTypeRuby                    ClientType = "ruby"
	ClientTypeSpringBoot              ClientType = "springBoot"
)

func (*ClientType) UnmarshalJSON

func (s *ClientType) UnmarshalJSON(bytes []byte) error

type ConfigurationInfo

type ConfigurationInfo struct {
	Action                               *ActionType             `json:"action,omitempty"`
	AdditionalConfigurations             *map[string]string      `json:"additionalConfigurations,omitempty"`
	AdditionalConnectionStringProperties *map[string]string      `json:"additionalConnectionStringProperties,omitempty"`
	ConfigurationStore                   *ConfigurationStore     `json:"configurationStore,omitempty"`
	CustomizedKeys                       *map[string]string      `json:"customizedKeys,omitempty"`
	DaprProperties                       *DaprProperties         `json:"daprProperties,omitempty"`
	DeleteOrUpdateBehavior               *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
}

type ConfigurationResult

type ConfigurationResult struct {
	Configurations *[]SourceConfiguration `json:"configurations,omitempty"`
}

type ConfigurationStore

type ConfigurationStore struct {
	AppConfigurationId *string `json:"appConfigurationId,omitempty"`
}

type ConfluentBootstrapServer

type ConfluentBootstrapServer struct {
	Endpoint *string `json:"endpoint,omitempty"`
}

func (ConfluentBootstrapServer) MarshalJSON

func (s ConfluentBootstrapServer) MarshalJSON() ([]byte, error)

type ConfluentSchemaRegistry

type ConfluentSchemaRegistry struct {
	Endpoint *string `json:"endpoint,omitempty"`
}

func (ConfluentSchemaRegistry) MarshalJSON

func (s ConfluentSchemaRegistry) MarshalJSON() ([]byte, error)

type ConnectorClient

type ConnectorClient struct {
	Client *resourcemanager.Client
}

func NewConnectorClientWithBaseURI

func NewConnectorClientWithBaseURI(sdkApi sdkEnv.Api) (*ConnectorClient, error)

func (ConnectorClient) CreateDryrun

func (c ConnectorClient) CreateDryrun(ctx context.Context, id DryrunId, input DryrunResource) (result CreateDryrunOperationResponse, err error)

CreateDryrun ...

func (ConnectorClient) CreateDryrunThenPoll

func (c ConnectorClient) CreateDryrunThenPoll(ctx context.Context, id DryrunId, input DryrunResource) error

CreateDryrunThenPoll performs CreateDryrun then polls until it's completed

func (ConnectorClient) Delete

func (c ConnectorClient) Delete(ctx context.Context, id ConnectorId) (result DeleteOperationResponse, err error)

Delete ...

func (ConnectorClient) DeleteDryrun

func (c ConnectorClient) DeleteDryrun(ctx context.Context, id DryrunId) (result DeleteDryrunOperationResponse, err error)

DeleteDryrun ...

func (ConnectorClient) DeleteThenPoll

func (c ConnectorClient) DeleteThenPoll(ctx context.Context, id ConnectorId) error

DeleteThenPoll performs Delete then polls until it's completed

func (ConnectorClient) GenerateConfigurations

func (c ConnectorClient) GenerateConfigurations(ctx context.Context, id ConnectorId, input ConfigurationInfo) (result GenerateConfigurationsOperationResponse, err error)

GenerateConfigurations ...

func (ConnectorClient) GetDryrun

func (c ConnectorClient) GetDryrun(ctx context.Context, id DryrunId) (result GetDryrunOperationResponse, err error)

GetDryrun ...

func (ConnectorClient) ListDryrun

func (c ConnectorClient) ListDryrun(ctx context.Context, id LocationId) (result ListDryrunOperationResponse, err error)

ListDryrun ...

func (ConnectorClient) ListDryrunComplete

func (c ConnectorClient) ListDryrunComplete(ctx context.Context, id LocationId) (ListDryrunCompleteResult, error)

ListDryrunComplete retrieves all the results into a single object

func (ConnectorClient) ListDryrunCompleteMatchingPredicate

func (c ConnectorClient) ListDryrunCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate DryrunResourceOperationPredicate) (result ListDryrunCompleteResult, err error)

ListDryrunCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ConnectorClient) Update

func (c ConnectorClient) Update(ctx context.Context, id ConnectorId, input LinkerPatch) (result UpdateOperationResponse, err error)

Update ...

func (ConnectorClient) UpdateDryrun

func (c ConnectorClient) UpdateDryrun(ctx context.Context, id DryrunId, input DryrunPatch) (result UpdateDryrunOperationResponse, err error)

UpdateDryrun ...

func (ConnectorClient) UpdateDryrunThenPoll

func (c ConnectorClient) UpdateDryrunThenPoll(ctx context.Context, id DryrunId, input DryrunPatch) error

UpdateDryrunThenPoll performs UpdateDryrun then polls until it's completed

func (ConnectorClient) UpdateThenPoll

func (c ConnectorClient) UpdateThenPoll(ctx context.Context, id ConnectorId, input LinkerPatch) error

UpdateThenPoll performs Update then polls until it's completed

func (ConnectorClient) Validate

func (c ConnectorClient) Validate(ctx context.Context, id ConnectorId) (result ValidateOperationResponse, err error)

Validate ...

func (ConnectorClient) ValidateThenPoll

func (c ConnectorClient) ValidateThenPoll(ctx context.Context, id ConnectorId) error

ValidateThenPoll performs Validate then polls until it's completed

type ConnectorId

type ConnectorId struct {
	SubscriptionId    string
	ResourceGroupName string
	LocationName      string
	ConnectorName     string
}

ConnectorId is a struct representing the Resource ID for a Connector

func NewConnectorID

func NewConnectorID(subscriptionId string, resourceGroupName string, locationName string, connectorName string) ConnectorId

NewConnectorID returns a new ConnectorId struct

func ParseConnectorID

func ParseConnectorID(input string) (*ConnectorId, error)

ParseConnectorID parses 'input' into a ConnectorId

func ParseConnectorIDInsensitively

func ParseConnectorIDInsensitively(input string) (*ConnectorId, error)

ParseConnectorIDInsensitively parses 'input' case-insensitively into a ConnectorId note: this method should only be used for API response data and not user input

func (*ConnectorId) FromParseResult

func (id *ConnectorId) FromParseResult(input resourceids.ParseResult) error

func (ConnectorId) ID

func (id ConnectorId) ID() string

ID returns the formatted Connector ID

func (ConnectorId) Segments

func (id ConnectorId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Connector ID

func (ConnectorId) String

func (id ConnectorId) String() string

String returns a human-readable description of this Connector ID

type CreateDryrunOperationResponse

type CreateDryrunOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DryrunResource
}

type CreateOrUpdateDryrunParameters

type CreateOrUpdateDryrunParameters struct {
	AuthInfo              AuthInfoBase           `json:"authInfo"`
	ClientType            *ClientType            `json:"clientType,omitempty"`
	ConfigurationInfo     *ConfigurationInfo     `json:"configurationInfo,omitempty"`
	ProvisioningState     *string                `json:"provisioningState,omitempty"`
	PublicNetworkSolution *PublicNetworkSolution `json:"publicNetworkSolution,omitempty"`
	Scope                 *string                `json:"scope,omitempty"`
	SecretStore           *SecretStore           `json:"secretStore,omitempty"`
	TargetService         TargetServiceBase      `json:"targetService"`
	VNetSolution          *VNetSolution          `json:"vNetSolution,omitempty"`
}

func (CreateOrUpdateDryrunParameters) MarshalJSON

func (s CreateOrUpdateDryrunParameters) MarshalJSON() ([]byte, error)

func (*CreateOrUpdateDryrunParameters) UnmarshalJSON

func (s *CreateOrUpdateDryrunParameters) UnmarshalJSON(bytes []byte) error

type DaprBindingComponentDirection

type DaprBindingComponentDirection string
const (
	DaprBindingComponentDirectionInput  DaprBindingComponentDirection = "input"
	DaprBindingComponentDirectionOutput DaprBindingComponentDirection = "output"
)

func (*DaprBindingComponentDirection) UnmarshalJSON

func (s *DaprBindingComponentDirection) UnmarshalJSON(bytes []byte) error

type DaprMetadata

type DaprMetadata struct {
	Description *string               `json:"description,omitempty"`
	Name        *string               `json:"name,omitempty"`
	Required    *DaprMetadataRequired `json:"required,omitempty"`
	SecretRef   *string               `json:"secretRef,omitempty"`
	Value       *string               `json:"value,omitempty"`
}

type DaprMetadataRequired

type DaprMetadataRequired string
const (
	DaprMetadataRequiredFalse DaprMetadataRequired = "false"
	DaprMetadataRequiredTrue  DaprMetadataRequired = "true"
)

func (*DaprMetadataRequired) UnmarshalJSON

func (s *DaprMetadataRequired) UnmarshalJSON(bytes []byte) error

type DaprProperties

type DaprProperties struct {
	BindingComponentDirection *DaprBindingComponentDirection `json:"bindingComponentDirection,omitempty"`
	ComponentType             *string                        `json:"componentType,omitempty"`
	Metadata                  *[]DaprMetadata                `json:"metadata,omitempty"`
	RuntimeVersion            *string                        `json:"runtimeVersion,omitempty"`
	Scopes                    *[]string                      `json:"scopes,omitempty"`
	SecretStoreComponent      *string                        `json:"secretStoreComponent,omitempty"`
	Version                   *string                        `json:"version,omitempty"`
}

type DeleteDryrunOperationResponse

type DeleteDryrunOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOrUpdateBehavior

type DeleteOrUpdateBehavior string
const (
	DeleteOrUpdateBehaviorDefault       DeleteOrUpdateBehavior = "Default"
	DeleteOrUpdateBehaviorForcedCleanup DeleteOrUpdateBehavior = "ForcedCleanup"
)

func (*DeleteOrUpdateBehavior) UnmarshalJSON

func (s *DeleteOrUpdateBehavior) UnmarshalJSON(bytes []byte) error

type DryrunActionName

type DryrunActionName string
const (
	DryrunActionNameCreateOrUpdate DryrunActionName = "createOrUpdate"
)

func (*DryrunActionName) UnmarshalJSON

func (s *DryrunActionName) UnmarshalJSON(bytes []byte) error

type DryrunId

type DryrunId struct {
	SubscriptionId    string
	ResourceGroupName string
	LocationName      string
	DryrunName        string
}

DryrunId is a struct representing the Resource ID for a Dryrun

func NewDryrunID

func NewDryrunID(subscriptionId string, resourceGroupName string, locationName string, dryrunName string) DryrunId

NewDryrunID returns a new DryrunId struct

func ParseDryrunID

func ParseDryrunID(input string) (*DryrunId, error)

ParseDryrunID parses 'input' into a DryrunId

func ParseDryrunIDInsensitively

func ParseDryrunIDInsensitively(input string) (*DryrunId, error)

ParseDryrunIDInsensitively parses 'input' case-insensitively into a DryrunId note: this method should only be used for API response data and not user input

func (*DryrunId) FromParseResult

func (id *DryrunId) FromParseResult(input resourceids.ParseResult) error

func (DryrunId) ID

func (id DryrunId) ID() string

ID returns the formatted Dryrun ID

func (DryrunId) Segments

func (id DryrunId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Dryrun ID

func (DryrunId) String

func (id DryrunId) String() string

String returns a human-readable description of this Dryrun ID

type DryrunOperationPreview

type DryrunOperationPreview struct {
	Action        *string                     `json:"action,omitempty"`
	Description   *string                     `json:"description,omitempty"`
	Name          *string                     `json:"name,omitempty"`
	OperationType *DryrunPreviewOperationType `json:"operationType,omitempty"`
	Scope         *string                     `json:"scope,omitempty"`
}

type DryrunParameters

type DryrunParameters interface {
}

type DryrunPatch

type DryrunPatch struct {
	Properties *DryrunProperties `json:"properties,omitempty"`
}

type DryrunPrerequisiteResult

type DryrunPrerequisiteResult interface {
}

type DryrunPrerequisiteResultType

type DryrunPrerequisiteResultType string
const (
	DryrunPrerequisiteResultTypeBasicError         DryrunPrerequisiteResultType = "basicError"
	DryrunPrerequisiteResultTypePermissionsMissing DryrunPrerequisiteResultType = "permissionsMissing"
)

func (*DryrunPrerequisiteResultType) UnmarshalJSON

func (s *DryrunPrerequisiteResultType) UnmarshalJSON(bytes []byte) error

type DryrunPreviewOperationType

type DryrunPreviewOperationType string
const (
	DryrunPreviewOperationTypeConfigAuth       DryrunPreviewOperationType = "configAuth"
	DryrunPreviewOperationTypeConfigConnection DryrunPreviewOperationType = "configConnection"
	DryrunPreviewOperationTypeConfigNetwork    DryrunPreviewOperationType = "configNetwork"
)

func (*DryrunPreviewOperationType) UnmarshalJSON

func (s *DryrunPreviewOperationType) UnmarshalJSON(bytes []byte) error

type DryrunProperties

type DryrunProperties struct {
	OperationPreviews   *[]DryrunOperationPreview   `json:"operationPreviews,omitempty"`
	Parameters          DryrunParameters            `json:"parameters"`
	PrerequisiteResults *[]DryrunPrerequisiteResult `json:"prerequisiteResults,omitempty"`
	ProvisioningState   *string                     `json:"provisioningState,omitempty"`
}

func (*DryrunProperties) UnmarshalJSON

func (s *DryrunProperties) UnmarshalJSON(bytes []byte) error

type DryrunResource

type DryrunResource struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *DryrunProperties      `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type DryrunResourceOperationPredicate

type DryrunResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (DryrunResourceOperationPredicate) Matches

type EasyAuthMicrosoftEntraIDAuthInfo

type EasyAuthMicrosoftEntraIDAuthInfo struct {
	ClientId               *string                 `json:"clientId,omitempty"`
	DeleteOrUpdateBehavior *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
	Secret                 *string                 `json:"secret,omitempty"`

	// Fields inherited from AuthInfoBase
	AuthMode *AuthMode `json:"authMode,omitempty"`
}

func (EasyAuthMicrosoftEntraIDAuthInfo) MarshalJSON

func (s EasyAuthMicrosoftEntraIDAuthInfo) MarshalJSON() ([]byte, error)

type FirewallRules

type FirewallRules struct {
	AzureServices  *AllowType `json:"azureServices,omitempty"`
	CallerClientIP *AllowType `json:"callerClientIP,omitempty"`
	IPRanges       *[]string  `json:"ipRanges,omitempty"`
}

type GenerateConfigurationsOperationResponse

type GenerateConfigurationsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConfigurationResult
}

type GetDryrunOperationResponse

type GetDryrunOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DryrunResource
}

type KeyVaultSecretReferenceSecretInfo

type KeyVaultSecretReferenceSecretInfo struct {
	Name    *string `json:"name,omitempty"`
	Version *string `json:"version,omitempty"`
}

func (KeyVaultSecretReferenceSecretInfo) MarshalJSON

func (s KeyVaultSecretReferenceSecretInfo) MarshalJSON() ([]byte, error)

type KeyVaultSecretUriSecretInfo

type KeyVaultSecretUriSecretInfo struct {
	Value *string `json:"value,omitempty"`
}

func (KeyVaultSecretUriSecretInfo) MarshalJSON

func (s KeyVaultSecretUriSecretInfo) MarshalJSON() ([]byte, error)

type LinkerConfigurationType

type LinkerConfigurationType string
const (
	LinkerConfigurationTypeDefault        LinkerConfigurationType = "Default"
	LinkerConfigurationTypeKeyVaultSecret LinkerConfigurationType = "KeyVaultSecret"
)

func (*LinkerConfigurationType) UnmarshalJSON

func (s *LinkerConfigurationType) UnmarshalJSON(bytes []byte) error

type LinkerPatch

type LinkerPatch struct {
	Properties *LinkerProperties `json:"properties,omitempty"`
}

type LinkerProperties

type LinkerProperties struct {
	AuthInfo              AuthInfoBase           `json:"authInfo"`
	ClientType            *ClientType            `json:"clientType,omitempty"`
	ConfigurationInfo     *ConfigurationInfo     `json:"configurationInfo,omitempty"`
	ProvisioningState     *string                `json:"provisioningState,omitempty"`
	PublicNetworkSolution *PublicNetworkSolution `json:"publicNetworkSolution,omitempty"`
	Scope                 *string                `json:"scope,omitempty"`
	SecretStore           *SecretStore           `json:"secretStore,omitempty"`
	TargetService         TargetServiceBase      `json:"targetService"`
	VNetSolution          *VNetSolution          `json:"vNetSolution,omitempty"`
}

func (*LinkerProperties) UnmarshalJSON

func (s *LinkerProperties) UnmarshalJSON(bytes []byte) error

type LinkerResource

type LinkerResource struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties LinkerProperties       `json:"properties"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type ListDryrunCompleteResult

type ListDryrunCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DryrunResource
}

type ListDryrunOperationResponse

type ListDryrunOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DryrunResource
}

type LocationId

type LocationId struct {
	SubscriptionId    string
	ResourceGroupName string
	LocationName      string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, resourceGroupName string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input

func (*LocationId) FromParseResult

func (id *LocationId) FromParseResult(input resourceids.ParseResult) error

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

func (id LocationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type PermissionsMissingDryrunPrerequisiteResult

type PermissionsMissingDryrunPrerequisiteResult struct {
	Permissions     *[]string `json:"permissions,omitempty"`
	RecommendedRole *string   `json:"recommendedRole,omitempty"`
	Scope           *string   `json:"scope,omitempty"`
}

func (PermissionsMissingDryrunPrerequisiteResult) MarshalJSON

type PublicNetworkSolution

type PublicNetworkSolution struct {
	Action                 *ActionType             `json:"action,omitempty"`
	DeleteOrUpdateBehavior *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
	FirewallRules          *FirewallRules          `json:"firewallRules,omitempty"`
}

type RawAuthInfoBaseImpl

type RawAuthInfoBaseImpl struct {
	Type   string
	Values map[string]interface{}
}

RawAuthInfoBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawAzureResourcePropertiesBaseImpl

type RawAzureResourcePropertiesBaseImpl struct {
	Type   string
	Values map[string]interface{}
}

RawAzureResourcePropertiesBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawDryrunParametersImpl

type RawDryrunParametersImpl struct {
	Type   string
	Values map[string]interface{}
}

RawDryrunParametersImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawDryrunPrerequisiteResultImpl

type RawDryrunPrerequisiteResultImpl struct {
	Type   string
	Values map[string]interface{}
}

RawDryrunPrerequisiteResultImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawSecretInfoBaseImpl

type RawSecretInfoBaseImpl struct {
	Type   string
	Values map[string]interface{}
}

RawSecretInfoBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawTargetServiceBaseImpl

type RawTargetServiceBaseImpl struct {
	Type   string
	Values map[string]interface{}
}

RawTargetServiceBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type SecretAuthInfo

type SecretAuthInfo struct {
	Name       *string        `json:"name,omitempty"`
	SecretInfo SecretInfoBase `json:"secretInfo"`

	// Fields inherited from AuthInfoBase
	AuthMode *AuthMode `json:"authMode,omitempty"`
}

func (SecretAuthInfo) MarshalJSON

func (s SecretAuthInfo) MarshalJSON() ([]byte, error)

func (*SecretAuthInfo) UnmarshalJSON

func (s *SecretAuthInfo) UnmarshalJSON(bytes []byte) error

type SecretInfoBase

type SecretInfoBase interface {
}

type SecretStore

type SecretStore struct {
	KeyVaultId         *string `json:"keyVaultId,omitempty"`
	KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`
}

type SecretType

type SecretType string
const (
	SecretTypeKeyVaultSecretReference SecretType = "keyVaultSecretReference"
	SecretTypeKeyVaultSecretUri       SecretType = "keyVaultSecretUri"
	SecretTypeRawValue                SecretType = "rawValue"
)

func (*SecretType) UnmarshalJSON

func (s *SecretType) UnmarshalJSON(bytes []byte) error

type SelfHostedServer

type SelfHostedServer struct {
	Endpoint *string `json:"endpoint,omitempty"`
}

func (SelfHostedServer) MarshalJSON

func (s SelfHostedServer) MarshalJSON() ([]byte, error)

type ServicePrincipalCertificateAuthInfo

type ServicePrincipalCertificateAuthInfo struct {
	Certificate            string                  `json:"certificate"`
	ClientId               string                  `json:"clientId"`
	DeleteOrUpdateBehavior *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
	PrincipalId            string                  `json:"principalId"`
	Roles                  *[]string               `json:"roles,omitempty"`

	// Fields inherited from AuthInfoBase
	AuthMode *AuthMode `json:"authMode,omitempty"`
}

func (ServicePrincipalCertificateAuthInfo) MarshalJSON

func (s ServicePrincipalCertificateAuthInfo) MarshalJSON() ([]byte, error)

type ServicePrincipalSecretAuthInfo

type ServicePrincipalSecretAuthInfo struct {
	ClientId               string                  `json:"clientId"`
	DeleteOrUpdateBehavior *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
	PrincipalId            string                  `json:"principalId"`
	Roles                  *[]string               `json:"roles,omitempty"`
	Secret                 string                  `json:"secret"`
	UserName               *string                 `json:"userName,omitempty"`

	// Fields inherited from AuthInfoBase
	AuthMode *AuthMode `json:"authMode,omitempty"`
}

func (ServicePrincipalSecretAuthInfo) MarshalJSON

func (s ServicePrincipalSecretAuthInfo) MarshalJSON() ([]byte, error)

type SourceConfiguration

type SourceConfiguration struct {
	ConfigType                *LinkerConfigurationType `json:"configType,omitempty"`
	Description               *string                  `json:"description,omitempty"`
	KeyVaultReferenceIdentity *string                  `json:"keyVaultReferenceIdentity,omitempty"`
	Name                      *string                  `json:"name,omitempty"`
	Value                     *string                  `json:"value,omitempty"`
}

type SystemAssignedIdentityAuthInfo

type SystemAssignedIdentityAuthInfo struct {
	DeleteOrUpdateBehavior *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
	Roles                  *[]string               `json:"roles,omitempty"`
	UserName               *string                 `json:"userName,omitempty"`

	// Fields inherited from AuthInfoBase
	AuthMode *AuthMode `json:"authMode,omitempty"`
}

func (SystemAssignedIdentityAuthInfo) MarshalJSON

func (s SystemAssignedIdentityAuthInfo) MarshalJSON() ([]byte, error)

type TargetServiceBase

type TargetServiceBase interface {
}

type TargetServiceType

type TargetServiceType string
const (
	TargetServiceTypeAzureResource            TargetServiceType = "AzureResource"
	TargetServiceTypeConfluentBootstrapServer TargetServiceType = "ConfluentBootstrapServer"
	TargetServiceTypeConfluentSchemaRegistry  TargetServiceType = "ConfluentSchemaRegistry"
	TargetServiceTypeSelfHostedServer         TargetServiceType = "SelfHostedServer"
)

func (*TargetServiceType) UnmarshalJSON

func (s *TargetServiceType) UnmarshalJSON(bytes []byte) error

type UpdateDryrunOperationResponse

type UpdateDryrunOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DryrunResource
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *LinkerResource
}

type UserAccountAuthInfo

type UserAccountAuthInfo struct {
	DeleteOrUpdateBehavior *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
	PrincipalId            *string                 `json:"principalId,omitempty"`
	Roles                  *[]string               `json:"roles,omitempty"`
	UserName               *string                 `json:"userName,omitempty"`

	// Fields inherited from AuthInfoBase
	AuthMode *AuthMode `json:"authMode,omitempty"`
}

func (UserAccountAuthInfo) MarshalJSON

func (s UserAccountAuthInfo) MarshalJSON() ([]byte, error)

type UserAssignedIdentityAuthInfo

type UserAssignedIdentityAuthInfo struct {
	ClientId               *string                 `json:"clientId,omitempty"`
	DeleteOrUpdateBehavior *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
	Roles                  *[]string               `json:"roles,omitempty"`
	SubscriptionId         *string                 `json:"subscriptionId,omitempty"`
	UserName               *string                 `json:"userName,omitempty"`

	// Fields inherited from AuthInfoBase
	AuthMode *AuthMode `json:"authMode,omitempty"`
}

func (UserAssignedIdentityAuthInfo) MarshalJSON

func (s UserAssignedIdentityAuthInfo) MarshalJSON() ([]byte, error)

type VNetSolution

type VNetSolution struct {
	DeleteOrUpdateBehavior *DeleteOrUpdateBehavior `json:"deleteOrUpdateBehavior,omitempty"`
	Type                   *VNetSolutionType       `json:"type,omitempty"`
}

type VNetSolutionType

type VNetSolutionType string
const (
	VNetSolutionTypePrivateLink     VNetSolutionType = "privateLink"
	VNetSolutionTypeServiceEndpoint VNetSolutionType = "serviceEndpoint"
)

func (*VNetSolutionType) UnmarshalJSON

func (s *VNetSolutionType) UnmarshalJSON(bytes []byte) error

type ValidateOperationResponse

type ValidateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ValidateOperationResult
}

type ValidateOperationResult

type ValidateOperationResult struct {
	Properties *ValidateResult `json:"properties,omitempty"`
	ResourceId *string         `json:"resourceId,omitempty"`
	Status     *string         `json:"status,omitempty"`
}

type ValidateResult

type ValidateResult struct {
	AuthType              *AuthType               `json:"authType,omitempty"`
	IsConnectionAvailable *bool                   `json:"isConnectionAvailable,omitempty"`
	LinkerName            *string                 `json:"linkerName,omitempty"`
	ReportEndTimeUtc      *string                 `json:"reportEndTimeUtc,omitempty"`
	ReportStartTimeUtc    *string                 `json:"reportStartTimeUtc,omitempty"`
	SourceId              *string                 `json:"sourceId,omitempty"`
	TargetId              *string                 `json:"targetId,omitempty"`
	ValidationDetail      *[]ValidationResultItem `json:"validationDetail,omitempty"`
}

func (*ValidateResult) GetReportEndTimeUtcAsTime

func (o *ValidateResult) GetReportEndTimeUtcAsTime() (*time.Time, error)

func (*ValidateResult) GetReportStartTimeUtcAsTime

func (o *ValidateResult) GetReportStartTimeUtcAsTime() (*time.Time, error)

func (*ValidateResult) SetReportEndTimeUtcAsTime

func (o *ValidateResult) SetReportEndTimeUtcAsTime(input time.Time)

func (*ValidateResult) SetReportStartTimeUtcAsTime

func (o *ValidateResult) SetReportStartTimeUtcAsTime(input time.Time)

type ValidationResultItem

type ValidationResultItem struct {
	Description  *string                 `json:"description,omitempty"`
	ErrorCode    *string                 `json:"errorCode,omitempty"`
	ErrorMessage *string                 `json:"errorMessage,omitempty"`
	Name         *string                 `json:"name,omitempty"`
	Result       *ValidationResultStatus `json:"result,omitempty"`
}

type ValidationResultStatus

type ValidationResultStatus string
const (
	ValidationResultStatusFailure ValidationResultStatus = "failure"
	ValidationResultStatusSuccess ValidationResultStatus = "success"
	ValidationResultStatusWarning ValidationResultStatus = "warning"
)

func (*ValidationResultStatus) UnmarshalJSON

func (s *ValidationResultStatus) UnmarshalJSON(bytes []byte) error

type ValueSecretInfo

type ValueSecretInfo struct {
	Value *string `json:"value,omitempty"`
}

func (ValueSecretInfo) MarshalJSON

func (s ValueSecretInfo) MarshalJSON() ([]byte, error)

Source Files

Jump to

Keyboard shortcuts

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