@@ -352,26 +352,6 @@ export interface MaintenanceWindow {
352
352
dayOfWeek ?: number ;
353
353
}
354
354
355
- /**
356
- * Identity for the resource.
357
- */
358
- export interface Identity {
359
- /**
360
- * The principal ID of resource identity.
361
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
362
- */
363
- readonly principalId ?: string ;
364
- /**
365
- * The tenant ID of resource.
366
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
367
- */
368
- readonly tenantId ?: string ;
369
- /**
370
- * The identity type. Possible values include: 'SystemAssigned'
371
- */
372
- type ?: ResourceIdentityType ;
373
- }
374
-
375
355
/**
376
356
* Sku information related properties of a server.
377
357
*/
@@ -463,10 +443,6 @@ export interface TrackedResource extends Resource {
463
443
* Represents a server.
464
444
*/
465
445
export interface Server extends TrackedResource {
466
- /**
467
- * The Azure Active Directory identity of the server.
468
- */
469
- identity ?: Identity ;
470
446
/**
471
447
* The SKU (pricing tier) of the server.
472
448
*/
@@ -776,9 +752,10 @@ export interface RestartParameter {
776
752
*/
777
753
restartWithFailover ?: boolean ;
778
754
/**
779
- * Failover mode.
755
+ * Failover mode. Possible values include: 'PlannedFailover', 'ForcedFailover',
756
+ * 'PlannedSwitchover', 'ForcedSwitchover'
780
757
*/
781
- failoverMode ?: string ;
758
+ failoverMode ?: FailoverMode ;
782
759
}
783
760
784
761
/**
@@ -842,109 +819,6 @@ export interface AzureEntityResource extends Resource {
842
819
readonly etag ?: string ;
843
820
}
844
821
845
- /**
846
- * An interface representing ResourceModelWithAllowedPropertySetIdentity.
847
- */
848
- export interface ResourceModelWithAllowedPropertySetIdentity extends Identity {
849
- }
850
-
851
- /**
852
- * An interface representing ResourceModelWithAllowedPropertySetSku.
853
- */
854
- export interface ResourceModelWithAllowedPropertySetSku extends Sku {
855
- }
856
-
857
- /**
858
- * Plan for the resource.
859
- */
860
- export interface Plan {
861
- /**
862
- * A user defined name of the 3rd Party Artifact that is being procured.
863
- */
864
- name : string ;
865
- /**
866
- * The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
867
- */
868
- publisher : string ;
869
- /**
870
- * The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID
871
- * specified for the artifact at the time of Data Market onboarding.
872
- */
873
- product : string ;
874
- /**
875
- * A publisher provided promotion code as provisioned in Data Market for the said
876
- * product/artifact.
877
- */
878
- promotionCode ?: string ;
879
- /**
880
- * The version of the desired product/artifact.
881
- */
882
- version ?: string ;
883
- }
884
-
885
- /**
886
- * An interface representing ResourceModelWithAllowedPropertySetPlan.
887
- */
888
- export interface ResourceModelWithAllowedPropertySetPlan extends Plan {
889
- }
890
-
891
- /**
892
- * The resource model definition containing the full set of allowed properties for a resource.
893
- * Except properties bag, there cannot be a top level property outside of this set.
894
- */
895
- export interface ResourceModelWithAllowedPropertySet extends BaseResource {
896
- /**
897
- * Fully qualified resource ID for the resource. Ex -
898
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
899
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
900
- */
901
- readonly id ?: string ;
902
- /**
903
- * The name of the resource
904
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
905
- */
906
- readonly name ?: string ;
907
- /**
908
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
909
- * "Microsoft.Storage/storageAccounts"
910
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
911
- */
912
- readonly type ?: string ;
913
- /**
914
- * The geo-location where the resource lives
915
- */
916
- location ?: string ;
917
- /**
918
- * The fully qualified resource ID of the resource that manages this resource. Indicates if this
919
- * resource is managed by another Azure resource. If this is present, complete mode deployment
920
- * will not delete the resource if it is removed from the template since it is managed by another
921
- * resource.
922
- */
923
- managedBy ?: string ;
924
- /**
925
- * Metadata used by portal/tooling/etc to render different UX experiences for resources of the
926
- * same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource
927
- * provider must validate and persist this value.
928
- */
929
- kind ?: string ;
930
- /**
931
- * The etag field is *not* required. If it is provided in the response body, it must also be
932
- * provided as a header per the normal etag convention. Entity tags are used for comparing two
933
- * or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag
934
- * (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
935
- * (section 14.27) header fields.
936
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
937
- */
938
- readonly etag ?: string ;
939
- /**
940
- * Resource tags.
941
- */
942
- tags ?: { [ propertyName : string ] : string } ;
943
- identity ?: ResourceModelWithAllowedPropertySetIdentity ;
944
- sku ?: ResourceModelWithAllowedPropertySetSku ;
945
- plan ?: ResourceModelWithAllowedPropertySetPlan ;
946
- }
947
-
948
822
/**
949
823
* Represents a Database.
950
824
*/
@@ -1110,14 +984,6 @@ export type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData'
1110
984
*/
1111
985
export type CreateMode = 'Default' | 'Create' | 'Update' | 'PointInTimeRestore' ;
1112
986
1113
- /**
1114
- * Defines values for ResourceIdentityType.
1115
- * Possible values include: 'SystemAssigned'
1116
- * @readonly
1117
- * @enum {string}
1118
- */
1119
- export type ResourceIdentityType = 'SystemAssigned' ;
1120
-
1121
987
/**
1122
988
* Defines values for SkuTier.
1123
989
* Possible values include: 'Burstable', 'GeneralPurpose', 'MemoryOptimized'
@@ -1158,6 +1024,15 @@ export type ConfigurationDataType = 'Boolean' | 'Numeric' | 'Integer' | 'Enumera
1158
1024
*/
1159
1025
export type OperationOrigin = 'NotSpecified' | 'user' | 'system' ;
1160
1026
1027
+ /**
1028
+ * Defines values for FailoverMode.
1029
+ * Possible values include: 'PlannedFailover', 'ForcedFailover', 'PlannedSwitchover',
1030
+ * 'ForcedSwitchover'
1031
+ * @readonly
1032
+ * @enum {string}
1033
+ */
1034
+ export type FailoverMode = 'PlannedFailover' | 'ForcedFailover' | 'PlannedSwitchover' | 'ForcedSwitchover' ;
1035
+
1161
1036
/**
1162
1037
* Contains response data for the create operation.
1163
1038
*/
0 commit comments