Documentation ¶
Index ¶
- func ValidateAnnotationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- type Annotation
- type AnnotationId
- type AnnotationsCreateOperationResponse
- type AnnotationsDeleteOperationResponse
- type AnnotationsGetOperationResponse
- type AnnotationsListOperationOptions
- type AnnotationsListOperationResponse
- type AnnotationsListResult
- type ComponentAnnotationsAPIsClient
- func (c ComponentAnnotationsAPIsClient) AnnotationsCreate(ctx context.Context, id ComponentId, input Annotation) (result AnnotationsCreateOperationResponse, err error)
- func (c ComponentAnnotationsAPIsClient) AnnotationsDelete(ctx context.Context, id AnnotationId) (result AnnotationsDeleteOperationResponse, err error)
- func (c ComponentAnnotationsAPIsClient) AnnotationsGet(ctx context.Context, id AnnotationId) (result AnnotationsGetOperationResponse, err error)
- func (c ComponentAnnotationsAPIsClient) AnnotationsList(ctx context.Context, id ComponentId, options AnnotationsListOperationOptions) (result AnnotationsListOperationResponse, err error)
- type ComponentId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAnnotationID ¶
ValidateAnnotationID checks that 'input' can be parsed as a Annotation ID
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
Types ¶
type Annotation ¶
type Annotation struct { AnnotationName *string `json:"AnnotationName,omitempty"` Category *string `json:"Category,omitempty"` EventTime *string `json:"EventTime,omitempty"` Id *string `json:"Id,omitempty"` Properties *string `json:"Properties,omitempty"` RelatedAnnotation *string `json:"RelatedAnnotation,omitempty"` }
func (*Annotation) GetEventTimeAsTime ¶
func (o *Annotation) GetEventTimeAsTime() (*time.Time, error)
func (*Annotation) SetEventTimeAsTime ¶
func (o *Annotation) SetEventTimeAsTime(input time.Time)
type AnnotationId ¶
type AnnotationId struct { SubscriptionId string ResourceGroupName string ComponentName string AnnotationId string }
AnnotationId is a struct representing the Resource ID for a Annotation
func NewAnnotationID ¶
func NewAnnotationID(subscriptionId string, resourceGroupName string, componentName string, annotationId string) AnnotationId
NewAnnotationID returns a new AnnotationId struct
func ParseAnnotationID ¶
func ParseAnnotationID(input string) (*AnnotationId, error)
ParseAnnotationID parses 'input' into a AnnotationId
func ParseAnnotationIDInsensitively ¶
func ParseAnnotationIDInsensitively(input string) (*AnnotationId, error)
ParseAnnotationIDInsensitively parses 'input' case-insensitively into a AnnotationId note: this method should only be used for API response data and not user input
func (AnnotationId) Segments ¶
func (id AnnotationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Annotation ID
func (AnnotationId) String ¶
func (id AnnotationId) String() string
String returns a human-readable description of this Annotation ID
type AnnotationsCreateOperationResponse ¶
type AnnotationsCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Annotation }
type AnnotationsGetOperationResponse ¶
type AnnotationsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Annotation }
type AnnotationsListOperationOptions ¶
func DefaultAnnotationsListOperationOptions ¶
func DefaultAnnotationsListOperationOptions() AnnotationsListOperationOptions
func (AnnotationsListOperationOptions) ToHeaders ¶
func (o AnnotationsListOperationOptions) ToHeaders() *client.Headers
func (AnnotationsListOperationOptions) ToOData ¶
func (o AnnotationsListOperationOptions) ToOData() *odata.Query
func (AnnotationsListOperationOptions) ToQuery ¶
func (o AnnotationsListOperationOptions) ToQuery() *client.QueryParams
type AnnotationsListOperationResponse ¶
type AnnotationsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AnnotationsListResult }
type AnnotationsListResult ¶
type AnnotationsListResult struct {
Value *[]Annotation `json:"value,omitempty"`
}
type ComponentAnnotationsAPIsClient ¶
type ComponentAnnotationsAPIsClient struct {
Client *resourcemanager.Client
}
func NewComponentAnnotationsAPIsClientWithBaseURI ¶
func NewComponentAnnotationsAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*ComponentAnnotationsAPIsClient, error)
func (ComponentAnnotationsAPIsClient) AnnotationsCreate ¶
func (c ComponentAnnotationsAPIsClient) AnnotationsCreate(ctx context.Context, id ComponentId, input Annotation) (result AnnotationsCreateOperationResponse, err error)
AnnotationsCreate ...
func (ComponentAnnotationsAPIsClient) AnnotationsDelete ¶
func (c ComponentAnnotationsAPIsClient) AnnotationsDelete(ctx context.Context, id AnnotationId) (result AnnotationsDeleteOperationResponse, err error)
AnnotationsDelete ...
func (ComponentAnnotationsAPIsClient) AnnotationsGet ¶
func (c ComponentAnnotationsAPIsClient) AnnotationsGet(ctx context.Context, id AnnotationId) (result AnnotationsGetOperationResponse, err error)
AnnotationsGet ...
func (ComponentAnnotationsAPIsClient) AnnotationsList ¶
func (c ComponentAnnotationsAPIsClient) AnnotationsList(ctx context.Context, id ComponentId, options AnnotationsListOperationOptions) (result AnnotationsListOperationResponse, err error)
AnnotationsList ...
type ComponentId ¶
ComponentId is a struct representing the Resource ID for a Component
func NewComponentID ¶
func NewComponentID(subscriptionId string, resourceGroupName string, componentName string) ComponentId
NewComponentID returns a new ComponentId struct
func ParseComponentID ¶
func ParseComponentID(input string) (*ComponentId, error)
ParseComponentID parses 'input' into a ComponentId
func ParseComponentIDInsensitively ¶
func ParseComponentIDInsensitively(input string) (*ComponentId, error)
ParseComponentIDInsensitively parses 'input' case-insensitively into a ComponentId note: this method should only be used for API response data and not user input
func (ComponentId) Segments ¶
func (id ComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component ID
func (ComponentId) String ¶
func (id ComponentId) String() string
String returns a human-readable description of this Component ID