Skip to content

Commit

Permalink
data: regenerating based on the latest Swagger (#4525)
Browse files Browse the repository at this point in the history
Co-authored-by: hc-github-team-tf-azure <>
  • Loading branch information
hc-github-team-tf-azure authored Oct 29, 2024
1 parent c6b6cb6 commit f87ca5f
Show file tree
Hide file tree
Showing 469 changed files with 17,816 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"apiVersion": "2023-11-01-preview",
"isPreview": true,
"generate": true,
"resources": [
"ArchiveVersions",
"Archives",
"CacheRules",
"ConnectedRegistries",
"CredentialSets",
"ExportPipelines",
"ImportPipelines",
"Operation",
"PipelineRuns",
"PrivateEndpointConnections",
"Registries",
"Replications",
"ScopeMaps",
"Tokens",
"WebHooks"
],
"source": "Azure/azure-rest-api-specs"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "ProvisioningState",
"type": "String",
"values": [
{
"key": "Canceled",
"value": "Canceled"
},
{
"key": "Creating",
"value": "Creating"
},
{
"key": "Deleting",
"value": "Deleting"
},
{
"key": "Failed",
"value": "Failed"
},
{
"key": "Succeeded",
"value": "Succeeded"
},
{
"key": "Updating",
"value": "Updating"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"name": "ArchiveVersion",
"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": "ArchiveVersionProperties",
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "systemData",
"name": "SystemData",
"objectDefinition": {
"type": "SystemData",
"nullable": false,
"referenceName": null,
"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,36 @@
{
"name": "ArchiveVersionProperties",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "archiveVersionErrorMessage",
"name": "ArchiveVersionErrorMessage",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "provisioningState",
"name": "ProvisioningState",
"objectDefinition": {
"type": "Reference",
"nullable": false,
"referenceName": "ProvisioningState",
"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,18 @@
{
"name": "Create",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200,
201
],
"longRunning": true,
"httpMethod": "PUT",
"resourceIdName": "VersionId",
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "ArchiveVersion",
"referenceNameIsCommonType": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Delete",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
202,
204
],
"longRunning": true,
"httpMethod": "DELETE",
"resourceIdName": "VersionId"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "Get",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200
],
"longRunning": false,
"httpMethod": "GET",
"resourceIdName": "VersionId",
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "ArchiveVersion",
"referenceNameIsCommonType": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "List",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200
],
"fieldContainingPaginationDetails": "nextLink",
"longRunning": false,
"httpMethod": "GET",
"resourceIdName": "ArchiveId",
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "ArchiveVersion",
"referenceNameIsCommonType": null
},
"uriSuffix": "/versions"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"name": "ArchiveId",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageName}/archives/{archiveName}",
"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": "staticMicrosoftContainerRegistry",
"type": "ResourceProvider",
"value": "Microsoft.ContainerRegistry"
},
{
"exampleValue": "",
"name": "staticRegistries",
"type": "Static",
"value": "registries"
},
{
"exampleValue": "registryName",
"name": "registryName",
"type": "UserSpecified"
},
{
"exampleValue": "",
"name": "staticPackages",
"type": "Static",
"value": "packages"
},
{
"exampleValue": "packageName",
"name": "packageName",
"type": "UserSpecified"
},
{
"exampleValue": "",
"name": "staticArchives",
"type": "Static",
"value": "archives"
},
{
"exampleValue": "archiveName",
"name": "archiveName",
"type": "UserSpecified"
}
]
}
Loading

0 comments on commit f87ca5f

Please sign in to comment.