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] containerservices/resource-manager #174

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ContainerServiceCustomProfile {
private String orchestrator;

/**
* Get the orchestrator value.
* Get the name of the custom orchestrator to use.
*
* @return the orchestrator value
*/
Expand All @@ -30,7 +30,7 @@ public String orchestrator() {
}

/**
* Set the orchestrator value.
* Set the name of the custom orchestrator to use.
*
* @param orchestrator the orchestrator value to set
* @return the ContainerServiceCustomProfile object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ContainerServiceDiagnosticsProfile {
private ContainerServiceVMDiagnostics vmDiagnostics;

/**
* Get the vmDiagnostics value.
* Get profile for diagnostics on the container service VMs.
*
* @return the vmDiagnostics value
*/
Expand All @@ -30,7 +30,7 @@ public ContainerServiceVMDiagnostics vmDiagnostics() {
}

/**
* Set the vmDiagnostics value.
* Set profile for diagnostics on the container service VMs.
*
* @param vmDiagnostics the vmDiagnostics value to set
* @return the ContainerServiceDiagnosticsProfile object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class ContainerServiceLinuxProfile {
private ContainerServiceSshConfiguration ssh;

/**
* Get the adminUsername value.
* Get the administrator username to use for Linux VMs.
*
* @return the adminUsername value
*/
Expand All @@ -36,7 +36,7 @@ public String adminUsername() {
}

/**
* Set the adminUsername value.
* Set the administrator username to use for Linux VMs.
*
* @param adminUsername the adminUsername value to set
* @return the ContainerServiceLinuxProfile object itself.
Expand All @@ -47,7 +47,7 @@ public ContainerServiceLinuxProfile withAdminUsername(String adminUsername) {
}

/**
* Get the ssh value.
* Get sSH configuration for Linux-based VMs running on Azure.
*
* @return the ssh value
*/
Expand All @@ -56,7 +56,7 @@ public ContainerServiceSshConfiguration ssh() {
}

/**
* Set the ssh value.
* Set sSH configuration for Linux-based VMs running on Azure.
*
* @param ssh the ssh value to set
* @return the ContainerServiceLinuxProfile object itself.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
/**
* 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.containerservice;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Profile of network configuration.
*/
public class ContainerServiceNetworkProfile {
/**
* Network plugin used for building Kubernetes network. Possible values
* include: 'azure', 'kubenet'.
*/
@JsonProperty(value = "networkPlugin")
private NetworkPlugin networkPlugin;

/**
* Network policy used for building Kubernetes network. Possible values
* include: 'calico'.
*/
@JsonProperty(value = "networkPolicy")
private NetworkPolicy networkPolicy;

/**
* A CIDR notation IP range from which to assign pod IPs when kubenet is
* used.
*/
@JsonProperty(value = "podCidr")
private String podCidr;

/**
* A CIDR notation IP range from which to assign service cluster IPs. It
* must not overlap with any Subnet IP ranges.
*/
@JsonProperty(value = "serviceCidr")
private String serviceCidr;

/**
* An IP address assigned to the Kubernetes DNS service. It must be within
* the Kubernetes service address range specified in serviceCidr.
*/
@JsonProperty(value = "dnsServiceIP")
private String dnsServiceIP;

/**
* A CIDR notation IP range assigned to the Docker bridge network. It must
* not overlap with any Subnet IP ranges or the Kubernetes service address
* range.
*/
@JsonProperty(value = "dockerBridgeCidr")
private String dockerBridgeCidr;

/**
* Get network plugin used for building Kubernetes network. Possible values include: 'azure', 'kubenet'.
*
* @return the networkPlugin value
*/
public NetworkPlugin networkPlugin() {
return this.networkPlugin;
}

/**
* Set network plugin used for building Kubernetes network. Possible values include: 'azure', 'kubenet'.
*
* @param networkPlugin the networkPlugin value to set
* @return the ContainerServiceNetworkProfile object itself.
*/
public ContainerServiceNetworkProfile withNetworkPlugin(NetworkPlugin networkPlugin) {
this.networkPlugin = networkPlugin;
return this;
}

/**
* Get network policy used for building Kubernetes network. Possible values include: 'calico'.
*
* @return the networkPolicy value
*/
public NetworkPolicy networkPolicy() {
return this.networkPolicy;
}

/**
* Set network policy used for building Kubernetes network. Possible values include: 'calico'.
*
* @param networkPolicy the networkPolicy value to set
* @return the ContainerServiceNetworkProfile object itself.
*/
public ContainerServiceNetworkProfile withNetworkPolicy(NetworkPolicy networkPolicy) {
this.networkPolicy = networkPolicy;
return this;
}

/**
* Get a CIDR notation IP range from which to assign pod IPs when kubenet is used.
*
* @return the podCidr value
*/
public String podCidr() {
return this.podCidr;
}

/**
* Set a CIDR notation IP range from which to assign pod IPs when kubenet is used.
*
* @param podCidr the podCidr value to set
* @return the ContainerServiceNetworkProfile object itself.
*/
public ContainerServiceNetworkProfile withPodCidr(String podCidr) {
this.podCidr = podCidr;
return this;
}

/**
* Get a CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
*
* @return the serviceCidr value
*/
public String serviceCidr() {
return this.serviceCidr;
}

/**
* Set a CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
*
* @param serviceCidr the serviceCidr value to set
* @return the ContainerServiceNetworkProfile object itself.
*/
public ContainerServiceNetworkProfile withServiceCidr(String serviceCidr) {
this.serviceCidr = serviceCidr;
return this;
}

/**
* Get an IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
*
* @return the dnsServiceIP value
*/
public String dnsServiceIP() {
return this.dnsServiceIP;
}

/**
* Set an IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
*
* @param dnsServiceIP the dnsServiceIP value to set
* @return the ContainerServiceNetworkProfile object itself.
*/
public ContainerServiceNetworkProfile withDnsServiceIP(String dnsServiceIP) {
this.dnsServiceIP = dnsServiceIP;
return this;
}

/**
* Get a CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.
*
* @return the dockerBridgeCidr value
*/
public String dockerBridgeCidr() {
return this.dockerBridgeCidr;
}

/**
* Set a CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.
*
* @param dockerBridgeCidr the dockerBridgeCidr value to set
* @return the ContainerServiceNetworkProfile object itself.
*/
public ContainerServiceNetworkProfile withDockerBridgeCidr(String dockerBridgeCidr) {
this.dockerBridgeCidr = dockerBridgeCidr;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class ContainerServiceOrchestratorProfile {
private String orchestratorVersion;

/**
* Get the orchestratorType value.
* Get the orchestrator to use to manage container service cluster resources. Valid values are Kubernetes, Swarm, DCOS, DockerCE and Custom. Possible values include: 'Kubernetes', 'Swarm', 'DCOS', 'DockerCE', 'Custom'.
*
* @return the orchestratorType value
*/
Expand All @@ -40,7 +40,7 @@ public ContainerServiceOrchestratorTypes orchestratorType() {
}

/**
* Set the orchestratorType value.
* Set the orchestrator to use to manage container service cluster resources. Valid values are Kubernetes, Swarm, DCOS, DockerCE and Custom. Possible values include: 'Kubernetes', 'Swarm', 'DCOS', 'DockerCE', 'Custom'.
*
* @param orchestratorType the orchestratorType value to set
* @return the ContainerServiceOrchestratorProfile object itself.
Expand All @@ -51,7 +51,7 @@ public ContainerServiceOrchestratorProfile withOrchestratorType(ContainerService
}

/**
* Get the orchestratorVersion value.
* Get the version of the orchestrator to use. You can specify the major.minor.patch part of the actual version.For example, you can specify version as "1.6.11".
*
* @return the orchestratorVersion value
*/
Expand All @@ -60,7 +60,7 @@ public String orchestratorVersion() {
}

/**
* Set the orchestratorVersion value.
* Set the version of the orchestrator to use. You can specify the major.minor.patch part of the actual version.For example, you can specify version as "1.6.11".
*
* @param orchestratorVersion the orchestratorVersion value to set
* @return the ContainerServiceOrchestratorProfile object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class ContainerServiceServicePrincipalProfile {
private KeyVaultSecretRef keyVaultSecretRef;

/**
* Get the clientId value.
* Get the ID for the service principal.
*
* @return the clientId value
*/
Expand All @@ -44,7 +44,7 @@ public String clientId() {
}

/**
* Set the clientId value.
* Set the ID for the service principal.
*
* @param clientId the clientId value to set
* @return the ContainerServiceServicePrincipalProfile object itself.
Expand All @@ -55,7 +55,7 @@ public ContainerServiceServicePrincipalProfile withClientId(String clientId) {
}

/**
* Get the secret value.
* Get the secret password associated with the service principal in plain text.
*
* @return the secret value
*/
Expand All @@ -64,7 +64,7 @@ public String secret() {
}

/**
* Set the secret value.
* Set the secret password associated with the service principal in plain text.
*
* @param secret the secret value to set
* @return the ContainerServiceServicePrincipalProfile object itself.
Expand All @@ -75,7 +75,7 @@ public ContainerServiceServicePrincipalProfile withSecret(String secret) {
}

/**
* Get the keyVaultSecretRef value.
* Get reference to a secret stored in Azure Key Vault.
*
* @return the keyVaultSecretRef value
*/
Expand All @@ -84,7 +84,7 @@ public KeyVaultSecretRef keyVaultSecretRef() {
}

/**
* Set the keyVaultSecretRef value.
* Set reference to a secret stored in Azure Key Vault.
*
* @param keyVaultSecretRef the keyVaultSecretRef value to set
* @return the ContainerServiceServicePrincipalProfile object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class ContainerServiceSshConfiguration {
private List<ContainerServiceSshPublicKey> publicKeys;

/**
* Get the publicKeys value.
* Get the list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified.
*
* @return the publicKeys value
*/
Expand All @@ -32,7 +32,7 @@ public List<ContainerServiceSshPublicKey> publicKeys() {
}

/**
* Set the publicKeys value.
* Set the list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified.
*
* @param publicKeys the publicKeys value to set
* @return the ContainerServiceSshConfiguration object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ContainerServiceSshPublicKey {
private String keyData;

/**
* Get the keyData value.
* Get certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
*
* @return the keyData value
*/
Expand All @@ -31,7 +31,7 @@ public String keyData() {
}

/**
* Set the keyData value.
* Set certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
*
* @param keyData the keyData value to set
* @return the ContainerServiceSshPublicKey object itself.
Expand Down
Loading