Documentation ¶
Index ¶
- func ValidateScopedDiagnosticSettingID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DiagnosticSettings
- type DiagnosticSettingsClient
- func (c DiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, id ScopedDiagnosticSettingId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DiagnosticSettingsClient) Delete(ctx context.Context, id ScopedDiagnosticSettingId) (result DeleteOperationResponse, err error)
- func (c DiagnosticSettingsClient) Get(ctx context.Context, id ScopedDiagnosticSettingId) (result GetOperationResponse, err error)
- func (c DiagnosticSettingsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- type DiagnosticSettingsResource
- type DiagnosticSettingsResourceCollection
- type GetOperationResponse
- type ListOperationResponse
- type LogSettings
- type MetricSettings
- type RetentionPolicy
- type ScopedDiagnosticSettingId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateScopedDiagnosticSettingID ¶
func ValidateScopedDiagnosticSettingID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedDiagnosticSettingID checks that 'input' can be parsed as a Scoped Diagnostic Setting ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *DiagnosticSettingsResource }
type DeleteOperationResponse ¶
type DiagnosticSettings ¶
type DiagnosticSettings struct { EventHubAuthorizationRuleId *string `json:"eventHubAuthorizationRuleId,omitempty"` EventHubName *string `json:"eventHubName,omitempty"` LogAnalyticsDestinationType *string `json:"logAnalyticsDestinationType,omitempty"` Logs *[]LogSettings `json:"logs,omitempty"` MarketplacePartnerId *string `json:"marketplacePartnerId,omitempty"` Metrics *[]MetricSettings `json:"metrics,omitempty"` ServiceBusRuleId *string `json:"serviceBusRuleId,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` }
type DiagnosticSettingsClient ¶
type DiagnosticSettingsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDiagnosticSettingsClientWithBaseURI ¶
func NewDiagnosticSettingsClientWithBaseURI(endpoint string) DiagnosticSettingsClient
func (DiagnosticSettingsClient) CreateOrUpdate ¶
func (c DiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, id ScopedDiagnosticSettingId, input DiagnosticSettingsResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DiagnosticSettingsClient) Delete ¶
func (c DiagnosticSettingsClient) Delete(ctx context.Context, id ScopedDiagnosticSettingId) (result DeleteOperationResponse, err error)
Delete ...
func (DiagnosticSettingsClient) Get ¶
func (c DiagnosticSettingsClient) Get(ctx context.Context, id ScopedDiagnosticSettingId) (result GetOperationResponse, err error)
Get ...
func (DiagnosticSettingsClient) List ¶
func (c DiagnosticSettingsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
type DiagnosticSettingsResource ¶
type DiagnosticSettingsResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DiagnosticSettings `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DiagnosticSettingsResourceCollection ¶
type DiagnosticSettingsResourceCollection struct {
Value *[]DiagnosticSettingsResource `json:"value,omitempty"`
}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *DiagnosticSettingsResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *DiagnosticSettingsResourceCollection }
type LogSettings ¶
type LogSettings struct { Category *string `json:"category,omitempty"` CategoryGroup *string `json:"categoryGroup,omitempty"` Enabled bool `json:"enabled"` RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` }
type MetricSettings ¶
type MetricSettings struct { Category *string `json:"category,omitempty"` Enabled bool `json:"enabled"` RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` TimeGrain *string `json:"timeGrain,omitempty"` }
type RetentionPolicy ¶
type ScopedDiagnosticSettingId ¶
ScopedDiagnosticSettingId is a struct representing the Resource ID for a Scoped Diagnostic Setting
func NewScopedDiagnosticSettingID ¶
func NewScopedDiagnosticSettingID(resourceUri string, name string) ScopedDiagnosticSettingId
NewScopedDiagnosticSettingID returns a new ScopedDiagnosticSettingId struct
func ParseScopedDiagnosticSettingID ¶
func ParseScopedDiagnosticSettingID(input string) (*ScopedDiagnosticSettingId, error)
ParseScopedDiagnosticSettingID parses 'input' into a ScopedDiagnosticSettingId
func ParseScopedDiagnosticSettingIDInsensitively ¶
func ParseScopedDiagnosticSettingIDInsensitively(input string) (*ScopedDiagnosticSettingId, error)
ParseScopedDiagnosticSettingIDInsensitively parses 'input' case-insensitively into a ScopedDiagnosticSettingId note: this method should only be used for API response data and not user input
func (ScopedDiagnosticSettingId) ID ¶
func (id ScopedDiagnosticSettingId) ID() string
ID returns the formatted Scoped Diagnostic Setting ID
func (ScopedDiagnosticSettingId) Segments ¶
func (id ScopedDiagnosticSettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Diagnostic Setting ID
func (ScopedDiagnosticSettingId) String ¶
func (id ScopedDiagnosticSettingId) String() string
String returns a human-readable description of this Scoped Diagnostic Setting ID
Source Files ¶
- client.go
- id_scopeddiagnosticsetting.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_diagnosticsettings.go
- model_diagnosticsettingsresource.go
- model_diagnosticsettingsresourcecollection.go
- model_logsettings.go
- model_metricsettings.go
- model_retentionpolicy.go
- version.go