Skip to content

Commit

Permalink
Add basicpublishingcredentialspolicies to Microsoft.Web stable 2019-0…
Browse files Browse the repository at this point in the history
…8-01
  • Loading branch information
Shubham committed Apr 28, 2020
1 parent 328f273 commit ed82799
Showing 1 changed file with 253 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,228 @@
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicpublishingcredentialspolicies": {
"get": {
"tags": [
"WebApps"
],
"summary": "Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.",
"description": "Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.",
"operationId": "WebApps_GetBasicPublishingCredentialsPolicies",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Name of the app.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicpublishingcredentialspolicies/ftp": {
"get": {
"tags": [
"WebApps"
],
"summary": "Returns whether FTP is allowed on the site or not.",
"description": "Description for Returns whether FTP is allowed on the site or not.",
"operationId": "WebApps_GetFtpAllowed",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Name of the app.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
},
"put": {
"tags": [
"WebApps"
],
"summary": "Updates whether FTP is allowed on the site or not.",
"description": "Description for Updates whether FTP is allowed on the site or not.",
"operationId": "WebApps_UpdateFtpAllowed",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Name of the app.",
"required": true,
"type": "string"
},
{
"name": "csmPublishingAccessPoliciesEntity",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicpublishingcredentialspolicies/scm": {
"get": {
"tags": [
"WebApps"
],
"summary": "Returns whether Scm basic auth is allowed on the site or not.",
"description": "Description for Returns whether Scm basic auth is allowed on the site or not.",
"operationId": "WebApps_GetScmAllowed",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Name of the app.",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
},
"put": {
"tags": [
"WebApps"
],
"summary": "Updates whether user publishing credentials are allowed on the site or not.",
"description": "Description for Updates whether user publishing credentials are allowed on the site or not.",
"operationId": "WebApps_UpdateUserCredsAllowed",
"parameters": [
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"name": "name",
"in": "path",
"description": "Name of the app.",
"required": true,
"type": "string"
},
{
"name": "csmPublishingAccessPoliciesEntity",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config": {
"get": {
"tags": [
Expand Down Expand Up @@ -20581,6 +20803,37 @@
}
}
},
"CsmPublishingCredentialsPoliciesCollection": {
"description": "Publishing Credentials Policies collection.",
"required": [
"ftp",
"scm"
],
"type": "object",
"properties": {
"ftp": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity",
"description": "Whether FTP is allowed."
},
"scm": {
"$ref": "#/definitions/CsmPublishingCredentialsPoliciesEntity",
"description": "Whether Scm Basic Auth is allowed."
}
}
},
"CsmPublishingCredentialsPoliciesEntity": {
"description": "Publishing Credentials Policies parameters.",
"required": [
"allow"
],
"type": "object",
"properties": {
"allow": {
"description": "<code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.",
"type": "boolean"
}
}
},
"CsmPublishingProfileOptions": {
"description": "Publishing options for requested profile.",
"type": "object",
Expand Down

0 comments on commit ed82799

Please sign in to comment.