servicelinker

package
v0.20240516.1080701 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

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

The servicelinker 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/servicelinker"

Client Initialization

client := servicelinker.NewServiceLinkerClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ServiceLinkerClient.ConnectorCreateOrUpdate

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

payload := servicelinker.LinkerResource{
	// ...
}


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

Example Usage: ServiceLinkerClient.ConnectorGet

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

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

Example Usage: ServiceLinkerClient.ConnectorList

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

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

Example Usage: ServiceLinkerClient.LinkerCreateOrUpdate

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

payload := servicelinker.LinkerResource{
	// ...
}


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

Example Usage: ServiceLinkerClient.LinkerGet

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

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

Example Usage: ServiceLinkerClient.LinkerList

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

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

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 PossibleValuesForSecretType

func PossibleValuesForSecretType() []string

func PossibleValuesForTargetServiceType

func PossibleValuesForTargetServiceType() []string

func PossibleValuesForVNetSolutionType

func PossibleValuesForVNetSolutionType() []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 ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location 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 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 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 ConnectorCreateOrUpdateOperationResponse

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

type ConnectorGetOperationResponse

type ConnectorGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *LinkerResource
}

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 ConnectorListCompleteResult

type ConnectorListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []LinkerResource
}

type ConnectorListOperationResponse

type ConnectorListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]LinkerResource
}

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 DeleteOrUpdateBehavior

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

func (*DeleteOrUpdateBehavior) UnmarshalJSON

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

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

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

type LinkerGetOperationResponse

type LinkerGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *LinkerResource
}

type LinkerListCompleteResult

type LinkerListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []LinkerResource
}

type LinkerListOperationResponse

type LinkerListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]LinkerResource
}

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 LinkerResourceOperationPredicate

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

func (LinkerResourceOperationPredicate) Matches

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

type ServiceLinkerClient struct {
	Client *resourcemanager.Client
}

func NewServiceLinkerClientWithBaseURI

func NewServiceLinkerClientWithBaseURI(sdkApi sdkEnv.Api) (*ServiceLinkerClient, error)

func (ServiceLinkerClient) ConnectorCreateOrUpdate

func (c ServiceLinkerClient) ConnectorCreateOrUpdate(ctx context.Context, id ConnectorId, input LinkerResource) (result ConnectorCreateOrUpdateOperationResponse, err error)

ConnectorCreateOrUpdate ...

func (ServiceLinkerClient) ConnectorCreateOrUpdateThenPoll

func (c ServiceLinkerClient) ConnectorCreateOrUpdateThenPoll(ctx context.Context, id ConnectorId, input LinkerResource) error

ConnectorCreateOrUpdateThenPoll performs ConnectorCreateOrUpdate then polls until it's completed

func (ServiceLinkerClient) ConnectorGet

func (c ServiceLinkerClient) ConnectorGet(ctx context.Context, id ConnectorId) (result ConnectorGetOperationResponse, err error)

ConnectorGet ...

func (ServiceLinkerClient) ConnectorList

func (c ServiceLinkerClient) ConnectorList(ctx context.Context, id LocationId) (result ConnectorListOperationResponse, err error)

ConnectorList ...

func (ServiceLinkerClient) ConnectorListComplete

func (c ServiceLinkerClient) ConnectorListComplete(ctx context.Context, id LocationId) (ConnectorListCompleteResult, error)

ConnectorListComplete retrieves all the results into a single object

func (ServiceLinkerClient) ConnectorListCompleteMatchingPredicate

func (c ServiceLinkerClient) ConnectorListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate LinkerResourceOperationPredicate) (result ConnectorListCompleteResult, err error)

ConnectorListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ServiceLinkerClient) LinkerCreateOrUpdate

LinkerCreateOrUpdate ...

func (ServiceLinkerClient) LinkerCreateOrUpdateThenPoll

func (c ServiceLinkerClient) LinkerCreateOrUpdateThenPoll(ctx context.Context, id ScopedLinkerId, input LinkerResource) error

LinkerCreateOrUpdateThenPoll performs LinkerCreateOrUpdate then polls until it's completed

func (ServiceLinkerClient) LinkerGet

LinkerGet ...

func (ServiceLinkerClient) LinkerList

LinkerList ...

func (ServiceLinkerClient) LinkerListComplete

LinkerListComplete retrieves all the results into a single object

func (ServiceLinkerClient) LinkerListCompleteMatchingPredicate

func (c ServiceLinkerClient) LinkerListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate LinkerResourceOperationPredicate) (result LinkerListCompleteResult, err error)

LinkerListCompleteMatchingPredicate retrieves all the results and then applies the predicate

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

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

func (ValueSecretInfo) MarshalJSON

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

Jump to

Keyboard shortcuts

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