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

[ReleasePR sdk/peering/mgmt-v2019_08_01_preview] Updating peering examples etc #10212

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
2 changes: 1 addition & 1 deletion sdk/peering/mgmt-v2019_08_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-peering</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
import com.microsoft.azure.ProxyResource;

/**
* Peering is a logical representation of a set of connections to the Microsoft
* Cloud Edge at a location.
*/
@JsonFlatten
public class PeeringInner extends Resource {
public class PeeringInner extends ProxyResource {
/**
* The SKU that defines the tier and kind of the peering.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ interface PeeringManagementClientService {
/**
* Checks if the peering service provider is present within 1000 miles of customer's location.
*
* @param checkServiceProviderAvailabilityInput The CheckServiceProviderAvailabilityInput indicating customer location and service provider.
* @param checkServiceProviderAvailabilityInput The CheckServiceProviderAvailabilityInput
indicating customer location and service provider.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
Expand All @@ -372,7 +373,8 @@ public String checkServiceProviderAvailability(CheckServiceProviderAvailabilityI
/**
* Checks if the peering service provider is present within 1000 miles of customer's location.
*
* @param checkServiceProviderAvailabilityInput The CheckServiceProviderAvailabilityInput indicating customer location and service provider.
* @param checkServiceProviderAvailabilityInput The CheckServiceProviderAvailabilityInput
indicating customer location and service provider.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
Expand All @@ -384,7 +386,8 @@ public ServiceFuture<String> checkServiceProviderAvailabilityAsync(CheckServiceP
/**
* Checks if the peering service provider is present within 1000 miles of customer's location.
*
* @param checkServiceProviderAvailabilityInput The CheckServiceProviderAvailabilityInput indicating customer location and service provider.
* @param checkServiceProviderAvailabilityInput The CheckServiceProviderAvailabilityInput
indicating customer location and service provider.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the String object
*/
Expand All @@ -400,7 +403,8 @@ public String call(ServiceResponse<String> response) {
/**
* Checks if the peering service provider is present within 1000 miles of customer's location.
*
* @param checkServiceProviderAvailabilityInput The CheckServiceProviderAvailabilityInput indicating customer location and service provider.
* @param checkServiceProviderAvailabilityInput The CheckServiceProviderAvailabilityInput
indicating customer location and service provider.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the String object
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
import com.microsoft.azure.ProxyResource;

/**
* Peering Service.
*/
@JsonFlatten
public class PeeringServiceInner extends Resource {
public class PeeringServiceInner extends ProxyResource {
/**
* The PeeringServiceLocation of the Customer.
*/
Expand Down