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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ public class EffectiveNetworkSecurityRule {

/**
* The source port ranges. Expected values include a single integer between
* 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an
* asterix (*).
* 0 and 65535, a range using '-' as separator (e.g. 100-400), or an
* asterisk (*).
*/
@JsonProperty(value = "sourcePortRanges")
private List<String> sourcePortRanges;

/**
* The destination port ranges. Expected values include a single integer
* between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or
* an asterix (*).
* between 0 and 65535, a range using '-' as separator (e.g. 100-400), or
* an asterisk (*).
*/
@JsonProperty(value = "destinationPortRanges")
private List<String> destinationPortRanges;
Expand All @@ -71,16 +71,16 @@ public class EffectiveNetworkSecurityRule {

/**
* The source address prefixes. Expected values include CIDR IP ranges,
* Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags,
* and the asterix (*).
* Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags,
* and the asterisk (*).
*/
@JsonProperty(value = "sourceAddressPrefixes")
private List<String> sourceAddressPrefixes;

/**
* The destination address prefixes. Expected values include CIDR IP
* ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet),
* System Tags, and the asterix (*).
* ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet),
* System Tags, and the asterisk (*).
*/
@JsonProperty(value = "destinationAddressPrefixes")
private List<String> destinationAddressPrefixes;
Expand Down Expand Up @@ -198,7 +198,7 @@ public EffectiveNetworkSecurityRule withDestinationPortRange(String destinationP
}

/**
* Get the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an asterix (*).
* Get the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
*
* @return the sourcePortRanges value
*/
Expand All @@ -207,7 +207,7 @@ public List<String> sourcePortRanges() {
}

/**
* Set the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an asterix (*).
* Set the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
*
* @param sourcePortRanges the sourcePortRanges value to set
* @return the EffectiveNetworkSecurityRule object itself.
Expand All @@ -218,7 +218,7 @@ public EffectiveNetworkSecurityRule withSourcePortRanges(List<String> sourcePort
}

/**
* Get the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an asterix (*).
* Get the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
*
* @return the destinationPortRanges value
*/
Expand All @@ -227,7 +227,7 @@ public List<String> destinationPortRanges() {
}

/**
* Set the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an asterix (*).
* Set the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
*
* @param destinationPortRanges the destinationPortRanges value to set
* @return the EffectiveNetworkSecurityRule object itself.
Expand Down Expand Up @@ -278,7 +278,7 @@ public EffectiveNetworkSecurityRule withDestinationAddressPrefix(String destinat
}

/**
* Get the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
* Get the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
*
* @return the sourceAddressPrefixes value
*/
Expand All @@ -287,7 +287,7 @@ public List<String> sourceAddressPrefixes() {
}

/**
* Set the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
* Set the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
*
* @param sourceAddressPrefixes the sourceAddressPrefixes value to set
* @return the EffectiveNetworkSecurityRule object itself.
Expand All @@ -298,7 +298,7 @@ public EffectiveNetworkSecurityRule withSourceAddressPrefixes(List<String> sourc
}

/**
* Get the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
* Get the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
*
* @return the destinationAddressPrefixes value
*/
Expand All @@ -307,7 +307,7 @@ public List<String> destinationAddressPrefixes() {
}

/**
* Set the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
* Set the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
*
* @param destinationAddressPrefixes the destinationAddressPrefixes value to set
* @return the EffectiveNetworkSecurityRule object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ExpressRouteCircuitPeeringConfig {
private List<String> advertisedPublicPrefixes;

/**
* The communities of bgp peering. Spepcified for microsoft peering.
* The communities of bgp peering. Specified for microsoft peering.
*/
@JsonProperty(value = "advertisedCommunities")
private List<String> advertisedCommunities;
Expand Down Expand Up @@ -75,7 +75,7 @@ public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List<String
}

/**
* Get the communities of bgp peering. Spepcified for microsoft peering.
* Get the communities of bgp peering. Specified for microsoft peering.
*
* @return the advertisedCommunities value
*/
Expand All @@ -84,7 +84,7 @@ public List<String> advertisedCommunities() {
}

/**
* Set the communities of bgp peering. Spepcified for microsoft peering.
* Set the communities of bgp peering. Specified for microsoft peering.
*
* @param advertisedCommunities the advertisedCommunities value to set
* @return the ExpressRouteCircuitPeeringConfig object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ interface WithAccess {
interface WithDirection {
/**
* Specifies direction.
* @param direction The direction of the rule. The direction specifies if rule will be evaluated on incoming or outcoming traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: 'Inbound', 'Outbound'
* @param direction The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are: 'Inbound' and 'Outbound'. Possible values include: 'Inbound', 'Outbound'
* @return the next definition stage
*/
WithProtocol withDirection(SecurityRuleDirection direction);
Expand Down Expand Up @@ -202,7 +202,7 @@ interface WithDescription {
interface WithDestinationAddressPrefix {
/**
* Specifies destinationAddressPrefix.
* @param destinationAddressPrefix The destination address prefix. CIDR or destination IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used
* @param destinationAddressPrefix The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used
* @return the next definition stage
*/
WithCreate withDestinationAddressPrefix(String destinationAddressPrefix);
Expand Down Expand Up @@ -238,7 +238,7 @@ interface WithDestinationApplicationSecurityGroups {
interface WithDestinationPortRange {
/**
* Specifies destinationPortRange.
* @param destinationPortRange The destination port or range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports
* @param destinationPortRange The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports
* @return the next definition stage
*/
WithCreate withDestinationPortRange(String destinationPortRange);
Expand Down Expand Up @@ -322,7 +322,7 @@ interface WithProvisioningState {
interface WithSourceAddressPrefix {
/**
* Specifies sourceAddressPrefix.
* @param sourceAddressPrefix The CIDR or source IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from
* @param sourceAddressPrefix The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from
* @return the next definition stage
*/
WithCreate withSourceAddressPrefix(String sourceAddressPrefix);
Expand Down Expand Up @@ -358,7 +358,7 @@ interface WithSourceApplicationSecurityGroups {
interface WithSourcePortRange {
/**
* Specifies sourcePortRange.
* @param sourcePortRange The source port or range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports
* @param sourcePortRange The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports
* @return the next definition stage
*/
WithCreate withSourcePortRange(String sourcePortRange);
Expand Down Expand Up @@ -412,7 +412,7 @@ interface WithDescription {
interface WithDestinationAddressPrefix {
/**
* Specifies destinationAddressPrefix.
* @param destinationAddressPrefix The destination address prefix. CIDR or destination IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used
* @param destinationAddressPrefix The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used
* @return the next update stage
*/
Update withDestinationAddressPrefix(String destinationAddressPrefix);
Expand Down Expand Up @@ -448,7 +448,7 @@ interface WithDestinationApplicationSecurityGroups {
interface WithDestinationPortRange {
/**
* Specifies destinationPortRange.
* @param destinationPortRange The destination port or range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports
* @param destinationPortRange The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports
* @return the next update stage
*/
Update withDestinationPortRange(String destinationPortRange);
Expand Down Expand Up @@ -532,7 +532,7 @@ interface WithProvisioningState {
interface WithSourceAddressPrefix {
/**
* Specifies sourceAddressPrefix.
* @param sourceAddressPrefix The CIDR or source IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from
* @param sourceAddressPrefix The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from
* @return the next update stage
*/
Update withSourceAddressPrefix(String sourceAddressPrefix);
Expand Down Expand Up @@ -568,7 +568,7 @@ interface WithSourceApplicationSecurityGroups {
interface WithSourcePortRange {
/**
* Specifies sourcePortRange.
* @param sourcePortRange The source port or range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports
* @param sourcePortRange The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports
* @return the next update stage
*/
Update withSourcePortRange(String sourcePortRange);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<Wit
interface WithConnectionType {
/**
* Specifies connectionType.
* @param connectionType Gateway connection type. Possible values are: 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'
* @param connectionType Gateway connection type. Possible values are: 'IPsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'
* @return the next definition stage
*/
WithVirtualNetworkGateway1 withConnectionType(VirtualNetworkGatewayConnectionType connectionType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup;
import rx.Observable;
import com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup;
import rx.Completable;
import com.microsoft.azure.management.network.v2017_10_01.implementation.VirtualNetworkGatewaysInner;
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.network.v2017_10_01.VirtualNetworkGatewayConnectionListEntity;
Expand Down Expand Up @@ -42,7 +41,7 @@ public interface VirtualNetworkGateways extends SupportsCreating<VirtualNetworkG
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters);
Observable<String> generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters);

/**
* Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
Expand All @@ -53,7 +52,7 @@ public interface VirtualNetworkGateways extends SupportsCreating<VirtualNetworkG
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters);
Observable<String> generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters);

/**
* Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
Expand All @@ -63,7 +62,7 @@ public interface VirtualNetworkGateways extends SupportsCreating<VirtualNetworkG
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName);
Observable<String> getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName);

/**
* The GetBgpPeerStatus operation retrieves the status of all BGP peers.
Expand All @@ -83,7 +82,7 @@ public interface VirtualNetworkGateways extends SupportsCreating<VirtualNetworkG
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable supportedVpnDevicesAsync(String resourceGroupName, String virtualNetworkGatewayName);
Observable<String> supportedVpnDevicesAsync(String resourceGroupName, String virtualNetworkGatewayName);

/**
* This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
Expand Down Expand Up @@ -125,6 +124,6 @@ public interface VirtualNetworkGateways extends SupportsCreating<VirtualNetworkG
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable vpnDeviceConfigurationScriptAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters);
Observable<String> vpnDeviceConfigurationScriptAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters);

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class BackendAddressPoolImpl extends IndexableRefreshableWrapperImpl<BackendAddr
BackendAddressPoolImpl(BackendAddressPoolInner inner, NetworkManager manager) {
super(null, inner);
this.manager = manager;
// set resource ancestor and positional variables
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
this.loadBalancerName = IdParsingUtils.getValueFromIdByName(inner.id(), "loadBalancers");
this.backendAddressPoolName = IdParsingUtils.getValueFromIdByName(inner.id(), "backendAddressPools");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* List of connection states snaphots.
* List of connection states snapshots.
*/
public class ConnectionMonitorQueryResultInner {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ConnectionMonitorResultImpl extends CreatableUpdatableImpl<ConnectionMonit
this.manager = manager;
// Set resource name
this.connectionMonitorName = inner.name();
// resource ancestor names
// set resource ancestor and positional variables
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
this.networkWatcherName = IdParsingUtils.getValueFromIdByName(inner.id(), "networkWatchers");
this.connectionMonitorName = IdParsingUtils.getValueFromIdByName(inner.id(), "connectionMonitors");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ExpressRouteCircuitAuthorizationImpl extends CreatableUpdatableImpl<Expres
this.manager = manager;
// Set resource name
this.authorizationName = inner.name();
// resource ancestor names
// set resource ancestor and positional variables
this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
this.circuitName = IdParsingUtils.getValueFromIdByName(inner.id(), "expressRouteCircuits");
this.authorizationName = IdParsingUtils.getValueFromIdByName(inner.id(), "authorizations");
Expand Down
Loading