Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAccessRights() []string + func PossibleValuesForProvisioningStateDR() []string + func PossibleValuesForRoleDisasterRecovery() []string + func PossibleValuesForUnavailableReason() []string + func ValidateDisasterRecoveryConfigAuthorizationRuleID(input interface{}, key string) (warnings []string, errors []error) + func ValidateDisasterRecoveryConfigID(input interface{}, key string) (warnings []string, errors []error) + func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error) + type AccessKeys struct + AliasPrimaryConnectionString *string + AliasSecondaryConnectionString *string + KeyName *string + PrimaryConnectionString *string + PrimaryKey *string + SecondaryConnectionString *string + SecondaryKey *string + type AccessRights string + const AccessRightsListen + const AccessRightsManage + const AccessRightsSend + func (s *AccessRights) UnmarshalJSON(bytes []byte) error + type ArmDisasterRecovery struct + Id *string + Location *string + Name *string + Properties *ArmDisasterRecoveryProperties + SystemData *systemdata.SystemData + Type *string + type ArmDisasterRecoveryOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p ArmDisasterRecoveryOperationPredicate) Matches(input ArmDisasterRecovery) bool + type ArmDisasterRecoveryProperties struct + AlternateName *string + PartnerNamespace *string + PendingReplicationOperationsCount *int64 + ProvisioningState *ProvisioningStateDR + Role *RoleDisasterRecovery + type BreakPairingOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type CheckNameAvailability struct + Name string + type CheckNameAvailabilityOperationResponse struct + HttpResponse *http.Response + Model *CheckNameAvailabilityResult + OData *odata.OData + type CheckNameAvailabilityResult struct + Message *string + NameAvailable *bool + Reason *UnavailableReason + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ArmDisasterRecovery + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DisasterRecoveryConfigAuthorizationRuleId struct + AuthorizationRuleName string + DisasterRecoveryConfigName string + NamespaceName string + ResourceGroupName string + SubscriptionId string + 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 struct + DisasterRecoveryConfigName string + NamespaceName string + ResourceGroupName string + SubscriptionId string + func NewDisasterRecoveryConfigID(subscriptionId string, resourceGroupName string, namespaceName string, ...) DisasterRecoveryConfigId + func ParseDisasterRecoveryConfigID(input string) (*DisasterRecoveryConfigId, error) + func ParseDisasterRecoveryConfigIDInsensitively(input string) (*DisasterRecoveryConfigId, error) + func (id *DisasterRecoveryConfigId) FromParseResult(input resourceids.ParseResult) error + func (id DisasterRecoveryConfigId) ID() string + func (id DisasterRecoveryConfigId) Segments() []resourceids.Segment + func (id DisasterRecoveryConfigId) String() string + type DisasterRecoveryConfigsClient struct + Client *resourcemanager.Client + func NewDisasterRecoveryConfigsClientWithBaseURI(sdkApi sdkEnv.Api) (*DisasterRecoveryConfigsClient, error) + func (c DisasterRecoveryConfigsClient) BreakPairing(ctx context.Context, id DisasterRecoveryConfigId) (result BreakPairingOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) CheckNameAvailability(ctx context.Context, id NamespaceId, input CheckNameAvailability) (result CheckNameAvailabilityOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) CreateOrUpdate(ctx context.Context, id DisasterRecoveryConfigId, input ArmDisasterRecovery) (result CreateOrUpdateOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) Delete(ctx context.Context, id DisasterRecoveryConfigId) (result DeleteOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) FailOver(ctx context.Context, id DisasterRecoveryConfigId, input FailoverProperties) (result FailOverOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) Get(ctx context.Context, id DisasterRecoveryConfigId) (result GetOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) GetAuthorizationRule(ctx context.Context, id DisasterRecoveryConfigAuthorizationRuleId) (result GetAuthorizationRuleOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) List(ctx context.Context, id NamespaceId) (result ListOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) ListAuthorizationRules(ctx context.Context, id DisasterRecoveryConfigId) (result ListAuthorizationRulesOperationResponse, err error) + func (c DisasterRecoveryConfigsClient) ListAuthorizationRulesComplete(ctx context.Context, id DisasterRecoveryConfigId) (ListAuthorizationRulesCompleteResult, error) + func (c DisasterRecoveryConfigsClient) ListAuthorizationRulesCompleteMatchingPredicate(ctx context.Context, id DisasterRecoveryConfigId, ...) (result ListAuthorizationRulesCompleteResult, err error) + func (c DisasterRecoveryConfigsClient) ListComplete(ctx context.Context, id NamespaceId) (ListCompleteResult, error) + func (c DisasterRecoveryConfigsClient) ListCompleteMatchingPredicate(ctx context.Context, id NamespaceId, ...) (result ListCompleteResult, err error) + func (c DisasterRecoveryConfigsClient) ListKeys(ctx context.Context, id DisasterRecoveryConfigAuthorizationRuleId) (result ListKeysOperationResponse, err error) + type FailOverOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type FailoverProperties struct + Properties *FailoverPropertiesProperties + type FailoverPropertiesProperties struct + IsSafeFailover *bool + type GetAuthorizationRuleOperationResponse struct + HttpResponse *http.Response + Model *SBAuthorizationRule + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *ArmDisasterRecovery + OData *odata.OData + type ListAuthorizationRulesCompleteResult struct + Items []SBAuthorizationRule + LatestHttpResponse *http.Response + type ListAuthorizationRulesCustomPager struct + NextLink *odata.Link + func (p *ListAuthorizationRulesCustomPager) NextPageLink() *odata.Link + type ListAuthorizationRulesOperationResponse struct + HttpResponse *http.Response + Model *[]SBAuthorizationRule + OData *odata.OData + type ListCompleteResult struct + Items []ArmDisasterRecovery + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListKeysOperationResponse struct + HttpResponse *http.Response + Model *AccessKeys + OData *odata.OData + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]ArmDisasterRecovery + OData *odata.OData + type NamespaceId struct + NamespaceName string + ResourceGroupName string + SubscriptionId string + func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId + func ParseNamespaceID(input string) (*NamespaceId, error) + func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error) + func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error + func (id NamespaceId) ID() string + func (id NamespaceId) Segments() []resourceids.Segment + func (id NamespaceId) String() string + type ProvisioningStateDR string + const ProvisioningStateDRAccepted + const ProvisioningStateDRFailed + const ProvisioningStateDRSucceeded + func (s *ProvisioningStateDR) UnmarshalJSON(bytes []byte) error + type RoleDisasterRecovery string + const RoleDisasterRecoveryPrimary + const RoleDisasterRecoveryPrimaryNotReplicating + const RoleDisasterRecoverySecondary + func (s *RoleDisasterRecovery) UnmarshalJSON(bytes []byte) error + type SBAuthorizationRule struct + Id *string + Location *string + Name *string + Properties *SBAuthorizationRuleProperties + SystemData *systemdata.SystemData + Type *string + type SBAuthorizationRuleOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p SBAuthorizationRuleOperationPredicate) Matches(input SBAuthorizationRule) bool + type SBAuthorizationRuleProperties struct + Rights []AccessRights + type UnavailableReason string + const UnavailableReasonInvalidName + const UnavailableReasonNameInLockdown + const UnavailableReasonNameInUse + const UnavailableReasonNone + const UnavailableReasonSubscriptionIsDisabled + const UnavailableReasonTooManyNamespaceInCurrentSubscription + func (s *UnavailableReason) UnmarshalJSON(bytes []byte) error