Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 48 additions & 25 deletions sdk/synapse/arm-synapse/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,11 @@ export interface Sku {
* The SKU name
*/
name?: string;
/**
* If the SKU supports scale out/in then the capacity integer should be included. If scale out/in
* is not possible for the resource this may be omitted.
*/
capacity?: number;
}

/**
Expand Down Expand Up @@ -1598,10 +1603,12 @@ export interface Workspace extends TrackedResource {
*/
sqlAdministratorLoginPassword?: string;
/**
* Workspace managed resource group
* **NOTE: This property will not be serialized. It can only be populated by the server.**
* Workspace managed resource group. The resource group name uniquely identifies the resource
* group within the user subscriptionId. The resource group name must be no longer than 90
* characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_',
* '(', ')' and'.'. Note that the name cannot end with '.'
*/
readonly managedResourceGroupName?: string;
managedResourceGroupName?: string;
/**
* Resource provisioning state
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand All @@ -1628,6 +1635,11 @@ export interface Workspace extends TrackedResource {
* Private endpoint connections to the workspace
*/
privateEndpointConnections?: PrivateEndpointConnection[];
/**
* Workspace level configs and feature flags
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly extraProperties?: { [propertyName: string]: any };
/**
* Identity of the workspace
*/
Expand Down Expand Up @@ -1707,29 +1719,9 @@ export interface ManagedIdentitySqlControlSettingsModel extends ProxyResource {
}

/**
* Azure Synapse nested resource, which belongs to a factory.
* Azure Synapse nested resource, which belongs to a workspace.
*/
export interface SubResource extends BaseResource {
/**
* The resource identifier.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly id?: string;
/**
* The resource name.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name?: string;
/**
* The resource type.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly type?: string;
/**
* Etag identifies change in the resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly etag?: string;
export interface SubResource extends AzureEntityResource {
}

/**
Expand Down Expand Up @@ -3199,6 +3191,17 @@ export interface IntegrationRuntimesCreateOptionalParams extends msRest.RequestO
ifMatch?: string;
}

/**
* Optional Parameters.
*/
export interface IntegrationRuntimesBeginCreateOptionalParams extends msRest.RequestOptionsBase {
/**
* ETag of the integration runtime entity. Should only be specified for update, for which it
* should match existing entity or can be * for unconditional update.
*/
ifMatch?: string;
}

/**
* Optional Parameters.
*/
Expand Down Expand Up @@ -5715,6 +5718,26 @@ export type IntegrationRuntimesStartResponse = IntegrationRuntimeStatusResponse
};
};

/**
* Contains response data for the beginCreate operation.
*/
export type IntegrationRuntimesBeginCreateResponse = IntegrationRuntimeResource & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: IntegrationRuntimeResource;
};
};

/**
* Contains response data for the listByWorkspaceNext operation.
*/
Expand Down
48 changes: 19 additions & 29 deletions sdk/synapse/arm-synapse/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,12 @@ export const Sku: msRest.CompositeMapper = {
type: {
name: "String"
}
},
capacity: {
serializedName: "capacity",
type: {
name: "Number"
}
}
}
}
Expand Down Expand Up @@ -2434,7 +2440,6 @@ export const Workspace: msRest.CompositeMapper = {
}
},
managedResourceGroupName: {
readOnly: true,
serializedName: "properties.managedResourceGroupName",
type: {
name: "String"
Expand Down Expand Up @@ -2489,6 +2494,18 @@ export const Workspace: msRest.CompositeMapper = {
}
}
},
extraProperties: {
readOnly: true,
serializedName: "properties.extraProperties",
type: {
name: "Dictionary",
value: {
type: {
name: "Object"
}
}
}
},
identity: {
serializedName: "identity",
type: {
Expand Down Expand Up @@ -2622,34 +2639,7 @@ export const SubResource: msRest.CompositeMapper = {
name: "Composite",
className: "SubResource",
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"
}
},
etag: {
readOnly: true,
serializedName: "etag",
type: {
name: "String"
}
}
...AzureEntityResource.type.modelProperties
}
}
};
Expand Down
Loading