Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-appservice] Adding sitecertificate resource type to Microsoft.Web RP #12065

Closed
wants to merge 1 commit into from
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
39 changes: 35 additions & 4 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 39 additions & 9 deletions sdk/appservice/arm-appservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,45 @@
# Release History

## 15.0.1 (Unreleased)

## 15.1.0 (2024-09-24)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group SiteCertificates
- Added operation WebApps.updateMachineKey
- Added Interface CipherSuites
- Added Interface SiteCertificatesCreateOrUpdateOptionalParams
- Added Interface SiteCertificatesCreateOrUpdateSlotOptionalParams
- Added Interface SiteCertificatesDeleteOptionalParams
- Added Interface SiteCertificatesDeleteSlotOptionalParams
- Added Interface SiteCertificatesGetOptionalParams
- Added Interface SiteCertificatesGetSlotOptionalParams
- Added Interface SiteCertificatesListNextOptionalParams
- Added Interface SiteCertificatesListOptionalParams
- Added Interface SiteCertificatesListSlotNextOptionalParams
- Added Interface SiteCertificatesListSlotOptionalParams
- Added Interface SiteCertificatesUpdateOptionalParams
- Added Interface SiteCertificatesUpdateSlotOptionalParams
- Added Interface WebAppsUpdateMachineKeyOptionalParams
- Added Type Alias AutoGeneratedDomainNameLabelScope
- Added Type Alias IPMode
- Added Type Alias SiteCertificatesCreateOrUpdateResponse
- Added Type Alias SiteCertificatesCreateOrUpdateSlotResponse
- Added Type Alias SiteCertificatesGetResponse
- Added Type Alias SiteCertificatesGetSlotResponse
- Added Type Alias SiteCertificatesListNextResponse
- Added Type Alias SiteCertificatesListResponse
- Added Type Alias SiteCertificatesListSlotNextResponse
- Added Type Alias SiteCertificatesListSlotResponse
- Added Type Alias SiteCertificatesUpdateResponse
- Added Type Alias SiteCertificatesUpdateSlotResponse
- 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": "20c5d682c5da5369918e6b3ffe21f7e1995a74de",
"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/[email protected].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/[email protected].9",
"use": "@autorest/[email protected].23"
"release_tool": "@azure-tools/[email protected].14",
"use": "@autorest/typescript@^6.0.12"
}
20 changes: 6 additions & 14 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 @@ -30,12 +30,12 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^3.0.1",
"typescript": "~5.6.2",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"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"
}
120 changes: 119 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 @@ -6299,6 +6314,98 @@ export interface SiteAuthSettingsV2 extends ProxyOnlyResource {
// @public
export type SiteAvailabilityState = "Normal" | "Limited" | "DisasterRecoveryMode";

// @public
export interface SiteCertificates {
createOrUpdate(resourceGroupName: string, name: string, certificateName: string, certificateEnvelope: Certificate, options?: SiteCertificatesCreateOrUpdateOptionalParams): Promise<SiteCertificatesCreateOrUpdateResponse>;
createOrUpdateSlot(resourceGroupName: string, name: string, slot: string, certificateName: string, certificateEnvelope: Certificate, options?: SiteCertificatesCreateOrUpdateSlotOptionalParams): Promise<SiteCertificatesCreateOrUpdateSlotResponse>;
delete(resourceGroupName: string, name: string, certificateName: string, options?: SiteCertificatesDeleteOptionalParams): Promise<void>;
deleteSlot(resourceGroupName: string, name: string, slot: string, certificateName: string, options?: SiteCertificatesDeleteSlotOptionalParams): Promise<void>;
get(resourceGroupName: string, name: string, certificateName: string, options?: SiteCertificatesGetOptionalParams): Promise<SiteCertificatesGetResponse>;
getSlot(resourceGroupName: string, name: string, slot: string, certificateName: string, options?: SiteCertificatesGetSlotOptionalParams): Promise<SiteCertificatesGetSlotResponse>;
list(resourceGroupName: string, name: string, options?: SiteCertificatesListOptionalParams): PagedAsyncIterableIterator<Certificate>;
listSlot(resourceGroupName: string, name: string, slot: string, options?: SiteCertificatesListSlotOptionalParams): PagedAsyncIterableIterator<Certificate>;
update(resourceGroupName: string, name: string, certificateName: string, certificateEnvelope: CertificatePatchResource, options?: SiteCertificatesUpdateOptionalParams): Promise<SiteCertificatesUpdateResponse>;
updateSlot(resourceGroupName: string, name: string, slot: string, certificateName: string, certificateEnvelope: CertificatePatchResource, options?: SiteCertificatesUpdateSlotOptionalParams): Promise<SiteCertificatesUpdateSlotResponse>;
}

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

// @public
export type SiteCertificatesCreateOrUpdateResponse = Certificate;

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

// @public
export type SiteCertificatesCreateOrUpdateSlotResponse = Certificate;

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

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

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

// @public
export type SiteCertificatesGetResponse = Certificate;

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

// @public
export type SiteCertificatesGetSlotResponse = Certificate;

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

// @public
export type SiteCertificatesListNextResponse = CertificateCollection;

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

// @public
export type SiteCertificatesListResponse = CertificateCollection;

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

// @public
export type SiteCertificatesListSlotNextResponse = CertificateCollection;

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

// @public
export type SiteCertificatesListSlotResponse = CertificateCollection;

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

// @public
export type SiteCertificatesUpdateResponse = Certificate;

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

// @public
export type SiteCertificatesUpdateSlotResponse = Certificate;

// @public
export interface SiteCloneability {
blockingCharacteristics?: SiteCloneabilityCriterion[];
Expand Down Expand Up @@ -6569,7 +6676,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 +8876,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 +12040,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 +12224,7 @@ export interface WebSiteInstanceStatus extends ProxyOnlyResource {
};
detectorUrl?: string;
healthCheckUrl?: string;
physicalZone?: string;
// (undocumented)
state?: SiteRuntimeState;
statusUrl?: string;
Expand Down Expand Up @@ -12172,6 +12288,8 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
// (undocumented)
resourceHealthMetadataOperations: ResourceHealthMetadataOperations;
// (undocumented)
siteCertificates: SiteCertificates;
// (undocumented)
staticSites: StaticSites;
// (undocumented)
subscriptionId?: string;
Expand Down
Loading