Documentation ¶
Index ¶
- func ValidateDiagnosticSettingID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DiagnosticSettingId
- type GetOperationResponse
- type ListOperationResponse
- type ManagementGroupDiagnosticSettings
- type ManagementGroupDiagnosticSettingsClient
- func (c ManagementGroupDiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, id DiagnosticSettingId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagementGroupDiagnosticSettingsClient) Delete(ctx context.Context, id DiagnosticSettingId) (result DeleteOperationResponse, err error)
- func (c ManagementGroupDiagnosticSettingsClient) Get(ctx context.Context, id DiagnosticSettingId) (result GetOperationResponse, err error)
- func (c ManagementGroupDiagnosticSettingsClient) List(ctx context.Context, id commonids.ManagementGroupId) (result ListOperationResponse, err error)
- type ManagementGroupDiagnosticSettingsResource
- type ManagementGroupDiagnosticSettingsResourceCollection
- type ManagementGroupLogSettings
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 *ManagementGroupDiagnosticSettingsResource }
type DeleteOperationResponse ¶
type DiagnosticSettingId ¶
DiagnosticSettingId is a struct representing the Resource ID for a Diagnostic Setting
func NewDiagnosticSettingID ¶
func NewDiagnosticSettingID(subscriptionId string, name 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) 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 *ManagementGroupDiagnosticSettingsResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *ManagementGroupDiagnosticSettingsResourceCollection }
type ManagementGroupDiagnosticSettings ¶
type ManagementGroupDiagnosticSettings struct { EventHubAuthorizationRuleId *string `json:"eventHubAuthorizationRuleId,omitempty"` EventHubName *string `json:"eventHubName,omitempty"` Logs *[]ManagementGroupLogSettings `json:"logs,omitempty"` MarketplacePartnerId *string `json:"marketplacePartnerId,omitempty"` ServiceBusRuleId *string `json:"serviceBusRuleId,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` WorkspaceId *string `json:"workspaceId,omitempty"` }
type ManagementGroupDiagnosticSettingsClient ¶
type ManagementGroupDiagnosticSettingsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewManagementGroupDiagnosticSettingsClientWithBaseURI ¶
func NewManagementGroupDiagnosticSettingsClientWithBaseURI(endpoint string) ManagementGroupDiagnosticSettingsClient
func (ManagementGroupDiagnosticSettingsClient) CreateOrUpdate ¶
func (c ManagementGroupDiagnosticSettingsClient) CreateOrUpdate(ctx context.Context, id DiagnosticSettingId, input ManagementGroupDiagnosticSettingsResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagementGroupDiagnosticSettingsClient) Delete ¶
func (c ManagementGroupDiagnosticSettingsClient) Delete(ctx context.Context, id DiagnosticSettingId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagementGroupDiagnosticSettingsClient) Get ¶
func (c ManagementGroupDiagnosticSettingsClient) Get(ctx context.Context, id DiagnosticSettingId) (result GetOperationResponse, err error)
Get ...
func (ManagementGroupDiagnosticSettingsClient) List ¶
func (c ManagementGroupDiagnosticSettingsClient) List(ctx context.Context, id commonids.ManagementGroupId) (result ListOperationResponse, err error)
List ...
type ManagementGroupDiagnosticSettingsResource ¶
type ManagementGroupDiagnosticSettingsResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ManagementGroupDiagnosticSettings `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ManagementGroupDiagnosticSettingsResourceCollection ¶
type ManagementGroupDiagnosticSettingsResourceCollection struct {
Value *[]ManagementGroupDiagnosticSettingsResource `json:"value,omitempty"`
}
Source Files ¶
- client.go
- id_diagnosticsetting.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_managementgroupdiagnosticsettings.go
- model_managementgroupdiagnosticsettingsresource.go
- model_managementgroupdiagnosticsettingsresourcecollection.go
- model_managementgrouplogsettings.go
- version.go