Skip to content

Commit eb34da8

Browse files
authored
arm-postgresql-flexible-release (Azure#17330)
1 parent c444997 commit eb34da8

File tree

8 files changed

+14
-370
lines changed

8 files changed

+14
-370
lines changed

sdk/postgresql/arm-postgresql-flexible/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/arm-postgresql-flexible",
33
"author": "Microsoft Corporation",
44
"description": "PostgreSQLManagementClient Library with typescript type definitions for node.js and browser.",
5-
"version": "3.1.0",
5+
"version": "4.0.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.1.0",
88
"@azure/ms-rest-js": "^2.2.0",

sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,10 @@ export {
1818
ErrorResponse,
1919
FirewallRule,
2020
HighAvailability,
21-
Identity,
2221
MaintenanceWindow,
2322
Network,
24-
Plan,
2523
ProxyResource,
2624
Resource,
27-
ResourceModelWithAllowedPropertySet,
28-
ResourceModelWithAllowedPropertySetIdentity,
29-
ResourceModelWithAllowedPropertySetPlan,
30-
ResourceModelWithAllowedPropertySetSku,
3125
Server,
3226
Sku,
3327
Storage,

sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,10 @@ export {
1818
ErrorResponse,
1919
FirewallRule,
2020
HighAvailability,
21-
Identity,
2221
MaintenanceWindow,
2322
Network,
24-
Plan,
2523
ProxyResource,
2624
Resource,
27-
ResourceModelWithAllowedPropertySet,
28-
ResourceModelWithAllowedPropertySetIdentity,
29-
ResourceModelWithAllowedPropertySetPlan,
30-
ResourceModelWithAllowedPropertySetSku,
3125
Server,
3226
Sku,
3327
Storage,

sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,10 @@ export {
1818
FirewallRule,
1919
FirewallRuleListResult,
2020
HighAvailability,
21-
Identity,
2221
MaintenanceWindow,
2322
Network,
24-
Plan,
2523
ProxyResource,
2624
Resource,
27-
ResourceModelWithAllowedPropertySet,
28-
ResourceModelWithAllowedPropertySetIdentity,
29-
ResourceModelWithAllowedPropertySetPlan,
30-
ResourceModelWithAllowedPropertySetSku,
3125
Server,
3226
Sku,
3327
Storage,

sdk/postgresql/arm-postgresql-flexible/src/models/index.ts

Lines changed: 12 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -352,26 +352,6 @@ export interface MaintenanceWindow {
352352
dayOfWeek?: number;
353353
}
354354

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-
375355
/**
376356
* Sku information related properties of a server.
377357
*/
@@ -463,10 +443,6 @@ export interface TrackedResource extends Resource {
463443
* Represents a server.
464444
*/
465445
export interface Server extends TrackedResource {
466-
/**
467-
* The Azure Active Directory identity of the server.
468-
*/
469-
identity?: Identity;
470446
/**
471447
* The SKU (pricing tier) of the server.
472448
*/
@@ -776,9 +752,10 @@ export interface RestartParameter {
776752
*/
777753
restartWithFailover?: boolean;
778754
/**
779-
* Failover mode.
755+
* Failover mode. Possible values include: 'PlannedFailover', 'ForcedFailover',
756+
* 'PlannedSwitchover', 'ForcedSwitchover'
780757
*/
781-
failoverMode?: string;
758+
failoverMode?: FailoverMode;
782759
}
783760

784761
/**
@@ -842,109 +819,6 @@ export interface AzureEntityResource extends Resource {
842819
readonly etag?: string;
843820
}
844821

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-
948822
/**
949823
* Represents a Database.
950824
*/
@@ -1110,14 +984,6 @@ export type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData'
1110984
*/
1111985
export type CreateMode = 'Default' | 'Create' | 'Update' | 'PointInTimeRestore';
1112986

1113-
/**
1114-
* Defines values for ResourceIdentityType.
1115-
* Possible values include: 'SystemAssigned'
1116-
* @readonly
1117-
* @enum {string}
1118-
*/
1119-
export type ResourceIdentityType = 'SystemAssigned';
1120-
1121987
/**
1122988
* Defines values for SkuTier.
1123989
* Possible values include: 'Burstable', 'GeneralPurpose', 'MemoryOptimized'
@@ -1158,6 +1024,15 @@ export type ConfigurationDataType = 'Boolean' | 'Numeric' | 'Integer' | 'Enumera
11581024
*/
11591025
export type OperationOrigin = 'NotSpecified' | 'user' | 'system';
11601026

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+
11611036
/**
11621037
* Contains response data for the create operation.
11631038
*/

0 commit comments

Comments
 (0)