linkers

package
v0.20240603.1145333 Latest Latest
Warning

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

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

README

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

The linkers 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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/servicelinker/2024-04-01/linkers"

Client Initialization

client := linkers.NewLinkersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: LinkersClient.CreateDryrun

ctx := context.TODO()
id := linkers.NewScopedDryrunID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "dryrunValue")

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


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

Example Usage: LinkersClient.DeleteDryrun

ctx := context.TODO()
id := linkers.NewScopedDryrunID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "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: LinkersClient.GenerateConfigurations

ctx := context.TODO()
id := linkers.NewScopedLinkerID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "linkerValue")

payload := linkers.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: LinkersClient.GetDryrun

ctx := context.TODO()
id := linkers.NewScopedDryrunID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "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: LinkersClient.LinkerDelete

ctx := context.TODO()
id := linkers.NewScopedLinkerID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "linkerValue")

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

Example Usage: LinkersClient.LinkerListConfigurations

ctx := context.TODO()
id := linkers.NewScopedLinkerID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "linkerValue")

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

Example Usage: LinkersClient.LinkerUpdate

ctx := context.TODO()
id := linkers.NewScopedLinkerID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "linkerValue")

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


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

Example Usage: LinkersClient.LinkerValidate

ctx := context.TODO()
id := linkers.NewScopedLinkerID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "linkerValue")

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

Example Usage: LinkersClient.ListDaprConfigurations

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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

Example Usage: LinkersClient.ListDryrun

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

// 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: LinkersClient.UpdateDryrun

ctx := context.TODO()
id := linkers.NewScopedDryrunID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "dryrunValue")

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


if err := client.UpdateDryrunThenPoll(ctx, id, payload); 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 ValidateScopedDryrunID

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

ValidateScopedDryrunID checks that 'input' can be parsed as a Scoped Dryrun ID

func ValidateScopedLinkerID

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

ValidateScopedLinkerID checks that 'input' can be parsed as a Scoped Linker 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 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 DaprConfigurationProperties

type DaprConfigurationProperties struct {
	AuthType       *AuthType       `json:"authType,omitempty"`
	DaprProperties *DaprProperties `json:"daprProperties,omitempty"`
	TargetType     *string         `json:"targetType,omitempty"`
}

type DaprConfigurationResource

type DaprConfigurationResource struct {
	Properties *DaprConfigurationProperties `json:"properties,omitempty"`
}

type DaprConfigurationResourceOperationPredicate

type DaprConfigurationResourceOperationPredicate struct {
}

func (DaprConfigurationResourceOperationPredicate) Matches

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 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 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 LinkerDeleteOperationResponse

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

type LinkerListConfigurationsOperationResponse

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

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 LinkerUpdateOperationResponse

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

type LinkerValidateOperationResponse

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

type LinkersClient

type LinkersClient struct {
	Client *resourcemanager.Client
}

func NewLinkersClientWithBaseURI

func NewLinkersClientWithBaseURI(sdkApi sdkEnv.Api) (*LinkersClient, error)

func (LinkersClient) CreateDryrun

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

CreateDryrun ...

func (LinkersClient) CreateDryrunThenPoll

func (c LinkersClient) CreateDryrunThenPoll(ctx context.Context, id ScopedDryrunId, input DryrunResource) error

CreateDryrunThenPoll performs CreateDryrun then polls until it's completed

func (LinkersClient) DeleteDryrun

func (c LinkersClient) DeleteDryrun(ctx context.Context, id ScopedDryrunId) (result DeleteDryrunOperationResponse, err error)

DeleteDryrun ...

func (LinkersClient) GenerateConfigurations

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

GenerateConfigurations ...

func (LinkersClient) GetDryrun

func (c LinkersClient) GetDryrun(ctx context.Context, id ScopedDryrunId) (result GetDryrunOperationResponse, err error)

GetDryrun ...

func (LinkersClient) LinkerDelete

func (c LinkersClient) LinkerDelete(ctx context.Context, id ScopedLinkerId) (result LinkerDeleteOperationResponse, err error)

LinkerDelete ...

func (LinkersClient) LinkerDeleteThenPoll

func (c LinkersClient) LinkerDeleteThenPoll(ctx context.Context, id ScopedLinkerId) error

LinkerDeleteThenPoll performs LinkerDelete then polls until it's completed

func (LinkersClient) LinkerListConfigurations

func (c LinkersClient) LinkerListConfigurations(ctx context.Context, id ScopedLinkerId) (result LinkerListConfigurationsOperationResponse, err error)

LinkerListConfigurations ...

func (LinkersClient) LinkerUpdate

func (c LinkersClient) LinkerUpdate(ctx context.Context, id ScopedLinkerId, input LinkerPatch) (result LinkerUpdateOperationResponse, err error)

LinkerUpdate ...

func (LinkersClient) LinkerUpdateThenPoll

func (c LinkersClient) LinkerUpdateThenPoll(ctx context.Context, id ScopedLinkerId, input LinkerPatch) error

LinkerUpdateThenPoll performs LinkerUpdate then polls until it's completed

func (LinkersClient) LinkerValidate

func (c LinkersClient) LinkerValidate(ctx context.Context, id ScopedLinkerId) (result LinkerValidateOperationResponse, err error)

LinkerValidate ...

func (LinkersClient) LinkerValidateThenPoll

func (c LinkersClient) LinkerValidateThenPoll(ctx context.Context, id ScopedLinkerId) error

LinkerValidateThenPoll performs LinkerValidate then polls until it's completed

func (LinkersClient) ListDaprConfigurations

func (c LinkersClient) ListDaprConfigurations(ctx context.Context, id commonids.ScopeId) (result ListDaprConfigurationsOperationResponse, err error)

ListDaprConfigurations ...

func (LinkersClient) ListDaprConfigurationsComplete

func (c LinkersClient) ListDaprConfigurationsComplete(ctx context.Context, id commonids.ScopeId) (ListDaprConfigurationsCompleteResult, error)

ListDaprConfigurationsComplete retrieves all the results into a single object

func (LinkersClient) ListDaprConfigurationsCompleteMatchingPredicate

func (c LinkersClient) ListDaprConfigurationsCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate DaprConfigurationResourceOperationPredicate) (result ListDaprConfigurationsCompleteResult, err error)

ListDaprConfigurationsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (LinkersClient) ListDryrun

func (c LinkersClient) ListDryrun(ctx context.Context, id commonids.ScopeId) (result ListDryrunOperationResponse, err error)

ListDryrun ...

func (LinkersClient) ListDryrunComplete

func (c LinkersClient) ListDryrunComplete(ctx context.Context, id commonids.ScopeId) (ListDryrunCompleteResult, error)

ListDryrunComplete retrieves all the results into a single object

func (LinkersClient) ListDryrunCompleteMatchingPredicate

func (c LinkersClient) ListDryrunCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate DryrunResourceOperationPredicate) (result ListDryrunCompleteResult, err error)

ListDryrunCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (LinkersClient) UpdateDryrun

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

UpdateDryrun ...

func (LinkersClient) UpdateDryrunThenPoll

func (c LinkersClient) UpdateDryrunThenPoll(ctx context.Context, id ScopedDryrunId, input DryrunPatch) error

UpdateDryrunThenPoll performs UpdateDryrun then polls until it's completed

type ListDaprConfigurationsCompleteResult

type ListDaprConfigurationsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DaprConfigurationResource
}

type ListDaprConfigurationsOperationResponse

type ListDaprConfigurationsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DaprConfigurationResource
}

type ListDryrunCompleteResult

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

type ListDryrunOperationResponse

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

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 ScopedDryrunId

type ScopedDryrunId struct {
	ResourceUri string
	DryrunName  string
}

ScopedDryrunId is a struct representing the Resource ID for a Scoped Dryrun

func NewScopedDryrunID

func NewScopedDryrunID(resourceUri string, dryrunName string) ScopedDryrunId

NewScopedDryrunID returns a new ScopedDryrunId struct

func ParseScopedDryrunID

func ParseScopedDryrunID(input string) (*ScopedDryrunId, error)

ParseScopedDryrunID parses 'input' into a ScopedDryrunId

func ParseScopedDryrunIDInsensitively

func ParseScopedDryrunIDInsensitively(input string) (*ScopedDryrunId, error)

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

func (*ScopedDryrunId) FromParseResult

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

func (ScopedDryrunId) ID

func (id ScopedDryrunId) ID() string

ID returns the formatted Scoped Dryrun ID

func (ScopedDryrunId) Segments

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

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

func (ScopedDryrunId) String

func (id ScopedDryrunId) String() string

String returns a human-readable description of this Scoped Dryrun ID

type ScopedLinkerId

type ScopedLinkerId struct {
	ResourceUri string
	LinkerName  string
}

ScopedLinkerId is a struct representing the Resource ID for a Scoped Linker

func NewScopedLinkerID

func NewScopedLinkerID(resourceUri string, linkerName string) ScopedLinkerId

NewScopedLinkerID returns a new ScopedLinkerId struct

func ParseScopedLinkerID

func ParseScopedLinkerID(input string) (*ScopedLinkerId, error)

ParseScopedLinkerID parses 'input' into a ScopedLinkerId

func ParseScopedLinkerIDInsensitively

func ParseScopedLinkerIDInsensitively(input string) (*ScopedLinkerId, error)

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

func (*ScopedLinkerId) FromParseResult

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

func (ScopedLinkerId) ID

func (id ScopedLinkerId) ID() string

ID returns the formatted Scoped Linker ID

func (ScopedLinkerId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Scoped Linker ID

func (ScopedLinkerId) String

func (id ScopedLinkerId) String() string

String returns a human-readable description of this Scoped Linker ID

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 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 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