374 строки
13 KiB
JSON
374 строки
13 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Attestation.json#",
|
|
"title": "Microsoft.Attestation",
|
|
"description": "Microsoft Attestation Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"attestationProviders": {
|
|
"description": "Microsoft.Attestation/attestationProviders",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2021-06-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The supported Azure location where the attestation provider should be created.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the attestation provider.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of the attestation provider",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AttestationServiceCreationSpecificParams"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/attestationProviders_privateEndpointConnections_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tags": {
|
|
"description": "The tags that will be assigned to the attestation provider.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.Attestation/attestationProviders"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"attestationProviders_privateEndpointConnections": {
|
|
"description": "Microsoft.Attestation/attestationProviders/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2021-06-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection associated with the Azure resource",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Resource properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.Attestation/attestationProviders/privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"AttestationServiceCreationSpecificParams": {
|
|
"description": "Client supplied parameters used to create a new attestation provider.",
|
|
"properties": {
|
|
"policySigningCertificates": {
|
|
"description": "JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/JsonWebKeySet"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"publicNetworkAccess": {
|
|
"description": "Controls whether traffic from the public network is allowed to access the Attestation Provider APIs.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Enabled",
|
|
"Disabled"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tpmAttestationAuthentication": {
|
|
"description": "The setting that controls whether authentication is enabled or disabled for TPM Attestation REST APIs.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Enabled",
|
|
"Disabled"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"JsonWebKey": {
|
|
"properties": {
|
|
"alg": {
|
|
"description": "The \"alg\" (algorithm) parameter identifies the algorithm intended for\nuse with the key. The values used should either be registered in the\nIANA \"JSON Web Signature and Encryption Algorithms\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name.",
|
|
"type": "string"
|
|
},
|
|
"crv": {
|
|
"description": "The \"crv\" (curve) parameter identifies the curve type",
|
|
"type": "string"
|
|
},
|
|
"d": {
|
|
"description": "RSA private exponent or ECC private key",
|
|
"type": "string"
|
|
},
|
|
"dp": {
|
|
"description": "RSA Private Key Parameter",
|
|
"type": "string"
|
|
},
|
|
"dq": {
|
|
"description": "RSA Private Key Parameter",
|
|
"type": "string"
|
|
},
|
|
"e": {
|
|
"description": "RSA public exponent, in Base64",
|
|
"type": "string"
|
|
},
|
|
"k": {
|
|
"description": "Symmetric key",
|
|
"type": "string"
|
|
},
|
|
"kid": {
|
|
"description": "The \"kid\" (key ID) parameter is used to match a specific key. This\nis used, for instance, to choose among a set of keys within a JWK Set\nduring key rollover. The structure of the \"kid\" value is\nunspecified. When \"kid\" values are used within a JWK Set, different\nkeys within the JWK Set SHOULD use distinct \"kid\" values. (One\nexample in which different keys might use the same \"kid\" value is if\nthey have different \"kty\" (key type) values but are considered to be\nequivalent alternatives by the application using them.) The \"kid\"\nvalue is a case-sensitive string.",
|
|
"type": "string"
|
|
},
|
|
"kty": {
|
|
"description": "The \"kty\" (key type) parameter identifies the cryptographic algorithm\nfamily used with the key, such as \"RSA\" or \"EC\". \"kty\" values should\neither be registered in the IANA \"JSON Web Key Types\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name. The \"kty\" value is a case-sensitive string.",
|
|
"type": "string"
|
|
},
|
|
"n": {
|
|
"description": "RSA modulus, in Base64",
|
|
"type": "string"
|
|
},
|
|
"p": {
|
|
"description": "RSA secret prime",
|
|
"type": "string"
|
|
},
|
|
"q": {
|
|
"description": "RSA secret prime, with p < q",
|
|
"type": "string"
|
|
},
|
|
"qi": {
|
|
"description": "RSA Private Key Parameter",
|
|
"type": "string"
|
|
},
|
|
"use": {
|
|
"description": "Use (\"public key use\") identifies the intended use of\nthe public key. The \"use\" parameter is employed to indicate whether\na public key is used for encrypting data or verifying the signature\non data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).",
|
|
"type": "string"
|
|
},
|
|
"x": {
|
|
"description": "X coordinate for the Elliptic Curve point",
|
|
"type": "string"
|
|
},
|
|
"x5c": {
|
|
"description": "The \"x5c\" (X.509 certificate chain) parameter contains a chain of one\nor more PKIX certificates [RFC5280]. The certificate chain is\nrepresented as a JSON array of certificate value strings. Each\nstring in the array is a base64-encoded (Section 4 of [RFC4648] --\nnot base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.\nThe PKIX certificate containing the key value MUST be the first\ncertificate.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"y": {
|
|
"description": "Y coordinate for the Elliptic Curve point",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"kty"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"JsonWebKeySet": {
|
|
"properties": {
|
|
"keys": {
|
|
"description": "The value of the \"keys\" parameter is an array of JWK values. By\ndefault, the order of the JWK values within the array does not imply\nan order of preference among them, although applications of JWK Sets\ncan choose to assign a meaning to the order for their purposes, if\ndesired.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/JsonWebKey"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpoint": {
|
|
"description": "The Private Endpoint resource.",
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpointConnectionProperties": {
|
|
"description": "Properties of the PrivateEndpointConnectProperties.",
|
|
"properties": {
|
|
"privateEndpoint": {
|
|
"description": "The resource of private end point.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpoint"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"privateLinkServiceConnectionState": {
|
|
"description": "A collection of information about the state of the connection between service consumer and provider.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"privateLinkServiceConnectionState"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PrivateLinkServiceConnectionState": {
|
|
"description": "A collection of information about the state of the connection between service consumer and provider.",
|
|
"properties": {
|
|
"actionsRequired": {
|
|
"description": "A message indicating if changes on the service provider require any updates on the consumer.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "The reason for approval/rejection of the connection.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Pending",
|
|
"Approved",
|
|
"Rejected"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"attestationProviders_privateEndpointConnections_childResource": {
|
|
"description": "Microsoft.Attestation/attestationProviders/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2021-06-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection associated with the Azure resource",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Resource properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |