Skip to content

Commit

Permalink
First ALI GA version (#28816)
Browse files Browse the repository at this point in the history
* First ALI GA version

* Running prettier

* Fixing linter errors

* Fixed readme.md new api path

* Running prettier again

* Ran npx tsv ...

* Running prettier check again...

* Running prettier and format fixes

* updating swagger specs
  • Loading branch information
8Gitbrix authored May 15, 2024
1 parent 8046b31 commit 9061674
Show file tree
Hide file tree
Showing 34 changed files with 3,212 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ model AzureLargeInstance is TrackedResource<AzureLargeInstanceProperties> {
name: string;
}

#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation"
@armResourceOperations
@clientName("AzureLargeInstance")
interface AzureLargeInstances {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ model AzureLargeStorageInstance
name: string;
}

#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation"
@armResourceOperations
@clientName("AzureLargeStorageInstance")
interface AzureLargeStorageInstances {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"operationId": "Operations_List",
"title": "Operations_List",
"parameters": {
"api-version": "2024-04-10"
},
"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
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"operationId": "AzureLargeInstance_Get",
"title": "AzureLargeInstance_Get",
"parameters": {
"api-version": "2024-04-10",
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd",
"resourceGroupName": "myResourceGroup",
"azureLargeInstanceName": "myAzureLargeInstance"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeInstance",
"location": "westus2",
"name": "myAzureLargeInstance",
"tags": {
"key": "value"
},
"type": "Microsoft.AzureLargeInstance/AzureLargeInstances",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2020-12-20T23:10:22.6828621Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-07-21T08:01:22.0000000Z"
},
"properties": {
"azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1",
"powerState": "restarting",
"hwRevision": "Rev 4.2",
"hardwareProfile": {
"hardwareType": "Cisco_UCS",
"azureLargeInstanceSize": "S72"
},
"networkProfile": {
"networkInterfaces": [
{
"ipAddress": "123.123.123.123"
}
],
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId"
},
"storageProfile": {
"nfsIpAddress": "123.123.119.123"
},
"osProfile": {
"computerName": "myComputerName",
"osType": "SLES 12 SP2",
"version": "12 SP2"
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"operationId": "AzureLargeInstance_ListByResourceGroup",
"title": "AzureLargeInstance_ListByResourceGroup",
"parameters": {
"api-version": "2024-04-10",
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd",
"resourceGroupName": "myResourceGroup"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeMetalInstance1",
"name": "myAzureLargeMetalInstance1",
"type": "Microsoft.AzureLargeInstance/AzureLargeInstances",
"location": "westus",
"tags": {
"key": "value"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2020-12-20T23:10:22.6828621Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-07-21T08:01:22.0000000Z"
},
"properties": {
"azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1",
"powerState": "started",
"proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
"hwRevision": "Rev 3",
"hardwareProfile": {
"hardwareType": "Cisco_UCS",
"azureLargeInstanceSize": "S72"
},
"networkProfile": {
"networkInterfaces": [
{
"ipAddress": "100.100.100.100"
}
],
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit"
},
"storageProfile": {
"nfsIpAddress": "200.200.200.200"
},
"osProfile": {
"computerName": "myComputerName1",
"osType": "SUSE",
"version": "12 SP1",
"sshPublicKey": "{ssh-rsa public key}"
},
"provisioningState": "Succeeded"
}
},
{
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myABMInstance2",
"name": "myABMInstance2",
"type": "Microsoft.AzureLargeInstance/AzureLargeInstances",
"location": "westus",
"tags": {
"key": "value"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-07-21T08:01:22.0000000Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-13T08:01:22.1234567Z"
},
"properties": {
"azureLargeInstanceId": "589bce49-9fe6-4dc8-82df-cf6ae25e0cb9",
"powerState": "started",
"proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
"hwRevision": "Rev 3",
"hardwareProfile": {
"hardwareType": "HPE",
"azureLargeInstanceSize": "S384"
},
"networkProfile": {
"networkInterfaces": [
{
"ipAddress": "100.100.100.101"
}
],
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit"
},
"storageProfile": {
"nfsIpAddress": "200.200.200.201"
},
"osProfile": {
"computerName": "myComputerName2",
"osType": "SUSE",
"version": "12 SP1",
"sshPublicKey": "{ssh-rsa public key}"
},
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"operationId": "AzureLargeInstance_ListBySubscription",
"title": "AzureLargeInstance_ListBySubscription",
"parameters": {
"api-version": "2024-04-10",
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/57d3422f-467a-448e-b798-ebf490849542/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeInstance1",
"location": "westus2",
"name": "myAzureLargeInstance1",
"tags": {
"key": "value"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-07-21T08:01:22.0000000Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-13T08:01:22.1234567Z"
},
"type": "Microsoft.AzureLargeInstance/AzureLargeInstances",
"properties": {
"azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1",
"powerState": "restarting",
"hwRevision": "Rev 4.2",
"hardwareProfile": {
"hardwareType": "Cisco_UCS",
"azureLargeInstanceSize": "S72"
},
"networkProfile": {
"networkInterfaces": [
{
"ipAddress": "123.123.123.123"
}
],
"circuitId": "/subscriptions/57d3422f-467a-448e-b798-ebf490849542/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId"
},
"storageProfile": {
"nfsIpAddress": "123.123.119.123"
},
"osProfile": {
"computerName": "myComputerName",
"osType": "SLES 12 SP2",
"version": "12 SP2"
},
"provisioningState": "Succeeded"
}
},
{
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeInstance2",
"location": "westus2",
"name": "myAzureLargeInstance2",
"tags": {
"key": "value"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-07-21T08:01:22.0000000Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-13T08:01:22.1234567Z"
},
"type": "Microsoft.AzureLargeInstance/AzureLargeInstances",
"properties": {
"azureLargeInstanceId": "589bce49-9fe6-4dc8-82df-cf6ae25e0cb9",
"powerState": "restarting",
"hwRevision": "Rev 4.2",
"hardwareProfile": {
"hardwareType": "Cisco_UCS",
"azureLargeInstanceSize": "S72"
},
"networkProfile": {
"networkInterfaces": [
{
"ipAddress": "123.123.123.123"
}
],
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId"
},
"storageProfile": {
"nfsIpAddress": "123.123.119.123"
},
"osProfile": {
"computerName": "myComputerName2",
"osType": "SLES 12 SP2",
"version": "12 SP2"
},
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"operationId": "AzureLargeInstance_Update",
"title": "AzureLargeInstance_Update_Tag",
"parameters": {
"api-version": "2024-04-10",
"subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd",
"resourceGroupName": "myResourceGroup",
"azureLargeInstanceName": "myALInstance",
"tagsParameter": {
"tags": {
"testkey": "testvalue"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myALInstance",
"name": "myALInstance",
"type": "Microsoft.AzureLargeInstance/AzureLargeInstances",
"location": "westus",
"tags": {
"testkey": "testvalue"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2020-12-20T23:10:22.6828621Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-07-21T08:01:22.0000000Z"
},
"properties": {
"azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1",
"powerState": "started",
"proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
"hwRevision": "Rev 3",
"hardwareProfile": {
"hardwareType": "Cisco_UCS",
"azureLargeInstanceSize": "S72"
},
"networkProfile": {
"networkInterfaces": [
{
"ipAddress": "100.100.100.100"
}
],
"circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit"
},
"storageProfile": {
"nfsIpAddress": "200.200.200.200"
},
"osProfile": {
"computerName": "myComputerName",
"osType": "SUSE",
"version": "12 SP1",
"sshPublicKey": "{ssh-rsa public key}"
},
"provisioningState": "Succeeded"
}
}
}
}
}
Loading

0 comments on commit 9061674

Please sign in to comment.