Documentation ¶
Index ¶
- func PossibleValuesForVaultSubResourceType() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type CapabilitiesOperationResponse
- type CapabilitiesProperties
- type CapabilitiesResponse
- type CapabilitiesResponseProperties
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityParameters
- type CheckNameAvailabilityResult
- type DNSZone
- type DNSZoneResponse
- type LocationId
- type ProviderLocationId
- type RecoveryServicesClient
- func (c RecoveryServicesClient) Capabilities(ctx context.Context, id LocationId, input ResourceCapabilities) (result CapabilitiesOperationResponse, err error)
- func (c RecoveryServicesClient) CheckNameAvailability(ctx context.Context, id ProviderLocationId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- type ResourceCapabilities
- type VaultSubResourceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVaultSubResourceType ¶
func PossibleValuesForVaultSubResourceType() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
Types ¶
type CapabilitiesOperationResponse ¶
type CapabilitiesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CapabilitiesResponse }
type CapabilitiesProperties ¶
type CapabilitiesProperties struct {
DnsZones *[]DNSZone `json:"dnsZones,omitempty"`
}
type CapabilitiesResponse ¶
type CapabilitiesResponse struct { Properties *CapabilitiesResponseProperties `json:"properties,omitempty"` Type string `json:"type"` }
type CapabilitiesResponseProperties ¶
type CapabilitiesResponseProperties struct {
DnsZones *[]DNSZoneResponse `json:"dnsZones,omitempty"`
}
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResult }
type DNSZone ¶
type DNSZone struct {
SubResource *VaultSubResourceType `json:"subResource,omitempty"`
}
type DNSZoneResponse ¶
type DNSZoneResponse struct { RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"` SubResource *VaultSubResourceType `json:"subResource,omitempty"` }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type ProviderLocationId ¶
type ProviderLocationId struct { SubscriptionId string ResourceGroupName string LocationName string }
ProviderLocationId is a struct representing the Resource ID for a Provider Location
func NewProviderLocationID ¶
func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId
NewProviderLocationID returns a new ProviderLocationId struct
func ParseProviderLocationID ¶
func ParseProviderLocationID(input string) (*ProviderLocationId, error)
ParseProviderLocationID parses 'input' into a ProviderLocationId
func ParseProviderLocationIDInsensitively ¶
func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error)
ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId note: this method should only be used for API response data and not user input
func (*ProviderLocationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ProviderLocationId) FromParseResult(input resourceids.ParseResult) error
func (ProviderLocationId) ID ¶
func (id ProviderLocationId) ID() string
ID returns the formatted Provider Location ID
func (ProviderLocationId) Segments ¶
func (id ProviderLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Location ID
func (ProviderLocationId) String ¶
func (id ProviderLocationId) String() string
String returns a human-readable description of this Provider Location ID
type RecoveryServicesClient ¶
type RecoveryServicesClient struct {
Client *resourcemanager.Client
}
func NewRecoveryServicesClientWithBaseURI ¶
func NewRecoveryServicesClientWithBaseURI(sdkApi sdkEnv.Api) (*RecoveryServicesClient, error)
func (RecoveryServicesClient) Capabilities ¶
func (c RecoveryServicesClient) Capabilities(ctx context.Context, id LocationId, input ResourceCapabilities) (result CapabilitiesOperationResponse, err error)
Capabilities ...
func (RecoveryServicesClient) CheckNameAvailability ¶
func (c RecoveryServicesClient) CheckNameAvailability(ctx context.Context, id ProviderLocationId, input CheckNameAvailabilityParameters) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
type ResourceCapabilities ¶
type ResourceCapabilities struct { Properties *CapabilitiesProperties `json:"properties,omitempty"` Type string `json:"type"` }
type VaultSubResourceType ¶
type VaultSubResourceType string
const ( VaultSubResourceTypeAzureBackup VaultSubResourceType = "AzureBackup" VaultSubResourceTypeAzureBackupSecondary VaultSubResourceType = "AzureBackup_secondary" VaultSubResourceTypeAzureSiteRecovery VaultSubResourceType = "AzureSiteRecovery" )
func (*VaultSubResourceType) UnmarshalJSON ¶
func (s *VaultSubResourceType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_providerlocation.go
- method_capabilities.go
- method_checknameavailability.go
- model_capabilitiesproperties.go
- model_capabilitiesresponse.go
- model_capabilitiesresponseproperties.go
- model_checknameavailabilityparameters.go
- model_checknameavailabilityresult.go
- model_dnszone.go
- model_dnszoneresponse.go
- model_resourcecapabilities.go
- version.go