Documentation ¶
Index ¶
- func PossibleValuesForEventSourceKind() []string
- func PossibleValuesForIngressStartAtType() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForLocalTimestampFormat() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEventSourceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EnvironmentId
- type EventHubEventSourceCommonProperties
- type EventHubEventSourceCreateOrUpdateParameters
- type EventHubEventSourceCreationProperties
- type EventHubEventSourceMutableProperties
- type EventHubEventSourceResource
- type EventHubEventSourceUpdateParameters
- type EventSourceCreateOrUpdateParameters
- type EventSourceId
- type EventSourceKind
- type EventSourceListResponse
- type EventSourceResource
- type EventSourceUpdateParameters
- type EventSourcesClient
- func (c EventSourcesClient) CreateOrUpdate(ctx context.Context, id EventSourceId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c EventSourcesClient) Delete(ctx context.Context, id EventSourceId) (result DeleteOperationResponse, err error)
- func (c EventSourcesClient) Get(ctx context.Context, id EventSourceId) (result GetOperationResponse, err error)
- func (c EventSourcesClient) ListByEnvironment(ctx context.Context, id EnvironmentId) (result ListByEnvironmentOperationResponse, err error)
- func (c EventSourcesClient) Update(ctx context.Context, id EventSourceId, input EventSourceUpdateParameters) (result UpdateOperationResponse, err error)
- type GetOperationResponse
- type IngressStartAtProperties
- type IngressStartAtType
- type IoTHubEventSourceCommonProperties
- type IoTHubEventSourceCreateOrUpdateParameters
- type IoTHubEventSourceCreationProperties
- type IoTHubEventSourceMutableProperties
- type IoTHubEventSourceResource
- type IoTHubEventSourceUpdateParameters
- type Kind
- type ListByEnvironmentOperationResponse
- type LocalTimestamp
- type LocalTimestampFormat
- type LocalTimestampTimeZoneOffset
- type ProvisioningState
- type RawEventSourceCreateOrUpdateParametersImpl
- type RawEventSourceResourceImpl
- type RawEventSourceUpdateParametersImpl
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEventSourceKind ¶
func PossibleValuesForEventSourceKind() []string
func PossibleValuesForIngressStartAtType ¶
func PossibleValuesForIngressStartAtType() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForLocalTimestampFormat ¶
func PossibleValuesForLocalTimestampFormat() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateEnvironmentID ¶
ValidateEnvironmentID checks that 'input' can be parsed as a Environment ID
func ValidateEventSourceID ¶
ValidateEventSourceID checks that 'input' can be parsed as a Event Source ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EventSourceResource }
type DeleteOperationResponse ¶
type EnvironmentId ¶
EnvironmentId is a struct representing the Resource ID for a Environment
func NewEnvironmentID ¶
func NewEnvironmentID(subscriptionId string, resourceGroupName string, environmentName string) EnvironmentId
NewEnvironmentID returns a new EnvironmentId struct
func ParseEnvironmentID ¶
func ParseEnvironmentID(input string) (*EnvironmentId, error)
ParseEnvironmentID parses 'input' into a EnvironmentId
func ParseEnvironmentIDInsensitively ¶
func ParseEnvironmentIDInsensitively(input string) (*EnvironmentId, error)
ParseEnvironmentIDInsensitively parses 'input' case-insensitively into a EnvironmentId note: this method should only be used for API response data and not user input
func (*EnvironmentId) FromParseResult ¶
func (id *EnvironmentId) FromParseResult(input resourceids.ParseResult) error
func (EnvironmentId) ID ¶
func (id EnvironmentId) ID() string
ID returns the formatted Environment ID
func (EnvironmentId) Segments ¶
func (id EnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Environment ID
func (EnvironmentId) String ¶
func (id EnvironmentId) String() string
String returns a human-readable description of this Environment ID
type EventHubEventSourceCommonProperties ¶
type EventHubEventSourceCommonProperties struct { ConsumerGroupName string `json:"consumerGroupName"` CreationTime *string `json:"creationTime,omitempty"` EventHubName string `json:"eventHubName"` EventSourceResourceId string `json:"eventSourceResourceId"` IngressStartAt *IngressStartAtProperties `json:"ingressStartAt,omitempty"` KeyName string `json:"keyName"` LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ServiceBusNamespace string `json:"serviceBusNamespace"` TimestampPropertyName *string `json:"timestampPropertyName,omitempty"` }
func (*EventHubEventSourceCommonProperties) GetCreationTimeAsTime ¶
func (o *EventHubEventSourceCommonProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*EventHubEventSourceCommonProperties) SetCreationTimeAsTime ¶
func (o *EventHubEventSourceCommonProperties) SetCreationTimeAsTime(input time.Time)
type EventHubEventSourceCreateOrUpdateParameters ¶
type EventHubEventSourceCreateOrUpdateParameters struct { Properties EventHubEventSourceCreationProperties `json:"properties"` // Fields inherited from EventSourceCreateOrUpdateParameters LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"` Location string `json:"location"` Tags *map[string]string `json:"tags,omitempty"` }
func (EventHubEventSourceCreateOrUpdateParameters) MarshalJSON ¶
func (s EventHubEventSourceCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
type EventHubEventSourceCreationProperties ¶
type EventHubEventSourceCreationProperties struct { ConsumerGroupName string `json:"consumerGroupName"` CreationTime *string `json:"creationTime,omitempty"` EventHubName string `json:"eventHubName"` EventSourceResourceId string `json:"eventSourceResourceId"` IngressStartAt *IngressStartAtProperties `json:"ingressStartAt,omitempty"` KeyName string `json:"keyName"` LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ServiceBusNamespace string `json:"serviceBusNamespace"` TimestampPropertyName *string `json:"timestampPropertyName,omitempty"` }
func (*EventHubEventSourceCreationProperties) GetCreationTimeAsTime ¶
func (o *EventHubEventSourceCreationProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*EventHubEventSourceCreationProperties) SetCreationTimeAsTime ¶
func (o *EventHubEventSourceCreationProperties) SetCreationTimeAsTime(input time.Time)
type EventHubEventSourceMutableProperties ¶
type EventHubEventSourceMutableProperties struct { TimestampPropertyName *string `json:"timestampPropertyName,omitempty"` }
type EventHubEventSourceResource ¶
type EventHubEventSourceResource struct { Properties EventHubEventSourceCommonProperties `json:"properties"` // Fields inherited from EventSourceResource Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (EventHubEventSourceResource) MarshalJSON ¶
func (s EventHubEventSourceResource) MarshalJSON() ([]byte, error)
type EventHubEventSourceUpdateParameters ¶
type EventHubEventSourceUpdateParameters struct { Properties *EventHubEventSourceMutableProperties `json:"properties,omitempty"` // Fields inherited from EventSourceUpdateParameters Tags *map[string]string `json:"tags,omitempty"` }
func (EventHubEventSourceUpdateParameters) MarshalJSON ¶
func (s EventHubEventSourceUpdateParameters) MarshalJSON() ([]byte, error)
type EventSourceCreateOrUpdateParameters ¶
type EventSourceCreateOrUpdateParameters interface { }
type EventSourceId ¶
type EventSourceId struct { SubscriptionId string ResourceGroupName string EnvironmentName string EventSourceName string }
EventSourceId is a struct representing the Resource ID for a Event Source
func NewEventSourceID ¶
func NewEventSourceID(subscriptionId string, resourceGroupName string, environmentName string, eventSourceName string) EventSourceId
NewEventSourceID returns a new EventSourceId struct
func ParseEventSourceID ¶
func ParseEventSourceID(input string) (*EventSourceId, error)
ParseEventSourceID parses 'input' into a EventSourceId
func ParseEventSourceIDInsensitively ¶
func ParseEventSourceIDInsensitively(input string) (*EventSourceId, error)
ParseEventSourceIDInsensitively parses 'input' case-insensitively into a EventSourceId note: this method should only be used for API response data and not user input
func (*EventSourceId) FromParseResult ¶
func (id *EventSourceId) FromParseResult(input resourceids.ParseResult) error
func (EventSourceId) ID ¶
func (id EventSourceId) ID() string
ID returns the formatted Event Source ID
func (EventSourceId) Segments ¶
func (id EventSourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Event Source ID
func (EventSourceId) String ¶
func (id EventSourceId) String() string
String returns a human-readable description of this Event Source ID
type EventSourceKind ¶
type EventSourceKind string
const ( EventSourceKindMicrosoftPointEventHub EventSourceKind = "Microsoft.EventHub" EventSourceKindMicrosoftPointIoTHub EventSourceKind = "Microsoft.IoTHub" )
func (*EventSourceKind) UnmarshalJSON ¶ added in v0.20240214.1142753
func (s *EventSourceKind) UnmarshalJSON(bytes []byte) error
type EventSourceListResponse ¶
type EventSourceListResponse struct {
Value *[]EventSourceResource `json:"value,omitempty"`
}
func (*EventSourceListResponse) UnmarshalJSON ¶
func (s *EventSourceListResponse) UnmarshalJSON(bytes []byte) error
type EventSourceResource ¶
type EventSourceResource interface { }
type EventSourceUpdateParameters ¶
type EventSourceUpdateParameters interface { }
type EventSourcesClient ¶
type EventSourcesClient struct {
Client *resourcemanager.Client
}
func NewEventSourcesClientWithBaseURI ¶
func NewEventSourcesClientWithBaseURI(sdkApi sdkEnv.Api) (*EventSourcesClient, error)
func (EventSourcesClient) CreateOrUpdate ¶
func (c EventSourcesClient) CreateOrUpdate(ctx context.Context, id EventSourceId, input EventSourceCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EventSourcesClient) Delete ¶
func (c EventSourcesClient) Delete(ctx context.Context, id EventSourceId) (result DeleteOperationResponse, err error)
Delete ...
func (EventSourcesClient) Get ¶
func (c EventSourcesClient) Get(ctx context.Context, id EventSourceId) (result GetOperationResponse, err error)
Get ...
func (EventSourcesClient) ListByEnvironment ¶
func (c EventSourcesClient) ListByEnvironment(ctx context.Context, id EnvironmentId) (result ListByEnvironmentOperationResponse, err error)
ListByEnvironment ...
func (EventSourcesClient) Update ¶
func (c EventSourcesClient) Update(ctx context.Context, id EventSourceId, input EventSourceUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EventSourceResource }
type IngressStartAtProperties ¶
type IngressStartAtProperties struct { Time *string `json:"time,omitempty"` Type *IngressStartAtType `json:"type,omitempty"` }
type IngressStartAtType ¶
type IngressStartAtType string
const ( IngressStartAtTypeCustomEnqueuedTime IngressStartAtType = "CustomEnqueuedTime" IngressStartAtTypeEarliestAvailable IngressStartAtType = "EarliestAvailable" IngressStartAtTypeEventSourceCreationTime IngressStartAtType = "EventSourceCreationTime" )
func (*IngressStartAtType) UnmarshalJSON ¶ added in v0.20240214.1142753
func (s *IngressStartAtType) UnmarshalJSON(bytes []byte) error
type IoTHubEventSourceCommonProperties ¶
type IoTHubEventSourceCommonProperties struct { ConsumerGroupName string `json:"consumerGroupName"` CreationTime *string `json:"creationTime,omitempty"` EventSourceResourceId string `json:"eventSourceResourceId"` IngressStartAt *IngressStartAtProperties `json:"ingressStartAt,omitempty"` IotHubName string `json:"iotHubName"` KeyName string `json:"keyName"` LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TimestampPropertyName *string `json:"timestampPropertyName,omitempty"` }
func (*IoTHubEventSourceCommonProperties) GetCreationTimeAsTime ¶
func (o *IoTHubEventSourceCommonProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*IoTHubEventSourceCommonProperties) SetCreationTimeAsTime ¶
func (o *IoTHubEventSourceCommonProperties) SetCreationTimeAsTime(input time.Time)
type IoTHubEventSourceCreateOrUpdateParameters ¶
type IoTHubEventSourceCreateOrUpdateParameters struct { Properties IoTHubEventSourceCreationProperties `json:"properties"` // Fields inherited from EventSourceCreateOrUpdateParameters LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"` Location string `json:"location"` Tags *map[string]string `json:"tags,omitempty"` }
func (IoTHubEventSourceCreateOrUpdateParameters) MarshalJSON ¶
func (s IoTHubEventSourceCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
type IoTHubEventSourceCreationProperties ¶
type IoTHubEventSourceCreationProperties struct { ConsumerGroupName string `json:"consumerGroupName"` CreationTime *string `json:"creationTime,omitempty"` EventSourceResourceId string `json:"eventSourceResourceId"` IngressStartAt *IngressStartAtProperties `json:"ingressStartAt,omitempty"` IotHubName string `json:"iotHubName"` KeyName string `json:"keyName"` LocalTimestamp *LocalTimestamp `json:"localTimestamp,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TimestampPropertyName *string `json:"timestampPropertyName,omitempty"` }
func (*IoTHubEventSourceCreationProperties) GetCreationTimeAsTime ¶
func (o *IoTHubEventSourceCreationProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*IoTHubEventSourceCreationProperties) SetCreationTimeAsTime ¶
func (o *IoTHubEventSourceCreationProperties) SetCreationTimeAsTime(input time.Time)
type IoTHubEventSourceMutableProperties ¶
type IoTHubEventSourceMutableProperties struct { TimestampPropertyName *string `json:"timestampPropertyName,omitempty"` }
type IoTHubEventSourceResource ¶
type IoTHubEventSourceResource struct { Properties IoTHubEventSourceCommonProperties `json:"properties"` // Fields inherited from EventSourceResource Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (IoTHubEventSourceResource) MarshalJSON ¶
func (s IoTHubEventSourceResource) MarshalJSON() ([]byte, error)
type IoTHubEventSourceUpdateParameters ¶
type IoTHubEventSourceUpdateParameters struct { Properties *IoTHubEventSourceMutableProperties `json:"properties,omitempty"` // Fields inherited from EventSourceUpdateParameters Tags *map[string]string `json:"tags,omitempty"` }
func (IoTHubEventSourceUpdateParameters) MarshalJSON ¶
func (s IoTHubEventSourceUpdateParameters) MarshalJSON() ([]byte, error)
type ListByEnvironmentOperationResponse ¶
type ListByEnvironmentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EventSourceListResponse }
type LocalTimestamp ¶
type LocalTimestamp struct { Format *LocalTimestampFormat `json:"format,omitempty"` TimeZoneOffset *LocalTimestampTimeZoneOffset `json:"timeZoneOffset,omitempty"` }
type LocalTimestampFormat ¶
type LocalTimestampFormat string
const (
LocalTimestampFormatEmbedded LocalTimestampFormat = "Embedded"
)
func (*LocalTimestampFormat) UnmarshalJSON ¶ added in v0.20240214.1142753
func (s *LocalTimestampFormat) UnmarshalJSON(bytes []byte) error
type LocalTimestampTimeZoneOffset ¶
type LocalTimestampTimeZoneOffset struct {
PropertyName *string `json:"propertyName,omitempty"`
}
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20240214.1142753
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RawEventSourceCreateOrUpdateParametersImpl ¶
type RawEventSourceCreateOrUpdateParametersImpl struct { Type string Values map[string]interface{} }
RawEventSourceCreateOrUpdateParametersImpl 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 RawEventSourceResourceImpl ¶
RawEventSourceResourceImpl 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 RawEventSourceUpdateParametersImpl ¶
RawEventSourceUpdateParametersImpl 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 UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EventSourceResource }
Source Files ¶
- client.go
- constants.go
- id_environment.go
- id_eventsource.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyenvironment.go
- method_update.go
- model_eventhubeventsourcecommonproperties.go
- model_eventhubeventsourcecreateorupdateparameters.go
- model_eventhubeventsourcecreationproperties.go
- model_eventhubeventsourcemutableproperties.go
- model_eventhubeventsourceresource.go
- model_eventhubeventsourceupdateparameters.go
- model_eventsourcecreateorupdateparameters.go
- model_eventsourcelistresponse.go
- model_eventsourceresource.go
- model_eventsourceupdateparameters.go
- model_ingressstartatproperties.go
- model_iothubeventsourcecommonproperties.go
- model_iothubeventsourcecreateorupdateparameters.go
- model_iothubeventsourcecreationproperties.go
- model_iothubeventsourcemutableproperties.go
- model_iothubeventsourceresource.go
- model_iothubeventsourceupdateparameters.go
- model_localtimestamp.go
- model_localtimestamptimezoneoffset.go
- version.go