Skip to content

Commit

Permalink
data: regenerating based on the latest Swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-azure committed Oct 23, 2024
1 parent a148cf1 commit c9df13d
Show file tree
Hide file tree
Showing 82 changed files with 3,542 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"apiVersion": "2024-09-01-preview",
"isPreview": true,
"generate": true,
"resources": [
"NginxApiKey",
"NginxCertificate",
"NginxConfiguration",
"NginxConfigurationAnalysis",
"NginxDeployment"
],
"source": "Azure/azure-rest-api-specs"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"name": "NginxDeploymentApiKeyRequest",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "id",
"name": "Id",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "name",
"name": "Name",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "properties",
"name": "Properties",
"objectDefinition": {
"type": "Reference",
"nullable": false,
"referenceName": "NginxDeploymentApiKeyRequestProperties",
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "type",
"name": "Type",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
],
"IsParent": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "NginxDeploymentApiKeyRequestProperties",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"dateFormat": "RFC3339",
"jsonName": "endDateTime",
"name": "EndDateTime",
"objectDefinition": {
"type": "DateTime",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "secretText",
"name": "SecretText",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
],
"IsParent": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"name": "NginxDeploymentApiKeyResponse",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "id",
"name": "Id",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "name",
"name": "Name",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "properties",
"name": "Properties",
"objectDefinition": {
"type": "Reference",
"nullable": false,
"referenceName": "NginxDeploymentApiKeyResponseProperties",
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "type",
"name": "Type",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
],
"IsParent": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "NginxDeploymentApiKeyResponseProperties",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"dateFormat": "RFC3339",
"jsonName": "endDateTime",
"name": "EndDateTime",
"objectDefinition": {
"type": "DateTime",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "hint",
"name": "Hint",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
],
"IsParent": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "ApiKeysCreateOrUpdate",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200,
201
],
"longRunning": false,
"httpMethod": "PUT",
"resourceIdName": "ApiKeyId",
"requestObject": {
"type": "Reference",
"nullable": false,
"referenceName": "NginxDeploymentApiKeyRequest",
"referenceNameIsCommonType": null
},
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "NginxDeploymentApiKeyResponse",
"referenceNameIsCommonType": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "ApiKeysDelete",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200,
204
],
"longRunning": false,
"httpMethod": "DELETE",
"resourceIdName": "ApiKeyId"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "ApiKeysGet",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200
],
"longRunning": false,
"httpMethod": "GET",
"resourceIdName": "ApiKeyId",
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "NginxDeploymentApiKeyResponse",
"referenceNameIsCommonType": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "ApiKeysList",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200
],
"fieldContainingPaginationDetails": "nextLink",
"longRunning": false,
"httpMethod": "GET",
"resourceIdName": "NginxDeploymentId",
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "NginxDeploymentApiKeyResponse",
"referenceNameIsCommonType": null
},
"uriSuffix": "/apiKeys"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "ApiKeyId",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Nginx.NginxPlus/nginxDeployments/{nginxDeploymentName}/apiKeys/{apiKeyName}",
"segments": [
{
"exampleValue": "",
"name": "staticSubscriptions",
"type": "Static",
"value": "subscriptions"
},
{
"exampleValue": "",
"name": "subscriptionId",
"type": "SubscriptionId"
},
{
"exampleValue": "",
"name": "staticResourceGroups",
"type": "Static",
"value": "resourceGroups"
},
{
"exampleValue": "",
"name": "resourceGroupName",
"type": "ResourceGroup"
},
{
"exampleValue": "",
"name": "staticProviders",
"type": "Static",
"value": "providers"
},
{
"exampleValue": "",
"name": "staticNginxNginxPlus",
"type": "ResourceProvider",
"value": "Nginx.NginxPlus"
},
{
"exampleValue": "",
"name": "staticNginxDeployments",
"type": "Static",
"value": "nginxDeployments"
},
{
"exampleValue": "nginxDeploymentName",
"name": "nginxDeploymentName",
"type": "UserSpecified"
},
{
"exampleValue": "",
"name": "staticApiKeys",
"type": "Static",
"value": "apiKeys"
},
{
"exampleValue": "apiKeyName",
"name": "apiKeyName",
"type": "UserSpecified"
}
]
}
Loading

0 comments on commit c9df13d

Please sign in to comment.