Documentation ¶
Index ¶
- func PossibleValuesForBlobAuditingPolicyState() []string
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type BlobAuditingPolicyState
- type ServerDevOpsAuditClient
- func (c ServerDevOpsAuditClient) SettingsCreateOrUpdate(ctx context.Context, id ServerId, input ServerDevOpsAuditingSettings) (result SettingsCreateOrUpdateOperationResponse, err error)
- func (c ServerDevOpsAuditClient) SettingsCreateOrUpdateThenPoll(ctx context.Context, id ServerId, input ServerDevOpsAuditingSettings) error
- func (c ServerDevOpsAuditClient) SettingsGet(ctx context.Context, id ServerId) (result SettingsGetOperationResponse, err error)
- func (c ServerDevOpsAuditClient) SettingsListByServer(ctx context.Context, id ServerId) (result SettingsListByServerOperationResponse, err error)
- func (c ServerDevOpsAuditClient) SettingsListByServerComplete(ctx context.Context, id ServerId) (SettingsListByServerCompleteResult, error)
- func (c ServerDevOpsAuditClient) SettingsListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, ...) (result SettingsListByServerCompleteResult, err error)
- type ServerDevOpsAuditSettingsProperties
- type ServerDevOpsAuditingSettings
- type ServerDevOpsAuditingSettingsOperationPredicate
- type ServerId
- 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 ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server 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 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 ServerId, input ServerDevOpsAuditingSettings) (result SettingsCreateOrUpdateOperationResponse, err error)
SettingsCreateOrUpdate ...
func (ServerDevOpsAuditClient) SettingsCreateOrUpdateThenPoll ¶
func (c ServerDevOpsAuditClient) SettingsCreateOrUpdateThenPoll(ctx context.Context, id ServerId, input ServerDevOpsAuditingSettings) error
SettingsCreateOrUpdateThenPoll performs SettingsCreateOrUpdate then polls until it's completed
func (ServerDevOpsAuditClient) SettingsGet ¶
func (c ServerDevOpsAuditClient) SettingsGet(ctx context.Context, id ServerId) (result SettingsGetOperationResponse, err error)
SettingsGet ...
func (ServerDevOpsAuditClient) SettingsListByServer ¶
func (c ServerDevOpsAuditClient) SettingsListByServer(ctx context.Context, id ServerId) (result SettingsListByServerOperationResponse, err error)
SettingsListByServer ...
func (ServerDevOpsAuditClient) SettingsListByServerComplete ¶
func (c ServerDevOpsAuditClient) SettingsListByServerComplete(ctx context.Context, id ServerId) (SettingsListByServerCompleteResult, error)
SettingsListByServerComplete retrieves all the results into a single object
func (ServerDevOpsAuditClient) SettingsListByServerCompleteMatchingPredicate ¶
func (c ServerDevOpsAuditClient) SettingsListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, 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"` IsManagedIdentityInUse *bool `json:"isManagedIdentityInUse,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 ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID
type SettingsGetOperationResponse ¶
type SettingsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerDevOpsAuditingSettings }
type SettingsListByServerCompleteResult ¶
type SettingsListByServerCompleteResult struct {
Items []ServerDevOpsAuditingSettings
}
type SettingsListByServerOperationResponse ¶
type SettingsListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerDevOpsAuditingSettings }