Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
new skutype
  • Loading branch information
solankisamir committed Apr 30, 2024
commit f946a4be6507c6b4569da5807bc859994e630339
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
"x-ms-examples": {
"ApiManagementCreateStandardGateway": {
"$ref": "./examples/ApiManagementCreateStandardGateway.json"
},
"ApiManagementCreateWorkspacePremiumGateway": {
"$ref": "./examples/ApiManagementCreateWorkspacePremiumGateway.json"
}
},
"parameters": [
Expand Down Expand Up @@ -334,15 +337,25 @@
"url": "https://azure.microsoft.com/en-us/pricing/details/api-management/"
},
"enum": [
"Standard"
"Standard",
"WorkspaceGatewayStandard",
"WorkspaceGatewayPremium"
],
"x-ms-enum": {
"name": "SkuType",
"modelAsString": true,
"values": [
{
"value": "Standard",
"description": "Standard SKU of the API gateway."
"description": "Standard SKU of the API gateway."
},
{
"value": "WorkspaceGatewayStandard",
"description": "Standard SKU of the API gateway to be used in Workspaces."
},
{
"value": "WorkspaceGatewayPremium",
"description": "Standard SKU of the API gateway to be used in Workspaces."
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"parameters": {
"gatewayName": "apimGateway1",
"resourceGroupName": "rg1",
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"parameters": {
"properties": {
"backend": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vn1/subnets/sn1"
}
}
},
"sku": {
"name": "WorkspaceGatewayPremium",
"capacity": 1
},
"location": "South Central US",
"tags": {
"Name": "Contoso",
"Test": "User"
}
}
},
"responses": {
"201": {
"headers": {
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/gateways/apimGateway1/operationresults/ZWFzdHVzOmFuZHktdGVzdGluZy0yMDIyLTA0LTAxLXByZXZpZXctNF9BY3RfODQ2ZWE4Ng==?api-version=2023-09-01-preview&asyncResponse",
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/gateways/apimGateway1/operationresults/ZWFzdHVzOmFuZHktdGVzdGluZy0yMDIyLTA0LTAxLXByZXZpZXctNF9BY3RfODQ2ZWE4Ng==?api-version=2023-09-01-preview&asyncResponse"
},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/gateways/apimGateway1",
"name": "apimGateway1",
"type": "Microsoft.ApiManagement/gateway",
"tags": {
"api-version": "2023-09-01-preview"
},
"location": "East US",
"etag": "AAAAAAAmRAM=",
"properties": {
"provisioningState": "Created",
"targetProvisioningState": "Activating",
"createdAtUtc": "2022-07-11T18:41:01.2506031Z",
"backend": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vn1/subnets/sn1"
}
}
},
"sku": {
"name": "Standard",
"capacity": 1
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-07-11T18:41:00.9390609Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-07-11T18:41:00.9390609Z"
}
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/gateways/apimGateway1",
"name": "apimGateway1",
"type": "Microsoft.ApiManagement/gateways",
"tags": {
"api-version": "2023-09-01-preview"
},
"location": "East US",
"etag": "AAAAAAAmREI=",
"properties": {
"provisioningState": "Succeeded",
"targetProvisioningState": "",
"createdAtUtc": "2022-07-11T18:41:01.2506031Z",
"backend": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vn1/subnets/sn1"
}
}
},
"sku": {
"name": "Standard",
"capacity": 1
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2022-07-11T18:41:00.9390609Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-07-11T18:41:00.9390609Z"
}
}
}
}
}