PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}/?api-version=2023-01-01
Description for Creates a hostname binding for an app.
Servers
- https://management.azure.com/
Path parameters
Name | Type | Required | Description |
---|---|---|---|
name |
String | Yes |
Name of the app. |
subscriptionId |
String | Yes |
Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
hostName |
String | Yes |
Hostname in the hostname binding. |
resourceGroupName |
String | Yes |
Name of the resource group to which the resource belongs. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
id |
String | No |
Resource Id. |
name |
String | No |
Resource Name. |
properties |
Object | No |
HostNameBinding resource specific properties |
properties.azureResourceName |
String | No |
Azure resource name. |
properties.thumbprint |
String | No |
SSL certificate thumbprint |
properties.domainId |
String | No |
Fully qualified ARM domain resource URI. |
properties.hostNameType |
String | No |
Hostname type. Possible values:
|
properties.customHostNameDnsRecordType |
String | No |
Custom DNS record type. Possible values:
|
properties.virtualIP |
String | No |
Virtual IP address assigned to the hostname if IP based SSL is enabled. |
properties.siteName |
String | No |
App Service app name. |
properties.azureResourceType |
String | No |
Azure resource type. Possible values:
|
properties.sslState |
String | No |
SSL type Possible values:
|
type |
String | No |
Resource type. |
kind |
String | No |
Kind of resource. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.