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 network/resource-manager] Added Prepare action for subnet #960

Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
54 changes: 54 additions & 0 deletions packages/@azure/arm-network/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8410,6 +8410,60 @@ export interface VirtualNetworkUsage {
readonly unit?: string;
}

/**
* @interface
* An interface representing NetworkIntentPolicy.
* Network Intent Policy resource.
*
* @extends Resource
*/
export interface NetworkIntentPolicy extends Resource {
/**
* @member {string} [etag] Gets a unique read-only string that changes
* whenever the resource is updated.
*/
etag?: string;
}

/**
* @interface
* An interface representing NetworkIntentPolicyConfiguration.
*/
export interface NetworkIntentPolicyConfiguration {
/**
* @member {string} [networkIntentPolicyName] The name of the Network Intent
* Policy for storing in target subscription.
*/
networkIntentPolicyName?: string;
/**
* @member {NetworkIntentPolicy} [sourceNetworkIntentPolicy]
*/
sourceNetworkIntentPolicy?: NetworkIntentPolicy;
}

/**
* @interface
* An interface representing PrepareNetworkPoliciesRequest.
*/
export interface PrepareNetworkPoliciesRequest {
/**
* @member {string} [serviceName] The name of the service for which subnet is
* being prepared for.
*/
serviceName?: string;
/**
* @member {string} [resourceGroupName] The name of the resource group where
* the Network Intent Policy will be stored.
*/
resourceGroupName?: string;
/**
* @member {NetworkIntentPolicyConfiguration[]}
* [networkIntentPolicyConfigurations] A list of
* NetworkIntentPolicyConfiguration.
*/
networkIntentPolicyConfigurations?: NetworkIntentPolicyConfiguration[];
}

/**
* @interface
* An interface representing VirtualNetworkGatewayIPConfiguration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export {
AddressSpace,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export {
VirtualNetworkPeering,
VirtualNetwork,
DhcpOptions,
NetworkIntentPolicy,
VirtualNetworkGatewayIPConfiguration,
VpnClientRootCertificate,
VpnClientRevokedCertificate,
Expand Down
Loading