diff --git a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts
index 65d6971efb4b..602615db47d6 100644
--- a/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts
+++ b/sdk/appservice/arm-appservice/src/models/appServiceCertificateOrdersMappers.ts
@@ -29,6 +29,7 @@ export {
AppServiceEnvironmentResource,
AppServicePlan,
AppServicePlanPatchResource,
+ ArmIdWrapper,
AutoHealActions,
AutoHealCustomAction,
AutoHealRules,
@@ -62,6 +63,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
+ CsmPublishingCredentialsPoliciesCollection,
+ CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
@@ -126,6 +129,9 @@ export {
PrivateAccess,
PrivateAccessSubnet,
PrivateAccessVirtualNetwork,
+ PrivateEndpointConnectionResource,
+ PrivateLinkConnectionApprovalRequestResource,
+ PrivateLinkConnectionState,
ProcessInfo,
ProcessModuleInfo,
ProcessThreadInfo,
diff --git a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts
index 30dea6df1d7f..24322870e614 100644
--- a/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts
+++ b/sdk/appservice/arm-appservice/src/models/appServiceEnvironmentsMappers.ts
@@ -29,6 +29,7 @@ export {
AppServicePlan,
AppServicePlanCollection,
AppServicePlanPatchResource,
+ ArmIdWrapper,
AutoHealActions,
AutoHealCustomAction,
AutoHealRules,
@@ -62,6 +63,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
+ CsmPublishingCredentialsPoliciesCollection,
+ CsmPublishingCredentialsPoliciesEntity,
CsmUsageQuota,
CsmUsageQuotaCollection,
CustomHostnameAnalysisResult,
@@ -136,6 +139,9 @@ export {
PrivateAccess,
PrivateAccessSubnet,
PrivateAccessVirtualNetwork,
+ PrivateEndpointConnectionResource,
+ PrivateLinkConnectionApprovalRequestResource,
+ PrivateLinkConnectionState,
ProcessInfo,
ProcessModuleInfo,
ProcessThreadInfo,
diff --git a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts
index 4ba280f3dc30..89f827a39725 100644
--- a/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts
+++ b/sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts
@@ -28,6 +28,7 @@ export {
AppServicePlan,
AppServicePlanCollection,
AppServicePlanPatchResource,
+ ArmIdWrapper,
AutoHealActions,
AutoHealCustomAction,
AutoHealRules,
@@ -61,6 +62,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
+ CsmPublishingCredentialsPoliciesCollection,
+ CsmPublishingCredentialsPoliciesEntity,
CsmUsageQuota,
CsmUsageQuotaCollection,
CustomHostnameAnalysisResult,
@@ -128,6 +131,9 @@ export {
PrivateAccess,
PrivateAccessSubnet,
PrivateAccessVirtualNetwork,
+ PrivateEndpointConnectionResource,
+ PrivateLinkConnectionApprovalRequestResource,
+ PrivateLinkConnectionState,
ProcessInfo,
ProcessModuleInfo,
ProcessThreadInfo,
diff --git a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts
index 8b93b8bc9d7b..2c69e05c0aca 100644
--- a/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts
+++ b/sdk/appservice/arm-appservice/src/models/certificatesMappers.ts
@@ -27,6 +27,7 @@ export {
AppServiceEnvironmentResource,
AppServicePlan,
AppServicePlanPatchResource,
+ ArmIdWrapper,
AutoHealActions,
AutoHealCustomAction,
AutoHealRules,
@@ -61,6 +62,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
+ CsmPublishingCredentialsPoliciesCollection,
+ CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
@@ -124,6 +127,9 @@ export {
PrivateAccess,
PrivateAccessSubnet,
PrivateAccessVirtualNetwork,
+ PrivateEndpointConnectionResource,
+ PrivateLinkConnectionApprovalRequestResource,
+ PrivateLinkConnectionState,
ProcessInfo,
ProcessModuleInfo,
ProcessThreadInfo,
diff --git a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts
index 4ef20c6965c2..7d7900181c96 100644
--- a/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts
+++ b/sdk/appservice/arm-appservice/src/models/deletedWebAppsMappers.ts
@@ -27,6 +27,7 @@ export {
AppServiceEnvironmentResource,
AppServicePlan,
AppServicePlanPatchResource,
+ ArmIdWrapper,
AutoHealActions,
AutoHealCustomAction,
AutoHealRules,
@@ -60,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
+ CsmPublishingCredentialsPoliciesCollection,
+ CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
@@ -124,6 +127,9 @@ export {
PrivateAccess,
PrivateAccessSubnet,
PrivateAccessVirtualNetwork,
+ PrivateEndpointConnectionResource,
+ PrivateLinkConnectionApprovalRequestResource,
+ PrivateLinkConnectionState,
ProcessInfo,
ProcessModuleInfo,
ProcessThreadInfo,
diff --git a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts
index b948362a85a0..80b2ffdc8f6e 100644
--- a/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts
+++ b/sdk/appservice/arm-appservice/src/models/diagnosticsMappers.ts
@@ -27,6 +27,7 @@ export {
AppServiceEnvironmentResource,
AppServicePlan,
AppServicePlanPatchResource,
+ ArmIdWrapper,
AutoHealActions,
AutoHealCustomAction,
AutoHealRules,
@@ -60,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
+ CsmPublishingCredentialsPoliciesCollection,
+ CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
@@ -127,6 +130,9 @@ export {
PrivateAccess,
PrivateAccessSubnet,
PrivateAccessVirtualNetwork,
+ PrivateEndpointConnectionResource,
+ PrivateLinkConnectionApprovalRequestResource,
+ PrivateLinkConnectionState,
ProcessInfo,
ProcessModuleInfo,
ProcessThreadInfo,
diff --git a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts
index 0a5574a3c3d6..d63dc90e1df5 100644
--- a/sdk/appservice/arm-appservice/src/models/domainsMappers.ts
+++ b/sdk/appservice/arm-appservice/src/models/domainsMappers.ts
@@ -27,6 +27,7 @@ export {
AppServiceEnvironmentResource,
AppServicePlan,
AppServicePlanPatchResource,
+ ArmIdWrapper,
AutoHealActions,
AutoHealCustomAction,
AutoHealRules,
@@ -60,6 +61,8 @@ export {
ContainerThrottlingData,
ContinuousWebJob,
CorsSettings,
+ CsmPublishingCredentialsPoliciesCollection,
+ CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
DatabaseBackupSetting,
DataSource,
@@ -130,6 +133,9 @@ export {
PrivateAccess,
PrivateAccessSubnet,
PrivateAccessVirtualNetwork,
+ PrivateEndpointConnectionResource,
+ PrivateLinkConnectionApprovalRequestResource,
+ PrivateLinkConnectionState,
ProcessInfo,
ProcessModuleInfo,
ProcessThreadInfo,
diff --git a/sdk/appservice/arm-appservice/src/models/index.ts b/sdk/appservice/arm-appservice/src/models/index.ts
index d6c41d772b85..d40a8d07d381 100644
--- a/sdk/appservice/arm-appservice/src/models/index.ts
+++ b/sdk/appservice/arm-appservice/src/models/index.ts
@@ -759,8 +759,8 @@ export interface ManagedServiceIdentityUserAssignedIdentitiesValue {
*/
export interface ManagedServiceIdentity {
/**
- * Type of managed service identity. Possible values include: 'None', 'SystemAssigned',
- * 'UserAssigned'
+ * Type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned',
+ * 'SystemAssigned, UserAssigned', 'None'
*/
type?: ManagedServiceIdentityType;
/**
@@ -1313,6 +1313,10 @@ export interface SiteConfig {
* Version of Node.js.
*/
nodeVersion?: string;
+ /**
+ * Version of PowerShell.
+ */
+ powerShellVersion?: string;
/**
* Linux App Framework and version
*/
@@ -1341,6 +1345,14 @@ export interface SiteConfig {
* true if HTTP logging is enabled; otherwise, false.
*/
httpLoggingEnabled?: boolean;
+ /**
+ * Flag to use Managed Identity Creds for ACR pull
+ */
+ acrUseManagedIdentityCreds?: boolean;
+ /**
+ * If using user managed identity, the user managed identity ClientId
+ */
+ acrUserManagedIdentityID?: string;
/**
* HTTP logs directory size limit.
*/
@@ -4286,7 +4298,8 @@ export interface ApiKVReference {
secretName?: string;
secretVersion?: string;
/**
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
+ * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
+ * 'None'
*/
identityType?: ManagedServiceIdentityType;
details?: string;
@@ -4363,6 +4376,16 @@ export interface ApplicationLogsConfig {
azureBlobStorage?: AzureBlobStorageApplicationLogsConfig;
}
+/**
+ * A wrapper for an ARM resource id
+ */
+export interface ArmIdWrapper {
+ /**
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
+}
+
/**
* Http logs to azure blob storage configuration.
*/
@@ -4744,6 +4767,30 @@ export interface CsmCopySlotEntity {
siteConfig: SiteConfig;
}
+/**
+ * Publishing Credentials Policies parameters.
+ */
+export interface CsmPublishingCredentialsPoliciesEntity extends ProxyOnlyResource {
+ /**
+ * true to allow access to a publishing method; otherwise, false.
+ */
+ allow: boolean;
+}
+
+/**
+ * Publishing Credentials Policies collection.
+ */
+export interface CsmPublishingCredentialsPoliciesCollection extends ProxyOnlyResource {
+ /**
+ * Whether FTP is allowed.
+ */
+ ftp: CsmPublishingCredentialsPoliciesEntity;
+ /**
+ * Whether Scm Basic Auth is allowed.
+ */
+ scm: CsmPublishingCredentialsPoliciesEntity;
+}
+
/**
* Publishing options for requested profile.
*/
@@ -5115,7 +5162,8 @@ export interface KeyVaultReferenceResource extends ProxyOnlyResource {
secretName?: string;
secretVersion?: string;
/**
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
+ * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
+ * 'None'
*/
identityType?: ManagedServiceIdentityType;
details?: string;
@@ -5491,6 +5539,90 @@ export interface PrivateAccess extends ProxyOnlyResource {
virtualNetworks?: PrivateAccessVirtualNetwork[];
}
+/**
+ * The state of a private link connection
+ */
+export interface PrivateLinkConnectionState {
+ /**
+ * Status of a private link connection
+ */
+ status?: string;
+ /**
+ * Description of a private link connection
+ */
+ description?: string;
+ /**
+ * ActionsRequired for a private link connection
+ */
+ actionsRequired?: string;
+}
+
+/**
+ * Private Endpoint Connection ARM resource.
+ */
+export interface PrivateEndpointConnectionResource extends ProxyOnlyResource {
+ /**
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly provisioningState?: string;
+ /**
+ * PrivateEndpoint of a remote private endpoint connection
+ */
+ privateEndpoint?: ArmIdWrapper;
+ privateLinkServiceConnectionState?: PrivateLinkConnectionState;
+}
+
+/**
+ * Private Endpoint Connection Approval ARM resource.
+ */
+export interface PrivateLinkConnectionApprovalRequestResource extends ProxyOnlyResource {
+ privateLinkServiceConnectionState?: PrivateLinkConnectionState;
+}
+
+/**
+ * Properties of a private link resource
+ */
+export interface PrivateLinkResourceProperties {
+ /**
+ * GroupId of a private link resource
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly groupId?: string;
+ /**
+ * RequiredMembers of a private link resource
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly requiredMembers?: string[];
+ /**
+ * RequiredZoneNames of a private link resource
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly requiredZoneNames?: string[];
+}
+
+/**
+ * A private link resource
+ */
+export interface PrivateLinkResource {
+ id: string;
+ /**
+ * Name of a private link resource
+ */
+ name: string;
+ type: string;
+ /**
+ * Properties of a private link resource
+ */
+ properties: PrivateLinkResourceProperties;
+}
+
+/**
+ * Wrapper for a collection of private link resources
+ */
+export interface PrivateLinkResourcesWrapper {
+ value: PrivateLinkResource[];
+}
+
/**
* Process Thread Information.
*/
@@ -6056,6 +6188,10 @@ export interface SiteConfigResource extends ProxyOnlyResource {
* Version of Node.js.
*/
nodeVersion?: string;
+ /**
+ * Version of PowerShell.
+ */
+ powerShellVersion?: string;
/**
* Linux App Framework and version
*/
@@ -6084,6 +6220,14 @@ export interface SiteConfigResource extends ProxyOnlyResource {
* true if HTTP logging is enabled; otherwise, false.
*/
httpLoggingEnabled?: boolean;
+ /**
+ * Flag to use Managed Identity Creds for ACR pull
+ */
+ acrUseManagedIdentityCreds?: boolean;
+ /**
+ * If using user managed identity, the user managed identity ClientId
+ */
+ acrUserManagedIdentityID?: string;
/**
* HTTP logs directory size limit.
*/
@@ -7876,8 +8020,9 @@ export interface AppServicePlanPatchResource extends ProxyOnlyResource {
*/
readonly resourceGroup?: string;
/**
- * If Linux app service plan true, false otherwise. Default value:
- * false.
+ * This needs to set to true when creating a Linux App Service Plan, along with
+ * kind set to Linux. It should be false otherwise.
+ * Default value: false.
*/
reserved?: boolean;
/**
@@ -9554,11 +9699,12 @@ export type RouteType = 'DEFAULT' | 'INHERITED' | 'STATIC';
/**
* Defines values for ManagedServiceIdentityType.
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
+ * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned',
+ * 'None'
* @readonly
* @enum {string}
*/
-export type ManagedServiceIdentityType = 'None' | 'SystemAssigned' | 'UserAssigned';
+export type ManagedServiceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None';
/**
* Defines values for IpFilterTag.
@@ -12755,6 +12901,106 @@ export type WebAppsListBackupStatusSecretsResponse = BackupItem & {
};
};
+/**
+ * Contains response data for the getBasicPublishingCredentialsPolicies operation.
+ */
+export type WebAppsGetBasicPublishingCredentialsPoliciesResponse = CsmPublishingCredentialsPoliciesCollection & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CsmPublishingCredentialsPoliciesCollection;
+ };
+};
+
+/**
+ * Contains response data for the getFtpAllowed operation.
+ */
+export type WebAppsGetFtpAllowedResponse = CsmPublishingCredentialsPoliciesEntity & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CsmPublishingCredentialsPoliciesEntity;
+ };
+};
+
+/**
+ * Contains response data for the updateFtpAllowed operation.
+ */
+export type WebAppsUpdateFtpAllowedResponse = CsmPublishingCredentialsPoliciesEntity & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CsmPublishingCredentialsPoliciesEntity;
+ };
+};
+
+/**
+ * Contains response data for the getScmAllowed operation.
+ */
+export type WebAppsGetScmAllowedResponse = CsmPublishingCredentialsPoliciesEntity & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CsmPublishingCredentialsPoliciesEntity;
+ };
+};
+
+/**
+ * Contains response data for the updateScmAllowed operation.
+ */
+export type WebAppsUpdateScmAllowedResponse = CsmPublishingCredentialsPoliciesEntity & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CsmPublishingCredentialsPoliciesEntity;
+ };
+};
+
/**
* Contains response data for the listConfigurations operation.
*/
@@ -17063,6 +17309,91 @@ export type WebAppsPutPrivateAccessVnetSlotResponse = PrivateAccess & {
};
};
+/**
+ * Contains response data for the getPrivateEndpointConnection operation.
+ */
+export type WebAppsGetPrivateEndpointConnectionResponse = PrivateEndpointConnectionResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionResource;
+ };
+};
+
+/**
+ * Contains response data for the approveOrRejectPrivateEndpointConnection operation.
+ */
+export type WebAppsApproveOrRejectPrivateEndpointConnectionResponse = PrivateEndpointConnectionResource & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionResource;
+ };
+};
+
+/**
+ * Contains response data for the deletePrivateEndpointConnection operation.
+ */
+export type WebAppsDeletePrivateEndpointConnectionResponse = {
+ /**
+ * The parsed response body.
+ */
+ body: any;
+
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: any;
+ };
+};
+
+/**
+ * Contains response data for the getPrivateLinkResources operation.
+ */
+export type WebAppsGetPrivateLinkResourcesResponse = PrivateLinkResourcesWrapper & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResourcesWrapper;
+ };
+};
+
/**
* Contains response data for the listProcessesSlot operation.
*/
@@ -18475,6 +18806,51 @@ export type WebAppsBeginStartWebSiteNetworkTraceOperationSlotResponse = Array lroPoller.pollUntilFinished());
}
+ /**
+ * Description for Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given
+ * site.
+ * @summary Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ getBasicPublishingCredentialsPolicies(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param callback The callback
+ */
+ getBasicPublishingCredentialsPolicies(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ getBasicPublishingCredentialsPolicies(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ getBasicPublishingCredentialsPolicies(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ name,
+ options
+ },
+ getBasicPublishingCredentialsPoliciesOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Description for Returns whether FTP is allowed on the site or not.
+ * @summary Returns whether FTP is allowed on the site or not.
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ getFtpAllowed(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param callback The callback
+ */
+ getFtpAllowed(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ getFtpAllowed(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ getFtpAllowed(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ name,
+ options
+ },
+ getFtpAllowedOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Description for Updates whether FTP is allowed on the site or not.
+ * @summary Updates whether FTP is allowed on the site or not.
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param csmPublishingAccessPoliciesEntity
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ updateFtpAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: Models.CsmPublishingCredentialsPoliciesEntity, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param csmPublishingAccessPoliciesEntity
+ * @param callback The callback
+ */
+ updateFtpAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: Models.CsmPublishingCredentialsPoliciesEntity, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param csmPublishingAccessPoliciesEntity
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ updateFtpAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: Models.CsmPublishingCredentialsPoliciesEntity, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ updateFtpAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: Models.CsmPublishingCredentialsPoliciesEntity, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ name,
+ csmPublishingAccessPoliciesEntity,
+ options
+ },
+ updateFtpAllowedOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Description for Returns whether Scm basic auth is allowed on the site or not.
+ * @summary Returns whether Scm basic auth is allowed on the site or not.
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ getScmAllowed(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param callback The callback
+ */
+ getScmAllowed(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ getScmAllowed(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ getScmAllowed(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ name,
+ options
+ },
+ getScmAllowedOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Description for Updates whether user publishing credentials are allowed on the site or not.
+ * @summary Updates whether user publishing credentials are allowed on the site or not.
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param csmPublishingAccessPoliciesEntity
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ updateScmAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: Models.CsmPublishingCredentialsPoliciesEntity, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param csmPublishingAccessPoliciesEntity
+ * @param callback The callback
+ */
+ updateScmAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: Models.CsmPublishingCredentialsPoliciesEntity, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the app.
+ * @param csmPublishingAccessPoliciesEntity
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ updateScmAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: Models.CsmPublishingCredentialsPoliciesEntity, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ updateScmAllowed(resourceGroupName: string, name: string, csmPublishingAccessPoliciesEntity: Models.CsmPublishingCredentialsPoliciesEntity, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ name,
+ csmPublishingAccessPoliciesEntity,
+ options
+ },
+ updateScmAllowedOperationSpec,
+ callback) as Promise;
+ }
+
/**
* Description for List the configurations of an app
* @summary List the configurations of an app
@@ -10635,6 +10809,105 @@ export class WebApps {
callback) as Promise;
}
+ /**
+ * Description for Gets a private endpoint connection
+ * @summary Gets a private endpoint connection
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param privateEndpointConnectionName
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ getPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param privateEndpointConnectionName
+ * @param callback The callback
+ */
+ getPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param privateEndpointConnectionName
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ getPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ getPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ name,
+ privateEndpointConnectionName,
+ options
+ },
+ getPrivateEndpointConnectionOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Description for Approves or rejects a private endpoint connection
+ * @summary Approves or rejects a private endpoint connection
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param privateEndpointConnectionName
+ * @param privateEndpointWrapper
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ approveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: Models.PrivateLinkConnectionApprovalRequestResource, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginApproveOrRejectPrivateEndpointConnection(resourceGroupName,name,privateEndpointConnectionName,privateEndpointWrapper,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Description for Deletes a private endpoint connection
+ * @summary Deletes a private endpoint connection
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param privateEndpointConnectionName
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ deletePrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginDeletePrivateEndpointConnection(resourceGroupName,name,privateEndpointConnectionName,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Description for Gets the private link resources
+ * @summary Gets the private link resources
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ getPrivateLinkResources(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param callback The callback
+ */
+ getPrivateLinkResources(resourceGroupName: string, name: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ getPrivateLinkResources(resourceGroupName: string, name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ getPrivateLinkResources(resourceGroupName: string, name: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ resourceGroupName,
+ name,
+ options
+ },
+ getPrivateLinkResourcesOperationSpec,
+ callback) as Promise;
+ }
+
/**
* Description for Get list of processes for a web site, or a deployment slot, or for a specific
* scaled-out instance in a web site.
@@ -14251,6 +14524,50 @@ export class WebApps {
options);
}
+ /**
+ * Description for Approves or rejects a private endpoint connection
+ * @summary Approves or rejects a private endpoint connection
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param privateEndpointConnectionName
+ * @param privateEndpointWrapper
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginApproveOrRejectPrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, privateEndpointWrapper: Models.PrivateLinkConnectionApprovalRequestResource, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ name,
+ privateEndpointConnectionName,
+ privateEndpointWrapper,
+ options
+ },
+ beginApproveOrRejectPrivateEndpointConnectionOperationSpec,
+ options);
+ }
+
+ /**
+ * Description for Deletes a private endpoint connection
+ * @summary Deletes a private endpoint connection
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
+ * @param name Name of the site.
+ * @param privateEndpointConnectionName
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginDeletePrivateEndpointConnection(resourceGroupName: string, name: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ name,
+ privateEndpointConnectionName,
+ options
+ },
+ beginDeletePrivateEndpointConnectionOperationSpec,
+ options);
+ }
+
/**
* Description for Restores an app from a backup blob in Azure Storage.
* @summary Restores an app from a backup blob in Azure Storage.
@@ -16460,6 +16777,145 @@ const listBackupStatusSecretsOperationSpec: msRest.OperationSpec = {
serializer
};
+const getBasicPublishingCredentialsPoliciesOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.CsmPublishingCredentialsPoliciesCollection
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
+const getFtpAllowedOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
+const updateFtpAllowedOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "csmPublishingAccessPoliciesEntity",
+ mapper: {
+ ...Mappers.CsmPublishingCredentialsPoliciesEntity,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
+const getScmAllowedOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
+const updateScmAllowedOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "csmPublishingAccessPoliciesEntity",
+ mapper: {
+ ...Mappers.CsmPublishingCredentialsPoliciesEntity,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.CsmPublishingCredentialsPoliciesEntity
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
const listConfigurationsOperationSpec: msRest.OperationSpec = {
httpMethod: "GET",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config",
@@ -23499,6 +23955,57 @@ const putPrivateAccessVnetSlotOperationSpec: msRest.OperationSpec = {
serializer
};
+const getPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.privateEndpointConnectionName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionResource
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
+const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateLinkResources",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateLinkResourcesWrapper
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
const listProcessesSlotOperationSpec: msRest.OperationSpec = {
httpMethod: "GET",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes",
@@ -26274,6 +26781,89 @@ const beginStartWebSiteNetworkTraceOperationSlotOperationSpec: msRest.OperationS
serializer
};
+const beginApproveOrRejectPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
+ httpMethod: "PUT",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.privateEndpointConnectionName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "privateEndpointWrapper",
+ mapper: {
+ ...Mappers.PrivateLinkConnectionApprovalRequestResource,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.PrivateEndpointConnectionResource
+ },
+ 202: {
+ bodyMapper: Mappers.PrivateEndpointConnectionResource
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
+const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
+ httpMethod: "DELETE",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
+ urlParameters: [
+ Parameters.resourceGroupName,
+ Parameters.name,
+ Parameters.privateEndpointConnectionName,
+ Parameters.subscriptionId
+ ],
+ queryParameters: [
+ Parameters.apiVersion
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: {
+ serializedName: "parsedResponse",
+ type: {
+ name: "Object"
+ }
+ }
+ },
+ 202: {
+ bodyMapper: {
+ serializedName: "parsedResponse",
+ type: {
+ name: "Object"
+ }
+ }
+ },
+ 204: {
+ bodyMapper: {
+ serializedName: "parsedResponse",
+ type: {
+ name: "Object"
+ }
+ }
+ },
+ default: {
+ bodyMapper: Mappers.DefaultErrorResponse
+ }
+ },
+ serializer
+};
+
const beginRestoreFromBackupBlobSlotOperationSpec: msRest.OperationSpec = {
httpMethod: "POST",
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restoreFromBackupBlob",