configurationnames

package
v0.20240710.1075622 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

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

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

Client Initialization

client := configurationnames.NewConfigurationNamesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ConfigurationNamesClient.List

ctx := context.TODO()


// alternatively `client.List(ctx, configurationnames.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, configurationnames.DefaultListOperationOptions())
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 PossibleValuesForAuthType

func PossibleValuesForAuthType() []string

func PossibleValuesForClientType

func PossibleValuesForClientType() []string

func PossibleValuesForDaprBindingComponentDirection

func PossibleValuesForDaprBindingComponentDirection() []string

func PossibleValuesForDaprMetadataRequired

func PossibleValuesForDaprMetadataRequired() []string

func PossibleValuesForSecretSourceType

func PossibleValuesForSecretSourceType() []string

Types

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

type ConfigurationName struct {
	Description *string `json:"description,omitempty"`
	Required    *bool   `json:"required,omitempty"`
	Value       *string `json:"value,omitempty"`
}

type ConfigurationNameItem

type ConfigurationNameItem struct {
	Properties *ConfigurationNames `json:"properties,omitempty"`
}

type ConfigurationNameItemOperationPredicate

type ConfigurationNameItemOperationPredicate struct {
}

func (ConfigurationNameItemOperationPredicate) Matches

type ConfigurationNames

type ConfigurationNames struct {
	AuthType       *AuthType            `json:"authType,omitempty"`
	ClientType     *ClientType          `json:"clientType,omitempty"`
	DaprProperties *DaprProperties      `json:"daprProperties,omitempty"`
	Names          *[]ConfigurationName `json:"names,omitempty"`
	SecretType     *SecretSourceType    `json:"secretType,omitempty"`
	TargetService  *string              `json:"targetService,omitempty"`
}

type ConfigurationNamesClient

type ConfigurationNamesClient struct {
	Client *resourcemanager.Client
}

func NewConfigurationNamesClientWithBaseURI

func NewConfigurationNamesClientWithBaseURI(sdkApi sdkEnv.Api) (*ConfigurationNamesClient, error)

func (ConfigurationNamesClient) List

List ...

func (ConfigurationNamesClient) ListComplete

ListComplete retrieves all the results into a single object

func (ConfigurationNamesClient) ListCompleteMatchingPredicate

func (c ConfigurationNamesClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, predicate ConfigurationNameItemOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

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 ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ConfigurationNameItem
}

type ListCustomPager added in v0.20240628.1153531

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

type ListOperationOptions

type ListOperationOptions struct {
	Filter *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ConfigurationNameItem
}

type SecretSourceType

type SecretSourceType string
const (
	SecretSourceTypeKeyVaultSecret SecretSourceType = "keyVaultSecret"
	SecretSourceTypeRawValue       SecretSourceType = "rawValue"
)

func (*SecretSourceType) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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