Skip to content

Commit

Permalink
SystemData implemenation on API Management Control Plane (Azure#14899)
Browse files Browse the repository at this point in the history
* system-data

* fix spec

* remove unreferenced file
  • Loading branch information
solankisamir committed Aug 27, 2021
1 parent 45eb45b commit 8c0bf6e
Show file tree
Hide file tree
Showing 23 changed files with 791 additions and 304 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"publicIPAddresses": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"virtualNetworkType": "None",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"publicIpAddressId": "/subscriptions/subid/resourceGroups/rgName/providers/Microsoft.Network/publicIPAddresses/apimazvnet",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"virtualNetworkType": "None",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": false,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
},
{
"type": "Proxy",
Expand Down Expand Up @@ -175,7 +175,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": false,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
},
{
"type": "Proxy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"publicIPAddresses": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"virtualNetworkType": "None"
Expand Down Expand Up @@ -99,7 +99,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"customProperties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": false,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
},
{
"type": "Proxy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": false,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
},
{
"type": "Proxy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": false,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
},
{
"type": "Proxy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,6 @@
"ApiManagementServiceGetService": {
"$ref": "./examples/ApiManagementServiceGetService.json"
},
"ApiManagementServiceGetServiceHavingMsi": {
"$ref": "./examples/ApiManagementServiceGetServiceHavingMsi.json"
},
"ApiManagementServiceGetMultiRegionInternalVnet": {
"$ref": "./examples/ApiManagementServiceGetMultiRegionInternalVnet.json"
}
Expand Down Expand Up @@ -1270,6 +1267,18 @@
"type": "string",
"description": "Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the region. Supported only for Developer and Premium SKU being deployed in Virtual Network."
},
"publicNetworkAccess": {
"description": "Whether or not public endpoint access is allowed for this API Management service. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'",
"enum": [
"Enabled",
"Disabled"
],
"type": "string",
"x-ms-enum": {
"name": "PublicNetworkAccess",
"modelAsString": true
}
},
"virtualNetworkConfiguration": {
"$ref": "#/definitions/VirtualNetworkConfiguration",
"description": "Virtual network configuration of the API Management service."
Expand Down Expand Up @@ -1429,6 +1438,11 @@
"$ref": "#/definitions/ApiManagementServiceIdentity",
"description": "Managed service identity of the Api Management service."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"description": "Metadata pertaining to creation and last modification of the resource.",
"readOnly": true
},
"location": {
"type": "string",
"description": "Resource location.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
"sku": {
"name": "Developer",
"capacity": 1
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
Expand Down Expand Up @@ -90,7 +98,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"publicIPAddresses": [
Expand All @@ -113,6 +121,14 @@
"sku": {
"name": "Developer",
"capacity": 1
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
"type": "SystemAssigned",
"principalId": "dfb9a757-df69-4966-a8d0-711a9cd8ffb4",
"tenantId": "XXXXXX-86f1-41af-91ab-2d7cd011db47"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
Expand Down Expand Up @@ -94,7 +102,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"virtualNetworkType": "None",
Expand All @@ -108,6 +116,14 @@
"type": "SystemAssigned",
"principalId": "dfb9a757-df69-4966-a8d0-711a9cd8ffb4",
"tenantId": "XXXXXX-86f1-41af-91ab-2d7cd011db47"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"publicIpAddressId": "/subscriptions/subid/resourceGroups/rgName/providers/Microsoft.Network/publicIPAddresses/apimazvnet",
Expand All @@ -76,7 +76,15 @@
"zones": [
"1",
"2"
]
],
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
"200": {
Expand Down Expand Up @@ -139,7 +147,15 @@
"zones": [
"1",
"2"
]
],
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"virtualNetworkType": "None",
Expand All @@ -67,7 +67,15 @@
"zones": [
"1",
"2"
]
],
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
"200": {
Expand Down Expand Up @@ -126,7 +134,15 @@
"zones": [
"1",
"2"
]
],
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": false,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
},
{
"type": "Proxy",
Expand Down Expand Up @@ -141,6 +141,14 @@
"userAssignedIdentities": {
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}
}
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
Expand Down Expand Up @@ -175,7 +183,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": false,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
},
{
"type": "Proxy",
Expand Down Expand Up @@ -252,6 +260,14 @@
"clientId": "329419bc-adec-4dce-9568-25a6d486e468"
}
}
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@
"sku": {
"name": "Basic",
"capacity": 1
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
Expand Down Expand Up @@ -110,7 +118,7 @@
"hostName": "apimService1.azure-api.net",
"negotiateClientCertificate": false,
"defaultSslBinding": true,
"certificateSource": "Managed"
"certificateSource": "BuiltIn"
}
],
"publicIPAddresses": [
Expand Down Expand Up @@ -143,6 +151,14 @@
"sku": {
"name": "Basic",
"capacity": 1
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-02-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-02-02T02:03:01.1974346Z"
}
}
},
Expand Down
Loading

0 comments on commit 8c0bf6e

Please sign in to comment.