Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
},
"ApiManagementCreateWorkspacePremiumGateway": {
"$ref": "./examples/ApiManagementCreateWorkspacePremiumGateway.json"
},
"ApiManagementCreateWorkspacePremiumKubernetesManagedGateway": {
"$ref": "./examples/ApiManagementCreateWorkspacePremiumGatewayKubernetesManaged.json"
}
},
"parameters": [
Expand Down Expand Up @@ -103,6 +106,9 @@
"x-ms-examples": {
"ApiManagementUpdateStandardGateway": {
"$ref": "./examples/ApiManagementUpdateStandardGateway.json"
},
"ApiManagementUpdatePremiumKubernetesManagedGateway": {
"$ref": "./examples/ApiManagementUpdatePremiumGatewayKubernetesManaged.json"
}
},
"parameters": [
Expand Down Expand Up @@ -162,6 +168,9 @@
"x-ms-examples": {
"ApiManagementGatewayGetGateway": {
"$ref": "./examples/ApiManagementGatewayGetGateway.json"
},
"ApiManagementGatewayGetKubernetesManagedGateway": {
"$ref": "./examples/ApiManagementGatewayGetKubernetesManagedGateway.json"
}
},
"parameters": [
Expand Down Expand Up @@ -666,6 +675,28 @@
"type": "string",
"description": "ETag of the resource.",
"readOnly": true
},
"kind": {
"type": "string",
"description": "The kind of gateway.",
"enum": [
"KubernetesManaged",
"Default"
],
"x-ms-enum": {
"name": "GatewayKind",
"modelAsString": true,
"values": [
{
"value": "Default",
Comment thread
solankisamir marked this conversation as resolved.
"description": "Kind of gateway that is capable of exposing APIs for workspaces using configuration managed through Azure Resource Manager (ARM)."
},
{
"value": "KubernetesManaged",
"description": "Kind of gateway that is capable of exposing traffic routes for workspaces using configuration managed by Kubernetes resources."
}
]
}
}
},
"allOf": [
Expand Down Expand Up @@ -834,4 +865,3 @@
},
"parameters": {}
}

Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@
"x-ms-examples": {
"ApiManagementGetWorkspace": {
"$ref": "./examples/ApiManagementGetWorkspace.json"
},
"ApiManagementGetKubernetesManagedWorkspace": {
"$ref": "./examples/ApiManagementGetKubernetesManagedWorkspace.json"
}
},
"parameters": [
Expand Down Expand Up @@ -198,6 +201,9 @@
"x-ms-examples": {
"ApiManagementCreateWorkspace": {
"$ref": "./examples/ApiManagementCreateWorkspace.json"
},
"ApiManagementCreateKubernetesWorkspace": {
"$ref": "./examples/ApiManagementCreateKubernetesWorkspace.json"
}
},
"parameters": [
Expand Down Expand Up @@ -8365,4 +8371,3 @@
"definitions": {},
"parameters": {}
}

Original file line number Diff line number Diff line change
Expand Up @@ -9232,6 +9232,17 @@
"description": {
"type": "string",
"description": "Description of the workspace."
},
"configurationApi": {
Comment thread
halspang marked this conversation as resolved.
"type": "object",
"properties": {
"hostname": {
"readOnly": true,
"type": "string",
"description": "Hostname to which the agent connects to propagate configuration to the cloud."
}
},
"description": "Information regarding the Configuration API."
}
},
"required": [
Expand Down Expand Up @@ -9575,4 +9586,3 @@
},
"parameters": {}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
"api-version": "2024-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"workspaceId": "wks1",
"parameters": {
"properties": {
"displayName": "my workspace",
"description": "workspace 1"
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1",
"type": "Microsoft.ApiManagement/service/workspaces",
"name": "wks1",
"properties": {
"description": "workspace 1",
"displayName": "my workspace",
"configurationApi": {
"hostname": "tenant1.configuration.eastus-01.azure-api.net"
}
}
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1",
"type": "Microsoft.ApiManagement/service/workspaces",
"name": "wks1",
"properties": {
"description": "workspace 1",
"displayName": "my workspace",
"configurationApi": {
"hostname": "tenant1.configuration.eastus-01.azure-api.net"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
}
},
"configurationApi": {
"hostname": "apimGateway1.eastus.configuration.gateway.azure-api.net"
"hostname": "tenant1.configuration.eastus-01.azure-api.net"
}
},
"sku": {
Expand All @@ -104,4 +104,3 @@
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"parameters": {
"gatewayName": "apimGateway1",
"resourceGroupName": "rg1",
"api-version": "2024-10-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"
},
"kind": "KubernetesManaged"
}
},
"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=2024-10-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=2024-10-01-preview&asyncResponse"
},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/gateways/apimGateway1",
"name": "apimGateway1",
"type": "Microsoft.ApiManagement/gateway",
Comment thread
halspang marked this conversation as resolved.
"tags": {
"api-version": "2024-10-01-preview"
},
"location": "East US",
"etag": "AAAAAAAmRAM=",
"kind": "KubernetesManaged",
"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": "WorkspaceGatewayPremium",
"capacity": 1
},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2022-07-11T18:41:00.9390609Z",
"lastModifiedBy": "user@contoso.com",
"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",
Comment thread
halspang marked this conversation as resolved.
"tags": {
"api-version": "2024-10-01-preview"
},
"location": "East US",
"etag": "AAAAAAAmREI=",
"kind": "KubernetesManaged",
"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": "WorkspaceGatewayPremium",
"capacity": 1
},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2022-07-11T18:41:00.9390609Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-07-11T18:41:00.9390609Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"configurationApi": {
"hostname": "example-gateway.westus.configuration.gateway.azure-api.net"
"hostname": "tenant1.configuration.eastus-01.azure-api.net"
}
},
"sku": {
Expand All @@ -42,4 +42,3 @@
"204": {}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"configurationApi": {
"hostname": "example-gateway.eastus.configuration.gateway.azure-api.net"
"hostname": "tenant1.configuration.eastus-01.azure-api.net"
}
},
"sku": {
Expand All @@ -49,4 +49,3 @@
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"gatewayName": "apimService1",
"resourceGroupName": "rg1",
"api-version": "2024-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/gateway/example-gateway",
Comment thread
halspang marked this conversation as resolved.
"name": "example-gateway",
"type": "Microsoft.ApiManagement/gateway",
"kind": "KubernetesManaged",
"tags": {
"owner": "v-aswmoh",
"ReleaseName": "Z3"
},
"location": "East US",
"etag": "AAAAAAAWN/4=",
"properties": {
"targetProvisioningState": "",
"createdAtUtc": "2021-06-16T09:40:00.9453556Z",
"frontend": {
"defaultHostname": "example-gateway.eastus.gateway.azure-api.net"
},
"backend": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vn1/subnets/sn1"
}
}
},
"sku": {
"name": "WorkspaceGatewayPremium",
"capacity": 1
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2021-06-16T09:40:00.7106733Z",
"lastModifiedBy": "foo@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-06-20T06:33:09.6159006Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
"api-version": "2024-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"workspaceId": "wks1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1",
"type": "Microsoft.ApiManagement/service/workspaces",
"name": "wks1",
"properties": {
"description": "workspace 1",
"displayName": "my workspace",
"configurationApi": {
"hostname": "tenant1.configuration.eastus-01.azure-api.net"
}
}
}
}
}
}
Loading