/
interfaces.go
28 lines (24 loc) · 1.49 KB
/
interfaces.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package armcosmos
// BackupPolicyClassification provides polymorphic access to related types.
// Call the interface's GetBackupPolicy() method to access the common type.
// Use a type switch to determine the concrete type. The possible types are:
// - *BackupPolicy, *ContinuousModeBackupPolicy, *PeriodicModeBackupPolicy
type BackupPolicyClassification interface {
// GetBackupPolicy returns the BackupPolicy content of the underlying type.
GetBackupPolicy() *BackupPolicy
}
// ServiceResourcePropertiesClassification provides polymorphic access to related types.
// Call the interface's GetServiceResourceProperties() method to access the common type.
// Use a type switch to determine the concrete type. The possible types are:
// - *DataTransferServiceResourceProperties, *GraphAPIComputeServiceResourceProperties, *MaterializedViewsBuilderServiceResourceProperties,
// - *SQLDedicatedGatewayServiceResourceProperties, *ServiceResourceProperties
type ServiceResourcePropertiesClassification interface {
// GetServiceResourceProperties returns the ServiceResourceProperties content of the underlying type.
GetServiceResourceProperties() *ServiceResourceProperties
}