Documentation ¶
Index ¶
- func PossibleValuesForBlobAuditingPolicyState() []string
- func ValidateDevOpsAuditingSettingID(input interface{}, key string) (warnings []string, errors []error)
- type BlobAuditingPolicyState
- type DevOpsAuditingSettingId
- func NewDevOpsAuditingSettingID(subscriptionId string, resourceGroupName string, serverName string, ...) DevOpsAuditingSettingId
- func ParseDevOpsAuditingSettingID(input string) (*DevOpsAuditingSettingId, error)
- func ParseDevOpsAuditingSettingIDInsensitively(input string) (*DevOpsAuditingSettingId, error)
- type ServerDevOpsAuditClient
- func (c ServerDevOpsAuditClient) SettingsCreateOrUpdate(ctx context.Context, id DevOpsAuditingSettingId, ...) (result SettingsCreateOrUpdateOperationResponse, err error)
- func (c ServerDevOpsAuditClient) SettingsCreateOrUpdateThenPoll(ctx context.Context, id DevOpsAuditingSettingId, ...) error
- func (c ServerDevOpsAuditClient) SettingsGet(ctx context.Context, id DevOpsAuditingSettingId) (result SettingsGetOperationResponse, err error)
- func (c ServerDevOpsAuditClient) SettingsListByServer(ctx context.Context, id commonids.SqlServerId) (result SettingsListByServerOperationResponse, err error)
- func (c ServerDevOpsAuditClient) SettingsListByServerComplete(ctx context.Context, id commonids.SqlServerId) (SettingsListByServerCompleteResult, error)
- func (c ServerDevOpsAuditClient) SettingsListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result SettingsListByServerCompleteResult, err error)
- type ServerDevOpsAuditSettingsProperties
- type ServerDevOpsAuditingSettings
- type ServerDevOpsAuditingSettingsOperationPredicate
- type SettingsCreateOrUpdateOperationResponse
- type SettingsGetOperationResponse
- type SettingsListByServerCompleteResult
- type SettingsListByServerOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBlobAuditingPolicyState ¶
func PossibleValuesForBlobAuditingPolicyState() []string
func ValidateDevOpsAuditingSettingID ¶
func ValidateDevOpsAuditingSettingID(input interface{}, key string) (warnings []string, errors []error)
ValidateDevOpsAuditingSettingID checks that 'input' can be parsed as a Dev Ops Auditing Setting ID
Types ¶
type BlobAuditingPolicyState ¶
type BlobAuditingPolicyState string
const ( BlobAuditingPolicyStateDisabled BlobAuditingPolicyState = "Disabled" BlobAuditingPolicyStateEnabled BlobAuditingPolicyState = "Enabled" )
func (*BlobAuditingPolicyState) UnmarshalJSON ¶
func (s *BlobAuditingPolicyState) UnmarshalJSON(bytes []byte) error
type DevOpsAuditingSettingId ¶
type DevOpsAuditingSettingId struct { SubscriptionId string ResourceGroupName string ServerName string DevOpsAuditingSettingName string }
DevOpsAuditingSettingId is a struct representing the Resource ID for a Dev Ops Auditing Setting
func NewDevOpsAuditingSettingID ¶
func NewDevOpsAuditingSettingID(subscriptionId string, resourceGroupName string, serverName string, devOpsAuditingSettingName string) DevOpsAuditingSettingId
NewDevOpsAuditingSettingID returns a new DevOpsAuditingSettingId struct
func ParseDevOpsAuditingSettingID ¶
func ParseDevOpsAuditingSettingID(input string) (*DevOpsAuditingSettingId, error)
ParseDevOpsAuditingSettingID parses 'input' into a DevOpsAuditingSettingId
func ParseDevOpsAuditingSettingIDInsensitively ¶
func ParseDevOpsAuditingSettingIDInsensitively(input string) (*DevOpsAuditingSettingId, error)
ParseDevOpsAuditingSettingIDInsensitively parses 'input' case-insensitively into a DevOpsAuditingSettingId note: this method should only be used for API response data and not user input
func (*DevOpsAuditingSettingId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DevOpsAuditingSettingId) FromParseResult(input resourceids.ParseResult) error
func (DevOpsAuditingSettingId) ID ¶
func (id DevOpsAuditingSettingId) ID() string
ID returns the formatted Dev Ops Auditing Setting ID
func (DevOpsAuditingSettingId) Segments ¶
func (id DevOpsAuditingSettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Ops Auditing Setting ID
func (DevOpsAuditingSettingId) String ¶
func (id DevOpsAuditingSettingId) String() string
String returns a human-readable description of this Dev Ops Auditing Setting ID
type ServerDevOpsAuditClient ¶
type ServerDevOpsAuditClient struct {
Client *resourcemanager.Client
}
func NewServerDevOpsAuditClientWithBaseURI ¶
func NewServerDevOpsAuditClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerDevOpsAuditClient, error)
func (ServerDevOpsAuditClient) SettingsCreateOrUpdate ¶
func (c ServerDevOpsAuditClient) SettingsCreateOrUpdate(ctx context.Context, id DevOpsAuditingSettingId, input ServerDevOpsAuditingSettings) (result SettingsCreateOrUpdateOperationResponse, err error)
SettingsCreateOrUpdate ...
func (ServerDevOpsAuditClient) SettingsCreateOrUpdateThenPoll ¶
func (c ServerDevOpsAuditClient) SettingsCreateOrUpdateThenPoll(ctx context.Context, id DevOpsAuditingSettingId, input ServerDevOpsAuditingSettings) error
SettingsCreateOrUpdateThenPoll performs SettingsCreateOrUpdate then polls until it's completed
func (ServerDevOpsAuditClient) SettingsGet ¶
func (c ServerDevOpsAuditClient) SettingsGet(ctx context.Context, id DevOpsAuditingSettingId) (result SettingsGetOperationResponse, err error)
SettingsGet ...
func (ServerDevOpsAuditClient) SettingsListByServer ¶
func (c ServerDevOpsAuditClient) SettingsListByServer(ctx context.Context, id commonids.SqlServerId) (result SettingsListByServerOperationResponse, err error)
SettingsListByServer ...
func (ServerDevOpsAuditClient) SettingsListByServerComplete ¶
func (c ServerDevOpsAuditClient) SettingsListByServerComplete(ctx context.Context, id commonids.SqlServerId) (SettingsListByServerCompleteResult, error)
SettingsListByServerComplete retrieves all the results into a single object
func (ServerDevOpsAuditClient) SettingsListByServerCompleteMatchingPredicate ¶
func (c ServerDevOpsAuditClient) SettingsListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate ServerDevOpsAuditingSettingsOperationPredicate) (result SettingsListByServerCompleteResult, err error)
SettingsListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ServerDevOpsAuditSettingsProperties ¶
type ServerDevOpsAuditSettingsProperties struct { IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` State BlobAuditingPolicyState `json:"state"` StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` StorageAccountSubscriptionId *string `json:"storageAccountSubscriptionId,omitempty"` StorageEndpoint *string `json:"storageEndpoint,omitempty"` }
type ServerDevOpsAuditingSettings ¶
type ServerDevOpsAuditingSettings struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerDevOpsAuditSettingsProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ServerDevOpsAuditingSettingsOperationPredicate ¶
func (ServerDevOpsAuditingSettingsOperationPredicate) Matches ¶
func (p ServerDevOpsAuditingSettingsOperationPredicate) Matches(input ServerDevOpsAuditingSettings) bool
type SettingsGetOperationResponse ¶
type SettingsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerDevOpsAuditingSettings }
type SettingsListByServerCompleteResult ¶
type SettingsListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []ServerDevOpsAuditingSettings }
type SettingsListByServerOperationResponse ¶
type SettingsListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerDevOpsAuditingSettings }