Skip to content

Commit

Permalink
CodeGen from PR 24526 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge b9222bee434a692ef06976d911f1209e787f1cfb into 237753f28c24ce2ec531f9e80dbfbbd22d0aaf67
  • Loading branch information
SDKAuto committed Jun 21, 2023
1 parent 68a9bf2 commit 36980cc
Show file tree
Hide file tree
Showing 10 changed files with 319 additions and 43 deletions.
34 changes: 26 additions & 8 deletions sdk/network/arm-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
# Release History

## 32.0.0 (2023-06-21)

**Features**

## 31.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added Type Alias AdminState
- Interface ActiveDefaultSecurityAdminRule has a new optional parameter resourceGuid
- Interface ActiveSecurityAdminRule has a new optional parameter resourceGuid
- Interface AdminRule has a new optional parameter resourceGuid
- Interface AdminRuleCollection has a new optional parameter resourceGuid
- Interface ApplicationGateway has a new optional parameter defaultPredefinedSslPolicy
- Interface ConfigurationGroup has a new optional parameter resourceGuid
- Interface ConnectivityConfiguration has a new optional parameter resourceGuid
- Interface DefaultAdminRule has a new optional parameter resourceGuid
- Interface EffectiveConnectivityConfiguration has a new optional parameter resourceGuid
- Interface EffectiveDefaultSecurityAdminRule has a new optional parameter resourceGuid
- Interface EffectiveSecurityAdminRule has a new optional parameter resourceGuid
- Interface NetworkGroup has a new optional parameter resourceGuid
- Interface NetworkManager has a new optional parameter resourceGuid
- Interface SecurityAdminConfiguration has a new optional parameter resourceGuid
- Interface VirtualNetworkGateway has a new optional parameter adminState
- Added Enum KnownAdminState

### Other Changes
**Breaking Changes**

- Class NetworkManagementClient has a new signature
- Enum KnownApplicationGatewayCustomErrorStatusCode no longer has value HttpStatus499


## 31.0.0 (2023-05-19)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/network/arm-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "ec1dd632841c121d2e2eac3d9e5e24a0428fa741",
"commit": "9aa875a4c935edd03784ae3a806511fe5c5c762d",
"readme": "specification/network/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --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\\network\\resource-manager\\readme.md --use=@autorest/typescript@6.0.2 --generate-sample=true",
"autorest_command": "autorest --version=3.9.3 --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/network/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.2"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
"use": "@autorest/typescript@^6.0.4"
}
14 changes: 3 additions & 11 deletions sdk/network/arm-network/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 NetworkManagementClient.",
"version": "31.0.1",
"version": "32.0.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -111,13 +111,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-network?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network"
}
28 changes: 26 additions & 2 deletions sdk/network/arm-network/review/arm-network.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export interface ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdminR
readonly priority?: number;
readonly protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly sourcePortRanges?: string[];
readonly sources?: AddressPrefixItem[];
}
Expand All @@ -89,6 +90,7 @@ export interface ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRule {
priority?: number;
protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
sourcePortRanges?: string[];
sources?: AddressPrefixItem[];
}
Expand Down Expand Up @@ -124,6 +126,7 @@ export interface AdminRule extends BaseAdminRule {
priority?: number;
protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
sourcePortRanges?: string[];
sources?: AddressPrefixItem[];
}
Expand All @@ -133,6 +136,7 @@ export interface AdminRuleCollection extends ChildResource {
appliesToGroups?: NetworkManagerSecurityGroupItem[];
description?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -253,6 +257,9 @@ export interface AdminRulesListOptionalParams extends coreClient.OperationOption
// @public
export type AdminRulesListResponse = AdminRuleListResult;

// @public
export type AdminState = string;

// @public
export interface ApplicationGateway extends Resource {
authenticationCertificates?: ApplicationGatewayAuthenticationCertificate[];
Expand All @@ -261,6 +268,7 @@ export interface ApplicationGateway extends Resource {
backendHttpSettingsCollection?: ApplicationGatewayBackendHttpSettings[];
backendSettingsCollection?: ApplicationGatewayBackendSettings[];
customErrorConfigurations?: ApplicationGatewayCustomError[];
readonly defaultPredefinedSslPolicy?: ApplicationGatewaySslPolicyName;
enableFips?: boolean;
enableHttp2?: boolean;
readonly etag?: string;
Expand Down Expand Up @@ -2249,6 +2257,7 @@ export interface ConfigurationGroup {
description?: string;
id?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
}

// @public
Expand Down Expand Up @@ -2610,6 +2619,7 @@ export interface ConnectivityConfiguration extends ChildResource {
hubs?: Hub[];
isGlobal?: IsGlobal;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -3061,6 +3071,7 @@ export interface DefaultAdminRule extends BaseAdminRule {
readonly priority?: number;
readonly protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly sourcePortRanges?: string[];
readonly sources?: AddressPrefixItem[];
}
Expand Down Expand Up @@ -3287,6 +3298,7 @@ export interface EffectiveConnectivityConfiguration {
id?: string;
isGlobal?: IsGlobal;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
}

// @public
Expand All @@ -3301,6 +3313,7 @@ export interface EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecurity
readonly priority?: number;
readonly protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly sourcePortRanges?: string[];
readonly sources?: AddressPrefixItem[];
}
Expand Down Expand Up @@ -3397,6 +3410,7 @@ export interface EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdminRu
priority?: number;
protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
sourcePortRanges?: string[];
sources?: AddressPrefixItem[];
}
Expand Down Expand Up @@ -5949,6 +5963,12 @@ export enum KnownAdminRuleKind {
Default = "Default"
}

// @public
export enum KnownAdminState {
Disabled = "Disabled",
Enabled = "Enabled"
}

// @public
export enum KnownApplicationGatewayBackendHealthServerHealth {
Down = "Down",
Expand Down Expand Up @@ -5977,7 +5997,6 @@ export enum KnownApplicationGatewayCustomErrorStatusCode {
HttpStatus404 = "HttpStatus404",
HttpStatus405 = "HttpStatus405",
HttpStatus408 = "HttpStatus408",
HttpStatus499 = "HttpStatus499",
HttpStatus500 = "HttpStatus500",
HttpStatus502 = "HttpStatus502",
HttpStatus503 = "HttpStatus503",
Expand Down Expand Up @@ -8424,6 +8443,7 @@ export interface NetworkConfigurationDiagnosticResult {
export interface NetworkGroup extends ChildResource {
description?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -8912,6 +8932,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient {
// (undocumented)
$host: string;
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: NetworkManagementClientOptionalParams);
constructor(credentials: coreAuth.TokenCredential, options?: NetworkManagementClientOptionalParams);
// (undocumented)
adminRuleCollections: AdminRuleCollections;
// (undocumented)
Expand Down Expand Up @@ -9131,7 +9152,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient {
// (undocumented)
subnets: Subnets;
// (undocumented)
subscriptionId: string;
subscriptionId?: string;
// (undocumented)
subscriptionNetworkManagerConnections: SubscriptionNetworkManagerConnections;
supportedSecurityProviders(resourceGroupName: string, virtualWANName: string, options?: SupportedSecurityProvidersOptionalParams): Promise<SupportedSecurityProvidersResponse>;
Expand Down Expand Up @@ -9208,6 +9229,7 @@ export interface NetworkManager extends Resource {
networkManagerScopeAccesses?: ConfigurationType[];
networkManagerScopes?: NetworkManagerPropertiesNetworkManagerScopes;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -12038,6 +12060,7 @@ export interface SecurityAdminConfiguration extends ChildResource {
applyOnNetworkIntentPolicyBasedServices?: NetworkIntentPolicyBasedService[];
description?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -13583,6 +13606,7 @@ export type VirtualNetworkEncryptionEnforcement = string;
// @public
export interface VirtualNetworkGateway extends Resource {
active?: boolean;
adminState?: AdminState;
allowRemoteVnetTraffic?: boolean;
allowVirtualWanTraffic?: boolean;
bgpSettings?: BgpSettings;
Expand Down
Loading

0 comments on commit 36980cc

Please sign in to comment.