Skip to content

Commit

Permalink
Add new resources for 2022-06-01-preview (#19494)
Browse files Browse the repository at this point in the history
* update

* update

* update

* fix

* update

* update

* update

* update

* fix

* update

* update
  • Loading branch information
Juliehzl authored Jul 12, 2022
1 parent 481bb59 commit ec34aa3
Show file tree
Hide file tree
Showing 32 changed files with 2,440 additions and 290 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,303 @@
"type": "string"
}
}
},
"DaprComponentsCollection": {
"description": "Dapr Components ARM resource.",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of resources.",
"type": "array",
"items": {
"$ref": "#/definitions/DaprComponent"
}
},
"nextLink": {
"description": "Link to next page of resources.",
"type": "string",
"readOnly": true
}
}
},
"DaprComponent": {
"description": "Dapr Component.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
}
],
"properties": {
"properties": {
"description": "Dapr Component resource specific properties",
"type": "object",
"properties": {
"componentType": {
"description": "Component type",
"type": "string"
},
"version": {
"description": "Component version",
"type": "string"
},
"ignoreErrors": {
"description": "Boolean describing if the component errors are ignores",
"type": "boolean"
},
"initTimeout": {
"description": "Initialization timeout",
"type": "string"
},
"secrets": {
"description": "Collection of secrets used by a Dapr component",
"type": "array",
"items": {
"$ref": "./CommonDefinitions.json#/definitions/Secret"
},
"x-ms-identifiers": [
"name"
]
},
"metadata": {
"description": "Component metadata",
"type": "array",
"items": {
"$ref": "#/definitions/DaprMetadata"
},
"x-ms-identifiers": [
"name"
]
},
"scopes": {
"description": "Names of container apps that can use this Dapr component",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-client-flatten": true
}
}
},
"DaprMetadata": {
"description": "Dapr component metadata.",
"type": "object",
"properties": {
"name": {
"description": "Metadata property name.",
"type": "string"
},
"value": {
"description": "Metadata property value.",
"type": "string"
},
"secretRef": {
"description": "Name of the Dapr Component secret from which to pull the metadata property value.",
"type": "string"
}
}
},
"DaprSecretsCollection": {
"description": "Dapr component Secrets Collection ARM resource.",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of secrets used by a Dapr component",
"type": "array",
"items": {
"$ref": "./CommonDefinitions.json#/definitions/Secret"
},
"x-ms-identifiers": [
"name"
]
}
}
},
"ExtendedLocation": {
"type": "object",
"description": "The complex type of the extended location.",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"$ref": "#/definitions/ExtendedLocationType",
"description": "The type of the extended location."
}
}
},
"ExtendedLocationType": {
"type": "string",
"description": "The type of extendedLocation.",
"enum": [
"CustomLocation"
],
"x-ms-enum": {
"name": "ExtendedLocationTypes",
"modelAsString": true
}
},
"AzureFileProperties": {
"description": "Azure File Properties.",
"type": "object",
"properties": {
"accountName": {
"description": "Storage account name for azure file.",
"type": "string"
},
"accountKey": {
"description": "Storage account key for azure file.",
"type": "string",
"x-ms-secret": true
},
"accessMode": {
"description": "Access mode for storage",
"enum": [
"ReadOnly",
"ReadWrite"
],
"type": "string",
"x-ms-enum": {
"name": "AccessMode",
"modelAsString": true
}
},
"shareName": {
"description": "Azure file share name.",
"type": "string"
}
}
},
"Certificate": {
"description": "Certificate used for Custom Domain bindings of Container Apps in a Managed Environment",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
}
],
"properties": {
"properties": {
"description": "Certificate resource specific properties",
"type": "object",
"properties": {
"provisioningState": {
"description": "Provisioning state of the certificate.",
"enum": [
"Succeeded",
"Failed",
"Canceled",
"DeleteFailed",
"Pending"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "CertificateProvisioningState",
"modelAsString": true
}
},
"password": {
"description": "Certificate password.",
"type": "string",
"x-ms-mutability": [
"create"
],
"x-ms-secret": true
},
"subjectName": {
"description": "Subject name of the certificate.",
"type": "string",
"readOnly": true
},
"value": {
"format": "byte",
"description": "PFX or PEM blob",
"type": "string",
"x-ms-mutability": [
"create"
],
"x-ms-secret": true
},
"issuer": {
"description": "Certificate issuer.",
"type": "string",
"readOnly": true
},
"issueDate": {
"format": "date-time",
"description": "Certificate issue Date.",
"type": "string",
"readOnly": true
},
"expirationDate": {
"format": "date-time",
"description": "Certificate expiration date.",
"type": "string",
"readOnly": true
},
"thumbprint": {
"description": "Certificate thumbprint.",
"type": "string",
"readOnly": true
},
"valid": {
"description": "Is the certificate valid?.",
"type": "boolean",
"readOnly": true
},
"publicKeyHash": {
"description": "Public key hash.",
"type": "string",
"readOnly": true
}
}
}
},
"x-ms-client-flatten": true
},
"CertificateCollection": {
"description": "Collection of Certificates.",
"required": [
"value"
],
"type": "object",
"properties": {
"value": {
"description": "Collection of resources.",
"type": "array",
"items": {
"$ref": "#/definitions/Certificate"
}
},
"nextLink": {
"description": "Link to next page of resources.",
"type": "string",
"readOnly": true
}
}
},
"CertificatePatch": {
"description": "A certificate to update",
"type": "object",
"properties": {
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Application-specific metadata in the form of key-value pairs."
}
}
}
},
"securityDefinitions": {
Expand Down
Loading

0 comments on commit ec34aa3

Please sign in to comment.