Documentation ¶
Index ¶
- func PossibleValuesForAccessRights() []string
- func ValidateDisasterRecoveryConfigAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDisasterRecoveryConfigID(input interface{}, key string) (warnings []string, errors []error)
- type AccessKeys
- type AccessRights
- type AuthorizationRule
- type AuthorizationRuleOperationPredicate
- type AuthorizationRuleProperties
- type AuthorizationRulesDisasterRecoveryConfigsClient
- func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsGetAuthorizationRule(ctx context.Context, id DisasterRecoveryConfigAuthorizationRuleId) (result DisasterRecoveryConfigsGetAuthorizationRuleOperationResponse, err error)
- func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRules(ctx context.Context, id DisasterRecoveryConfigId) (resp DisasterRecoveryConfigsListAuthorizationRulesOperationResponse, err error)
- func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesComplete(ctx context.Context, id DisasterRecoveryConfigId) (DisasterRecoveryConfigsListAuthorizationRulesCompleteResult, error)
- func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id DisasterRecoveryConfigId, ...) (resp DisasterRecoveryConfigsListAuthorizationRulesCompleteResult, err error)
- func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListKeys(ctx context.Context, id DisasterRecoveryConfigAuthorizationRuleId) (result DisasterRecoveryConfigsListKeysOperationResponse, err error)
- type DisasterRecoveryConfigAuthorizationRuleId
- func NewDisasterRecoveryConfigAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, ...) DisasterRecoveryConfigAuthorizationRuleId
- func ParseDisasterRecoveryConfigAuthorizationRuleID(input string) (*DisasterRecoveryConfigAuthorizationRuleId, error)
- func ParseDisasterRecoveryConfigAuthorizationRuleIDInsensitively(input string) (*DisasterRecoveryConfigAuthorizationRuleId, error)
- type DisasterRecoveryConfigId
- func NewDisasterRecoveryConfigID(subscriptionId string, resourceGroupName string, namespaceName string, ...) DisasterRecoveryConfigId
- func ParseDisasterRecoveryConfigID(input string) (*DisasterRecoveryConfigId, error)
- func ParseDisasterRecoveryConfigIDInsensitively(input string) (*DisasterRecoveryConfigId, error)
- type DisasterRecoveryConfigsGetAuthorizationRuleOperationResponse
- type DisasterRecoveryConfigsListAuthorizationRulesCompleteResult
- type DisasterRecoveryConfigsListAuthorizationRulesOperationResponse
- type DisasterRecoveryConfigsListKeysOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessRights ¶
func PossibleValuesForAccessRights() []string
func ValidateDisasterRecoveryConfigAuthorizationRuleID ¶
func ValidateDisasterRecoveryConfigAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateDisasterRecoveryConfigAuthorizationRuleID checks that 'input' can be parsed as a Disaster Recovery Config Authorization Rule ID
func ValidateDisasterRecoveryConfigID ¶
func ValidateDisasterRecoveryConfigID(input interface{}, key string) (warnings []string, errors []error)
ValidateDisasterRecoveryConfigID checks that 'input' can be parsed as a Disaster Recovery Config ID
Types ¶
type AccessKeys ¶
type AccessKeys struct { AliasPrimaryConnectionString *string `json:"aliasPrimaryConnectionString,omitempty"` AliasSecondaryConnectionString *string `json:"aliasSecondaryConnectionString,omitempty"` KeyName *string `json:"keyName,omitempty"` PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"` PrimaryKey *string `json:"primaryKey,omitempty"` SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"` SecondaryKey *string `json:"secondaryKey,omitempty"` }
type AccessRights ¶
type AccessRights string
const ( AccessRightsListen AccessRights = "Listen" AccessRightsManage AccessRights = "Manage" AccessRightsSend AccessRights = "Send" )
type AuthorizationRule ¶
type AuthorizationRule struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationRuleProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AuthorizationRuleOperationPredicate ¶
type AuthorizationRuleOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (AuthorizationRuleOperationPredicate) Matches ¶
func (p AuthorizationRuleOperationPredicate) Matches(input AuthorizationRule) bool
type AuthorizationRuleProperties ¶
type AuthorizationRuleProperties struct {
Rights []AccessRights `json:"rights"`
}
type AuthorizationRulesDisasterRecoveryConfigsClient ¶
type AuthorizationRulesDisasterRecoveryConfigsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAuthorizationRulesDisasterRecoveryConfigsClientWithBaseURI ¶
func NewAuthorizationRulesDisasterRecoveryConfigsClientWithBaseURI(endpoint string) AuthorizationRulesDisasterRecoveryConfigsClient
func (AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsGetAuthorizationRule ¶
func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsGetAuthorizationRule(ctx context.Context, id DisasterRecoveryConfigAuthorizationRuleId) (result DisasterRecoveryConfigsGetAuthorizationRuleOperationResponse, err error)
DisasterRecoveryConfigsGetAuthorizationRule ...
func (AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRules ¶
func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRules(ctx context.Context, id DisasterRecoveryConfigId) (resp DisasterRecoveryConfigsListAuthorizationRulesOperationResponse, err error)
DisasterRecoveryConfigsListAuthorizationRules ...
func (AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesComplete ¶
func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesComplete(ctx context.Context, id DisasterRecoveryConfigId) (DisasterRecoveryConfigsListAuthorizationRulesCompleteResult, error)
DisasterRecoveryConfigsListAuthorizationRulesComplete retrieves all of the results into a single object
func (AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesCompleteMatchingPredicate ¶
func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id DisasterRecoveryConfigId, predicate AuthorizationRuleOperationPredicate) (resp DisasterRecoveryConfigsListAuthorizationRulesCompleteResult, err error)
DisasterRecoveryConfigsListAuthorizationRulesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListKeys ¶
func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListKeys(ctx context.Context, id DisasterRecoveryConfigAuthorizationRuleId) (result DisasterRecoveryConfigsListKeysOperationResponse, err error)
DisasterRecoveryConfigsListKeys ...
type DisasterRecoveryConfigAuthorizationRuleId ¶
type DisasterRecoveryConfigAuthorizationRuleId struct { SubscriptionId string ResourceGroupName string NamespaceName string DisasterRecoveryConfigName string AuthorizationRuleName string }
DisasterRecoveryConfigAuthorizationRuleId is a struct representing the Resource ID for a Disaster Recovery Config Authorization Rule
func NewDisasterRecoveryConfigAuthorizationRuleID ¶
func NewDisasterRecoveryConfigAuthorizationRuleID(subscriptionId string, resourceGroupName string, namespaceName string, disasterRecoveryConfigName string, authorizationRuleName string) DisasterRecoveryConfigAuthorizationRuleId
NewDisasterRecoveryConfigAuthorizationRuleID returns a new DisasterRecoveryConfigAuthorizationRuleId struct
func ParseDisasterRecoveryConfigAuthorizationRuleID ¶
func ParseDisasterRecoveryConfigAuthorizationRuleID(input string) (*DisasterRecoveryConfigAuthorizationRuleId, error)
ParseDisasterRecoveryConfigAuthorizationRuleID parses 'input' into a DisasterRecoveryConfigAuthorizationRuleId
func ParseDisasterRecoveryConfigAuthorizationRuleIDInsensitively ¶
func ParseDisasterRecoveryConfigAuthorizationRuleIDInsensitively(input string) (*DisasterRecoveryConfigAuthorizationRuleId, error)
ParseDisasterRecoveryConfigAuthorizationRuleIDInsensitively parses 'input' case-insensitively into a DisasterRecoveryConfigAuthorizationRuleId note: this method should only be used for API response data and not user input
func (DisasterRecoveryConfigAuthorizationRuleId) ID ¶
func (id DisasterRecoveryConfigAuthorizationRuleId) ID() string
ID returns the formatted Disaster Recovery Config Authorization Rule ID
func (DisasterRecoveryConfigAuthorizationRuleId) Segments ¶
func (id DisasterRecoveryConfigAuthorizationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Disaster Recovery Config Authorization Rule ID
func (DisasterRecoveryConfigAuthorizationRuleId) String ¶
func (id DisasterRecoveryConfigAuthorizationRuleId) String() string
String returns a human-readable description of this Disaster Recovery Config Authorization Rule ID
type DisasterRecoveryConfigId ¶
type DisasterRecoveryConfigId struct { SubscriptionId string ResourceGroupName string NamespaceName string DisasterRecoveryConfigName string }
DisasterRecoveryConfigId is a struct representing the Resource ID for a Disaster Recovery Config
func NewDisasterRecoveryConfigID ¶
func NewDisasterRecoveryConfigID(subscriptionId string, resourceGroupName string, namespaceName string, disasterRecoveryConfigName string) DisasterRecoveryConfigId
NewDisasterRecoveryConfigID returns a new DisasterRecoveryConfigId struct
func ParseDisasterRecoveryConfigID ¶
func ParseDisasterRecoveryConfigID(input string) (*DisasterRecoveryConfigId, error)
ParseDisasterRecoveryConfigID parses 'input' into a DisasterRecoveryConfigId
func ParseDisasterRecoveryConfigIDInsensitively ¶
func ParseDisasterRecoveryConfigIDInsensitively(input string) (*DisasterRecoveryConfigId, error)
ParseDisasterRecoveryConfigIDInsensitively parses 'input' case-insensitively into a DisasterRecoveryConfigId note: this method should only be used for API response data and not user input
func (DisasterRecoveryConfigId) ID ¶
func (id DisasterRecoveryConfigId) ID() string
ID returns the formatted Disaster Recovery Config ID
func (DisasterRecoveryConfigId) Segments ¶
func (id DisasterRecoveryConfigId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Disaster Recovery Config ID
func (DisasterRecoveryConfigId) String ¶
func (id DisasterRecoveryConfigId) String() string
String returns a human-readable description of this Disaster Recovery Config ID
type DisasterRecoveryConfigsGetAuthorizationRuleOperationResponse ¶
type DisasterRecoveryConfigsGetAuthorizationRuleOperationResponse struct { HttpResponse *http.Response Model *AuthorizationRule }
type DisasterRecoveryConfigsListAuthorizationRulesCompleteResult ¶
type DisasterRecoveryConfigsListAuthorizationRulesCompleteResult struct {
Items []AuthorizationRule
}
type DisasterRecoveryConfigsListAuthorizationRulesOperationResponse ¶
type DisasterRecoveryConfigsListAuthorizationRulesOperationResponse struct { HttpResponse *http.Response Model *[]AuthorizationRule // contains filtered or unexported fields }
func (DisasterRecoveryConfigsListAuthorizationRulesOperationResponse) HasMore ¶
func (r DisasterRecoveryConfigsListAuthorizationRulesOperationResponse) HasMore() bool
func (DisasterRecoveryConfigsListAuthorizationRulesOperationResponse) LoadMore ¶
func (r DisasterRecoveryConfigsListAuthorizationRulesOperationResponse) LoadMore(ctx context.Context) (resp DisasterRecoveryConfigsListAuthorizationRulesOperationResponse, err error)
type DisasterRecoveryConfigsListKeysOperationResponse ¶
type DisasterRecoveryConfigsListKeysOperationResponse struct { HttpResponse *http.Response Model *AccessKeys }
Source Files ¶
- client.go
- constants.go
- id_disasterrecoveryconfig.go
- id_disasterrecoveryconfigauthorizationrule.go
- method_disasterrecoveryconfigsgetauthorizationrule_autorest.go
- method_disasterrecoveryconfigslistauthorizationrules_autorest.go
- method_disasterrecoveryconfigslistkeys_autorest.go
- model_accesskeys.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- predicates.go
- version.go