Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
CodeGen from PR 30067 in Azure/azure-rest-api-specs
Merge 45f6707dece0d58c2759b769732d6c71d36998b2 into 9ce2bd0e5dbb9233d7f9e2b2f5b4078b6250e1bc
  • Loading branch information
SDKAuto committed Aug 15, 2024
commit 6b98fffb5d7d24cd0174745f63a8f76501eb5ec8
25 changes: 16 additions & 9 deletions sdk/appservice/arm-appservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# Release History

## 15.0.1 (Unreleased)

## 15.1.0 (2024-08-15)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation WebApps.updateMachineKey
- Added Interface CipherSuites
- Added Interface WebAppsUpdateMachineKeyOptionalParams
- Added Type Alias AutoGeneratedDomainNameLabelScope
- Added Type Alias IPMode
- Added Type Alias WebAppsUpdateMachineKeyResponse
- Interface Site has a new optional parameter autoGeneratedDomainNameLabelScope
- Interface Site has a new optional parameter endToEndEncryptionEnabled
- Interface Site has a new optional parameter ipMode
- Interface Site has a new optional parameter sku
- Interface WebSiteInstanceStatus has a new optional parameter physicalZone


## 15.0.0 (2024-06-11)

### Features Added
Expand Down
8 changes: 4 additions & 4 deletions sdk/appservice/arm-appservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "e9f47ec88eb06646c53f2a561f3b27434ac5ac57",
"commit": "79b3f9182088d1eb38e7dd3981e51cf142b8bbe1",
"readme": "specification/web/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\web\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/web/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.9",
"use": "@autorest/typescript@6.0.23"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.11",
"use": "@autorest/typescript@^6.0.12"
}
18 changes: 5 additions & 13 deletions sdk/appservice/arm-appservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for WebSiteManagementClient.",
"version": "15.0.1",
"version": "15.1.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
Expand All @@ -35,7 +35,7 @@
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
Expand Down Expand Up @@ -106,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-appservice?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice"
}
26 changes: 25 additions & 1 deletion sdk/appservice/arm-appservice/review/arm-appservice.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1471,6 +1471,9 @@ export interface AuthPlatform {
// @public
export type AuthType = "Anonymous" | "UserCredentials" | "SystemIdentity" | "UserAssigned";

// @public
export type AutoGeneratedDomainNameLabelScope = "TenantReuse" | "SubscriptionReuse" | "ResourceGroupReuse" | "NoReuse";

// @public
export interface AutoHealActions {
actionType?: AutoHealActionType;
Expand Down Expand Up @@ -1919,6 +1922,11 @@ export type CheckNameAvailabilityResponse = ResourceNameAvailability;
// @public
export type CheckNameResourceTypes = string;

// @public
export interface CipherSuites {
suites?: string[];
}

// @public
export type ClientCertMode = "Required" | "Optional" | "OptionalInteractiveUser";

Expand Down Expand Up @@ -4059,6 +4067,9 @@ export interface IpAddressRange {
// @public
export type IpFilterTag = string;

// @public
export type IPMode = "IPv4" | "IPv6" | "IPv4AndIPv6";

// @public
export interface IpSecurityRestriction {
action?: string;
Expand Down Expand Up @@ -6189,6 +6200,7 @@ export interface ServiceSpecification {

// @public
export interface Site extends Resource {
autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
readonly availabilityState?: SiteAvailabilityState;
clientAffinityEnabled?: boolean;
clientCertEnabled?: boolean;
Expand All @@ -6203,6 +6215,7 @@ export interface Site extends Resource {
dnsConfiguration?: SiteDnsConfig;
enabled?: boolean;
readonly enabledHostNames?: string[];
endToEndEncryptionEnabled?: boolean;
extendedLocation?: ExtendedLocation;
functionAppConfig?: FunctionAppConfig;
hostingEnvironmentProfile?: HostingEnvironmentProfile;
Expand All @@ -6213,6 +6226,7 @@ export interface Site extends Resource {
hyperV?: boolean;
identity?: ManagedServiceIdentity;
readonly inProgressOperationId?: string;
ipMode?: IPMode;
readonly isDefaultContainer?: boolean;
isXenon?: boolean;
keyVaultReferenceIdentity?: string;
Expand All @@ -6230,6 +6244,7 @@ export interface Site extends Resource {
scmSiteAlsoStopped?: boolean;
serverFarmId?: string;
siteConfig?: SiteConfig;
readonly sku?: string;
readonly slotSwapStatus?: SlotSwapStatus;
readonly state?: string;
storageAccountRequired?: boolean;
Expand Down Expand Up @@ -6569,7 +6584,7 @@ export interface SiteLimits {
}

// @public
export type SiteLoadBalancing = "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin";
export type SiteLoadBalancing = "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin" | "LeastRequestsWithTieBreaker";

// @public
export interface SiteLogsConfig extends ProxyOnlyResource {
Expand Down Expand Up @@ -8769,6 +8784,7 @@ export interface WebApps {
updateFtpAllowedSlot(resourceGroupName: string, name: string, slot: string, csmPublishingAccessPoliciesEntity: CsmPublishingCredentialsPoliciesEntity, options?: WebAppsUpdateFtpAllowedSlotOptionalParams): Promise<WebAppsUpdateFtpAllowedSlotResponse>;
updateHybridConnection(resourceGroupName: string, name: string, namespaceName: string, relayName: string, connectionEnvelope: HybridConnection, options?: WebAppsUpdateHybridConnectionOptionalParams): Promise<WebAppsUpdateHybridConnectionResponse>;
updateHybridConnectionSlot(resourceGroupName: string, name: string, namespaceName: string, relayName: string, slot: string, connectionEnvelope: HybridConnection, options?: WebAppsUpdateHybridConnectionSlotOptionalParams): Promise<WebAppsUpdateHybridConnectionSlotResponse>;
updateMachineKey(resourceGroupName: string, name: string, options?: WebAppsUpdateMachineKeyOptionalParams): Promise<WebAppsUpdateMachineKeyResponse>;
updateMetadata(resourceGroupName: string, name: string, metadata: StringDictionary, options?: WebAppsUpdateMetadataOptionalParams): Promise<WebAppsUpdateMetadataResponse>;
updateMetadataSlot(resourceGroupName: string, name: string, slot: string, metadata: StringDictionary, options?: WebAppsUpdateMetadataSlotOptionalParams): Promise<WebAppsUpdateMetadataSlotResponse>;
updatePremierAddOn(resourceGroupName: string, name: string, premierAddOnName: string, premierAddOn: PremierAddOnPatchResource, options?: WebAppsUpdatePremierAddOnOptionalParams): Promise<WebAppsUpdatePremierAddOnResponse>;
Expand Down Expand Up @@ -11932,6 +11948,13 @@ export interface WebAppsUpdateHybridConnectionSlotOptionalParams extends coreCli
// @public
export type WebAppsUpdateHybridConnectionSlotResponse = HybridConnection;

// @public
export interface WebAppsUpdateMachineKeyOptionalParams extends coreClient.OperationOptions {
}

// @public
export type WebAppsUpdateMachineKeyResponse = Record<string, unknown>;

// @public
export interface WebAppsUpdateMetadataOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -12109,6 +12132,7 @@ export interface WebSiteInstanceStatus extends ProxyOnlyResource {
};
detectorUrl?: string;
healthCheckUrl?: string;
physicalZone?: string;
// (undocumented)
state?: SiteRuntimeState;
statusUrl?: string;
Expand Down
71 changes: 53 additions & 18 deletions sdk/appservice/arm-appservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export interface Resource {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/** Kind of resource. */
/** Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */
kind?: string;
/** Resource Location. */
location: string;
Expand Down Expand Up @@ -5085,6 +5085,12 @@ export interface WorkflowVersionListResult {
nextLink?: string;
}

/** Describes valid TLS cipher suites. */
export interface CipherSuites {
/** List of TLS Cipher Suites that are supported by App Service. */
suites?: string[];
}

/** Github access token for Appservice CLI github integration. */
export interface AppserviceGithubToken {
/** Github access token for Appservice CLI github integration */
Expand Down Expand Up @@ -5479,6 +5485,10 @@ export interface Site extends Resource {
clientCertMode?: ClientCertMode;
/** client certificate authentication comma-separated exclusion paths */
clientCertExclusionPaths?: string;
/** Specifies the IP mode of the app. */
ipMode?: IPMode;
/** Whether to use end to end encryption between the FrontEnd and the Worker */
endToEndEncryptionEnabled?: boolean;
/**
* <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>.
* If <code>true</code>, the app is only accessible via API management process.
Expand Down Expand Up @@ -5551,13 +5561,20 @@ export interface Site extends Resource {
storageAccountRequired?: boolean;
/** Identity to use for Key Vault Reference authentication. */
keyVaultReferenceIdentity?: string;
/** Specifies the scope of uniqueness for the default hostname during resource creation */
autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
/**
* Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.
* This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}
*/
virtualNetworkSubnetId?: string;
/** Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName} */
managedEnvironmentId?: string;
/**
* Current SKU of application based on associated App Service Plan. Some valid SKU values are Free, Shared, Basic, Dynamic, FlexConsumption, Standard, Premium, PremiumV2, PremiumV3, Isolated, IsolatedV2
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly sku?: string;
}

/** App Service plan. */
Expand Down Expand Up @@ -8501,6 +8518,8 @@ export interface WebSiteInstanceStatus extends ProxyOnlyResource {
healthCheckUrl?: string;
/** Dictionary of <ContainerInfo> */
containers?: { [propertyName: string]: ContainerInfo };
/** The physical zone that the instance is in */
physicalZone?: string;
}

/** Process Thread Information. */
Expand Down Expand Up @@ -11010,7 +11029,8 @@ export type SiteLoadBalancing =
| "LeastResponseTime"
| "WeightedTotalTraffic"
| "RequestHash"
| "PerSiteRoundRobin";
| "PerSiteRoundRobin"
| "LeastRequestsWithTieBreaker";
/** Defines values for AutoHealActionType. */
export type AutoHealActionType = "Recycle" | "LogEvent" | "CustomAction";
/** Defines values for AzureStorageType. */
Expand All @@ -11026,13 +11046,21 @@ export type ClientCertMode =
| "Required"
| "Optional"
| "OptionalInteractiveUser";
/** Defines values for IPMode. */
export type IPMode = "IPv4" | "IPv6" | "IPv4AndIPv6";
/** Defines values for RedundancyMode. */
export type RedundancyMode =
| "None"
| "Manual"
| "Failover"
| "ActiveActive"
| "GeoRedundant";
/** Defines values for AutoGeneratedDomainNameLabelScope. */
export type AutoGeneratedDomainNameLabelScope =
| "TenantReuse"
| "SubscriptionReuse"
| "ResourceGroupReuse"
| "NoReuse";
/** Defines values for ManagedServiceIdentityType. */
export type ManagedServiceIdentityType =
| "SystemAssigned"
Expand Down Expand Up @@ -11435,6 +11463,22 @@ export interface CertificateRegistrationProviderListOperationsNextOptionalParams
export type CertificateRegistrationProviderListOperationsNextResponse =
CsmOperationCollection;

/** Optional parameters. */
export interface DomainRegistrationProviderListOperationsOptionalParams
extends coreClient.OperationOptions {}

/** Contains response data for the listOperations operation. */
export type DomainRegistrationProviderListOperationsResponse =
CsmOperationCollection;

/** Optional parameters. */
export interface DomainRegistrationProviderListOperationsNextOptionalParams
extends coreClient.OperationOptions {}

/** Contains response data for the listOperationsNext operation. */
export type DomainRegistrationProviderListOperationsNextResponse =
CsmOperationCollection;

/** Optional parameters. */
export interface DomainsCheckAvailabilityOptionalParams
extends coreClient.OperationOptions {}
Expand Down Expand Up @@ -11614,22 +11658,6 @@ export interface TopLevelDomainsListAgreementsNextOptionalParams
export type TopLevelDomainsListAgreementsNextResponse =
TldLegalAgreementCollection;

/** Optional parameters. */
export interface DomainRegistrationProviderListOperationsOptionalParams
extends coreClient.OperationOptions {}

/** Contains response data for the listOperations operation. */
export type DomainRegistrationProviderListOperationsResponse =
CsmOperationCollection;

/** Optional parameters. */
export interface DomainRegistrationProviderListOperationsNextOptionalParams
extends coreClient.OperationOptions {}

/** Contains response data for the listOperationsNext operation. */
export type DomainRegistrationProviderListOperationsNextResponse =
CsmOperationCollection;

/** Optional parameters. */
export interface AppServiceEnvironmentsListOptionalParams
extends coreClient.OperationOptions {}
Expand Down Expand Up @@ -15236,6 +15264,13 @@ export interface WebAppsListSyncFunctionTriggersOptionalParams
/** Contains response data for the listSyncFunctionTriggers operation. */
export type WebAppsListSyncFunctionTriggersResponse = FunctionSecrets;

/** Optional parameters. */
export interface WebAppsUpdateMachineKeyOptionalParams
extends coreClient.OperationOptions {}

/** Contains response data for the updateMachineKey operation. */
export type WebAppsUpdateMachineKeyResponse = Record<string, unknown>;

/** Optional parameters. */
export interface WebAppsMigrateStorageOptionalParams
extends coreClient.OperationOptions {
Expand Down
Loading