Documentation ¶
Index ¶
- func ValidateApiKeyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- type APIKeyRequest
- type APIKeysCreateOperationResponse
- type APIKeysDeleteOperationResponse
- type APIKeysGetOperationResponse
- type APIKeysListOperationResponse
- type ApiKeyId
- type ApplicationInsightsComponentAPIKey
- type ApplicationInsightsComponentAPIKeyListResult
- type ComponentApiKeysAPIsClient
- func (c ComponentApiKeysAPIsClient) APIKeysCreate(ctx context.Context, id ComponentId, input APIKeyRequest) (result APIKeysCreateOperationResponse, err error)
- func (c ComponentApiKeysAPIsClient) APIKeysDelete(ctx context.Context, id ApiKeyId) (result APIKeysDeleteOperationResponse, err error)
- func (c ComponentApiKeysAPIsClient) APIKeysGet(ctx context.Context, id ApiKeyId) (result APIKeysGetOperationResponse, err error)
- func (c ComponentApiKeysAPIsClient) APIKeysList(ctx context.Context, id ComponentId) (result APIKeysListOperationResponse, err error)
- type ComponentId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiKeyID ¶
ValidateApiKeyID checks that 'input' can be parsed as a Api Key ID
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
Types ¶
type APIKeyRequest ¶
type APIKeysCreateOperationResponse ¶
type APIKeysCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentAPIKey }
type APIKeysDeleteOperationResponse ¶
type APIKeysDeleteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentAPIKey }
type APIKeysGetOperationResponse ¶
type APIKeysGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentAPIKey }
type APIKeysListOperationResponse ¶
type APIKeysListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentAPIKeyListResult }
type ApiKeyId ¶
type ApiKeyId struct { SubscriptionId string ResourceGroupName string ComponentName string KeyId string }
ApiKeyId is a struct representing the Resource ID for a Api Key
func NewApiKeyID ¶
func NewApiKeyID(subscriptionId string, resourceGroupName string, componentName string, keyId string) ApiKeyId
NewApiKeyID returns a new ApiKeyId struct
func ParseApiKeyID ¶
ParseApiKeyID parses 'input' into a ApiKeyId
func ParseApiKeyIDInsensitively ¶
ParseApiKeyIDInsensitively parses 'input' case-insensitively into a ApiKeyId note: this method should only be used for API response data and not user input
func (*ApiKeyId) FromParseResult ¶
func (id *ApiKeyId) FromParseResult(input resourceids.ParseResult) error
func (ApiKeyId) Segments ¶
func (id ApiKeyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Key ID
type ApplicationInsightsComponentAPIKey ¶
type ApplicationInsightsComponentAPIKey struct { ApiKey *string `json:"apiKey,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` Id *string `json:"id,omitempty"` LinkedReadProperties *[]string `json:"linkedReadProperties,omitempty"` LinkedWriteProperties *[]string `json:"linkedWriteProperties,omitempty"` Name *string `json:"name,omitempty"` }
type ApplicationInsightsComponentAPIKeyListResult ¶
type ApplicationInsightsComponentAPIKeyListResult struct {
Value []ApplicationInsightsComponentAPIKey `json:"value"`
}
type ComponentApiKeysAPIsClient ¶
type ComponentApiKeysAPIsClient struct {
Client *resourcemanager.Client
}
func NewComponentApiKeysAPIsClientWithBaseURI ¶
func NewComponentApiKeysAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*ComponentApiKeysAPIsClient, error)
func (ComponentApiKeysAPIsClient) APIKeysCreate ¶
func (c ComponentApiKeysAPIsClient) APIKeysCreate(ctx context.Context, id ComponentId, input APIKeyRequest) (result APIKeysCreateOperationResponse, err error)
APIKeysCreate ...
func (ComponentApiKeysAPIsClient) APIKeysDelete ¶
func (c ComponentApiKeysAPIsClient) APIKeysDelete(ctx context.Context, id ApiKeyId) (result APIKeysDeleteOperationResponse, err error)
APIKeysDelete ...
func (ComponentApiKeysAPIsClient) APIKeysGet ¶
func (c ComponentApiKeysAPIsClient) APIKeysGet(ctx context.Context, id ApiKeyId) (result APIKeysGetOperationResponse, err error)
APIKeysGet ...
func (ComponentApiKeysAPIsClient) APIKeysList ¶
func (c ComponentApiKeysAPIsClient) APIKeysList(ctx context.Context, id ComponentId) (result APIKeysListOperationResponse, err error)
APIKeysList ...
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) FromParseResult ¶
func (id *ComponentId) FromParseResult(input resourceids.ParseResult) error
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