Share via


Web Apps - Create Or Update Public Certificate Slot

Uygulama için konak adı bağlaması oluşturur açıklaması.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}?api-version=2023-12-01

URI Parametreleri

Name İçinde Gerekli Tür Description
name
path True

string

Uygulamanın adı.

publicCertificateName
path True

string

Ortak sertifika adı.

resourceGroupName
path True

string

Kaynağın ait olduğu kaynak grubunun adı.

Regex pattern: ^[-\w\._\(\)]+[^\.]$

slot
path True

string

Dağıtım yuvasının adı. Bir yuva belirtilmezse, API üretim yuvası için bir bağlama oluşturur.

subscriptionId
path True

string

Azure abonelik kimliğiniz. Bu GUID biçimli bir dizedir (örneğin, 000000000-0000-0000-0000-00000000000000).

api-version
query True

string

API Sürümü

İstek Gövdesi

Name Tür Description
kind

string

Bir tür kaynak.

properties.blob

string

Ortak Sertifika bayt dizisi

properties.publicCertificateLocation

PublicCertificateLocation

Ortak Sertifika Konumu

Yanıtlar

Name Tür Description
200 OK

PublicCertificate

Tamam

Other Status Codes

DefaultErrorResponse

hata yanıtı App Service.

Güvenlik

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 kullanıcı hesabınızın kimliğine bürünme

Tanımlar

Name Description
DefaultErrorResponse

hata yanıtı App Service.

Details
Error

Hata modeli.

PublicCertificate

Ortak sertifika nesnesi

PublicCertificateLocation

Ortak Sertifika Konumu

DefaultErrorResponse

hata yanıtı App Service.

Name Tür Description
error

Error

Hata modeli.

Details

Name Tür Description
code

string

Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize.

message

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

target

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

Error

Hata modeli.

Name Tür Description
code

string

Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize.

details

Details[]

Ayrıntılı hatalar.

innererror

string

Hata ayıklamak için daha fazla bilgi.

message

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

target

string

Ayrıntılı hata açıklaması ve hata ayıklama bilgileri.

PublicCertificate

Ortak sertifika nesnesi

Name Tür Description
id

string

Kaynak Kimliği.

kind

string

Bir tür kaynak.

name

string

Kaynak Adı.

properties.blob

string

Ortak Sertifika bayt dizisi

properties.publicCertificateLocation

PublicCertificateLocation

Ortak Sertifika Konumu

properties.thumbprint

string

Sertifika Parmak İzi

type

string

Kaynak türü.

PublicCertificateLocation

Ortak Sertifika Konumu

Name Tür Description
CurrentUserMy

string

LocalMachineMy

string

Unknown

string