@Override public ManagementLockImpl withLockedResource(Resource resource) { if (resource != null) { this.lockedResourceId = resource.id(); } else { throw new IllegalArgumentException("Missing resource ID."); } return this; }
@Override public PagedList<T> listByParent(ParentT parentResource) { return listByParent(parentResource.resourceGroupName(), parentResource.name()); }
@Override public FluentModelImplT withExistingParentResource(FluentParentModelT existingParentResource) { this.inner().withLocation(existingParentResource.regionName()); return super.withExistingParentResource(existingParentResource); } }
@Override public Observable<T> getByParentAsync(ParentT parentResource, String name) { return getByParentAsync(parentResource.resourceGroupName(), parentResource.name(), name); }
@Override public FluentModelImplT withExistingParentResource(FluentParentModelT existingParentResource) { this.inner().withLocation(existingParentResource.regionName()); return super.withExistingParentResource(existingParentResource); } }
@Override public ManagementLockImpl withLockedResource(Resource resource) { if (resource != null) { this.lockedResourceId = resource.id(); } else { throw new IllegalArgumentException("Missing resource ID."); } return this; }
@Override public PagedList<T> listByParent(ParentT parentResource) { return listByParent(parentResource.resourceGroupName(), parentResource.name()); }
@Override public IdentityImpl withAccessTo(Resource resource, String roleDefinitionId) { this.roleAssignmentHelper.withAccessTo(resource.id(), roleDefinitionId); return this; }
@Override public Observable<T> getByParentAsync(ParentT parentResource, String name) { return getByParentAsync(parentResource.resourceGroupName(), parentResource.name(), name); }
@Override public IdentityImpl withAccessTo(Resource resource, BuiltInRole role) { this.roleAssignmentHelper.withAccessTo(resource.id(), role); return this; }
@Override public FluentModelImplT withExistingParentResource(FluentParentModelT existingParentResource) { return withExistingParentResource(existingParentResource.resourceGroupName(), existingParentResource.name()); }
@Override public IdentityImpl withAccessTo(Resource resource, String roleDefinitionId) { this.roleAssignmentHelper.withAccessTo(resource.id(), roleDefinitionId); return this; }
@Override public FluentModelImplT withExistingParentResource(FluentParentModelT existingParentResource) { return withExistingParentResource(existingParentResource.resourceGroupName(), existingParentResource.name()); }
@Override public IdentityImpl withAccessTo(Resource resource, BuiltInRole role) { this.roleAssignmentHelper.withAccessTo(resource.id(), role); return this; }
@Override public RoleAssignmentImpl withResourceScope(Resource resource) { return withScope(resource.id()); }
this.updateFrontend(frontendPipPair.getKey()).withExistingPublicIPAddress(createdPip.id());
this.updateFrontend(frontendPipPair.getKey()).withExistingPublicIPAddress(createdPip.id());