Skip to content

Commit 2357117

Browse files
author
SDK Automation
committed
Generated from 072f97513a51c46192686634feb2d3ab24d938b1
Update capacity definition
1 parent cb3f7fb commit 2357117

File tree

2 files changed

+14
-50
lines changed

2 files changed

+14
-50
lines changed

sdk/synapse/arm-synapse/src/models/index.ts

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,11 @@ export interface Sku {
559559
* The SKU name
560560
*/
561561
name?: string;
562+
/**
563+
* If the SKU supports scale out/in then the capacity integer should be included. If scale out/in
564+
* is not possible for the resource this may be omitted.
565+
*/
566+
capacity?: number;
562567
}
563568

564569
/**
@@ -1714,29 +1719,9 @@ export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource {
17141719
}
17151720

17161721
/**
1717-
* Azure Synapse nested resource, which belongs to a factory.
1722+
* Azure Synapse nested resource, which belongs to a workspace.
17181723
*/
1719-
export interface SubResource extends BaseResource {
1720-
/**
1721-
* The resource identifier.
1722-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
1723-
*/
1724-
readonly id?: string;
1725-
/**
1726-
* The resource name.
1727-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
1728-
*/
1729-
readonly name?: string;
1730-
/**
1731-
* The resource type.
1732-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
1733-
*/
1734-
readonly type?: string;
1735-
/**
1736-
* Etag identifies change in the resource.
1737-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
1738-
*/
1739-
readonly etag?: string;
1724+
export interface SubResource extends AzureEntityResource {
17401725
}
17411726

17421727
/**

sdk/synapse/arm-synapse/src/models/mappers.ts

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,12 @@ export const Sku: msRest.CompositeMapper = {
883883
type: {
884884
name: "String"
885885
}
886+
},
887+
capacity: {
888+
serializedName: "capacity",
889+
type: {
890+
name: "Number"
891+
}
886892
}
887893
}
888894
}
@@ -2633,34 +2639,7 @@ export const SubResource: msRest.CompositeMapper = {
26332639
name: "Composite",
26342640
className: "SubResource",
26352641
modelProperties: {
2636-
id: {
2637-
readOnly: true,
2638-
serializedName: "id",
2639-
type: {
2640-
name: "String"
2641-
}
2642-
},
2643-
name: {
2644-
readOnly: true,
2645-
serializedName: "name",
2646-
type: {
2647-
name: "String"
2648-
}
2649-
},
2650-
type: {
2651-
readOnly: true,
2652-
serializedName: "type",
2653-
type: {
2654-
name: "String"
2655-
}
2656-
},
2657-
etag: {
2658-
readOnly: true,
2659-
serializedName: "etag",
2660-
type: {
2661-
name: "String"
2662-
}
2663-
}
2642+
...AzureEntityResource.type.modelProperties
26642643
}
26652644
}
26662645
};

0 commit comments

Comments
 (0)