Skip to content

Commit

Permalink
[mgmt] servicenetworking release (Azure#30688)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Sep 29, 2024
1 parent 70dbb1b commit 6fbad4f
Show file tree
Hide file tree
Showing 98 changed files with 4,878 additions and 845 deletions.
50 changes: 41 additions & 9 deletions sdk/servicenetworking/arm-servicenetworking/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,47 @@
# Release History

## 1.0.1 (Unreleased)


## 1.1.0-beta.1 (2024-08-22)
Compared with version 1.0.0

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group SecurityPoliciesInterface
- Added Interface SecurityPoliciesInterfaceCreateOrUpdateHeaders
- Added Interface SecurityPoliciesInterfaceCreateOrUpdateOptionalParams
- Added Interface SecurityPoliciesInterfaceDeleteHeaders
- Added Interface SecurityPoliciesInterfaceDeleteOptionalParams
- Added Interface SecurityPoliciesInterfaceGetOptionalParams
- Added Interface SecurityPoliciesInterfaceListByTrafficControllerNextOptionalParams
- Added Interface SecurityPoliciesInterfaceListByTrafficControllerOptionalParams
- Added Interface SecurityPoliciesInterfaceUpdateOptionalParams
- Added Interface SecurityPolicy
- Added Interface SecurityPolicyConfigurations
- Added Interface SecurityPolicyConfigurationsUpdate
- Added Interface SecurityPolicyListResult
- Added Interface SecurityPolicyProperties
- Added Interface SecurityPolicyUpdate
- Added Interface SecurityPolicyUpdateProperties
- Added Interface TrafficControllerUpdateProperties
- Added Interface WafPolicy
- Added Interface WafPolicyUpdate
- Added Interface WafSecurityPolicy
- Added Interface WafSecurityPolicyUpdate
- Added Type Alias AssociationsInterfaceDeleteResponse
- Added Type Alias FrontendsInterfaceDeleteResponse
- Added Type Alias PolicyType
- Added Type Alias SecurityPoliciesInterfaceCreateOrUpdateResponse
- Added Type Alias SecurityPoliciesInterfaceDeleteResponse
- Added Type Alias SecurityPoliciesInterfaceGetResponse
- Added Type Alias SecurityPoliciesInterfaceListByTrafficControllerNextResponse
- Added Type Alias SecurityPoliciesInterfaceListByTrafficControllerResponse
- Added Type Alias SecurityPoliciesInterfaceUpdateResponse
- Added Type Alias TrafficControllerInterfaceDeleteResponse
- Interface TrafficControllerProperties has a new optional parameter securityPolicies
- Interface TrafficControllerProperties has a new optional parameter securityPolicyConfigurations
- Interface TrafficControllerUpdate has a new optional parameter properties
- Added Enum KnownPolicyType


## 1.0.0 (2023-11-21)

The package of @azure/arm-servicenetworking is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
2 changes: 1 addition & 1 deletion sdk/servicenetworking/arm-servicenetworking/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Microsoft
Copyright (c) 2024 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicenetworking/arm-servicenetworking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Traffic Controller Provider management API.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicenetworking/arm-servicenetworking) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-servicenetworking) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-servicenetworking) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-servicenetworking?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/servicenetworking/arm-servicenetworking/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "164375e67a1bffb207bcf603772c289dbe42d7b5",
"commit": "ba268c5654f002bc17914e0bc157f19529f1fec1",
"readme": "specification/servicenetworking/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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\servicenetworking\\resource-manager\\readme.md --use=@autorest/[email protected].12 --generate-sample=true --modelerfour.flatten-models=false",
"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\\servicenetworking\\resource-manager\\readme.md --use=@autorest/[email protected].24 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].4",
"use": "@autorest/[email protected].12"
"release_tool": "@azure-tools/[email protected].11",
"use": "@autorest/[email protected].24"
}
2 changes: 1 addition & 1 deletion sdk/servicenetworking/arm-servicenetworking/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/servicenetworking/arm-servicenetworking",
"Tag": "js/servicenetworking/arm-servicenetworking_bb0c85674f"
"Tag": "js/servicenetworking/arm-servicenetworking_5065862efa"
}
4 changes: 2 additions & 2 deletions sdk/servicenetworking/arm-servicenetworking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ServiceNetworkingManagementClient.",
"version": "1.0.1",
"version": "1.1.0-beta.1",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -116,4 +116,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-servicenetworking?view=azure-node-preview"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export interface AssociationProperties {
export interface AssociationsInterface {
beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, associationName: string, resource: Association, options?: AssociationsInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AssociationsInterfaceCreateOrUpdateResponse>, AssociationsInterfaceCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, associationName: string, resource: Association, options?: AssociationsInterfaceCreateOrUpdateOptionalParams): Promise<AssociationsInterfaceCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): Promise<void>;
beginDelete(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AssociationsInterfaceDeleteResponse>, AssociationsInterfaceDeleteResponse>>;
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceDeleteOptionalParams): Promise<AssociationsInterfaceDeleteResponse>;
get(resourceGroupName: string, trafficControllerName: string, associationName: string, options?: AssociationsInterfaceGetOptionalParams): Promise<AssociationsInterfaceGetResponse>;
listByTrafficController(resourceGroupName: string, trafficControllerName: string, options?: AssociationsInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<Association>;
update(resourceGroupName: string, trafficControllerName: string, associationName: string, properties: AssociationUpdate, options?: AssociationsInterfaceUpdateOptionalParams): Promise<AssociationsInterfaceUpdateResponse>;
Expand Down Expand Up @@ -68,6 +68,9 @@ export interface AssociationsInterfaceDeleteOptionalParams extends coreClient.Op
updateIntervalInMs?: number;
}

// @public
export type AssociationsInterfaceDeleteResponse = AssociationsInterfaceDeleteHeaders;

// @public
export interface AssociationsInterfaceGetOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -167,8 +170,8 @@ export interface FrontendProperties {
export interface FrontendsInterface {
beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, frontendName: string, resource: Frontend, options?: FrontendsInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FrontendsInterfaceCreateOrUpdateResponse>, FrontendsInterfaceCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, frontendName: string, resource: Frontend, options?: FrontendsInterfaceCreateOrUpdateOptionalParams): Promise<FrontendsInterfaceCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceDeleteOptionalParams): Promise<void>;
beginDelete(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<FrontendsInterfaceDeleteResponse>, FrontendsInterfaceDeleteResponse>>;
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceDeleteOptionalParams): Promise<FrontendsInterfaceDeleteResponse>;
get(resourceGroupName: string, trafficControllerName: string, frontendName: string, options?: FrontendsInterfaceGetOptionalParams): Promise<FrontendsInterfaceGetResponse>;
listByTrafficController(resourceGroupName: string, trafficControllerName: string, options?: FrontendsInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<Frontend>;
update(resourceGroupName: string, trafficControllerName: string, frontendName: string, properties: FrontendUpdate, options?: FrontendsInterfaceUpdateOptionalParams): Promise<FrontendsInterfaceUpdateResponse>;
Expand Down Expand Up @@ -200,6 +203,9 @@ export interface FrontendsInterfaceDeleteOptionalParams extends coreClient.Opera
updateIntervalInMs?: number;
}

// @public
export type FrontendsInterfaceDeleteResponse = FrontendsInterfaceDeleteHeaders;

// @public
export interface FrontendsInterfaceGetOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -263,6 +269,11 @@ export enum KnownOrigin {
UserSystem = "user,system"
}

// @public
export enum KnownPolicyType {
WAF = "waf"
}

// @public
export enum KnownProvisioningState {
Accepted = "Accepted",
Expand Down Expand Up @@ -319,6 +330,9 @@ export type OperationsListResponse = OperationListResult;
// @public
export type Origin = string;

// @public
export type PolicyType = string;

// @public
export type ProvisioningState = string;

Expand All @@ -335,6 +349,115 @@ export interface ResourceId {
id: string;
}

// @public
export interface SecurityPoliciesInterface {
beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, resource: SecurityPolicy, options?: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SecurityPoliciesInterfaceCreateOrUpdateResponse>, SecurityPoliciesInterfaceCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, resource: SecurityPolicy, options?: SecurityPoliciesInterfaceCreateOrUpdateOptionalParams): Promise<SecurityPoliciesInterfaceCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SecurityPoliciesInterfaceDeleteResponse>, SecurityPoliciesInterfaceDeleteResponse>>;
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceDeleteOptionalParams): Promise<SecurityPoliciesInterfaceDeleteResponse>;
get(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, options?: SecurityPoliciesInterfaceGetOptionalParams): Promise<SecurityPoliciesInterfaceGetResponse>;
listByTrafficController(resourceGroupName: string, trafficControllerName: string, options?: SecurityPoliciesInterfaceListByTrafficControllerOptionalParams): PagedAsyncIterableIterator<SecurityPolicy>;
update(resourceGroupName: string, trafficControllerName: string, securityPolicyName: string, properties: SecurityPolicyUpdate, options?: SecurityPoliciesInterfaceUpdateOptionalParams): Promise<SecurityPoliciesInterfaceUpdateResponse>;
}

// @public
export interface SecurityPoliciesInterfaceCreateOrUpdateHeaders {
retryAfter?: number;
}

// @public
export interface SecurityPoliciesInterfaceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
export type SecurityPoliciesInterfaceCreateOrUpdateResponse = SecurityPolicy;

// @public
export interface SecurityPoliciesInterfaceDeleteHeaders {
location?: string;
retryAfter?: number;
}

// @public
export interface SecurityPoliciesInterfaceDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
export type SecurityPoliciesInterfaceDeleteResponse = SecurityPoliciesInterfaceDeleteHeaders;

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

// @public
export type SecurityPoliciesInterfaceGetResponse = SecurityPolicy;

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

// @public
export type SecurityPoliciesInterfaceListByTrafficControllerNextResponse = SecurityPolicyListResult;

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

// @public
export type SecurityPoliciesInterfaceListByTrafficControllerResponse = SecurityPolicyListResult;

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

// @public
export type SecurityPoliciesInterfaceUpdateResponse = SecurityPolicy;

// @public
export interface SecurityPolicy extends TrackedResource {
properties?: SecurityPolicyProperties;
}

// @public
export interface SecurityPolicyConfigurations {
wafSecurityPolicy?: WafSecurityPolicy;
}

// @public
export interface SecurityPolicyConfigurationsUpdate {
wafSecurityPolicy?: WafSecurityPolicyUpdate;
}

// @public
export interface SecurityPolicyListResult {
nextLink?: string;
value: SecurityPolicy[];
}

// @public
export interface SecurityPolicyProperties {
readonly policyType?: PolicyType;
readonly provisioningState?: ProvisioningState;
wafPolicy?: WafPolicy;
}

// @public
export interface SecurityPolicyUpdate {
properties?: SecurityPolicyUpdateProperties;
tags?: {
[propertyName: string]: string;
};
}

// @public
export interface SecurityPolicyUpdateProperties {
wafPolicy?: WafPolicyUpdate;
}

// @public (undocumented)
export class ServiceNetworkingManagementClient extends coreClient.ServiceClient {
// (undocumented)
Expand All @@ -349,6 +472,8 @@ export class ServiceNetworkingManagementClient extends coreClient.ServiceClient
// (undocumented)
operations: Operations;
// (undocumented)
securityPoliciesInterface: SecurityPoliciesInterface;
// (undocumented)
subscriptionId: string;
// (undocumented)
trafficControllerInterface: TrafficControllerInterface;
Expand Down Expand Up @@ -388,8 +513,8 @@ export interface TrafficController extends TrackedResource {
export interface TrafficControllerInterface {
beginCreateOrUpdate(resourceGroupName: string, trafficControllerName: string, resource: TrafficController, options?: TrafficControllerInterfaceCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TrafficControllerInterfaceCreateOrUpdateResponse>, TrafficControllerInterfaceCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, trafficControllerName: string, resource: TrafficController, options?: TrafficControllerInterfaceCreateOrUpdateOptionalParams): Promise<TrafficControllerInterfaceCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<void>;
beginDelete(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<TrafficControllerInterfaceDeleteResponse>, TrafficControllerInterfaceDeleteResponse>>;
beginDeleteAndWait(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceDeleteOptionalParams): Promise<TrafficControllerInterfaceDeleteResponse>;
get(resourceGroupName: string, trafficControllerName: string, options?: TrafficControllerInterfaceGetOptionalParams): Promise<TrafficControllerInterfaceGetResponse>;
listByResourceGroup(resourceGroupName: string, options?: TrafficControllerInterfaceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<TrafficController>;
listBySubscription(options?: TrafficControllerInterfaceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<TrafficController>;
Expand Down Expand Up @@ -422,6 +547,9 @@ export interface TrafficControllerInterfaceDeleteOptionalParams extends coreClie
updateIntervalInMs?: number;
}

// @public
export type TrafficControllerInterfaceDeleteResponse = TrafficControllerInterfaceDeleteHeaders;

// @public
export interface TrafficControllerInterfaceGetOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -476,15 +604,43 @@ export interface TrafficControllerProperties {
readonly configurationEndpoints?: string[];
readonly frontends?: ResourceId[];
readonly provisioningState?: ProvisioningState;
readonly securityPolicies?: ResourceId[];
securityPolicyConfigurations?: SecurityPolicyConfigurations;
}

// @public
export interface TrafficControllerUpdate {
properties?: TrafficControllerUpdateProperties;
tags?: {
[propertyName: string]: string;
};
}

// @public
export interface TrafficControllerUpdateProperties {
securityPolicyConfigurations?: SecurityPolicyConfigurationsUpdate;
}

// @public
export interface WafPolicy {
id: string;
}

// @public
export interface WafPolicyUpdate {
id?: string;
}

// @public
export interface WafSecurityPolicy {
id: string;
}

// @public
export interface WafSecurityPolicyUpdate {
id?: string;
}

// (No @packageDocumentation comment for this package)

```
Loading

0 comments on commit 6fbad4f

Please sign in to comment.