Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
5c83392
Update package.json and scripts
mikeharder Apr 3, 2024
0056e46
Merge branch 'main' into typespec-next
mikeharder May 16, 2024
417cff4
Add typespec-azure-portal-core
mikeharder May 16, 2024
91cbb69
Merge branch 'main' into typespec-next
mikeharder May 16, 2024
2cfedcb
Fix some deprecations from valueof PR (#29126)
timotheeguerin May 16, 2024
2a704c0
Merge branch 'main' into typespec-next
mikeharder May 17, 2024
167b367
Merge branch 'main' into typespec-next
mikeharder May 23, 2024
f2c7599
[apicenter] Regen swagger to add "title" properties
mikeharder May 23, 2024
2813c23
[cognitiveservices] Use TypeSpec array (#[]) instead of tuple ([]) (#…
mikeharder May 23, 2024
2aad62a
Merge branch 'main' into typespec-next
mikeharder May 23, 2024
db37ac1
Merge branch 'main' into typespec-next
mikeharder May 29, 2024
b273517
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
timotheeguerin Jun 3, 2024
33c7eb3
fix
timotheeguerin Jun 3, 2024
276d658
Suppress failing rules
timotheeguerin Jun 4, 2024
c146c26
Fix shouldn't have `Content-Type` header
timotheeguerin Jun 4, 2024
0a493c9
Pin typespec versioning to 0.57.0-dev.6
timotheeguerin Jun 5, 2024
f07c71d
Switch back to next tag for versioning library
timotheeguerin Jun 6, 2024
eefab8e
Add new networking code owner (#29281)
Joanna-Yang-Art Jun 3, 2024
80b0e88
Sherylueen appcomplianceautomation microsoft.app compliance automatio…
Sherylueen Jun 3, 2024
1b5e457
Microsoft.ScVmm TypeSpec onboarding (#26644)
tadelesh Jun 4, 2024
a8ccd9d
Imagebuilder API Release 2024-02-01 (#28896)
zdelacerda-microsoft Jun 4, 2024
a29e111
Update readme.md to show up documentation for preview version (#29165)
raghumunukutla Jun 4, 2024
a3bb584
Update readme.python.md (#29309)
ChenxiJiang333 Jun 4, 2024
872e780
Update readme.md (#29313)
ChenxiJiang333 Jun 4, 2024
a953dc6
Add info about `SDK azure-sdk-for-*` checks and `SDK azure-powershell…
Jun 4, 2024
3ea5f2a
Update ci-fix.md: clarify that `SDK azure-powershell` is owned by `Az…
Jun 4, 2024
f56df1e
RouteMatrix 2024-06-01-preview (#29153)
koyasu221b Jun 4, 2024
521dfb0
[OAI-Assistant] Added Missing annotation and delete unnecessary anno…
mssfang Jun 4, 2024
26820f9
[OpenAI] [Inference] TSP definition updates for `v2024_05_01_preview`…
jpalvarezl Jun 4, 2024
b33a64f
Add v3.2 for Speech to text (3.2p2 as base) (#28664)
bexxx Jun 4, 2024
fdc94ba
Add new api-version 2024-02-01-preview to main (#29105)
shraddhasun Jun 4, 2024
59d0deb
Storage STG 94 (#28327)
seanmcc-msft Jun 4, 2024
05ca7a9
Storage Task Assignment Swagger Updates (#29050)
triciarosario Jun 5, 2024
3a7392f
Update virtualMachine.json (#29112)
jaclin1111 Jun 5, 2024
efda639
Merge release api management 2023 09 01 preview - Active (#29184)
solankisamir Jun 5, 2024
3ec922d
Fixed typo in documentation (#29341)
jpalvarezl Jun 5, 2024
b40f2e2
Update 2023-12-01 Microsoft.Web functionAppConfig definition (#29226)
Francisco-Gamino Jun 5, 2024
9cbaac8
Update `securityPostureReference` in VMScaleSet API (#28891)
martinezdylan Jun 5, 2024
7dd8113
[Microsoft.AzureStackHCI] Add 2024-04-01 for StackHCI (#29110)
priyjain358 Jun 5, 2024
a25b233
Enable stream-stype serialization for Java Communication Job Router (…
alzimmermsft Jun 6, 2024
eaf0cce
Azure Map Rendering 20240401 (#27950)
miaxzhitong Jun 6, 2024
9b53351
Update directory-structure.md: clarify service, service group, unifor…
Jun 6, 2024
3e6dc80
[ACS][Communication][Chat] 2024-06-05-preview public preview API spec…
jimchou-dev Jun 7, 2024
68d51e2
Update for autorest lro support
markcowl Jun 11, 2024
74397ba
Format
timotheeguerin Jun 11, 2024
a5879d4
Merge branch 'main' into typespec-next
markcowl Jun 12, 2024
1fda920
Fix issues with oracle spec from main
markcowl Jun 12, 2024
cc2a21e
Update format
markcowl Jun 12, 2024
1996b29
Update for latest dev version
markcowl Jun 13, 2024
55ef0dd
Fixing typespec-next for June 2024 release (#29427)
allenjzhang Jun 13, 2024
fe08424
Merge branch 'typespec-next' of https://github.com/Azure/azure-rest-a…
allenjzhang Jun 13, 2024
02b541d
Update package.json
allenjzhang Jun 14, 2024
495ee87
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
allenjzhang Jun 14, 2024
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
Prev Previous commit
Next Next commit
Add new api-version 2024-02-01-preview to main (#29105)
* Add 2024-02-01-preview to main

* fix typespec errors

* remove operations.json

* fix linters

* delete unusued file

* edit readme

* remove suppressions

* Update specification/azurestackhci/Operations.Management/tspconfig.yaml

Co-authored-by: Mike Harder <[email protected]>

* Update specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml

Co-authored-by: Mike Harder <[email protected]>

* ID to id

* remove unnecessary suppress

* fix examples

* copy private folder changes

---------

Co-authored-by: Mike Harder <[email protected]>
  • Loading branch information
2 people authored and markcowl committed Jun 7, 2024
commit fdc94ba0487719cff0d12b176507d3ddebe349af
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";
import "./VirtualMachineInstance.tsp";

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

namespace Microsoft.AzureStackHCI;
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
@doc("The attestation status of the virtual machine")
@singleton("default")
@parentResource(VirtualMachineInstance)
@includeInapplicableMetadataInPayload(false)
model AttestationStatus is ProxyResource<AttestationStatusProperties> {
@doc("Name of attestation status")
@pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$")
@key("attestationStatus")
@segment("attestationStatus")
@visibility("read")
@path
name: string;
}

@armResourceOperations
interface AttestationStatuses {
@doc("Implements AttestationStatus GET method.")
get is ArmResourceRead<AttestationStatus>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";

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

namespace Microsoft.AzureStackHCI;

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
@doc("The gallery images resource definition.")
@extension("x-ms-azure-resource", true)
@extension("x-ms-client-flatten", true)
model GalleryImage is TrackedResource<GalleryImageProperties> {
@doc("Name of the gallery image")
@pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$")
@path
@key("galleryImageName")
@segment("galleryImages")
@visibility("read")
name: string;

@doc("The extendedLocation of the resource.")
extendedLocation?: ExtendedLocation;
}

@armResourceOperations(GalleryImage)
interface GalleryImages {
@doc("Gets a gallery image")
get is ArmResourceRead<GalleryImage>;

@doc("The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.")
createOrUpdate is ArmResourceCreateOrReplaceAsync<GalleryImage>;

@doc("The operation to update a gallery image.")
@parameterVisibility
update is ArmCustomPatchAsync<GalleryImage>;

@doc("The operation to delete a gallery image.")
delete is ArmResourceDeleteWithoutOkAsync<GalleryImage>;

@doc("Lists all of the gallery images in the specified resource group. Use the nextLink property in the response to get the next page of gallery images.")
list is ArmResourceListByParent<GalleryImage>;

@doc("Lists all of the gallery images in the specified subscription. Use the nextLink property in the response to get the next page of gallery images.")
listAll is ArmListBySubscription<GalleryImage>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";
import "./VirtualMachineInstance.tsp";

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

namespace Microsoft.AzureStackHCI;
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
@doc("Defines the GuestAgent.")
@singleton("default")
@parentResource(VirtualMachineInstance)
model GuestAgent is ProxyResource<GuestAgentProperties> {
@doc("guestAgent name")
@pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$")
@key("guestAgent")
@segment("guestAgents")
@visibility("read")
@path
name: string;
}

@armResourceOperations
interface GuestAgents {
@doc("Implements GuestAgent GET method.")
get is ArmResourceRead<GuestAgent>;

@doc("Create Or Update GuestAgent.")
create is ArmResourceCreateOrReplaceAsync<GuestAgent>;

@doc("Implements GuestAgent DELETE method.")
delete is ArmResourceDeleteWithoutOkAsync<GuestAgent>;

@doc("Returns the list of GuestAgent of the given vm.")
list is ArmResourceListByParent<GuestAgent>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@azure-tools/typespec-client-generator-core";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";
import "./VirtualMachineInstance.tsp";

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

namespace Microsoft.AzureStackHCI;

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
@doc("Defines the HybridIdentityMetadata.")
@extension("x-ms-azure-resource", true)
@singleton("default")
@parentResource(VirtualMachineInstance)
model HybridIdentityMetadata
is ProxyResource<HybridIdentityMetadataProperties> {
@doc("Name of the hybrididentitymetadata")
@pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$")
@key("hybridIdentityMetadatum")
@segment("hybridIdentityMetadata")
@visibility("read")
@path
name: string;
}

@armResourceOperations
@Azure.ClientGenerator.Core.clientName("HybridIdentityMetadata")
interface HybridIdentityMetadataGroup {
@doc("Implements HybridIdentityMetadata GET method.")
get is ArmResourceRead<HybridIdentityMetadata>;

@doc("Returns the list of HybridIdentityMetadata of the given vm.")
list is ArmResourceListByParent<HybridIdentityMetadata>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";

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

namespace Microsoft.AzureStackHCI;

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
@doc("The logical network resource definition.")
@extension("x-ms-azure-resource", true)
@extension("x-ms-client-flatten", true)
model LogicalNetwork is TrackedResource<LogicalNetworkProperties> {
@doc("Name of the logical network")
@pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$")
@path
@key("logicalNetworkName")
@segment("logicalNetworks")
@visibility("read")
name: string;

@doc("The extendedLocation of the resource.")
extendedLocation?: ExtendedLocation;
}

@armResourceOperations
interface LogicalNetworks {
@doc("The operation to get a logical network.")
get is ArmResourceRead<LogicalNetwork>;

@doc("The operation to create or update a logical network. Please note some properties can be set only during logical network creation.")
createOrUpdate is ArmResourceCreateOrReplaceAsync<LogicalNetwork>;

@doc("The operation to update a logical network.")
@parameterVisibility
update is ArmCustomPatchAsync<LogicalNetwork, LogicalNetworksUpdateRequest>;

@doc("The operation to delete a logical network.")
delete is ArmResourceDeleteWithoutOkAsync<LogicalNetwork>;

@doc("Lists all of the logical networks in the specified resource group. Use the nextLink property in the response to get the next page of logical networks.")
list is ArmResourceListByParent<LogicalNetwork>;

@doc("Lists all of the logical networks in the specified subscription. Use the nextLink property in the response to get the next page of logical networks.")
listAll is ArmListBySubscription<LogicalNetwork>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";

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

namespace Microsoft.AzureStackHCI;

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
@doc("The marketplace gallery image resource definition.")
@extension("x-ms-azure-resource", true)
@extension("x-ms-client-flatten", true)
model MarketplaceGalleryImage
is TrackedResource<MarketplaceGalleryImageProperties> {
@doc("Name of the marketplace gallery image")
@pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$")
@path
@key("marketplaceGalleryImageName")
@segment("marketplaceGalleryImages")
@visibility("read")
name: string;

@doc("The extendedLocation of the resource.")
extendedLocation?: ExtendedLocation;
}

@armResourceOperations
interface MarketplaceGalleryImages {
@doc("Gets a marketplace gallery image")
get is ArmResourceRead<MarketplaceGalleryImage>;

@doc("The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.")
createOrUpdate is ArmResourceCreateOrReplaceAsync<MarketplaceGalleryImage>;

@doc("The operation to update a marketplace gallery image.")
@parameterVisibility
update is ArmCustomPatchAsync<MarketplaceGalleryImage>;

@doc("The operation to delete a marketplace gallery image.")
delete is ArmResourceDeleteWithoutOkAsync<MarketplaceGalleryImage>;

@doc("Lists all of the marketplace gallery images in the specified resource group. Use the nextLink property in the response to get the next page of marketplace gallery images.")
list is ArmResourceListByParent<MarketplaceGalleryImage>;

@doc("Lists all of the marketplace gallery images in the specified subscription. Use the nextLink property in the response to get the next page of marketplace gallery images.")
listAll is ArmListBySubscription<MarketplaceGalleryImage>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";

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

namespace Microsoft.AzureStackHCI;

#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
@doc("The network interface resource definition.")
@extension("x-ms-azure-resource", true)
@extension("x-ms-client-flatten", true)
model NetworkInterface is TrackedResource<NetworkInterfaceProperties> {
@doc("Name of the network interface")
@pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$")
@path
@key("networkInterfaceName")
@segment("networkInterfaces")
@visibility("read")
name: string;

@doc("The extendedLocation of the resource.")
extendedLocation?: ExtendedLocation;
}

@armResourceOperations
interface NetworkInterfaces {
@doc("Gets a network interface")
get is ArmResourceRead<NetworkInterface>;

@doc("The operation to create or update a network interface. Please note some properties can be set only during network interface creation.")
createOrUpdate is ArmResourceCreateOrReplaceAsync<NetworkInterface>;

@doc("The operation to update a network interface.")
@parameterVisibility
update is ArmCustomPatchAsync<NetworkInterface>;

@doc("The operation to delete a network interface.")
delete is ArmResourceDeleteWithoutOkAsync<NetworkInterface>;

@doc("Lists all of the network interfaces in the specified resource group. Use the nextLink property in the response to get the next page of network interfaces.")
list is ArmResourceListByParent<NetworkInterface>;

@doc("Lists all of the network interfaces in the specified subscription. Use the nextLink property in the response to get the next page of network interfaces.")
listAll is ArmListBySubscription<NetworkInterface>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";

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

namespace Microsoft.AzureStackHCI;
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
@doc("NetworkSecurityGroup resource.")
model NetworkSecurityGroup is TrackedResource<NetworkSecurityGroupProperties> {
@doc("Name of the network security group")
@pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$")
@path
@key("networkSecurityGroupName")
@segment("networkSecurityGroups")
@visibility("read")
name: string;

@doc("The extendedLocation of the resource.")
extendedLocation?: ExtendedLocation;

...EntityTagProperty;
}

@armResourceOperations
interface NetworkSecurityGroups {
@doc("Gets the specified network security group.")
get is ArmResourceRead<NetworkSecurityGroup>;

@doc("Creates or updates a network security group in the specified resource group.")
createOrUpdate is ArmResourceCreateOrReplaceAsync<NetworkSecurityGroup>;

@doc("Updates a network security group tags.")
updateTags is ArmTagsPatchAsync<NetworkSecurityGroup, TagsObject>;

@doc("Deletes the specified network security group.")
delete is ArmResourceDeleteWithoutOkAsync<NetworkSecurityGroup>;

@doc("Gets all network security groups in a resource group.")
list is ArmResourceListByParent<NetworkSecurityGroup>;

@doc("Gets all network security groups in a subscription.")
listAll is ArmListBySubscription<NetworkSecurityGroup>;
}
Loading