Documentation ¶
Index ¶
- func PossibleValuesForCredentialsType() []string
- func PossibleValuesForEventHubType() []string
- func PossibleValuesForEventStreamingState() []string
- func PossibleValuesForEventStreamingType() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateKafkaConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type CreateOrUpdateOperationResponse
- type Credentials
- type CredentialsType
- type DeleteOperationResponse
- type EventHubType
- type EventStreamingState
- type EventStreamingType
- type GetOperationResponse
- type KafkaConfiguration
- type KafkaConfigurationClient
- func (c KafkaConfigurationClient) CreateOrUpdate(ctx context.Context, id KafkaConfigurationId, input KafkaConfiguration) (result CreateOrUpdateOperationResponse, err error)
- func (c KafkaConfigurationClient) Delete(ctx context.Context, id KafkaConfigurationId) (result DeleteOperationResponse, err error)
- func (c KafkaConfigurationClient) Get(ctx context.Context, id KafkaConfigurationId) (result GetOperationResponse, err error)
- func (c KafkaConfigurationClient) ListByAccount(ctx context.Context, id AccountId) (result ListByAccountOperationResponse, err error)
- func (c KafkaConfigurationClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
- func (c KafkaConfigurationClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, ...) (result ListByAccountCompleteResult, err error)
- type KafkaConfigurationId
- type KafkaConfigurationOperationPredicate
- type KafkaConfigurationProperties
- type ListByAccountCompleteResult
- type ListByAccountOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCredentialsType ¶
func PossibleValuesForCredentialsType() []string
func PossibleValuesForEventHubType ¶
func PossibleValuesForEventHubType() []string
func PossibleValuesForEventStreamingState ¶
func PossibleValuesForEventStreamingState() []string
func PossibleValuesForEventStreamingType ¶
func PossibleValuesForEventStreamingType() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateKafkaConfigurationID ¶
func ValidateKafkaConfigurationID(input interface{}, key string) (warnings []string, errors []error)
ValidateKafkaConfigurationID checks that 'input' can be parsed as a Kafka Configuration ID
Types ¶
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (*AccountId) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *KafkaConfiguration }
type Credentials ¶
type Credentials struct { IdentityId *string `json:"identityId,omitempty"` Type *CredentialsType `json:"type,omitempty"` }
type CredentialsType ¶
type CredentialsType string
const ( CredentialsTypeNone CredentialsType = "None" CredentialsTypeSystemAssigned CredentialsType = "SystemAssigned" CredentialsTypeUserAssigned CredentialsType = "UserAssigned" )
func (*CredentialsType) UnmarshalJSON ¶
func (s *CredentialsType) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type EventHubType ¶
type EventHubType string
const ( EventHubTypeHook EventHubType = "Hook" EventHubTypeNotification EventHubType = "Notification" )
func (*EventHubType) UnmarshalJSON ¶
func (s *EventHubType) UnmarshalJSON(bytes []byte) error
type EventStreamingState ¶
type EventStreamingState string
const ( EventStreamingStateDisabled EventStreamingState = "Disabled" EventStreamingStateEnabled EventStreamingState = "Enabled" )
func (*EventStreamingState) UnmarshalJSON ¶
func (s *EventStreamingState) UnmarshalJSON(bytes []byte) error
type EventStreamingType ¶
type EventStreamingType string
const ( EventStreamingTypeAzure EventStreamingType = "Azure" EventStreamingTypeManaged EventStreamingType = "Managed" EventStreamingTypeNone EventStreamingType = "None" )
func (*EventStreamingType) UnmarshalJSON ¶
func (s *EventStreamingType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *KafkaConfiguration }
type KafkaConfiguration ¶
type KafkaConfiguration struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *KafkaConfigurationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type KafkaConfigurationClient ¶
type KafkaConfigurationClient struct {
Client *resourcemanager.Client
}
func NewKafkaConfigurationClientWithBaseURI ¶
func NewKafkaConfigurationClientWithBaseURI(sdkApi sdkEnv.Api) (*KafkaConfigurationClient, error)
func (KafkaConfigurationClient) CreateOrUpdate ¶
func (c KafkaConfigurationClient) CreateOrUpdate(ctx context.Context, id KafkaConfigurationId, input KafkaConfiguration) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (KafkaConfigurationClient) Delete ¶
func (c KafkaConfigurationClient) Delete(ctx context.Context, id KafkaConfigurationId) (result DeleteOperationResponse, err error)
Delete ...
func (KafkaConfigurationClient) Get ¶
func (c KafkaConfigurationClient) Get(ctx context.Context, id KafkaConfigurationId) (result GetOperationResponse, err error)
Get ...
func (KafkaConfigurationClient) ListByAccount ¶
func (c KafkaConfigurationClient) ListByAccount(ctx context.Context, id AccountId) (result ListByAccountOperationResponse, err error)
ListByAccount ...
func (KafkaConfigurationClient) ListByAccountComplete ¶
func (c KafkaConfigurationClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
ListByAccountComplete retrieves all the results into a single object
func (KafkaConfigurationClient) ListByAccountCompleteMatchingPredicate ¶
func (c KafkaConfigurationClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate KafkaConfigurationOperationPredicate) (result ListByAccountCompleteResult, err error)
ListByAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
type KafkaConfigurationId ¶
type KafkaConfigurationId struct { SubscriptionId string ResourceGroupName string AccountName string KafkaConfigurationName string }
KafkaConfigurationId is a struct representing the Resource ID for a Kafka Configuration
func NewKafkaConfigurationID ¶
func NewKafkaConfigurationID(subscriptionId string, resourceGroupName string, accountName string, kafkaConfigurationName string) KafkaConfigurationId
NewKafkaConfigurationID returns a new KafkaConfigurationId struct
func ParseKafkaConfigurationID ¶
func ParseKafkaConfigurationID(input string) (*KafkaConfigurationId, error)
ParseKafkaConfigurationID parses 'input' into a KafkaConfigurationId
func ParseKafkaConfigurationIDInsensitively ¶
func ParseKafkaConfigurationIDInsensitively(input string) (*KafkaConfigurationId, error)
ParseKafkaConfigurationIDInsensitively parses 'input' case-insensitively into a KafkaConfigurationId note: this method should only be used for API response data and not user input
func (*KafkaConfigurationId) FromParseResult ¶
func (id *KafkaConfigurationId) FromParseResult(input resourceids.ParseResult) error
func (KafkaConfigurationId) ID ¶
func (id KafkaConfigurationId) ID() string
ID returns the formatted Kafka Configuration ID
func (KafkaConfigurationId) Segments ¶
func (id KafkaConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Kafka Configuration ID
func (KafkaConfigurationId) String ¶
func (id KafkaConfigurationId) String() string
String returns a human-readable description of this Kafka Configuration ID
type KafkaConfigurationOperationPredicate ¶
func (KafkaConfigurationOperationPredicate) Matches ¶
func (p KafkaConfigurationOperationPredicate) Matches(input KafkaConfiguration) bool
type KafkaConfigurationProperties ¶
type KafkaConfigurationProperties struct { ConsumerGroup *string `json:"consumerGroup,omitempty"` Credentials *Credentials `json:"credentials,omitempty"` EventHubPartitionId *string `json:"eventHubPartitionId,omitempty"` EventHubResourceId *string `json:"eventHubResourceId,omitempty"` EventHubType *EventHubType `json:"eventHubType,omitempty"` EventStreamingState *EventStreamingState `json:"eventStreamingState,omitempty"` EventStreamingType *EventStreamingType `json:"eventStreamingType,omitempty"` }
type ListByAccountCompleteResult ¶
type ListByAccountCompleteResult struct { LatestHttpResponse *http.Response Items []KafkaConfiguration }
type ListByAccountOperationResponse ¶
type ListByAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]KafkaConfiguration }