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 web/resource-manager] [Hub Generated] Review request for Microsoft.Web to add version 2018-02-01 #2902

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 @@ -14,7 +14,7 @@
import com.microsoft.rest.serializer.JsonFlatten;

/**
* ARM resource for a app service environment.
* ARM resource for a app service enviroment.
*/
@JsonFlatten
public class AppServiceEnvironmentPatchResource extends ProxyOnlyResource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
import com.microsoft.azure.management.appservice.v2018_02_01.AppServiceEnvironmentResource;
import rx.Completable;
import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentDiagnostics;
import com.microsoft.azure.management.appservice.v2018_02_01.InboundEnvironmentEndpoint;
import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentResourceMetric;
import com.microsoft.azure.management.appservice.v2018_02_01.MultiRolePools;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.WorkerPoolResourceInner;
import com.microsoft.azure.management.appservice.v2018_02_01.Operation;
import com.microsoft.azure.management.appservice.v2018_02_01.OutboundEnvironmentEndpoint;
import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentAppServicePlan;
import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentSite;
import com.microsoft.azure.management.appservice.v2018_02_01.WorkerPools;
Expand Down Expand Up @@ -169,6 +171,17 @@ public interface AppServiceEnvironments {
*/
Observable<HostingEnvironmentDiagnostics> listDiagnosticsAsync(String resourceGroupName, String name);

/**
* Get the network endpoints of all inbound dependencies of an ase.
* Get the network endpoints of all inbound dependencies of an ase.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<InboundEnvironmentEndpoint> getInboundNetworkDependenciesEndpointsAsync(String resourceGroupName, String name);

/**
* Get global metric definitions of an App Service Environment.
* Get global metric definitions of an App Service Environment.
Expand Down Expand Up @@ -401,6 +414,17 @@ public interface AppServiceEnvironments {
*/
Observable<Operation> listOperationsAsync(String resourceGroupName, String name);

/**
* Get the network endpoints of all outbound dependencies of an ase.
* Get the network endpoints of all outbound dependencies of an ase.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the App Service Environment.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<OutboundEnvironmentEndpoint> getOutboundNetworkDependenciesEndpointsAsync(String resourceGroupName, String name);

/**
* Get all App Service plans in an App Service Environment.
* Get all App Service plans in an App Service Environment.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appservice.v2018_02_01;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The EndpointDependency model.
*/
public class EndpointDependency {
/**
* The Domain Name of the dependency.
*/
@JsonProperty(value = "domainName")
private String domainName;

/**
* The IP Addresses and Ports used when connecting to DomainName.
*/
@JsonProperty(value = "endpointDetails")
private List<EndpointDetail> endpointDetails;

/**
* Get the Domain Name of the dependency.
*
* @return the domainName value
*/
public String domainName() {
return this.domainName;
}

/**
* Set the Domain Name of the dependency.
*
* @param domainName the domainName value to set
* @return the EndpointDependency object itself.
*/
public EndpointDependency withDomainName(String domainName) {
this.domainName = domainName;
return this;
}

/**
* Get the IP Addresses and Ports used when connecting to DomainName.
*
* @return the endpointDetails value
*/
public List<EndpointDetail> endpointDetails() {
return this.endpointDetails;
}

/**
* Set the IP Addresses and Ports used when connecting to DomainName.
*
* @param endpointDetails the endpointDetails value to set
* @return the EndpointDependency object itself.
*/
public EndpointDependency withEndpointDetails(List<EndpointDetail> endpointDetails) {
this.endpointDetails = endpointDetails;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appservice.v2018_02_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The EndpointDetail model.
*/
public class EndpointDetail {
/**
* An IP Address that Domain Name currently resolves to.
*/
@JsonProperty(value = "ipAddress")
private String ipAddress;

/**
* The port an endpoint is connected to.
*/
@JsonProperty(value = "port")
private Integer port;

/**
* The time in milliseconds it takes to connect to this IpAddress at this
* Port.
*/
@JsonProperty(value = "latency")
private Double latency;

/**
* Whether it is possible to connect to IpAddress.
*/
@JsonProperty(value = "isAccessable")
private Boolean isAccessable;

/**
* Get an IP Address that Domain Name currently resolves to.
*
* @return the ipAddress value
*/
public String ipAddress() {
return this.ipAddress;
}

/**
* Set an IP Address that Domain Name currently resolves to.
*
* @param ipAddress the ipAddress value to set
* @return the EndpointDetail object itself.
*/
public EndpointDetail withIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}

/**
* Get the port an endpoint is connected to.
*
* @return the port value
*/
public Integer port() {
return this.port;
}

/**
* Set the port an endpoint is connected to.
*
* @param port the port value to set
* @return the EndpointDetail object itself.
*/
public EndpointDetail withPort(Integer port) {
this.port = port;
return this;
}

/**
* Get the time in milliseconds it takes to connect to this IpAddress at this Port.
*
* @return the latency value
*/
public Double latency() {
return this.latency;
}

/**
* Set the time in milliseconds it takes to connect to this IpAddress at this Port.
*
* @param latency the latency value to set
* @return the EndpointDetail object itself.
*/
public EndpointDetail withLatency(Double latency) {
this.latency = latency;
return this;
}

/**
* Get whether it is possible to connect to IpAddress.
*
* @return the isAccessable value
*/
public Boolean isAccessable() {
return this.isAccessable;
}

/**
* Set whether it is possible to connect to IpAddress.
*
* @param isAccessable the isAccessable value to set
* @return the EndpointDetail object itself.
*/
public EndpointDetail withIsAccessable(Boolean isAccessable) {
this.isAccessable = isAccessable;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appservice.v2018_02_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.InboundEnvironmentEndpointInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager;
import java.util.List;

/**
* Type representing InboundEnvironmentEndpoint.
*/
public interface InboundEnvironmentEndpoint extends HasInner<InboundEnvironmentEndpointInner>, HasManager<CertificateRegistrationManager> {
/**
* @return the description value.
*/
String description();

/**
* @return the endpoints value.
*/
List<String> endpoints();

/**
* @return the ports value.
*/
List<String> ports();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appservice.v2018_02_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.OutboundEnvironmentEndpointInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager;
import java.util.List;

/**
* Type representing OutboundEnvironmentEndpoint.
*/
public interface OutboundEnvironmentEndpoint extends HasInner<OutboundEnvironmentEndpointInner>, HasManager<CertificateRegistrationManager> {
/**
* @return the category value.
*/
String category();

/**
* @return the endpoints value.
*/
List<EndpointDependency> endpoints();

}
Loading