Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Async Operation for ConnectedEnvironment SubResources #30782

Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,70 @@
}
}
},
"DaprComponentProperties": {
"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",
"default": false
},
"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"
]
},
"secretStoreComponent": {
"description": "Name of a Dapr component to retrieve component secrets from",
"type": "string"
},
"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"
}
},
"serviceComponentBind": {
"description": "List of container app services that are bound to the Dapr component",
"type": "array",
"items": {
"$ref": "#/definitions/DaprComponentServiceBinding"
},
"x-ms-identifiers": [
"name"
]
}
}
},
"DaprComponent": {
"description": "Dapr Component.",
"type": "object",
Expand All @@ -844,68 +908,7 @@
],
"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",
"default": false
},
"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"
]
},
"secretStoreComponent": {
"description": "Name of a Dapr component to retrieve component secrets from",
"type": "string"
},
"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"
}
},
"serviceComponentBind": {
"description": "List of container app services that are bound to the Dapr component",
"type": "array",
"items": {
"$ref": "#/definitions/DaprComponentServiceBinding"
},
"x-ms-identifiers": [
"name"
]
}
},
"$ref": "#/definitions/DaprComponent",
"x-ms-client-flatten": true
}
}
Expand Down Expand Up @@ -1421,6 +1424,11 @@
"modelAsString": true
}
},
"deploymentErrors": {
"description": "Any errors that occurred during deployment or deployment validation",
"type": "string",
"readOnly": true
},
"certificateKeyVaultProperties": {
"description": "Properties for a certificate stored in a Key Vault.",
"$ref": "#/definitions/CertificateKeyVaultProperties"
Expand Down Expand Up @@ -2181,4 +2189,3 @@
}
]
}

Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,3 @@
}
]
}

Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@
],
"summary": "Create or Update a Certificate.",
"operationId": "ConnectedEnvironmentsCertificates_CreateOrUpdate",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
Expand Down Expand Up @@ -165,10 +169,16 @@
"$ref": "./CommonDefinitions.json#/definitions/Certificate"
}
},
"201": {
"description": "Created",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/Certificate"
}
},
"default": {
"description": "Error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
Expand All @@ -185,6 +195,10 @@
],
"summary": "Deletes the specified Certificate.",
"operationId": "ConnectedEnvironmentsCertificates_Delete",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
Expand All @@ -211,16 +225,21 @@
}
],
"responses": {
"200": {
"description": "Delete operation completed"
},
"204": {
"description": "Certificate does not exist"
},
"202": {
"description": "Delete operation is accepted",
"headers": {
"Location": {
"type": "string"
}
}
},
"default": {
"description": "Error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
Expand All @@ -238,6 +257,10 @@
"summary": "Update properties of a certificate",
"description": "Patches a certificate. Currently only patching of tags is supported",
"operationId": "ConnectedEnvironmentsCertificates_Update",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
Expand Down Expand Up @@ -279,10 +302,18 @@
"$ref": "./CommonDefinitions.json#/definitions/Certificate"
}
},
"202": {
"description": "Patch operation is in progress.",
"headers": {
"Location": {
"type": "string"
}
}
},
"default": {
"description": "Common error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -313,4 +344,3 @@
}
]
}

Loading