Skip to content

Commit

Permalink
Merge branch 'main' into broken-links-12-19-23
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemunk authored Jan 3, 2024
2 parents ca75f7c + ecf717b commit 3c9b1a8
Show file tree
Hide file tree
Showing 1,964 changed files with 279,836 additions and 2,940 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
/specification/billing/ @wilcobmsft @asarkar84

# PRLabel: %Network - CDN
/specification/cdn/ @jorinmejia @yunhemsft @jessicl-ms @rrahulms @t-bzhan
/specification/cdn/ @jorinmejia @yunhemsft @jessicl-ms @rrahulms @t-bzhan @ChenglongLiu

# PRLabel: %Cognitive Services
/specification/cognitiveservices/ @felixwa @yangyuan
Expand Down
6 changes: 6 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,12 @@
"flac",
"mpga"
]
},
{
"filename": "**/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/**/*.json",
"words": [
"throughputpool"
]
}
],
"enableFiletypes": [
Expand Down
10 changes: 10 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ cephfs
certchain
certificatescreateorupdate
certificatesdelete
certificateprofiles
certificatethumbprint
certverify
chademo
Expand Down Expand Up @@ -524,6 +525,9 @@ codegeneration
codemirror
codepackage
codepoints
codesign
codesigning
codesigningaccounts
codespace
codespaces
coffeelake
Expand Down Expand Up @@ -668,6 +672,7 @@ datalake
datalakeanalytics
datalakestore
datamanagement
datamap
datamasking
datamigration
datamodel
Expand Down Expand Up @@ -2038,6 +2043,7 @@ operationstatuses
operatorconnect
opid
oplog
optane
optedin
optimised
optionalbody
Expand Down Expand Up @@ -2424,6 +2430,7 @@ rollingback
rollouts
rolloverdetails
rollupby
rootcert
rootfs
rosettanetprocessconfigurations
rotatediskencryptionkey
Expand Down Expand Up @@ -2707,10 +2714,12 @@ ssis
ssisdb
ssoadfs
sstp
SSDLRS
ssword
stac
stackset
standardasciifolding
standardssd
startlocalrun
startpacketcapture
startrun
Expand Down Expand Up @@ -3948,3 +3957,4 @@ CIAM
protobuf
proto
msvideo
SOQL
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"devDependencies": {
"@azure-tools/typespec-apiview": "0.4.4",
"@azure-tools/typespec-autorest": "0.37.2",
"@azure-tools/typespec-azure-core": "0.37.1",
"@azure-tools/typespec-azure-resource-manager": "0.37.0",
"@azure-tools/typespec-azure-core": "0.37.2",
"@azure-tools/typespec-azure-resource-manager": "0.37.1",
"@azure-tools/typespec-client-generator-core": "0.37.0",
"@azure-tools/typespec-providerhub": "0.37.0",
"@typespec/compiler": "0.51.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(python)
title: IntegrationSpacesMgmtClient
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-azureintegrationspaces
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/rest";
import "./models.tsp";

using TypeSpec.Rest;
using Azure.ResourceManager;
using Azure.ResourceManager.Foundations;
using TypeSpec.Http;

namespace Microsoft.AzureLargeInstance;
@doc("""
Azure Large Instance info on Azure (ARM properties and AzureLargeInstance
properties)
""")
model AzureLargeInstance is TrackedResource<AzureLargeInstanceProperties> {
@doc("Name of the AzureLargeInstance.")
@pattern(".*")
@path
@key("azureLargeInstanceName")
@segment("azureLargeInstances")
name: string;
}

@armResourceOperations
@projectedName("client", "AzureLargeInstance")
interface AzureLargeInstances {
@doc("""
Gets an Azure Large Instance for the specified subscription, resource group,
and instance name.
""")
get is ArmResourceRead<AzureLargeInstance>;

@doc("""
Patches the Tags field of an Azure Large Instance for the specified
subscription, resource group, and instance name.
""")
update is ArmCustomPatchSync<AzureLargeInstance>;

@doc("""
Gets a list of Azure Large Instances in the specified subscription and resource
group. The operations returns various properties of each Azure Large Instance.
""")
listByResourceGroup is ArmResourceListByParent<AzureLargeInstance>;

@doc("""
Gets a list of Azure Large Instances in the specified subscription. The
operations returns various properties of each Azure Large Instance.
""")
listBySubscription is ArmListBySubscription<AzureLargeInstance>;

@doc("The operation to start an Azure Large Instance (only for compute instances)")
start is ArmResourceActionNoBody<
AzureLargeInstance,
{},
OperationStatusResult
>;

@doc("The operation to restart an Azure Large Instance (only for compute instances)")
restart is ArmResourceActionNoBody<
AzureLargeInstance,
{
/** When set to 'active', this parameter empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server */
@body forceParameter?: ForceState;
},
OperationStatusResult
>;

@doc("The operation to shutdown an Azure Large Instance (only for compute instances)")
shutdown is ArmResourceActionNoBody<
AzureLargeInstance,
{},
OperationStatusResult
>;
}

/**
* A long-running resource action.
* @template TResource The resource being acted upon
* @template TRequest The request model for the action
* @template TResponse The response type for the action
* @template TBaseParameters Optional. Allows overriding the parameters for the operation
*/
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "Template for optional body"
@autoRoute
@OpenAPI.extension("x-ms-long-running-operation", true)
@OpenAPI.extension(
"x-ms-long-running-operation-options",
{
`final-state-via`: "location",
}
)
@armResourceAction(TResource)
@post
op ArmResourceActionNoBody<
TResource extends Azure.ResourceManager.Foundations.ArmResource,
TRequest extends TypeSpec.Reflection.Model,
TResponse extends TypeSpec.Reflection.Model | void,
TBaseParameters extends TypeSpec.Reflection.Model = Azure.ResourceManager.Foundations.BaseParameters<AzureLargeInstance>
>(
...ResourceInstanceParameters<TResource, TBaseParameters>,
...TRequest,
): ArmAcceptedLroResponse | TResponse | ErrorResponse;

@@projectedName(AzureLargeInstances.update::parameters.properties,
"json",
"tagsParameter"
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/rest";
import "./models.tsp";

using TypeSpec.Rest;
using Azure.ResourceManager;
using Azure.ResourceManager.Foundations;
using TypeSpec.Http;

namespace Microsoft.AzureLargeInstance;
@doc("""
AzureLargeStorageInstance info on Azure (ARM properties and
AzureLargeStorageInstance properties)
""")
model AzureLargeStorageInstance
is TrackedResource<AzureLargeStorageInstanceProperties> {
@doc("Name of the AzureLargeStorageInstance.")
@pattern(".*")
@path
@key("azureLargeStorageInstanceName")
@segment("azureLargeStorageInstances")
name: string;
}

@armResourceOperations
@projectedName("client", "AzureLargeStorageInstance")
interface AzureLargeStorageInstances {
@doc("""
Gets an Azure Large Storage instance for the specified subscription, resource
group, and instance name.
""")
get is ArmResourceRead<AzureLargeStorageInstance>;
@doc("""
Patches the Tags field of a Azure Large Storage Instance for the specified
subscription, resource group, and instance name.
""")
update is ArmCustomPatchSync<AzureLargeStorageInstance>;
@doc("""
Gets a list of AzureLargeStorageInstances in the specified subscription and
resource group. The operations returns various properties of each Azure
LargeStorage instance.
""")
listByResourceGroup is ArmResourceListByParent<AzureLargeStorageInstance>;
@doc("""
Gets a list of AzureLargeStorageInstances in the specified subscription. The
operations returns various properties of each Azure LargeStorage instance.
""")
listBySubscription is ArmListBySubscription<AzureLargeStorageInstance>;
}

@@projectedName(AzureLargeStorageInstances.update::parameters.properties,
"json",
"tagsParameter"
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"operationId": "Operations_List",
"title": "Operations_List",
"parameters": {
"api-version": "2023-07-20-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.AzureLargeInstance/read",
"display": {
"provider": "Microsoft Azure Large Instance",
"resource": "AzureLargeInstance",
"operation": "Read AzureLargeInstance",
"description": "Read any AzureLargeInstance"
},
"isDataAction": false
},
{
"name": "Microsoft.AzureLargeInstance",
"display": {
"provider": "Microsoft Azure Large Instance",
"resource": "AzureLargeInstance",
"operation": "Start AzureLargeInstance",
"description": "Start any AzureLargeInstance"
},
"isDataAction": true
}
]
}
}
}
}
Loading

0 comments on commit 3c9b1a8

Please sign in to comment.