Documentation ¶
Index ¶
- func ValidateDiagnosticSettingID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DiagnosticSettingId
- type GetOperationResponse
- type ListOperationResponse
- type SubscriptionDiagnosticSettings
- type SubscriptionDiagnosticSettingsClient
- func (c SubscriptionDiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, id DiagnosticSettingId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c SubscriptionDiagnosticSettingsClient) Delete(ctx context.Context, id DiagnosticSettingId) (result DeleteOperationResponse, err error)
- func (c SubscriptionDiagnosticSettingsClient) Get(ctx context.Context, id DiagnosticSettingId) (result GetOperationResponse, err error)
- func (c SubscriptionDiagnosticSettingsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- type SubscriptionDiagnosticSettingsResource
- type SubscriptionDiagnosticSettingsResourceCollection
- type SubscriptionLogSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDiagnosticSettingID ¶
ValidateDiagnosticSettingID checks that 'input' can be parsed as a Diagnostic Setting ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *SubscriptionDiagnosticSettingsResource }
type DeleteOperationResponse ¶
type DiagnosticSettingId ¶
DiagnosticSettingId is a struct representing the Resource ID for a Diagnostic Setting
func NewDiagnosticSettingID ¶
func NewDiagnosticSettingID(subscriptionId string, diagnosticSettingName string) DiagnosticSettingId
NewDiagnosticSettingID returns a new DiagnosticSettingId struct
func ParseDiagnosticSettingID ¶
func ParseDiagnosticSettingID(input string) (*DiagnosticSettingId, error)
ParseDiagnosticSettingID parses 'input' into a DiagnosticSettingId
func ParseDiagnosticSettingIDInsensitively ¶
func ParseDiagnosticSettingIDInsensitively(input string) (*DiagnosticSettingId, error)
ParseDiagnosticSettingIDInsensitively parses 'input' case-insensitively into a DiagnosticSettingId note: this method should only be used for API response data and not user input
func (*DiagnosticSettingId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DiagnosticSettingId) FromParseResult(input resourceids.ParseResult) error
func (DiagnosticSettingId) ID ¶
func (id DiagnosticSettingId) ID() string
ID returns the formatted Diagnostic Setting ID
func (DiagnosticSettingId) Segments ¶
func (id DiagnosticSettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Diagnostic Setting ID
func (DiagnosticSettingId) String ¶
func (id DiagnosticSettingId) String() string
String returns a human-readable description of this Diagnostic Setting ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SubscriptionDiagnosticSettingsResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *SubscriptionDiagnosticSettingsResourceCollection }
type SubscriptionDiagnosticSettings ¶
type SubscriptionDiagnosticSettings struct { EventHubAuthorizationRuleId *string `json:"eventHubAuthorizationRuleId,omitempty"` EventHubName *string `json:"eventHubName,omitempty"` Logs *[]SubscriptionLogSettings `json:"logs,omitempty"` MarketplacePartnerId *string `json:"marketplacePartnerId,omitempty"` ServiceBusRuleId *string `json:"serviceBusRuleId,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` }
type SubscriptionDiagnosticSettingsClient ¶
type SubscriptionDiagnosticSettingsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSubscriptionDiagnosticSettingsClientWithBaseURI ¶
func NewSubscriptionDiagnosticSettingsClientWithBaseURI(endpoint string) SubscriptionDiagnosticSettingsClient
func (SubscriptionDiagnosticSettingsClient) CreateOrUpdate ¶
func (c SubscriptionDiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, id DiagnosticSettingId, input SubscriptionDiagnosticSettingsResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SubscriptionDiagnosticSettingsClient) Delete ¶
func (c SubscriptionDiagnosticSettingsClient) Delete(ctx context.Context, id DiagnosticSettingId) (result DeleteOperationResponse, err error)
Delete ...
func (SubscriptionDiagnosticSettingsClient) Get ¶
func (c SubscriptionDiagnosticSettingsClient) Get(ctx context.Context, id DiagnosticSettingId) (result GetOperationResponse, err error)
Get ...
func (SubscriptionDiagnosticSettingsClient) List ¶
func (c SubscriptionDiagnosticSettingsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
type SubscriptionDiagnosticSettingsResource ¶
type SubscriptionDiagnosticSettingsResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubscriptionDiagnosticSettings `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SubscriptionDiagnosticSettingsResourceCollection ¶
type SubscriptionDiagnosticSettingsResourceCollection struct {
Value *[]SubscriptionDiagnosticSettingsResource `json:"value,omitempty"`
}
type SubscriptionLogSettings ¶
Source Files ¶
- client.go
- id_diagnosticsetting.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_subscriptiondiagnosticsettings.go
- model_subscriptiondiagnosticsettingsresource.go
- model_subscriptiondiagnosticsettingsresourcecollection.go
- model_subscriptionlogsettings.go
- version.go