Certificates - Create Or Update

Erstellt oder aktualisiert ein Integrationskontozertifikat.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}?api-version=2016-06-01

URI-Parameter

Name In Required Type Description
certificateName
path True
  • string

Der Name des Integrationskontos.

integrationAccountName
path True
  • string

Der Name des Integrationskontos.

resourceGroupName
path True
  • string

Der Name der Ressourcengruppe.

subscriptionId
path True
  • string

Die Abonnement-ID.

api-version
query True
  • string

Die API-Version.

Anforderungstext

Name Type Description
location
  • string

Der Ressourcenspeicherort.

properties.key

Die wichtigsten Details im Schlüsseltresor.

properties.metadata

Die Metadaten.

properties.publicCertificate
  • string

Das öffentliche Zertifikat.

tags
  • object

Die Ressourcentags.

Antworten

Name Type Description
200 OK

OK

201 Created

Erstellt

Sicherheit

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Identitätswechsel Ihres Benutzerkontos

Beispiele

Create or update a certificate

Sample Request

PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/testCertificate?api-version=2016-06-01

{
  "properties": {
    "key": {
      "keyVault": {
        "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>"
      },
      "keyName": "<keyName>",
      "keyVersion": "87d9764197604449b9b8eb7bd8710868"
    },
    "publicCertificate": "<publicCertificateValue>"
  },
  "location": "brazilsouth"
}

Sample Response

{
  "properties": {
    "key": {
      "keyVault": {
        "name": "<keyVaultName>",
        "id": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/<keyVaultName>",
        "type": "Microsoft.KeyVault/vaults"
      },
      "keyName": "<keyName>",
      "keyVersion": "87d9764197604449b9b8eb7bd8710868"
    },
    "publicCertificate": "<publicCertificateValue>",
    "createdTime": "2017-03-06T20:42:21.0510202Z",
    "changedTime": "2017-03-06T20:42:21.051317Z"
  },
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/testCertificate",
  "name": "testCertificate",
  "type": "Microsoft.Logic/integrationAccounts/certificates"
}
{
  "properties": {
    "key": {
      "keyVault": {
        "name": "<keyVaultName>",
        "id": "/subscriptions/f34b22a3-2202-4fb1-b040-1332bd928c84/resourcegroups/flowrg/providers/microsoft.keyvault/vaults/<keyVaultName>",
        "type": "Microsoft.KeyVault/vaults"
      },
      "keyName": "<keyName>",
      "keyVersion": "87d9764197604449b9b8eb7bd8710868"
    },
    "publicCertificate": "<publicCertificateValue>",
    "createdTime": "2017-03-06T20:42:21.0510202Z",
    "changedTime": "2017-03-06T20:42:21.051317Z"
  },
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/testCertificate",
  "name": "testCertificate",
  "type": "Microsoft.Logic/integrationAccounts/certificates"
}

Definitionen

IntegrationAccountCertificate

Das Integrationskontozertifikat.

KeyVault

Der Schlüsseltresorverweis.

KeyVaultKeyReference

Der Verweis auf den Schlüsseltresor.

Metadata

Die Metadaten.

IntegrationAccountCertificate

Das Integrationskontozertifikat.

Name Type Description
id
  • string

Die Ressourcen-ID.

location
  • string

Der Ressourcenspeicherort.

name
  • string

Ruft den Namen der Ressource ab.

properties.changedTime
  • string

Die geänderte Zeit.

properties.createdTime
  • string

Die erstellte Zeit.

properties.key

Die wichtigsten Details im Schlüsseltresor.

properties.metadata

Die Metadaten.

properties.publicCertificate
  • string

Das öffentliche Zertifikat.

tags
  • object

Die Ressourcentags.

type
  • string

Ruft den Ressourcentyp ab.

KeyVault

Der Schlüsseltresorverweis.

Name Type Description
id
  • string

Die Ressourcen-ID.

name
  • string

Der Name der Ressource.

type
  • string

Der Ressourcentyp.

KeyVaultKeyReference

Der Verweis auf den Schlüsseltresor.

Name Type Description
keyName
  • string

Der Name des privaten Schlüssels im Schlüsseltresor.

keyVault

Der Schlüsseltresorverweis.

keyVersion
  • string

Die private Schlüsselversion im Schlüsseltresor.

Metadata

Die Metadaten.