Skip to content
Merged
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 @@ -21,7 +21,7 @@ public final class ApiManagementConfig {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public final class ArmIdWrapper {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public ContainerInfo withName(String name) {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public final class HostingEnvironmentProfile {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final class PrivateLinkResource {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public SnapshotRecoverySource withLocation(String location) {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public final class Solution {
*
* @return the id value.
*/
public Double getId() {
public Double id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final class VirtualNetworkProfile {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ class AppServiceCertificateKeyVaultBindingImpl

AppServiceCertificateKeyVaultBindingImpl(
AppServiceCertificateResourceInner innerObject, AppServiceCertificateOrderImpl parent) {
super(innerObject.getName(), innerObject, (parent != null) ? parent.manager() : null);
super(innerObject.name(), innerObject, (parent != null) ? parent.manager() : null);
this.parent = parent;
}

@Override
public String id() {
return inner().getId();
return inner().id();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public AppServiceCertificateKeyVaultBinding createKeyVaultBinding(String certifi
@Override
public Mono<AppServiceCertificateKeyVaultBinding> createKeyVaultBindingAsync(String certificateName, Vault vault) {
AppServiceCertificateResourceInner certInner = new AppServiceCertificateResourceInner();
certInner.setLocation(vault.regionName());
certInner.withLocation(vault.regionName());
certInner.withKeyVaultId(vault.id());
certInner.withKeyVaultSecretName(certificateName);
return this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected AppServiceCertificateOrderImpl wrapModel(AppServiceCertificateOrderInn
if (inner == null) {
return null;
}
return new AppServiceCertificateOrderImpl(inner.getName(), inner, this.manager());
return new AppServiceCertificateOrderImpl(inner.name(), inner, this.manager());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected AppServiceCertificateImpl wrapModel(CertificateInner inner) {
if (inner == null) {
return null;
}
return new AppServiceCertificateImpl(inner.getName(), inner, this.manager());
return new AppServiceCertificateImpl(inner.name(), inner, this.manager());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AppServiceDomainImpl

AppServiceDomainImpl(String name, DomainInner innerObject, AppServiceManager manager) {
super(name, innerObject, manager);
inner().setLocation("global");
inner().withLocation("global");
if (inner().managedHostNames() != null) {
this.hostNameMap =
inner().managedHostNames().stream().collect(Collectors.toMap(HostName::name, Function.identity()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected AppServiceDomainImpl wrapModel(DomainInner inner) {
if (inner == null) {
return null;
}
return new AppServiceDomainImpl(inner.getName(), inner, this.manager());
return new AppServiceDomainImpl(inner.name(), inner, this.manager());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected AppServicePlanImpl wrapModel(AppServicePlanInner inner) {
if (inner == null) {
return null;
}
return new AppServicePlanImpl(inner.getName(), inner, this.manager());
return new AppServicePlanImpl(inner.name(), inner, this.manager());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ abstract class DeploymentSlotBaseImpl<
this.name = name.replaceAll(".*/", "");
this.parent = parent;
inner().withServerFarmId(parent.appServicePlanId());
inner().setLocation(regionName());
inner().withLocation(regionName());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ protected PagedFlux<DeploymentSlot> wrapPageAsync(PagedFlux<SiteInner> innerPage
this
.inner()
.getConfigurationSlotAsync(
siteInner.resourceGroup(), parent.name(), siteInner.getName()),
siteInner.resourceGroup(), parent.name(), siteInner.name()),
this
.inner()
.getDiagnosticLogsConfigurationSlotAsync(
siteInner.resourceGroup(), parent.name(), siteInner.getName()),
siteInner.resourceGroup(), parent.name(), siteInner.name()),
(siteConfigResourceInner, logsConfigInner) ->
this.wrapModel(siteInner, siteConfigResourceInner, logsConfigInner)));
}
Expand Down Expand Up @@ -132,6 +132,6 @@ private DeploymentSlotImpl wrapModel(
if (inner == null) {
return null;
}
return new DeploymentSlotImpl(inner.getName(), inner, siteConfig, logConfig, parent);
return new DeploymentSlotImpl(inner.name(), inner, siteConfig, logConfig, parent);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private FunctionAppImpl wrapModel(
if (inner == null) {
return null;
}
return new FunctionAppImpl(inner.getName(), inner, siteConfig, logConfig, this.manager());
return new FunctionAppImpl(inner.name(), inner, siteConfig, logConfig, this.manager());
}

@Override
Expand All @@ -100,11 +100,11 @@ protected PagedFlux<FunctionApp> wrapPageAsync(PagedFlux<SiteInner> innerPage) {
&& Arrays.asList(siteInner.kind().split(",")).contains("functionapp")) {
return Mono
.zip(
this.inner().getConfigurationAsync(siteInner.resourceGroup(), siteInner.getName()),
this.inner().getConfigurationAsync(siteInner.resourceGroup(), siteInner.name()),
this
.inner()
.getDiagnosticLogsConfigurationAsync(
siteInner.resourceGroup(), siteInner.getName()),
siteInner.resourceGroup(), siteInner.name()),
(siteConfigResourceInner, logsConfigInner) ->
this.wrapModel(siteInner, siteConfigResourceInner, logsConfigInner));
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ protected PagedFlux<FunctionDeploymentSlot> wrapPageAsync(PagedFlux<SiteInner> i
this
.inner()
.getConfigurationSlotAsync(
siteInner.resourceGroup(), parent.name(), siteInner.getName()),
siteInner.resourceGroup(), parent.name(), siteInner.name()),
this
.inner()
.getDiagnosticLogsConfigurationSlotAsync(
siteInner.resourceGroup(), parent.name(), siteInner.getName()),
siteInner.resourceGroup(), parent.name(), siteInner.name()),
(siteConfigResourceInner, logsConfigInner) ->
this.wrapModel(siteInner, siteConfigResourceInner, logsConfigInner)));
}
Expand Down Expand Up @@ -135,6 +135,6 @@ private FunctionDeploymentSlotImpl wrapModel(
if (inner == null) {
return null;
}
return new FunctionDeploymentSlotImpl(inner.getName(), inner, siteConfig, logConfig, parent);
return new FunctionDeploymentSlotImpl(inner.name(), inner, siteConfig, logConfig, parent);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ class HostNameBindingImpl<FluentT extends WebAppBase, FluentImplT extends WebApp
HostNameBindingImpl(HostNameBindingInner innerObject, FluentImplT parent) {
super(innerObject);
this.parent = parent;
this.name = innerObject.getName();
this.name = innerObject.name();
if (name != null && name.contains("/")) {
this.name = name.replace(parent.name() + "/", "");
}
}

@Override
public String id() {
return inner().getId();
return inner().id();
}

@Override
public String type() {
return inner().getType();
return inner().type();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ abstract class WebAppBaseImpl<FluentT extends WebAppBase, FluentImplT extends We

webAppMsiHandler = new WebAppMsiHandler(manager.rbacManager(), this);
normalizeProperties();
isInCreateMode = inner() == null || inner().getId() == null;
isInCreateMode = inner() == null || inner().id() == null;
if (!isInCreateMode) {
initializeKuduClient();
}
Expand Down Expand Up @@ -190,7 +190,7 @@ public String principalId() {
@Override
public String resourceId() {
if (inner() != null) {
return inner().getId();
return inner().id();
} else {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class WebAppSourceControlImpl<FluentT extends WebAppBase, FluentImplT extends We

@Override
public String name() {
return inner().getName();
return inner().name();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected WebAppImpl wrapModel(SiteInner inner, SiteConfigResourceInner siteConf
if (inner == null) {
return null;
}
return new WebAppImpl(inner.getName(), inner, siteConfig, logConfig, this.manager());
return new WebAppImpl(inner.name(), inner, siteConfig, logConfig, this.manager());
}

@Override
Expand All @@ -66,11 +66,11 @@ protected PagedFlux<WebApp> wrapPageAsync(PagedFlux<SiteInner> innerPage) {
if (siteInner.kind() == null || Arrays.asList(siteInner.kind().split(",")).contains("app")) {
return Mono
.zip(
this.inner().getConfigurationAsync(siteInner.resourceGroup(), siteInner.getName()),
this.inner().getConfigurationAsync(siteInner.resourceGroup(), siteInner.name()),
this
.inner()
.getDiagnosticLogsConfigurationAsync(
siteInner.resourceGroup(), siteInner.getName()),
siteInner.resourceGroup(), siteInner.name()),
(siteConfigResourceInner, logsConfigInner) ->
this.wrapModel(siteInner, siteConfigResourceInner, logsConfigInner));
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public final class OperationInner {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public final class AppRole {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public OAuth2Permission withAdminConsentDisplayName(String adminConsentDisplayNa
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final class ResourceAccess {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class RoleAssignmentImpl extends CreatableImpl<RoleAssignment, RoleAssignmentInn

@Override
public boolean isInCreateMode() {
return inner().getId() == null;
return inner().id() == null;
}

@Override
Expand Down Expand Up @@ -207,7 +207,7 @@ public RoleAssignmentImpl withSubscriptionScope(String subscriptionId) {

@Override
public String id() {
return inner().getId();
return inner().id();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public Set<String> assignableScopes() {

@Override
public String id() {
return inner().getId();
return inner().id();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class ClassicAdministratorInner {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public final class ProviderOperationsMetadataInner {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class RoleAssignmentInner {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class RoleDefinitionInner {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public final class ApiEntityReference {
*
* @return the id value.
*/
public String getId() {
public String id() {
return this.id;
}

Expand Down
Loading