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) (result DisasterRecoveryConfigsListAuthorizationRulesOperationResponse, ...)
- func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesComplete(ctx context.Context, id DisasterRecoveryConfigId) (DisasterRecoveryConfigsListAuthorizationRulesCompleteResult, error)
- func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id DisasterRecoveryConfigId, ...) (result 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)
- func (id *DisasterRecoveryConfigAuthorizationRuleId) FromParseResult(input resourceids.ParseResult) error
- func (id DisasterRecoveryConfigAuthorizationRuleId) ID() string
- func (id DisasterRecoveryConfigAuthorizationRuleId) Segments() []resourceids.Segment
- func (id DisasterRecoveryConfigAuthorizationRuleId) String() string
- 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" )
func (*AccessRights) UnmarshalJSON ¶
func (s *AccessRights) UnmarshalJSON(bytes []byte) error
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 *resourcemanager.Client
}
func NewAuthorizationRulesDisasterRecoveryConfigsClientWithBaseURI ¶
func NewAuthorizationRulesDisasterRecoveryConfigsClientWithBaseURI(sdkApi sdkEnv.Api) (*AuthorizationRulesDisasterRecoveryConfigsClient, error)
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) (result DisasterRecoveryConfigsListAuthorizationRulesOperationResponse, err error)
DisasterRecoveryConfigsListAuthorizationRules ...
func (AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesComplete ¶
func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesComplete(ctx context.Context, id DisasterRecoveryConfigId) (DisasterRecoveryConfigsListAuthorizationRulesCompleteResult, error)
DisasterRecoveryConfigsListAuthorizationRulesComplete retrieves all the results into a single object
func (AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesCompleteMatchingPredicate ¶
func (c AuthorizationRulesDisasterRecoveryConfigsClient) DisasterRecoveryConfigsListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id DisasterRecoveryConfigId, predicate AuthorizationRuleOperationPredicate) (result DisasterRecoveryConfigsListAuthorizationRulesCompleteResult, err error)
DisasterRecoveryConfigsListAuthorizationRulesCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *DisasterRecoveryConfigAuthorizationRuleId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *DisasterRecoveryConfigId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *AuthorizationRule }
type DisasterRecoveryConfigsListAuthorizationRulesCompleteResult ¶
type DisasterRecoveryConfigsListAuthorizationRulesCompleteResult struct { LatestHttpResponse *http.Response Items []AuthorizationRule }
type DisasterRecoveryConfigsListAuthorizationRulesOperationResponse ¶
type DisasterRecoveryConfigsListAuthorizationRulesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AuthorizationRule }
type DisasterRecoveryConfigsListKeysOperationResponse ¶
type DisasterRecoveryConfigsListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessKeys }
Source Files ¶
- client.go
- constants.go
- id_disasterrecoveryconfig.go
- id_disasterrecoveryconfigauthorizationrule.go
- method_disasterrecoveryconfigsgetauthorizationrule.go
- method_disasterrecoveryconfigslistauthorizationrules.go
- method_disasterrecoveryconfigslistkeys.go
- model_accesskeys.go
- model_authorizationrule.go
- model_authorizationruleproperties.go
- predicates.go
- version.go