Skip to content

Commit b12da68

Browse files
author
Nelson Wu
committed
add v22_02
1 parent c566903 commit b12da68

File tree

1 file changed

+67
-63
lines changed
  • specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2022-02-01-preview

1 file changed

+67
-63
lines changed

specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2022-02-01-preview/containerregistry.json

+67-63
Original file line numberDiff line numberDiff line change
@@ -2974,9 +2974,6 @@
29742974
"items": {
29752975
"$ref": "#/definitions/StatusDetailProperties"
29762976
},
2977-
"x-ms-identifiers": [
2978-
"correlationId"
2979-
],
29802977
"readOnly": true
29812978
},
29822979
"notificationsList": {
@@ -3720,10 +3717,7 @@
37203717
"type": "array",
37213718
"items": {
37223719
"$ref": "#/definitions/OperationDefinition"
3723-
},
3724-
"x-ms-identifiers": [
3725-
"name"
3726-
]
3720+
}
37273721
},
37283722
"nextLink": {
37293723
"description": "The URI that can be used to request the next list of container registry operations.",
@@ -3799,20 +3793,14 @@
37993793
"type": "array",
38003794
"items": {
38013795
"$ref": "#/definitions/OperationMetricSpecificationDefinition"
3802-
},
3803-
"x-ms-identifiers": [
3804-
"name"
3805-
]
3796+
}
38063797
},
38073798
"logSpecifications": {
38083799
"description": "A list of Azure Monitoring log definitions.",
38093800
"type": "array",
38103801
"items": {
38113802
"$ref": "#/definitions/OperationLogSpecificationDefinition"
3812-
},
3813-
"x-ms-identifiers": [
3814-
"name"
3815-
]
3803+
}
38163804
}
38173805
}
38183806
},
@@ -4463,6 +4451,19 @@
44634451
}
44644452
}
44654453
},
4454+
"StorageAccountProperties": {
4455+
"description": "The properties of a storage account for a container registry. Only applicable to Classic SKU.",
4456+
"required": [
4457+
"id"
4458+
],
4459+
"type": "object",
4460+
"properties": {
4461+
"id": {
4462+
"description": "The resource ID of the storage account.",
4463+
"type": "string"
4464+
}
4465+
}
4466+
},
44664467
"NetworkRuleSet": {
44674468
"description": "The network rule set for a container registry.",
44684469
"required": [
@@ -4483,20 +4484,12 @@
44834484
"modelAsString": true
44844485
}
44854486
},
4486-
"virtualNetworkRules": {
4487-
"description": "The virtual network rules.",
4488-
"type": "array",
4489-
"items": {
4490-
"$ref": "#/definitions/VirtualNetworkRule"
4491-
}
4492-
},
44934487
"ipRules": {
44944488
"description": "The IP ACL rules.",
44954489
"type": "array",
44964490
"items": {
44974491
"$ref": "#/definitions/IPRule"
4498-
},
4499-
"x-ms-identifiers": []
4492+
}
45004493
}
45014494
}
45024495
},
@@ -4519,6 +4512,10 @@
45194512
"exportPolicy": {
45204513
"$ref": "#/definitions/ExportPolicy",
45214514
"description": "The export policy for a container registry."
4515+
},
4516+
"softDeletePolicy": {
4517+
"$ref": "#/definitions/SoftDeletePolicy",
4518+
"description": "The soft delete policy for a container registry."
45224519
}
45234520
}
45244521
},
@@ -4543,29 +4540,18 @@
45434540
}
45444541
}
45454542
},
4546-
"VirtualNetworkRule": {
4547-
"description": "Virtual network rule.",
4548-
"required": [
4549-
"id"
4550-
],
4543+
"PackageType": {
4544+
"description": "The properties of a package type.",
45514545
"type": "object",
45524546
"properties": {
4553-
"action": {
4554-
"description": "The action of virtual network rule.",
4555-
"default": "Allow",
4556-
"enum": [
4557-
"Allow"
4558-
],
4559-
"type": "string",
4560-
"x-ms-enum": {
4561-
"name": "Action",
4562-
"modelAsString": true
4563-
}
4547+
"name": {
4548+
"description": "The name of the package type.",
4549+
"type": "string"
45644550
},
4565-
"id": {
4566-
"description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.",
4551+
"endpoint": {
4552+
"description": "The endpoint of the package type.",
45674553
"type": "string",
4568-
"x-ms-client-name": "VirtualNetworkResourceId"
4554+
"readOnly": true
45694555
}
45704556
}
45714557
},
@@ -4695,6 +4681,37 @@
46954681
}
46964682
}
46974683
},
4684+
"SoftDeletePolicy": {
4685+
"description": "The soft delete policy for a container registry",
4686+
"type": "object",
4687+
"properties": {
4688+
"retentionDays": {
4689+
"format": "int32",
4690+
"description": "The number of days after which a soft-deleted item is permanently deleted.",
4691+
"default": 7,
4692+
"type": "integer"
4693+
},
4694+
"lastUpdatedTime": {
4695+
"format": "date-time",
4696+
"description": "The timestamp when the policy was last updated.",
4697+
"type": "string",
4698+
"readOnly": true
4699+
},
4700+
"status": {
4701+
"description": "The value that indicates whether the policy is enabled or not.",
4702+
"default": "disabled",
4703+
"enum": [
4704+
"enabled",
4705+
"disabled"
4706+
],
4707+
"type": "string",
4708+
"x-ms-enum": {
4709+
"name": "PolicyStatus",
4710+
"modelAsString": true
4711+
}
4712+
}
4713+
}
4714+
},
46984715
"KeyVaultProperties": {
46994716
"type": "object",
47004717
"properties": {
@@ -4814,10 +4831,7 @@
48144831
"type": "array",
48154832
"items": {
48164833
"$ref": "#/definitions/RegistryUsage"
4817-
},
4818-
"x-ms-identifiers": [
4819-
"name"
4820-
]
4834+
}
48214835
}
48224836
}
48234837
},
@@ -4931,8 +4945,7 @@
49314945
"type": "array",
49324946
"items": {
49334947
"$ref": "#/definitions/RegistryPassword"
4934-
},
4935-
"x-ms-identifiers": []
4948+
}
49364949
}
49374950
}
49384951
},
@@ -5284,17 +5297,13 @@
52845297
"type": "array",
52855298
"items": {
52865299
"$ref": "#/definitions/TokenCertificate"
5287-
},
5288-
"x-ms-identifiers": [
5289-
"thumbprint"
5290-
]
5300+
}
52915301
},
52925302
"passwords": {
52935303
"type": "array",
52945304
"items": {
52955305
"$ref": "#/definitions/TokenPassword"
5296-
},
5297-
"x-ms-identifiers": []
5306+
}
52985307
}
52995308
}
53005309
},
@@ -5452,8 +5461,7 @@
54525461
"type": "array",
54535462
"items": {
54545463
"$ref": "#/definitions/TokenPassword"
5455-
},
5456-
"x-ms-identifiers": []
5464+
}
54575465
}
54585466
}
54595467
},
@@ -5989,11 +5997,7 @@
59895997
"type": "array",
59905998
"items": {
59915999
"$ref": "#/definitions/InnerErrorDescription"
5992-
},
5993-
"x-ms-identifiers": [
5994-
"message",
5995-
"target"
5996-
]
6000+
}
59976001
}
59986002
}
59996003
},
@@ -6185,4 +6189,4 @@
61856189
]
61866190
}
61876191
]
6188-
}
6192+
}

0 commit comments

Comments
 (0)