diff --git a/sdk/postgresql/arm-postgresql-flexible/package.json b/sdk/postgresql/arm-postgresql-flexible/package.json index 04750712d11c..ece10157f150 100644 --- a/sdk/postgresql/arm-postgresql-flexible/package.json +++ b/sdk/postgresql/arm-postgresql-flexible/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/postgresql/arm-postgresql-flexible/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/postgresql/arm-postgresql-flexible/", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts index e63c693ddc6d..b0360a66b2d8 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts @@ -18,16 +18,10 @@ export { ErrorResponse, FirewallRule, HighAvailability, - Identity, MaintenanceWindow, Network, - Plan, ProxyResource, Resource, - ResourceModelWithAllowedPropertySet, - ResourceModelWithAllowedPropertySetIdentity, - ResourceModelWithAllowedPropertySetPlan, - ResourceModelWithAllowedPropertySetSku, Server, Sku, Storage, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts index 3ac50955c92d..9ee17a04d68a 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts @@ -18,16 +18,10 @@ export { ErrorResponse, FirewallRule, HighAvailability, - Identity, MaintenanceWindow, Network, - Plan, ProxyResource, Resource, - ResourceModelWithAllowedPropertySet, - ResourceModelWithAllowedPropertySetIdentity, - ResourceModelWithAllowedPropertySetPlan, - ResourceModelWithAllowedPropertySetSku, Server, Sku, Storage, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts index 19d3f36b91aa..bed8e891f6ba 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts @@ -18,16 +18,10 @@ export { FirewallRule, FirewallRuleListResult, HighAvailability, - Identity, MaintenanceWindow, Network, - Plan, ProxyResource, Resource, - ResourceModelWithAllowedPropertySet, - ResourceModelWithAllowedPropertySetIdentity, - ResourceModelWithAllowedPropertySetPlan, - ResourceModelWithAllowedPropertySetSku, Server, Sku, Storage, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts index 9ad7cffe0b82..890559c1ea20 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts @@ -352,26 +352,6 @@ export interface MaintenanceWindow { dayOfWeek?: number; } -/** - * Identity for the resource. - */ -export interface Identity { - /** - * The principal ID of resource identity. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly principalId?: string; - /** - * The tenant ID of resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly tenantId?: string; - /** - * The identity type. Possible values include: 'SystemAssigned' - */ - type?: ResourceIdentityType; -} - /** * Sku information related properties of a server. */ @@ -463,10 +443,6 @@ export interface TrackedResource extends Resource { * Represents a server. */ export interface Server extends TrackedResource { - /** - * The Azure Active Directory identity of the server. - */ - identity?: Identity; /** * The SKU (pricing tier) of the server. */ @@ -842,109 +818,6 @@ export interface AzureEntityResource extends Resource { readonly etag?: string; } -/** - * An interface representing ResourceModelWithAllowedPropertySetIdentity. - */ -export interface ResourceModelWithAllowedPropertySetIdentity extends Identity { -} - -/** - * An interface representing ResourceModelWithAllowedPropertySetSku. - */ -export interface ResourceModelWithAllowedPropertySetSku extends Sku { -} - -/** - * Plan for the resource. - */ -export interface Plan { - /** - * A user defined name of the 3rd Party Artifact that is being procured. - */ - name: string; - /** - * The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic - */ - publisher: string; - /** - * The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID - * specified for the artifact at the time of Data Market onboarding. - */ - product: string; - /** - * A publisher provided promotion code as provisioned in Data Market for the said - * product/artifact. - */ - promotionCode?: string; - /** - * The version of the desired product/artifact. - */ - version?: string; -} - -/** - * An interface representing ResourceModelWithAllowedPropertySetPlan. - */ -export interface ResourceModelWithAllowedPropertySetPlan extends Plan { -} - -/** - * The resource model definition containing the full set of allowed properties for a resource. - * Except properties bag, there cannot be a top level property outside of this set. - */ -export interface ResourceModelWithAllowedPropertySet extends BaseResource { - /** - * Fully qualified resource ID for the resource. Ex - - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * The name of the resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - * "Microsoft.Storage/storageAccounts" - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * The geo-location where the resource lives - */ - location?: string; - /** - * The fully qualified resource ID of the resource that manages this resource. Indicates if this - * resource is managed by another Azure resource. If this is present, complete mode deployment - * will not delete the resource if it is removed from the template since it is managed by another - * resource. - */ - managedBy?: string; - /** - * Metadata used by portal/tooling/etc to render different UX experiences for resources of the - * same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource - * provider must validate and persist this value. - */ - kind?: string; - /** - * The etag field is *not* required. If it is provided in the response body, it must also be - * provided as a header per the normal etag convention. Entity tags are used for comparing two - * or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag - * (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range - * (section 14.27) header fields. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly etag?: string; - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; - identity?: ResourceModelWithAllowedPropertySetIdentity; - sku?: ResourceModelWithAllowedPropertySetSku; - plan?: ResourceModelWithAllowedPropertySetPlan; -} - /** * Represents a Database. */ @@ -1110,14 +983,6 @@ export type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData' */ export type CreateMode = 'Default' | 'Create' | 'Update' | 'PointInTimeRestore'; -/** - * Defines values for ResourceIdentityType. - * Possible values include: 'SystemAssigned' - * @readonly - * @enum {string} - */ -export type ResourceIdentityType = 'SystemAssigned'; - /** * Defines values for SkuTier. * Possible values include: 'Burstable', 'GeneralPurpose', 'MemoryOptimized' diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts index 0069331612de..e8b7e0f9b682 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts @@ -584,39 +584,6 @@ export const MaintenanceWindow: msRest.CompositeMapper = { } }; -export const Identity: msRest.CompositeMapper = { - serializedName: "Identity", - type: { - name: "Composite", - className: "Identity", - modelProperties: { - principalId: { - readOnly: true, - serializedName: "principalId", - type: { - name: "String" - } - }, - tenantId: { - readOnly: true, - serializedName: "tenantId", - type: { - name: "String" - } - }, - type: { - serializedName: "type", - type: { - name: "Enum", - allowedValues: [ - "SystemAssigned" - ] - } - } - } - } -}; - export const Sku: msRest.CompositeMapper = { serializedName: "Sku", type: { @@ -754,13 +721,6 @@ export const Server: msRest.CompositeMapper = { className: "Server", modelProperties: { ...TrackedResource.type.modelProperties, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "Identity" - } - }, sku: { serializedName: "sku", type: { @@ -1366,173 +1326,6 @@ export const AzureEntityResource: msRest.CompositeMapper = { } }; -export const ResourceModelWithAllowedPropertySetIdentity: msRest.CompositeMapper = { - serializedName: "ResourceModelWithAllowedPropertySet_identity", - type: { - name: "Composite", - className: "ResourceModelWithAllowedPropertySetIdentity", - modelProperties: { - ...Identity.type.modelProperties - } - } -}; - -export const ResourceModelWithAllowedPropertySetSku: msRest.CompositeMapper = { - serializedName: "ResourceModelWithAllowedPropertySet_sku", - type: { - name: "Composite", - className: "ResourceModelWithAllowedPropertySetSku", - modelProperties: { - ...Sku.type.modelProperties - } - } -}; - -export const Plan: msRest.CompositeMapper = { - serializedName: "Plan", - type: { - name: "Composite", - className: "Plan", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - publisher: { - required: true, - serializedName: "publisher", - type: { - name: "String" - } - }, - product: { - required: true, - serializedName: "product", - type: { - name: "String" - } - }, - promotionCode: { - serializedName: "promotionCode", - type: { - name: "String" - } - }, - version: { - serializedName: "version", - type: { - name: "String" - } - } - } - } -}; - -export const ResourceModelWithAllowedPropertySetPlan: msRest.CompositeMapper = { - serializedName: "ResourceModelWithAllowedPropertySet_plan", - type: { - name: "Composite", - className: "ResourceModelWithAllowedPropertySetPlan", - modelProperties: { - ...Plan.type.modelProperties - } - } -}; - -export const ResourceModelWithAllowedPropertySet: msRest.CompositeMapper = { - serializedName: "ResourceModelWithAllowedPropertySet", - type: { - name: "Composite", - className: "ResourceModelWithAllowedPropertySet", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - location: { - serializedName: "location", - type: { - name: "String" - } - }, - managedBy: { - serializedName: "managedBy", - type: { - name: "String" - } - }, - kind: { - serializedName: "kind", - constraints: { - Pattern: /^[-\w\._,\(\)]+$/ - }, - type: { - name: "String" - } - }, - etag: { - readOnly: true, - serializedName: "etag", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "ResourceModelWithAllowedPropertySetIdentity" - } - }, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "ResourceModelWithAllowedPropertySetSku" - } - }, - plan: { - serializedName: "plan", - type: { - name: "Composite", - className: "ResourceModelWithAllowedPropertySetPlan" - } - } - } - } -}; - export const Database: msRest.CompositeMapper = { serializedName: "Database", type: { diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts index 121df0cf53d1..c9941dd31966 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts @@ -17,16 +17,10 @@ export { ErrorResponse, FirewallRule, HighAvailability, - Identity, MaintenanceWindow, Network, - Plan, ProxyResource, Resource, - ResourceModelWithAllowedPropertySet, - ResourceModelWithAllowedPropertySetIdentity, - ResourceModelWithAllowedPropertySetPlan, - ResourceModelWithAllowedPropertySetSku, RestartParameter, Server, ServerForUpdate, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts index b91464de1da5..9f020ca094cc 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts @@ -61,7 +61,7 @@ export class CheckNameAvailability { const serializer = new msRest.Serializer(Mappers); const executeOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/checkNameAvailability", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability", urlParameters: [ Parameters.subscriptionId ], diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts index 3c43d0482b49..20f14d23c6cd 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts @@ -199,7 +199,7 @@ export class Configurations { const serializer = new msRest.Serializer(Mappers); const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -224,7 +224,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -250,7 +250,7 @@ const getOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -284,7 +284,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { const beginPutOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts index 92c5fdc95bd9..bebe28f36f75 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts @@ -196,7 +196,7 @@ export class Databases { const serializer = new msRest.Serializer(Mappers); const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -222,7 +222,7 @@ const getOperationSpec: msRest.OperationSpec = { const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -247,7 +247,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -284,7 +284,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/databases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts index 82417e785e5b..2151076e3a5e 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts @@ -196,7 +196,7 @@ export class FirewallRules { const serializer = new msRest.Serializer(Mappers); const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -222,7 +222,7 @@ const getOperationSpec: msRest.OperationSpec = { const listByServerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -247,7 +247,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -284,7 +284,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts index cf523a0e02fd..7dea398a3c1e 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts @@ -54,7 +54,7 @@ export class GetPrivateDnsZoneSuffix { const serializer = new msRest.Serializer(Mappers); const executeOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "providers/Microsoft.DBForPostgreSql/getPrivateDnsZoneSuffix", + path: "providers/Microsoft.DBforPostgreSQL/getPrivateDnsZoneSuffix", queryParameters: [ Parameters.apiVersion ], diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts index 0bafacc33c84..e5bca6f1f56f 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts @@ -86,7 +86,7 @@ export class LocationBasedCapabilities { const serializer = new msRest.Serializer(Mappers); const executeOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/capabilities", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities", urlParameters: [ Parameters.subscriptionId, Parameters.locationName diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts index 155dbe32fe3d..daaf8cd717c7 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts @@ -54,7 +54,7 @@ export class Operations { const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "providers/Microsoft.DBForPostgreSql/operations", + path: "providers/Microsoft.DBforPostgreSQL/operations", queryParameters: [ Parameters.apiVersion ], diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts index 03f8a8b190f3..13fc5c8cbb20 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts @@ -359,7 +359,7 @@ export class Servers { const serializer = new msRest.Serializer(Mappers); const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -384,7 +384,7 @@ const getOperationSpec: msRest.OperationSpec = { const listByResourceGroupOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName @@ -408,7 +408,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/flexibleServers", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers", urlParameters: [ Parameters.subscriptionId ], @@ -431,7 +431,7 @@ const listOperationSpec: msRest.OperationSpec = { const beginCreateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -467,7 +467,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -500,7 +500,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -525,7 +525,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { const beginRestartOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/restart", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/restart", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -556,7 +556,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = { const beginStartOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/start", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -580,7 +580,7 @@ const beginStartOperationSpec: msRest.OperationSpec = { const beginStopOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/stop", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts index dbd7f7574e1f..7ecdd2732e82 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts @@ -62,7 +62,7 @@ export class VirtualNetworkSubnetUsage { const serializer = new msRest.Serializer(Mappers); const executeOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/checkVirtualNetworkSubnetUsage", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage", urlParameters: [ Parameters.subscriptionId, Parameters.locationName