Microsoft.SecretSyncController (preview:2024-08-21)

2025/06/05 • 1 updated methods

SecretSyncs_Update (updated)
Description Updates a SecretSync instance.
Reference Link ¶

⚶ Changes

{
  "#id": "SecretSyncs_Update",
  "$parameters": {
    "properties": {
      "$properties": {
        "properties": [
          {
            "@removed_0439f8008b13423aa5e7a2e1bf05ea32": {
              "#name": "kubernetesSecretType",
              "Description": "Type specifies the type of the Kubernetes secret object, e.g. \"Opaque\" or\"kubernetes.io/tls\". The controller must have permission to create secrets of the specified type.",
              "Enum": [
                [
                  "Opaque",
                  "Opaque is the default secret type."
                ],
                [
                  "kubernetes.io/tls",
                  "The kubernetes.io/tls secret type is for storing a certificate and its associated key that are typically used for TLS."
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecretSyncController/secretSyncs/{secretSyncName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
secretSyncName: string ,
properties:
{
tags: object ,
properties:
{
secretProviderClassName: string ,
serviceAccountName: string ,
forceSynchronization: string ,
objectSecretMapping:
[
{
sourcePath: string ,
targetKey: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
secretProviderClassName: string ,
serviceAccountName: string ,
kubernetesSecretType: enum ,
forceSynchronization: string ,
objectSecretMapping:
[
{
sourcePath: string ,
targetKey: string ,
}
,
]
,
status:
{
lastSuccessfulSyncTime: string ,
conditions:
[
{
lastTransitionTime: string ,
message: string ,
observedGeneration: integer ,
reason: string ,
status: enum ,
type: string ,
}
,
]
,
}
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}