Documentation ¶
Index ¶
- func ValidateReplicationAlertSettingID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type Alert
- type AlertOperationPredicate
- type AlertProperties
- type ConfigureAlertRequest
- type ConfigureAlertRequestProperties
- type CreateOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ReplicationAlertSettingId
- func NewReplicationAlertSettingID(subscriptionId string, resourceGroupName string, resourceName string, ...) ReplicationAlertSettingId
- func ParseReplicationAlertSettingID(input string) (*ReplicationAlertSettingId, error)
- func ParseReplicationAlertSettingIDInsensitively(input string) (*ReplicationAlertSettingId, error)
- type ReplicationAlertSettingsClient
- func (c ReplicationAlertSettingsClient) Create(ctx context.Context, id ReplicationAlertSettingId, input ConfigureAlertRequest) (result CreateOperationResponse, err error)
- func (c ReplicationAlertSettingsClient) Get(ctx context.Context, id ReplicationAlertSettingId) (result GetOperationResponse, err error)
- func (c ReplicationAlertSettingsClient) List(ctx context.Context, id VaultId) (resp ListOperationResponse, err error)
- func (c ReplicationAlertSettingsClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
- func (c ReplicationAlertSettingsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate AlertOperationPredicate) (resp ListCompleteResult, err error)
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateReplicationAlertSettingID ¶
func ValidateReplicationAlertSettingID(input interface{}, key string) (warnings []string, errors []error)
ValidateReplicationAlertSettingID checks that 'input' can be parsed as a Replication Alert Setting ID
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type Alert ¶
type Alert struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AlertProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AlertOperationPredicate ¶
func (AlertOperationPredicate) Matches ¶
func (p AlertOperationPredicate) Matches(input Alert) bool
type AlertProperties ¶
type ConfigureAlertRequest ¶
type ConfigureAlertRequest struct {
Properties *ConfigureAlertRequestProperties `json:"properties,omitempty"`
}
type CreateOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Alert
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Alert // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ReplicationAlertSettingId ¶
type ReplicationAlertSettingId struct { SubscriptionId string ResourceGroupName string ResourceName string AlertSettingName string }
ReplicationAlertSettingId is a struct representing the Resource ID for a Replication Alert Setting
func NewReplicationAlertSettingID ¶
func NewReplicationAlertSettingID(subscriptionId string, resourceGroupName string, resourceName string, alertSettingName string) ReplicationAlertSettingId
NewReplicationAlertSettingID returns a new ReplicationAlertSettingId struct
func ParseReplicationAlertSettingID ¶
func ParseReplicationAlertSettingID(input string) (*ReplicationAlertSettingId, error)
ParseReplicationAlertSettingID parses 'input' into a ReplicationAlertSettingId
func ParseReplicationAlertSettingIDInsensitively ¶
func ParseReplicationAlertSettingIDInsensitively(input string) (*ReplicationAlertSettingId, error)
ParseReplicationAlertSettingIDInsensitively parses 'input' case-insensitively into a ReplicationAlertSettingId note: this method should only be used for API response data and not user input
func (ReplicationAlertSettingId) ID ¶
func (id ReplicationAlertSettingId) ID() string
ID returns the formatted Replication Alert Setting ID
func (ReplicationAlertSettingId) Segments ¶
func (id ReplicationAlertSettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Alert Setting ID
func (ReplicationAlertSettingId) String ¶
func (id ReplicationAlertSettingId) String() string
String returns a human-readable description of this Replication Alert Setting ID
type ReplicationAlertSettingsClient ¶
type ReplicationAlertSettingsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewReplicationAlertSettingsClientWithBaseURI ¶
func NewReplicationAlertSettingsClientWithBaseURI(endpoint string) ReplicationAlertSettingsClient
func (ReplicationAlertSettingsClient) Create ¶
func (c ReplicationAlertSettingsClient) Create(ctx context.Context, id ReplicationAlertSettingId, input ConfigureAlertRequest) (result CreateOperationResponse, err error)
Create ...
func (ReplicationAlertSettingsClient) Get ¶
func (c ReplicationAlertSettingsClient) Get(ctx context.Context, id ReplicationAlertSettingId) (result GetOperationResponse, err error)
Get ...
func (ReplicationAlertSettingsClient) List ¶
func (c ReplicationAlertSettingsClient) List(ctx context.Context, id VaultId) (resp ListOperationResponse, err error)
List ...
func (ReplicationAlertSettingsClient) ListComplete ¶
func (c ReplicationAlertSettingsClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ReplicationAlertSettingsClient) ListCompleteMatchingPredicate ¶
func (c ReplicationAlertSettingsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate AlertOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type VaultId ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
ParseVaultIDInsensitively parses 'input' case-insensitively into a VaultId note: this method should only be used for API response data and not user input
func (VaultId) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID